Replace the boolean creation_approval and the per-category boolean
locks.new_skill with a single tri-state new_skill_creation mode: a global
default (allow | deny | ask) with a per-category override in the category
config. allow authors immediately, deny blocks creation, ask gates on human
approval (the old approval path). housekeeping/response stay denied in code.
Surfaces updated: config.example.json, REPL /mode, dashboard
/api/new-skill-modes + /api/new-skill-mode, static UI. The retired booleans
creation_approval (true->ask) and locks.new_skill (true->deny) are still read
as fallbacks so an existing deployment keeps its behaviour.
Docs (AGENTS.md, docs/flow.md) and tests updated.
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.