Commit Graph
79 Commits
Author SHA1 Message Date
Denton Social 2297bbd6aa centralize staging engine deps in a committed requirements manifest 2026-09-25 01:58:39 -05:00
Denton Social 72af30f449 bootstrap: reuse the running checkout instead of re-cloning semif-agent 2026-09-25 01:44:29 -05:00
Denton Social 67027ecc20 add jarvis bootstrap script with pinned engine deps; guppy becomes ollama-only 2026-09-25 01:40:03 -05:00
Denton Social d866d94d04 record revivable SKILL.md git-ref provenance on skill_writing (guardrail item 7) 2026-09-25 00:20:32 -05:00
Denton Social f91f86742e document codegen token budget, sampler, and degeneration config in AGENTS.md (guardrail item 8) 2026-09-24 23:59:36 -05:00
Denton Social 90fda9f2a4 teach codegen that skills are reusable modules with self-owned data (guardrail item 9) 2026-09-24 23:45:52 -05:00
Denton Social db7d431976 ship exact token accounting via include_usage (codegen guardrail item 3) 2026-09-24 23:12:12 -05:00
Denton Social 340520d630 mark codegen guardrail items 4-6 box-verified; add reuse/mock-data + roadmap tasks
Box verified (2026-09-24): the SemIf degeneration watchdog fired 16 trace-only
codegen events during a real write (max stop_prob 0.693 < 0.9, no false abort)
and both codegen bodies converged with the card sampler — no loop. Notes the
new binding constraint: the sampler made qwen38-iq3s verbose (25-45 min
writes), so the box config.json sets codegen.timeout 3600. Adds backlog item 9
(codegen prompt: code-for-reuse + self-generated mock data; REPL input for
clarifying questions only) and roadmap tasks for data-contract tiered lookup,
post-codegen mock-data testing, and skill-code inspection.
2026-09-24 22:57:36 -05:00
Denton Social d18f0ccdb6 ship codegen sampler params + escalation ladder per Qwen3.8 card
CodegenClient now sends temperature/top_p/presence_penalty/frequency_penalty
(card-endorsed high presence_penalty, temp 0.7 instead of greedy 0.0) and
generate_skill_body escalates on invalid parse with an escalated sampler
(temp 0.5/presence 2.0) and a fresh short corrective prompt, up to max_attempts.
Degeneration aborts are a distinct DegenerationError(CodegenError) that
propagates without retry; retry-on-degeneration is left open. Marks guardrail
items 5/6 per the model card.
2026-09-24 20:24:20 -05:00
Denton Social 7c5cd2b685 add SemIf degeneration watchdog for codegen streams
CodegenClient accepts a per-chat degeneration_check callback polled every
interval chars against the last window chars of content+reasoning (bounded
rolling buffer); a non-None return aborts the stream. build_scheduler wires a
2-option SemIf continue/stop decision (P(stop) >= threshold aborts) recorded
as a trace-only codegen event, degrading to keep-going when the engine is
unavailable.
2026-09-24 19:38:01 -05:00
Denton Social bd99735283 document item 2 findings: /api/show string parameters, relaxed budget defaults 2026-09-24 19:25:55 -05:00
Denton Social 71abc0f762 mark guardrail item 1 done in AGENTS.md 2026-09-24 18:21:02 -05:00
Denton Social fcb0f0f988 backlog codegen refinement 2026-09-24 17:34:55 -05:00
Denton Social 63922c1fad REPL when skill_create needs user input 2026-09-24 05:46:23 -05:00
Denton Social e92b3e7228 idle timeout for codegen 2026-09-24 04:53:06 -05:00
Denton Social 0a9b602ec7 print reasoning tokens to console during testing 2026-09-24 04:09:24 -05:00
Denton Social 8c10a94c32 codegen output token stream prints to console in testing 2026-09-24 03:48:03 -05:00
Denton Social bb97a09caa fix codegen timeout 2026-09-24 03:39:48 -05:00
Denton Social 300c20714b deterministically execute create_skill from create_category, execute skill after creation 2026-09-24 02:31:12 -05:00
Denton Social 9e365446a3 Drop max_tokens cap on codegen; qwen3 reasoning truncation left content empty
qwen38-iq3s reasons extensively before emitting the skill body. A max_tokens
cap truncated the hidden reasoning (finish_reason: length) leaving content
empty, so the body write failed with 'skill body is empty'. Omit max_tokens
so the model runs to completion (~7 min); reasoning is filtered automatically
since only content is read. Client timeout default raised to 1200s.
2026-09-24 01:20:18 -05:00
Denton Social 440e49e76e Author runnable skill bodies via OpenAI-compatible codegen model
create_skill now writes a real predict/act body: the small decision model
still authors title + description (engine.generate), then a larger
OpenAI-compatible model (default qwen38-iq3s) writes the runnable code
against the SKILL.md contract. Bodies persist to data/skills/<cat>/<name>.py,
are hot-loaded via importlib, merged into the running tree, and the request
re-dispatches to the new leaf. The dashboard decision-flow view shows the
title/description with a writing badge while the body is being written.
Codegen failure degrades to a navigable stub.
2026-09-24 00:36:35 -05:00
Denton Social 225b4df959 Make create_skill author a skill leaf stub like create_category 2026-09-23 23:02:59 -05:00
Denton Social 6c980efec0 Document dashboard systemd service and editable install on the box 2026-09-23 22:20:00 -05:00
Denton Social ea2e5b8045 Automate create_category via normal-mode generation of the decision model 2026-09-23 20:45:28 -05:00
Denton Social 147b6cba5f Replace create_skill branches with category/skill suggestion events
Navigation now offers create_category at the category level and create_skill
at the leaf. Both are stubs that log a suggestion event (state, question,
SemIf output) to the trace instead of returning an authoring sentinel.
2026-09-23 18:24:13 -05:00
Denton Social add860c0bb Document LAN-reachable dashboard host 2026-09-23 14:39:24 -05:00
Denton Social 356ae2d46d Document git/gitea setup, port 222, and the box SSH fetch fallback 2026-09-23 14:21:25 -05:00
Denton Social 0db41241be Add browser dashboard, run tracing, and logged navigation decisions
- dashboard.py: stdlib http.server + JSON API (tree/trace/dream/status,
  POST submit/relabel); static/ single-page Redux-DevTools-style inspector
- trace.py: runs.jsonl lifecycle events keyed by run_id
- scheduler/skills/skill: every decision carries run_id; navigation choices
  now logged (navigate:category/leaf); requeues stamp meta.parent_run
- cli: 'dashboard' subcommand; config.json untracked per-machine (see
  config.example.json)
2026-09-23 13:43:39 -05:00
semif-agent b568e6bd48 Add AGENTS.md: roadmap, run/verify targets, and constraints learned during v1 setup 2026-09-23 03:53:26 -05:00