Commit Graph
4 Commits
Author SHA1 Message Date
gabby 0efbf218c5 docs: regenerate flow-main.svg (leaf intent guard never bypassed)
Rendered from docs/flow.md with @mermaid-js/mermaid-cli v12 (Chrome
headless): the main pipeline diagram drops the INTENTBYP node and the
leaf_softmax_prob label, matching the navigation change. flow-authoring.svg
is content-identical and was left untouched to avoid a cosmetic re-render
diff.
2026-10-07 09:10:28 +00:00
gabby 4e70a5889e docs: update flow diagrams to current state
flow-main.svg and flow-authoring.svg were stale (authoring from Oct 2,
main predating the actionability guard and the Oct 6-7 changes).

flow-main:
- intake names all front ends (REPL, gateway DM: SimpleX/LXMF/voice,
  dashboard)
- deterministic meta-command route (parse_meta_command -> housekeeping)
  ahead of navigation
- actionability guard at the top of navigation; the category softmax
  offers only real categories + create_category (response is no longer
  an option)
- confident-winner bypass of the scope/intent confirms
  (softmax_bypass_tau)
- intent guard, hard-locked category shortcut, new-skill lock gate,
  awaiting_skill_body guard
- empty/definitive result counts as success; canned and deterministic
  categories skip assessment; act-raises -> repair
- structured SchedulerReply output

flow-authoring:
- split entries: create (draft worker) vs repair/regen/restart (straight
  to the codegen worker)
- approval "no front end" aborts; registration seeds locks.new_skill
- skill_writing/skill_ready traces, regen reason kinds, cancel_build path

flow.md source, prose, and reading-path table updated to match.
2026-10-07 04:02:37 +00:00
gabby 1dc0550659 replace urgency priority queue with strict FIFO
Drop the urgency score and interrupt/preempt decisions: intake is now
idle -> dispatch, busy -> append to a bounded FIFO queue (RequestQueue).
The running process always finishes before the next queued request.

- queue.py: UrgencyQueue -> RequestQueue (deque, no weight/age/recency)
- scheduler.py: remove _priority_score, _interrupt_choice, urgency
  constants, and the weight threaded through dispatch/authoring/requeue
- dashboard/static/gateway: drop weight + preempted handling
- tests + docs updated; flow-main.svg regenerated
2026-10-06 20:38:49 +00:00
gabby 8afb488dc4 svg flow diagrams 2026-10-02 00:32:08 +00:00