scheduler: new-skill creation is a tri-state allow/deny/ask mode

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.
This commit is contained in:
gabby committed 2026-10-10 01:38:16 +00:00
1 parent 88700898be
commit c5ee87875f
11 files changed
+350 -160

No files matched your search

+46 -28
View File
@@ -75,7 +75,7 @@ scheduler.py no up-front gate: every input is dispatched
queued, the gate stays free, the category job chains into its queued, the gate stays free, the category job chains into its
skill job, and the original request is re-queued and re-runs the skill job, and the original request is re-queued and re-runs the
new leaf when the body lands; an optional human approval gate new leaf when the body lands; an optional human approval gate
(`creation_approval`, off by default) blocks the draft worker (new-skill mode `ask`; see below) blocks the draft worker
after the proposal is authored and before anything is after the proposal is authored and before anything is
registered — one prompt per request, denial/timeout aborts registered — one prompt per request, denial/timeout aborts
creation, surfaced via the approval queue; the body worker runs the full creation, surfaced via the approval queue; the body worker runs the full
@@ -90,9 +90,10 @@ scheduler.py no up-front gate: every input is dispatched
failed real run triggers a logged SemIf repair choice failed real run triggers a logged SemIf repair choice
(retry/repair_skill/ask_user/no_repair) surfaced to the user; (retry/repair_skill/ask_user/no_repair) surfaced to the user;
housekeeping meta skills (delete/clear-config/regen/cancel-build) housekeeping meta skills (delete/clear-config/regen/cancel-build)
operate on the tree via `ctx.admin`; per-category new-skill locks operate on the tree via `ctx.admin`; new-skill creation is gated by
(`locks.new_skill` in the category config) gate creation, with a tri-state mode (`new_skill_creation`: allow/deny/ask) with a
`housekeeping`/`response` hard-locked in code; front ends get a per-category override in the category config, with
`housekeeping`/`response` always denied in code; front ends get a
structured `SchedulerReply` (status, text, run_id, skill_ref, structured `SchedulerReply` (status, text, run_id, skill_ref,
result) from `submit_request`/`answer`/`run_queue` so they never result) from `submit_request`/`answer`/`run_queue` so they never
parse the run id or skill ref back out of the summary parse the run id or skill ref back out of the summary
@@ -437,21 +438,37 @@ CLI, unit tests (24) + integration tests (2).
runner skips `assess:outcome`/repair for it — a canned line has no side effect runner skips `assess:outcome`/repair for it — a canned line has no side effect
to assess. The leaf choice logs phase `navigate:response` and traces to assess. The leaf choice logs phase `navigate:response` and traces
`response_selected`. `response.reject` (a stub that never ran) is gone. `response_selected`. `response.reject` (a stub that never ran) is gone.
- **Optional human approval on creation** (Oct 2026): `creation_approval` - **New-skill creation mode: allow / deny / ask** (Oct 2026; tri-state Oct 2026):
(top-level, default `false`) is a single boolean. When on, the single-slot one setting governs whether the agent may author new skills/categories, as a
`llm` draft worker blocks after it authors a proposal and before anything is three-way mode. **Global default** is the top-level `new_skill_creation`
registered; the human approves/denies via the REPL prompt, the dashboard (`"allow"` default, `"deny"`, or `"ask"`); a category overrides it with its
approvals panel (`GET/POST /api/approvals`), or a gateway chat reply own `new_skill_creation` in `data/skills/<category>/config.json` (absent =
(`yes`/`no`). One prompt per creation request — a new category's chained skill inherit the global). `allow` authors immediately; `deny` blocks authoring
is covered by the category approval (`DraftAuthor.approved`). Denial or outright (`Scheduler._blocked_create`, traced `skill_create_blocked` /
timeout aborts creation: nothing is registered, no body is written, and the `category_create_blocked`); `ask` authors only after the human approves the
request is not re-dispatched; the wait reuses proposal. The `ask` path is the old approval gate: the single-slot `llm` draft
`codegen.elicitation.wait_timeout`. With no deferring front end it denies worker blocks after it authors a proposal and before anything is registered;
immediately rather than stalling the worker. Traced as the human approves/denies via the REPL prompt, the dashboard approvals panel
(`GET/POST /api/approvals`), or a gateway chat reply (`yes`/`no`). One prompt
per creation request — a new category's chained skill is covered by the
category approval (`DraftAuthor.approved`). Denial or timeout aborts creation:
nothing is registered, no body is written, and the request is not
re-dispatched; the wait reuses `codegen.elicitation.wait_timeout`. With no
deferring front end `ask` denies immediately rather than stalling the worker.
The mode is resolved by `Scheduler._category_mode` (deny for the hard-locked
`housekeeping`/`response` categories) and checked in `_dispatch`,
`_dispatch_skill`, `_author_skill`, `_request_approval`, and `restart_skill`.
Toggled from the config file or `Scheduler.set_category_mode` (`/mode`,
`/api/new-skill-mode`; an empty mode clears the override). Traced as
`category_mode_set`, plus the approval events
`creation_approval_requested` / `_approved` / `_denied` / `_timeout` / `creation_approval_requested` / `_approved` / `_denied` / `_timeout` /
`_skipped`; it is a human veto, not a decision row — the SemIf create doors `_skipped`; the gate is deterministic (a human veto or a config value), not a
still make and log the routing decision. decision row — the SemIf create doors still make and log the routing decision.
- **Housekeeping meta skills + per-category new-skill locks** (Oct 2026): a The retired boolean `locks.new_skill` is still read (`true` -> deny, `false`
-> allow) so a previously locked category never silently reopens, and the
retired boolean `creation_approval` is still read as a global fallback
(`true` -> ask, `false` -> allow).
- **Housekeeping meta skills + per-category new-skill modes** (Oct 2026): a
built-in `housekeeping` category of four meta skills that act on the agent's built-in `housekeeping` category of four meta skills that act on the agent's
own tree through `ctx.admin` (the scheduler): `delete_skill` (confirm, then own tree through `ctx.admin` (the scheduler): `delete_skill` (confirm, then
remove the leaf, registry entry, and folder; durable via a remove the leaf, registry entry, and folder; durable via a
@@ -473,17 +490,18 @@ CLI, unit tests (24) + integration tests (2).
names skill-management commands). They are built-ins names skill-management commands). They are built-ins
(`Skill.origin == "builtin"`) reachable by natural language and, for operators, (`Skill.origin == "builtin"`) reachable by natural language and, for operators,
by slash-prefixed REPL commands (`/delete`, `/clear-config`, `/regen`, by slash-prefixed REPL commands (`/delete`, `/clear-config`, `/regen`,
`/cancel-build`, `/lock`) and dashboard endpoints/buttons. Their runs are `/cancel-build`, `/mode`) and dashboard endpoints/buttons. Their runs are
deterministic internal actions: `DETERMINISTIC_CATEGORIES` skips deterministic internal actions: `DETERMINISTIC_CATEGORIES` skips
`assess:outcome`/repair, and the category is hard-locked from authoring. Every `assess:outcome`/repair, and the category is hard-denied from authoring. Every
category carries a **new-skill lock** in its category config category carries a **new-skill mode** in its category config
(`data/skills/<category>/config.json` → `{"locks": {"new_skill": bool}}`); the (`data/skills/<category>/config.json` → `{"new_skill_creation": "allow|deny|ask"}`),
lock is a deterministic boolean gate (`Scheduler._category_locked`) checked in overriding the global `new_skill_creation`; the mode is a deterministic gate
`_dispatch`, `_dispatch_skill`, `_author_skill`, and `restart_skill`, and (`Scheduler._category_mode` / `_category_locked`) checked in `_dispatch`,
toggled from the config file or `Scheduler.set_category_lock` (`/lock`, `_dispatch_skill`, `_author_skill`, and `restart_skill`, and toggled from the
`/api/lock`). `housekeeping` and the closed `response` tree are hard-locked in config file or `Scheduler.set_category_mode` (`/mode`, `/api/new-skill-mode`).
code (`HARD_LOCKED_CATEGORIES`/`CANNED_CATEGORIES`) and can never be unlocked. `housekeeping` and the closed `response` tree are hard-denied in code
The lock is creation-only: existing skills still run and repair/regen of an (`HARD_LOCKED_CATEGORIES`/`CANNED_CATEGORIES`) and can never be changed. The
mode is creation-only: existing skills still run and repair/regen of an
existing leaf is allowed. existing leaf is allowed.
- **Real integrations, implementation questions, fidelity + repair** (Sep 2026): - **Real integrations, implementation questions, fidelity + repair** (Sep 2026):
elicitation is on by default and asks implementation questions (which elicitation is on by default and asks implementation questions (which
+2 -1
View File
@@ -2,7 +2,8 @@
"_comment": "Per-machine config. config.json is gitignored. bootstrap.sh seeds config.json from this file only when config.json does not exist, and NOTHING writes config.json afterwards — only a human edits it. Pinned engine/tokenizer/GGUF/simplex-chat refs live in the committed pins.json, not here. Every machine keeps its own config.json. Top-level `timezone` is the IANA zone (e.g. America/Chicago) the agent reports local time in; empty means the host's local timezone.", "_comment": "Per-machine config. config.json is gitignored. bootstrap.sh seeds config.json from this file only when config.json does not exist, and NOTHING writes config.json afterwards — only a human edits it. Pinned engine/tokenizer/GGUF/simplex-chat refs live in the committed pins.json, not here. Every machine keeps its own config.json. Top-level `timezone` is the IANA zone (e.g. America/Chicago) the agent reports local time in; empty means the host's local timezone.",
"tau": 0.6, "tau": 0.6,
"max_reentries": 3, "max_reentries": 3,
"creation_approval": false, "new_skill_creation": "allow",
"_new_skill_creation_comment": "Global new-skill creation mode: \"allow\" (create without asking), \"deny\" (never author new skills/categories), or \"ask\" (author only after the human approves the proposal). A category can override this in data/skills/<category>/config.json with its own \"new_skill_creation\" value; the built-in housekeeping and response categories are always denied in code. Replaces the old boolean creation_approval (still read as true=ask/false=allow) and the boolean locks.new_skill (still read as true=deny/false=allow).",
"timezone": "", "timezone": "",
"navigation": { "navigation": {
"_comment": "Navigation is two-stage at BOTH levels and the guards are the create doors (no threshold gate). Category: the softmax offers each existing category WITH its description (bare names carried no signal) plus create_category; confirm_category_fit then confirms the winner's scope (phase navigate:category_scope, P(covers) >= category_tau) and a rejected winner authors a new category. The `response` catchall and create_category share a boundary arbitrated by the actionability guard confirm_non_action (phase navigate:actionability, P(non_action) >= action_tau): the closed response tree is reached ONLY when the input is not a request, so a request no skill covers (e.g. \"what is 255 * 12?\") authors instead of getting a canned reply. Leaf: the softmax offers only existing skills; confirm_skill_fit then compares the winner's action to the request (phase navigate:intent, P(same) >= intent_tau) and a mismatch authors a new leaf. All three taus are separate from the top-level tau so tuning reuse-vs-create or actionability does not move run assessment/fidelity. The category check is deliberately permissive: with real descriptions in-scope requests score 0.9-1.0, so a borderline over-cover routes into a plausible category and the leaf guard catches it. A **category** softmax winner at or above `softmax_bypass_tau` (default 0.5) skips the scope confirm (traced `category_scope_bypassed`) — `create_category` is one of its options, so a confident winner really did beat authoring a category. The **leaf** intent guard is never bypassed: the leaf softmax offers only existing skills, so a confident winner is \"best of the wrong lot\", not a match, and the guard is the only leaf-level create door.", "_comment": "Navigation is two-stage at BOTH levels and the guards are the create doors (no threshold gate). Category: the softmax offers each existing category WITH its description (bare names carried no signal) plus create_category; confirm_category_fit then confirms the winner's scope (phase navigate:category_scope, P(covers) >= category_tau) and a rejected winner authors a new category. The `response` catchall and create_category share a boundary arbitrated by the actionability guard confirm_non_action (phase navigate:actionability, P(non_action) >= action_tau): the closed response tree is reached ONLY when the input is not a request, so a request no skill covers (e.g. \"what is 255 * 12?\") authors instead of getting a canned reply. Leaf: the softmax offers only existing skills; confirm_skill_fit then compares the winner's action to the request (phase navigate:intent, P(same) >= intent_tau) and a mismatch authors a new leaf. All three taus are separate from the top-level tau so tuning reuse-vs-create or actionability does not move run assessment/fidelity. The category check is deliberately permissive: with real descriptions in-scope requests score 0.9-1.0, so a borderline over-cover routes into a plausible category and the leaf guard catches it. A **category** softmax winner at or above `softmax_bypass_tau` (default 0.5) skips the scope confirm (traced `category_scope_bypassed`) — `create_category` is one of its options, so a confident winner really did beat authoring a category. The **leaf** intent guard is never bypassed: the leaf softmax offers only existing skills, so a confident winner is \"best of the wrong lot\", not a match, and the guard is the only leaf-level create door.",
+1 -1
View File
@@ -96,4 +96,4 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAAfcABMAAAAAENQAAAdzAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGx4cKD9NVkFSgQQGYD9TVEFUgWInLgBUL3QRCAqDIIMLCw4AMIV2ATYCJAMUBCAFjXYHTgwHG2MPSI7UVnlAcpP/PG76574XKIQgNQ9aMWYOzJzOnNE6+ESr23eT2sQ1RNFtdi+PQgg0oMcgECuU/O/3a6IXUT+YhE5qlMRjzRMmUcT/YlIScRND3N9WFIkkvBEqHjKN0AqmS7W7pslGyKGniKzRX/+9JQiAiBw5aNSYSTOggQAAigIAiiIHB/beSc/SWAAGANDyAhpoMeP2RQKKNKUDo1nRZauCIaHysUgQAKNoAY8HlgeJKDoirKqpjmHl8iNBgurKDAAZMvKGFua5re5aEBjg+Fyna7lAoPNUChXAbmNzAEzcG6ZFKEsOpL8J4Egh/wvuyzsb30Avf8A/UtSA8DEZl4DuBwBmYF8AkEkgMGigApB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4hpf0d4U4AAAA=") format("woff2-variations"); unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } @font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAAfcABMAAAAAENQAAAdzAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGx4cKD9NVkFSgQQGYD9TVEFUgWInLgBUL3QRCAqDIIMLCw4AMIV2ATYCJAMUBCAFjXYHTgwHG2MPSI7UVnlAcpP/PG76574XKIQgNQ9aMWYOzJzOnNE6+ESr23eT2sQ1RNFtdi+PQgg0oMcgECuU/O/3a6IXUT+YhE5qlMRjzRMmUcT/YlIScRND3N9WFIkkvBEqHjKN0AqmS7W7pslGyKGniKzRX/+9JQiAiBw5aNSYSTOggQAAigIAiiIHB/beSc/SWAAGANDyAhpoMeP2RQKKNKUDo1nRZauCIaHysUgQAKNoAY8HlgeJKDoirKqpjmHl8iNBgurKDAAZMvKGFua5re5aEBjg+Fyna7lAoPNUChXAbmNzAEzcG6ZFKEsOpL8J4Egh/wvuyzsb30Avf8A/UtSA8DEZl4DuBwBmYF8AkEkgMGigApBCB2AoNnnqlKmkB0aelZPIAFpZXRMjI1i0IRAjE/hIb+UsSoSA+7AJawQs4jXGYOUs0hAYQE/ww0A+7XHelvYYl9MeZV+kPcLmJDxM54kbZvQQ3QNokx6kUqL2BwAmBN0nF/y6ngQfzpwmgFq038AQjGjtpvSk8anfZwfIhO0+c2bZx44f+m8b8LALJOxE4gMpOCj9GwJcAAkaMAjQQ/aMnCB/oCiA5W3KZWWPsmzX9V3TQBBrBMCEgZBCA7FL20qBd3NHDYKM5LVlUCXNK38PQPNp2cLzAPmoDhj4jnqKdMi1KUprAC4DtJZaAN4GUCvdBn0Auh0EUhQYAQBqAIAEQAPgfgBvOdipExAm/csIgCDppeRkqxlGraFRkG576CFS6W9/8MGa77u7u0eKkqB7+PHHq7/p6Oh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pXEvlUCaVQaEadYT1/G5GIAAF2QoOErQAHhNa8iD03yaBwSAMB8esOQwBY+Y5qJA1txSr4Zpx1UiPpOkPAyReTMaQPJgg8hQkwsDV8MLS/ahEaT/BPKT1OcyHsxEsg61T4ENhHahDYW6iHr3zByKQ8waiKE4LrQmZg7XoGxtaYAlDK0p10W0hr+F2FGvCfdBgFR6AhAY8CBHLZA91r5DxMCTMwiMwGYNHocFwPIYkpXgcIix4AikMf+VJGADMFBJRq1qNmNFWiYlYyqPBUj71p7WKkaAGyx8zK/k1qrXRZFo+EtdoUgUs1xPgxwkRlfwBUV5+PnGR50itFfzOhZMERJSZE4S6/rFTRu0ph80VLNRv8qk/4Pqdwy1gsZrjgxNWXzDhUHGDrtVyh9PkTSJXTwmOOKaKUC1vAGyM5QoST71NBbZatdtImLzhfDZmNr/uaktFxS3VYLKggKCo0DRpuF9c7arT+g3tnMXvz+AfJeulnNNA/eigcqN2katYjfxJh3Dz8pptSODrWvQf7MUjBYWsFgmfrzenXgaRzbCSf0P8xGkiguqczHOhW1xMjaByoqxQtVqrhbhlyvkENaoQBPN+/5ViVgvxqxCpor8IgzSq9EGZy6kBcGLESSBVQjxQ63S6nWn2E8on0tNX4uR5oz4hpf0d4U4AAAA=") format("woff2-variations"); unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAC98ABQAAAAAckwAAC8MAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnUbh2wcKD9NVkFSgQQGYD9TVEFUgWInLgCDAC90EQgKxVy+FwuCHAAw6w4BNgIkA4QkBCAFjXYHilcMBxsPbCXs2Eu4HUBQUm2iiIrVrkZUkiIm//8lQY64LdyqxwUoEfFu9YzNaLwD6TZ2ztHaAWFzikR5Xi6076tcblFCgSgoqF/G54g+NvH2HKUdx3BKkns+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/t+GJ9VhOzLxIukkhUYhSTF2KGdlcM6I+a2kvnpO19PzQL4FOHW4y7DLnAxmT58HBJJWBMlQ+9TzLF5U1BVy64ynGgO7beUt4ccjb5Vrm2dkfXwcWL8YgND862ORaXdAY0f07X3NugvWrLSae1Tq0wBvoH/OYaE63sL9mlbu9UncZlEGf1s8CG99x5Z7eIZUHFEpe7itoqbyi7KrK/8WhLzE5pBA4jOkUOidKhtD513zrLYHB79OLYpUIKpyjqIfGoMxFaE9ngW2TK5vQLine truncated @font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAC98ABQAAAAAckwAAC8MAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGnUbh2wcKD9NVkFSgQQGYD9TVEFUgWInLgCDAC90EQgKxVy+FwuCHAAw6w4BNgIkA4QkBCAFjXYHilcMBxsPbCXs2Eu4HUBQUm2iiIrVrkZUkiIm//8lQY64LdyqxwUoEfFu9YzNaLwD6TZ2ztHaAWFzikR5Xi6076tcblFCgSgoqF/G54g+NvH2HKUdx3BKkns+Jt0QAZc+7CS+BWwZfEVglBik+hP91k9GW3FD9t4jNPZJ7g+0uX+XcHccHHAcNTJHLora3AarNlZGz8gZf8rMqT9S/RmlPyL8qT0IyjFyL8kDl1kBCsMOyBGwAgLX8cRCtcJVdTzJDOhWBs7hzXz7nyticzuapbqZjG9W6neOBA5N8KghySGB4IEiuu3FmkCQJa9BABJw5s3S2nYlkDL5TQ2Vq7Whm0ikdKLRZ0gkjW+OaG78vH+v533AkadUDDxM7Zat4Nb1/cC4jyGxV8PmvKVJiB0q1KnfzJAjnZZmZ0GA5iPi9j5F8wgtgeVHhO4A0YkVkCKwFoXJbIAd/X9v0yrt37+fbZlWGi0MkLzbs9ag7aV0RvIsRccUXQSRWr/lVnerNTKW1LYHNSSNB+QFyXA7UkuyeYE9Bwwta8BYJS96vYcQXl0ESOmFFF3lEG24SXjhhZdfxEGQHwF0Kmec5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Vs96b3Zi3Yqyrd+VWFoOdiWLYhX94dhg7aeuc88s65qh89f3lbgHE+l7pqAXb2ryhr/r+77T8/7f72sWS+QiaoGYNAjKsutff6O4WMSyHFV7+8b1LXLODSGSZUVoSK5A0Z4777qzpyCRvM6h8ZKLL85qIzZ/IKN9V13rSxy4olkb1tJKWv3E9N57V1emPpso7rV3zXS37/HcmIq3GkAb/r1FdXsrTwcXHewQPeQ8+psPN+9mkcvZdJHiGxgNQ7bH0PfLh0oH40PXrXY7T48PjvVXDOcYobuL9fy8SEe0K9YVaZ/LchMpWHuiM9Yd64l0gXZT+65FzIl1bvatadesxvIRfZXW57RbOHw+3nVLfCC6KhcXlRkS502cl+S9UWvLqKe4r/515+P7E8l/jvsd6epyA6n/ZSgFZazJNAerh/S15bZZafh+oSmZSpqUPfO7eQlKoBJKTpFdBIFjvOfm7/XOHidnMXPRXS+XGnsCt0toBY0pobbcyPojDYpPVKnZfHAs5qkVUuWxfmOgPMP7wnXmOYEiayZ/kcOazDjFS3ipN5PxF+374on7BAiqY3M8VcM9Kcwewc2cmVPOGSFZMiLUz4tut7X0987t11/t+GJ9VhOzLxIukkhUYhSTF2KGdlcM6I+a2kvnpO19PzQL4FOHW4y7DLnAxmT58HBJJWBMlQ+9TzLF5U1BVy64ynGgO7beUt4ccjb5Vrm2dkfXwcWL8YgND862ORaXdAY0f07X3NugvWrLSae1Tq0wBvoH/OYaE63sL9mlbu9UncZlEGf1s8CG99x5Z7eIZUHFEpe7itoqbyi7KrK/8WhLzE5pBA4jOkUOidKhtD513zrLYHB79OLYpUIKpyjqIfGoMxFaE9ngW2TK5vQLine truncated
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAMcoABQAAAACIVgAAMazAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoFpG6NkHIJ6P01WQVKBBAZgP1NUQVSBYicuAIhQL3QRCAqC7HSCwVgLhiAAMITeAAE2AiQ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uwIvyIIuuEJFaAk9YTWgCUwOzA8kB3ICZXKFXC3Xy63y95+HKnrSZxSIAlcEFFFFQpFW5BR5894ZDRLOBHBZRaPDztp0Rm/0QV+1aY6pAHfCJ+AL8wDqKOPxychL8pbACZKgCY5QFppCV5gPhAfiA9MCiwKZgUK5XK66m/YGjOaPKOIKQpFtq9nzIvyE/a0PZPhgoQDQwsib87fnob5YX6Tfps/S1+oDP3f5GL3qz9cAiPjNmy/0AHz5/+7bnnc+TzyPM07kefh58Hnguf/5GIBA7iTPk/PTqfYrqZQKVaxSVeiSrnPXRc+oW6d14clkenVV13VTt3VXffqmC5ZDBCYxhVmsN8x6OPwtQ6IEG5BsxGErLtvw2I7PjpeX/xlcmy2G2kiLine truncated @font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAAMcoABQAAAACIVgAAMazAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoFpG6NkHIJ6P01WQVKBBAZgP1NUQVSBYicuAIhQL3QRCAqC7HSCwVgLhiAAMITeAAE2AiQDjDwEIAWNdgedLwwHW0AHckHF6x6C2wbAvHMdZvVXhTJuj3CeYJV5mv/DZkbzOAi4NJL9/39SciJjbCrwqe83ywIzgolkyo3VCjtasCkUIVMwDzfKONHViNbg12b3EYqYi2Z2gbgyLnivrnQwI5gRjORbUCxIgbEUGuMtOH4+0kIxJ7MeGRm5znGzgd0Ehd1goLq/PT4lfx06eOqGGV+EerXkB9un0+PUHbj/0wfMuZi5FhCvOSbuyzWr4djgX8HBHp3zvlAbHhhZpQ+Zd4ZnjStdBcYumxGr6sQL/8/3V/7a5zwU0e3qqOrLfklGH5KmgEbBHaK1NbN5kdxxHAecR6QHHrR4sAiCpCIHiBiJmIBwkiUi0fYbGA02COor2tiNDVbgcTvwndlPtIkHcjDJRNjNquDBvXuQe/OIX4JHtT1VW6zDP/8/9rR93htHpZJMumid8Yy45Aohm1ZCZP07PG7aP6Dqt564Ud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+Ur+82tsDmNq149+hgp6ekegV1oR8L4XFMkl1qaEXs5JZQt2kEMfKpXq/Uqq1ZIE+HAjxpZfA85NWR5aeb53cAw2wOqEpU3KyLKsC79hAUyBQRGicAL3moCqnXQ7PL/9OH4DRSUuyJqkjrrywijYn+JJkI+yo5mES/3DjYuZ+sK3Fjv0PnnOwaBx3zsINdABi5MeqHv9mM0wJwSHTUy50eFSB6t2xJ17+0KtKJviVMJkevf7g3FVlsyqw72TkWB7DZubz25Jgp+9NuAk584fs9r3NONeF/3Klm4khYA0RPij8DvPRuzCpItwTBqSUY2x9jCxvA6pAtThekPi4A6z2qCX08AI98qdvr4wPk0Nd3en0C0PXOaUafEIwG5bIlmSZKEG9OLEhAEICu83eAsNe1XrrXNa7Y62rr3usqi2u/Uj+IH4yoRXWlObtdLiWBmcvUtKRfIqL8/vWgG59lcBvezHyJCgOO/Mwaiaxe7TFJSrxTDeaD/o9sKh6PPFdqTTEcFkDLOrhmYpH635szFCIg4KKwMZUmlF+tGrRem9SuXr3VR3031hzN1Txt0kpdx6zbTtp5u2xPHKIYykQt3X4iK6/KuwIvyIIuuEJFaAk9YTWgCUwOzA8kB3ICZXKFXC3Xy63y95+HKnrSZxSIAlcEFFFFQpFW5BR5894ZDRLOBHBZRaPDztp0Rm/0QV+1aY6pAHfCJ+AL8wDqKOPxychL8pbACZKgCY5QFppCV5gPhAfiA9MCiwKZgUK5XK66m/YGjOaPKOIKQpFtq9nzIvyE/a0PZPhgoQDQwsib87fnob5YX6Tfps/S1+oDP3f5GL3qz9cAiPjNmy/0AHz5/+7bnnc+TzyPM07kefh58Hnguf/5GIBA7iTPk/PTqfYrqZQKVaxSVeiSrnPXRc+oW6d14clkenVV13VTt3VXffqmC5ZDBCYxhVmsN8x6OPwtQ6IEG5BsxGErLtvw2I7PjpeX/xlcmy2G2kiLine truncated
@font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAANo0ABQA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edAzhvdc3a3TAprp7fObeDqdrvdblT3f3bbufl+E4BoTAS81czMRESkxMTMzMzMfGNzkCr4IPhwwgxc3FsEAJiZKzMYAAAAeBamvWW367vZplUq9gSVmSSp72dTbxER4SofXDI07b0w+uLW3GOci7O4ePgEhCu4/xu3SVBnco+soMDgCCQKjcHiGv7ITwECkUSmUGl0RoYzq9jC5nB5fIFwiKZuiyPx+hEjRWkU1V+dTy4XVw1uHx8w+WF4PbzDpwnfxA8d/giIQAQJFiI0wi6H8FtEiGyiSrQYo40ZxrbY4RB3iUeCREmSY3w7THhMVEySyU3KLVWadBkyI0uyI0dyh7xT/nUUmEJFikPd/LXkUhplR5RLRVMZUyarHtW3msNazbpx1CsaGo1/brpiKU7n4xWgIP4o+U4ePZjydRr25K9KhImUIlWadBkyZatWc19jdz8U3lqP/XJRt6uuuemeB+NCsREhMo+TRkREWmRP5q5Zo0bjOKtKFH8M7IQBlH8Ei8ULine truncated @font-face { font-family: "Recursive Variable"; font-style: normal; font-display: swap; font-weight: 300 1000; src: url("data:font/woff2;base64,d09GMgABAAAAANo0ABQAAAABw5wAANnAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoNJG+NQHJFiP01WQVKBBAZgP1NUQVSBYicuAIUuL3QRCAqClRSB7QQLhEwAMIPENgE2AiQDiRAEIAWNdgeLCAwHW+GrcUA2xSrj8Xqzqt7vcDOutoLdMgy1E/ncqmGr3EUHco+DocGCzf//OUmHDA24BYDSav30gpTm5oLukVWFEcnonETmsMyRwaxVlcU6uxC9iCZsnT5P+qBoOkFJiqiJxWuPNWT7PHCRw81p1qChF3rCbO9Tu7fKOEyVB/700RQcsJ+gQiqTRi2ocJv6bJMhDPbujiO3awaKVPgtloNHC3ypGDWXlJT8TCcDP38oPBpOaRPPvYUR27Ml25a6QKxwENkIP/a69v/FRGp+aQ7XI8XziaUuA2OXQYk21onIvMPT3P69d7HtlowxR4Zz4BwVR6VBW2SMlChRwmzEbMxGP1b9j1EBH3DbDdCcdsQ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KFH8M7IQBlH8Ei8ULine truncated

Before

Width:  |  Height:  |  Size: 367 KiB

After

Width:  |  Height:  |  Size: 367 KiB

+11 -8
View File
@@ -138,13 +138,15 @@ flowchart TD
GC --> APPROVE GC --> APPROVE
GS --> APPROVE GS --> APPROVE
APPROVE{"creation_approval<br/>on? (default off)"} APPROVE{"new-skill mode<br/>allow / deny / ask<br/>(global default, per-category override)"}
APPROVE -- "no / already approved" --> REGISTER APPROVE -- "allow" --> REGISTER
APPROVE -- "yes" --> PROMPT["Output: approval prompt<br/>REPL / dashboard / gateway<br/>deny or timeout aborts"] APPROVE -- "deny" --> ABORT2["Output: creation denied<br/>nothing registered, not re-dispatched"]
APPROVE -- "ask (already approved)" --> REGISTER
APPROVE -- "ask" --> PROMPT["Output: approval prompt<br/>REPL / dashboard / gateway<br/>deny or timeout aborts"]
PROMPT -- "approved" --> REGISTER PROMPT -- "approved" --> REGISTER
PROMPT -- "denied / timeout / no front end" --> ABORT["Output: creation aborted<br/>nothing registered, not re-dispatched"] PROMPT -- "denied / timeout / no front end" --> ABORT["Output: creation aborted<br/>nothing registered, not re-dispatched"]
REGISTER["register stub in registry + tree<br/>seed category config (locks.new_skill)<br/>trace 'category_created' / 'skill_created'"] REGISTER["register stub in registry + tree<br/>seed category config (new_skill_creation)<br/>trace 'category_created' / 'skill_created'"]
REGISTER -- "category" --> CHAIN["chain into skill job<br/>approved=true"] REGISTER -- "category" --> CHAIN["chain into skill job<br/>approved=true"]
CHAIN --> DRAFT CHAIN --> DRAFT
REGISTER -- "skill" --> WRITE["single-slot codegen worker<br/>SkillWrite queue<br/>leaf.writing = true, trace 'skill_writing'"] REGISTER -- "skill" --> WRITE["single-slot codegen worker<br/>SkillWrite queue<br/>leaf.writing = true, trace 'skill_writing'"]
@@ -176,7 +178,7 @@ flowchart TD
classDef output fill:#fce8e6,stroke:#d93025; classDef output fill:#fce8e6,stroke:#d93025;
classDef author fill:#e6f4ea,stroke:#34a853; classDef author fill:#e6f4ea,stroke:#34a853;
class FID,CFG,REGEN semfill; class FID,CFG,REGEN semfill;
class PROMPT,ABORT,QS,FAIL,CANCELLED output; class PROMPT,ABORT,ABORT2,QS,FAIL,CANCELLED output;
class START,DIRECT,BACK,MAT,REQ author; class START,DIRECT,BACK,MAT,REQ author;
``` ```
@@ -217,6 +219,7 @@ at or above `softmax_bypass_tau` (default 0.5) is already decisive, so its scope
confirm is skipped; the **leaf** intent guard is never bypassed (the leaf softmax confirm is skipped; the **leaf** intent guard is never bypassed (the leaf softmax
has no create option, so a confident winner is only the closest existing skill, has no create option, so a confident winner is only the closest existing skill,
never a match) — it always runs and can reject into create. never a match) — it always runs and can reject into create.
New-skill creation is also gated deterministically by the per-category New-skill creation is gated deterministically by the tri-state
`locks.new_skill` (the `housekeeping` and `response` categories are hard-locked `new_skill_creation` mode — global default (`allow` / `deny` / `ask`) with a
in code). per-category override in `data/skills/<category>/config.json`; the
`housekeeping` and `response` categories are always `deny` in code.
+7 -9
View File
@@ -452,8 +452,8 @@ def _print_repairs(scheduler: Scheduler) -> None:
def _answer_approvals(scheduler: Scheduler) -> None: def _answer_approvals(scheduler: Scheduler) -> None:
"""Ask any pending creation approvals at the REPL. """Ask any pending creation approvals at the REPL.
Only prompts when `creation_approval` is on (the scheduler posts nothing Only prompts when a category (or the global default) uses the `ask` mode
otherwise). An empty answer denies. (the scheduler posts nothing otherwise). An empty answer denies.
""" """
while True: while True:
pending = scheduler.pending_approvals() pending = scheduler.pending_approvals()
@@ -539,7 +539,7 @@ def repl(scheduler: Scheduler, config: dict) -> int:
"housekeeping (slash-prefixed so plain requests still route by SemIf): " "housekeeping (slash-prefixed so plain requests still route by SemIf): "
"/delete <category> <skill> | /clear-config <category> <skill> | " "/delete <category> <skill> | /clear-config <category> <skill> | "
"/regen <category> <skill> | /cancel-build <category> <skill> | " "/regen <category> <skill> | /cancel-build <category> <skill> | "
"/lock <category> on|off" "/mode <category> allow|deny|ask"
) )
while True: while True:
_answer_questions(scheduler) _answer_questions(scheduler)
@@ -630,14 +630,12 @@ def repl(scheduler: Scheduler, config: dict) -> int:
status, detail = scheduler.cancel_skill_build(parts[1], parts[2]) status, detail = scheduler.cancel_skill_build(parts[1], parts[2])
print(f"[{status}] {detail}") print(f"[{status}] {detail}")
continue continue
if lower.startswith("/lock "): if lower.startswith("/mode "):
parts = line.lstrip("/").split() parts = line.lstrip("/").split()
if len(parts) != 3 or parts[2].lower() not in ("on", "off"): if len(parts) != 3 or parts[2].lower() not in ("allow", "deny", "ask"):
print("usage: /lock <category> on|off") print("usage: /mode <category> allow|deny|ask")
continue continue
status, detail = scheduler.set_category_lock( status, detail = scheduler.set_category_mode(parts[1], parts[2].lower())
parts[1], parts[2].lower() == "on"
)
print(f"[{status}] {detail}") print(f"[{status}] {detail}")
continue continue
if lower == "idle": if lower == "idle":
+6 -6
View File
@@ -151,7 +151,7 @@ def build_tree_payload(scheduler: Scheduler) -> dict:
] ]
for category, skills in sorted(snapshot.items()) for category, skills in sorted(snapshot.items())
}, },
"locks": scheduler.category_locks(), "new_skill_modes": scheduler.category_modes(),
} }
@@ -235,8 +235,8 @@ class DashboardHandler(BaseHTTPRequestHandler):
if path == "/api/approvals": if path == "/api/approvals":
self._send(200, {"approvals": self.scheduler.pending_approvals()}) self._send(200, {"approvals": self.scheduler.pending_approvals()})
return return
if path == "/api/locks": if path == "/api/new-skill-modes":
self._send(200, {"locks": self.scheduler.category_locks()}) self._send(200, {"modes": self.scheduler.category_modes()})
return return
if path == "/api/timers": if path == "/api/timers":
self._send( self._send(
@@ -345,12 +345,12 @@ class DashboardHandler(BaseHTTPRequestHandler):
if path == "/api/cancel-build": if path == "/api/cancel-build":
self._housekeeping("cancel_skill_build") self._housekeeping("cancel_skill_build")
return return
if path == "/api/lock": if path == "/api/new-skill-mode":
with self.lock: with self.lock:
try: try:
body = self._read_json() body = self._read_json()
status, detail = self.scheduler.set_category_lock( status, detail = self.scheduler.set_category_mode(
str(body.get("category", "")), bool(body.get("locked")) str(body.get("category", "")), str(body.get("mode", ""))
) )
except Exception as exc: except Exception as exc:
self._send_error(500, str(exc)) self._send_error(500, str(exc))
+145 -54
View File
@@ -69,6 +69,30 @@ from .skills import (
) )
from .trace import TraceLog from .trace import TraceLog
#: The tri-state governing whether a new skill (or category) may be authored.
#: `allow` authors immediately, `deny` blocks creation outright, and `ask`
#: authors only after the human approves the proposal. Set globally with the
#: top-level `new_skill_creation` config value and overridden per category in
#: `data/skills/<category>/config.json` (same key).
NEW_SKILL_MODES = ("allow", "deny", "ask")
def normalize_new_skill_mode(value) -> str | None:
"""Coerce a configured new-skill mode to one of `NEW_SKILL_MODES`.
Accepts the mode strings and, for backward compatibility with the retired
`locks.new_skill` boolean, maps `True` -> "deny" and `False` -> "allow".
Returns None for anything unrecognized so the caller can fall back to the
next tier (category override, then the global default).
"""
if isinstance(value, bool):
return "deny" if value else "allow"
if isinstance(value, str):
mode = value.strip().lower()
if mode in NEW_SKILL_MODES:
return mode
return None
@dataclass @dataclass
class Process: class Process:
@@ -173,10 +197,11 @@ class PendingApproval:
"""A proposed category/skill awaiting the human's yes/no. """A proposed category/skill awaiting the human's yes/no.
Posted by the single-slot `llm` draft worker after the proposal is authored Posted by the single-slot `llm` draft worker after the proposal is authored
and before anything is registered. `creation_approval` is off by default; and before anything is registered. Only posted when the effective new-skill
when on, a denial or timeout aborts creation (nothing registered, no body mode is `ask` (the global default or a per-category override); a denial or
written, the request is not re-dispatched). One prompt per creation request: timeout aborts creation (nothing registered, no body written, the request is
the category prompt covers its chained skill, so a new category asks once. not re-dispatched). One prompt per creation request: the category prompt
covers its chained skill, so a new category asks once.
""" """
id: str id: str
@@ -267,7 +292,14 @@ class Scheduler:
elicitation_cfg.get("answer_timeout", 30.0) elicitation_cfg.get("answer_timeout", 30.0)
) )
self.defer_questions = False self.defer_questions = False
self.creation_approval = bool(config.get("creation_approval", False)) #: Global new-skill creation mode: "allow" (default), "deny", or "ask".
#: A category may override it in its category config. The retired
#: boolean `creation_approval` is still read as a fallback (True -> ask,
#: False -> allow) so an existing config keeps its behaviour.
self.new_skill_mode = (
normalize_new_skill_mode(config.get("new_skill_creation"))
or ("ask" if config.get("creation_approval") else "allow")
)
fidelity_cfg = codegen_cfg.get("fidelity", {}) or {} fidelity_cfg = codegen_cfg.get("fidelity", {}) or {}
self.fidelity_enabled = bool(fidelity_cfg.get("enabled", True)) self.fidelity_enabled = bool(fidelity_cfg.get("enabled", True))
self.fidelity_max_attempts = int(fidelity_cfg.get("max_attempts", 1)) self.fidelity_max_attempts = int(fidelity_cfg.get("max_attempts", 1))
@@ -487,6 +519,8 @@ class Scheduler:
bypass_tau=self.bypass_tau, bypass_tau=self.bypass_tau,
) )
if isinstance(navigation, CreateCategory): if isinstance(navigation, CreateCategory):
if self.new_skill_mode == "deny":
return self._blocked_create(request, None)
return self._dispatch_create_category(request) return self._dispatch_create_category(request)
if isinstance(navigation, CreateSkill): if isinstance(navigation, CreateSkill):
return self._dispatch_skill(request, navigation.category) return self._dispatch_skill(request, navigation.category)
@@ -568,36 +602,56 @@ class Scheduler:
), ),
) )
# ---- new-skill locks (deterministic per-category create door) ---- # ---- new-skill creation modes (deterministic per-category create door) ----
def _category_locked(self, category: str) -> bool: def _category_mode(self, category: str) -> str:
"""Is this category closed to new-skill creation? """Effective new-skill mode for a category: allow | deny | ask.
A plain boolean gate, not a SemIf decision: the closed `response` tree A deterministic gate, not a SemIf decision. The closed `response` tree
and the built-in `housekeeping` category are locked in code and the built-in `housekeeping` category are always `deny` (hard-locked
(HARD_LOCKED_CATEGORIES); every other category is locked when its in code). Every other category reads `new_skill_creation` from its
category config (`data/skills/<category>/config.json`) sets category config (`data/skills/<category>/config.json`); when absent it
`locks.new_skill` true. Absent config means unlocked. The lock is falls back to the global `new_skill_creation` mode. The retired boolean
`locks.new_skill` is still honored (True -> deny, False -> allow) so a
previously locked category never silently reopens. The mode is
creation-only: existing skills still run, and repair/regen of an creation-only: existing skills still run, and repair/regen of an
existing leaf is allowed. existing leaf is allowed.
""" """
if category in CANNED_CATEGORIES or category in HARD_LOCKED_CATEGORIES: if category in CANNED_CATEGORIES or category in HARD_LOCKED_CATEGORIES:
return True return "deny"
config = self.body_store.read_category_config(category) or {} config = self.body_store.read_category_config(category) or {}
locks = config.get("locks") or {} mode = normalize_new_skill_mode(config.get("new_skill_creation"))
return bool(locks.get("new_skill", False)) if mode is None:
mode = normalize_new_skill_mode(
(config.get("locks") or {}).get("new_skill")
)
return mode or self.new_skill_mode
def _blocked_create(self, request: Request, category: str) -> DispatchResult: def _category_locked(self, category: str) -> bool:
"""Report that a locked category will not accept a new skill.""" """Is this category closed to new-skill creation (mode == deny)?"""
self.trace.append( return self._category_mode(category) == "deny"
"skill_create_blocked", request.id, category=category
) def _blocked_create(
self, request: Request, category: str | None
) -> DispatchResult:
"""Report that a denied category (or a denied category creation) will
not author."""
if category is None:
self.trace.append("category_create_blocked", request.id)
return DispatchResult(
kind="error",
summary=(
"cannot create a new category: new-skill creation is denied "
'(set new_skill_creation to "allow" or "ask" in config.json)'
),
)
self.trace.append("skill_create_blocked", request.id, category=category)
return DispatchResult( return DispatchResult(
kind="error", kind="error",
summary=( summary=(
f"cannot create a new skill in {category}: new-skill creation " f"cannot create a new skill in {category}: new-skill creation "
f"is locked (set locks.new_skill=false in " f'is denied (set new_skill_creation to "allow" or "ask" in '
f"data/skills/{category}/config.json to allow it)" f"data/skills/{category}/config.json, or globally in config.json)"
), ),
) )
@@ -1138,10 +1192,10 @@ class Scheduler:
def _author_category(self, job: DraftAuthor) -> None: def _author_category(self, job: DraftAuthor) -> None:
"""Author a top-level category, then chain into its skill leaf. """Author a top-level category, then chain into its skill leaf.
When `creation_approval` is on, the human approves the proposed category When the global new-skill mode is `ask`, the human approves the proposed
first; the chained skill is covered by that approval. An `llm` failure is category first; the chained skill is covered by that approval. An `llm`
graceful: only the user is told, the request is not re-dispatched — the failure is graceful: only the user is told, the request is not
decision engine stays the single fatal dependency. re-dispatched — the decision engine stays the single fatal dependency.
""" """
draft = generate_category(self.llm, job.request, self._tree_snapshot()) draft = generate_category(self.llm, job.request, self._tree_snapshot())
if not self._request_approval(job, "category", draft.name, draft.description): if not self._request_approval(job, "category", draft.name, draft.description):
@@ -1157,10 +1211,11 @@ class Scheduler:
return return
self.registry.register(draft.name, draft.description) self.registry.register(draft.name, draft.description)
self.tree[draft.name] = [] self.tree[draft.name] = []
# Seed the category config so the new-skill lock is discoverable and # Seed the category config so the new-skill mode is discoverable and
# editable from the start (default: unlocked). # editable from the start. It records the mode in effect at creation
# (the global default), which the operator can then override.
self.body_store.write_category_config( self.body_store.write_category_config(
draft.name, {"locks": {"new_skill": False}} draft.name, {"new_skill_creation": self.new_skill_mode}
) )
self.trace.append( self.trace.append(
"category_created", "category_created",
@@ -1173,8 +1228,9 @@ class Scheduler:
def _author_skill(self, job: DraftAuthor) -> None: def _author_skill(self, job: DraftAuthor) -> None:
"""Author a skill leaf stub, then launch the codegen body write. """Author a skill leaf stub, then launch the codegen body write.
When `creation_approval` is on, the human approves the proposed skill When the category's effective new-skill mode is `ask`, the human
(a chained skill inside an already-approved category skips this). approves the proposed skill (a chained skill inside an already-approved
category skips this).
""" """
draft = generate_skill( draft = generate_skill(
self.llm, job.request, job.category, self._tree_snapshot() self.llm, job.request, job.category, self._tree_snapshot()
@@ -1243,25 +1299,49 @@ class Scheduler:
"The request was not re-dispatched." "The request was not re-dispatched."
) )
# ---- creation approval (opt-in human veto on new categories/skills) ---- # ---- new-skill creation gate (allow / deny / ask) ----
def _request_approval( def _request_approval(
self, job: DraftAuthor, kind: str, name: str, description: str self, job: DraftAuthor, kind: str, name: str, description: str
) -> bool: ) -> bool:
"""Ask the human to approve a proposed creation. Returns True to proceed. """Resolve the creation gate for a proposed category/skill. True = proceed.
Off by default (`creation_approval`). When on, the single-slot `llm` The effective mode is the global `new_skill_mode` for a new category and
worker blocks here after the proposal is authored and before anything is the category's own mode for a new skill (global default unless the
registered; the main gate stays free. One prompt per creation request — category config overrides it). `allow` returns immediately, `deny`
a chained skill job (`job.approved`) is already covered by the category aborts, and `ask` blocks the single-slot `llm` worker here — after the
proposal is authored and before anything is registered — until the human
answers; the main gate stays free. One prompt per creation request: a
chained skill job (`job.approved`) is already covered by the category
approval. Denial or timeout aborts creation: nothing is registered, no approval. Denial or timeout aborts creation: nothing is registered, no
body is written, and the request is not re-dispatched. Without a body is written, and the request is not re-dispatched. Without a
deferring front end there is nobody to answer, so it denies immediately deferring front end there is nobody to answer, so `ask` denies
rather than stalling the worker. immediately rather than stalling the worker.
""" """
if not self.creation_approval or job.approved: if job.approved:
return True return True
mode = (
self.new_skill_mode
if kind == "category"
else self._category_mode(job.category)
)
target = name if kind == "category" else f"{job.category}.{name}" target = name if kind == "category" else f"{job.category}.{name}"
if mode == "allow":
return True
if mode == "deny":
# Normally blocked synchronously in dispatch; guard here too so an
# in-flight draft never registers under a deny.
if kind == "category":
self.trace.append("category_create_blocked", job.request.id)
else:
self.trace.append(
"skill_create_blocked", job.request.id, category=job.category
)
print(
f"[creation] {kind} {target} denied by new-skill mode; "
"creation aborted."
)
return False
if not self.defer_questions: if not self.defer_questions:
self.trace.append( self.trace.append(
"creation_approval_skipped", "creation_approval_skipped",
@@ -2176,31 +2256,42 @@ class Scheduler:
) )
return "ok", detail return "ok", detail
def set_category_lock(self, category: str, locked: bool) -> tuple[str, str]: def set_category_mode(self, category: str, mode: str) -> tuple[str, str]:
"""Toggle a category's new-skill lock in its category config.""" """Set a category's new-skill mode (`allow` | `deny` | `ask`).
Written to the category config (`new_skill_creation`); passing an empty
value clears the override so the category inherits the global mode.
"""
with self._lock: with self._lock:
if category in CANNED_CATEGORIES or category in HARD_LOCKED_CATEGORIES: if category in CANNED_CATEGORIES or category in HARD_LOCKED_CATEGORIES:
return "error", ( return "error", (
f"{category} is a built-in category and is always locked" f"{category} is a built-in category and is always denied"
) )
if category not in self.tree: if category not in self.tree:
return "error", f"no category {category}" return "error", f"no category {category}"
config = self.body_store.read_category_config(category) or {} config = self.body_store.read_category_config(category) or {}
locks = dict(config.get("locks") or {}) # Drop the retired boolean lock so it cannot shadow the new mode.
locks["new_skill"] = bool(locked) config.pop("locks", None)
config["locks"] = locks if mode:
normalized = normalize_new_skill_mode(mode)
if normalized is None:
return "error", (
f"invalid mode {mode!r}: expected one of "
f"{', '.join(NEW_SKILL_MODES)}"
)
config["new_skill_creation"] = normalized
else:
config.pop("new_skill_creation", None)
self.body_store.write_category_config(category, config) self.body_store.write_category_config(category, config)
effective = self._category_mode(category)
self.trace.append( self.trace.append(
"category_lock_set", "?", category=category, new_skill=bool(locked) "category_mode_set", "?", category=category, mode=effective
) )
return "ok", ( return "ok", f"{category} new-skill creation is now {effective}"
f"{category} new-skill creation "
f"{'locked' if locked else 'unlocked'}"
)
def category_locks(self) -> dict[str, bool]: def category_modes(self) -> dict[str, str]:
with self._lock: with self._lock:
return {category: self._category_locked(category) for category in self.tree} return {category: self._category_mode(category) for category in self.tree}
def status(self) -> str: def status(self) -> str:
with self._lock: with self._lock:
+21 -17
View File
@@ -163,8 +163,10 @@ function eventRow(evt) {
div.textContent = `cleared config: ${evt.category}.${evt.skill}`; div.textContent = `cleared config: ${evt.category}.${evt.skill}`;
} else if (evt.kind === "skill_create_blocked") { } else if (evt.kind === "skill_create_blocked") {
div.textContent = `new-skill creation blocked: ${evt.category}`; div.textContent = `new-skill creation blocked: ${evt.category}`;
} else if (evt.kind === "category_lock_set") { } else if (evt.kind === "category_create_blocked") {
div.textContent = `${evt.category} new-skill lock ${evt.new_skill ? "on" : "off"}`; div.textContent = "new-category creation blocked";
} else if (evt.kind === "category_mode_set") {
div.textContent = `${evt.category} new-skill creation: ${evt.mode}`;
} else if (evt.kind === "needs_input") { } else if (evt.kind === "needs_input") {
div.textContent = "needs input"; div.textContent = "needs input";
div.title = evt.question || ""; div.title = evt.question || "";
@@ -517,8 +519,10 @@ function eventNode(evt) {
body.textContent = `cleared config for ${evt.category}.${evt.skill}`; body.textContent = `cleared config for ${evt.category}.${evt.skill}`;
} else if (evt.kind === "skill_create_blocked") { } else if (evt.kind === "skill_create_blocked") {
body.textContent = `new-skill creation blocked in ${evt.category}`; body.textContent = `new-skill creation blocked in ${evt.category}`;
} else if (evt.kind === "category_lock_set") { } else if (evt.kind === "category_create_blocked") {
body.textContent = `${evt.category} new-skill lock ${evt.new_skill ? "on" : "off"}`; body.textContent = "new-category creation blocked";
} else if (evt.kind === "category_mode_set") {
body.textContent = `${evt.category} new-skill creation: ${evt.mode}`;
} else if (evt.kind === "needs_input") { } else if (evt.kind === "needs_input") {
node.classList.add("needs-input"); node.classList.add("needs-input");
body.textContent = `awaiting input: ${evt.question || ""}`; body.textContent = `awaiting input: ${evt.question || ""}`;
@@ -606,16 +610,16 @@ async function housekeepingAction(path, category, name) {
await refreshAll(); await refreshAll();
} }
async function toggleLock(category, locked) { async function setSkillMode(category, mode) {
try { try {
const res = await getJSON("/api/lock", { const res = await getJSON("/api/new-skill-mode", {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },
body: JSON.stringify({ category, locked }), body: JSON.stringify({ category, mode }),
}); });
flash(`[${res.status}] ${res.detail}`); flash(`[${res.status}] ${res.detail}`);
} catch (err) { } catch (err) {
flash(`lock failed: ${err.message}`); flash(`mode change failed: ${err.message}`);
} }
await refreshAll(); await refreshAll();
} }
@@ -699,15 +703,15 @@ function renderTree() {
const name = document.createElement("div"); const name = document.createElement("div");
name.className = "cat-name"; name.className = "cat-name";
name.textContent = cat; name.textContent = cat;
const locked = (state.tree.locks || {})[cat]; const mode = (state.tree.new_skill_modes || {})[cat];
if (locked !== undefined) { if (mode !== undefined) {
const lock = actionBtn( const next = { allow: "ask", ask: "deny", deny: "allow" }[mode] || "allow";
locked ? "locked" : "open", const hint = {
locked allow: "new skills are created without asking; click to ask first",
? "new-skill creation is locked; click to allow" ask: "new skills ask for approval; click to deny creation",
: "new-skill creation is allowed; click to lock", deny: "new-skill creation is denied; click to allow",
() => toggleLock(cat, !locked) }[mode];
); const lock = actionBtn(mode, hint, () => setSkillMode(cat, next));
lock.classList.add("lock-btn"); lock.classList.add("lock-btn");
name.appendChild(lock); name.appendChild(lock);
} }
+10 -10
View File
@@ -155,7 +155,7 @@ def test_restart_without_codegen_returns_error_json(tmp_path):
server.close() server.close()
def test_tree_endpoint_carries_origin_and_locks(tmp_path): def test_tree_endpoint_carries_origin_and_modes(tmp_path):
scheduler = build_scheduler(tmp_path) scheduler = build_scheduler(tmp_path)
_generated_skill(scheduler, "tracking", "track_live") _generated_skill(scheduler, "tracking", "track_live")
server = Server(scheduler) server = Server(scheduler)
@@ -168,9 +168,9 @@ def test_tree_endpoint_carries_origin_and_locks(tmp_path):
s["origin"] == "builtin" s["origin"] == "builtin"
for s in payload["categories"]["housekeeping"] for s in payload["categories"]["housekeeping"]
) )
assert payload["locks"]["housekeeping"] is True assert payload["new_skill_modes"]["housekeeping"] == "deny"
assert payload["locks"]["response"] is True assert payload["new_skill_modes"]["response"] == "deny"
assert payload["locks"]["tracking"] is False assert payload["new_skill_modes"]["tracking"] == "allow"
finally: finally:
server.close() server.close()
@@ -239,25 +239,25 @@ def test_regen_endpoint_without_codegen_errors(tmp_path):
server.close() server.close()
def test_lock_endpoint_roundtrip(tmp_path): def test_new_skill_mode_endpoint_roundtrip(tmp_path):
scheduler = build_scheduler(tmp_path) scheduler = build_scheduler(tmp_path)
scheduler.tree["tracking"] = [] scheduler.tree["tracking"] = []
server = Server(scheduler) server = Server(scheduler)
try: try:
status, payload = server.get("/api/locks") status, payload = server.get("/api/new-skill-modes")
assert status == 200 assert status == 200
assert payload["locks"]["tracking"] is False assert payload["modes"]["tracking"] == "allow"
status, payload = server.post( status, payload = server.post(
"/api/lock", {"category": "tracking", "locked": True} "/api/new-skill-mode", {"category": "tracking", "mode": "ask"}
) )
assert payload["status"] == "ok" assert payload["status"] == "ok"
status, payload = server.get("/api/tree") status, payload = server.get("/api/tree")
assert payload["locks"]["tracking"] is True assert payload["new_skill_modes"]["tracking"] == "ask"
status, payload = server.post( status, payload = server.post(
"/api/lock", {"category": "housekeeping", "locked": False} "/api/new-skill-mode", {"category": "housekeeping", "mode": "allow"}
) )
assert payload["status"] == "error" assert payload["status"] == "error"
finally: finally:
+30 -16
View File
@@ -255,46 +255,60 @@ def test_delete_seed_is_durable(tmp_path):
def test_housekeeping_and_response_are_hard_locked(tmp_path): def test_housekeeping_and_response_are_hard_locked(tmp_path):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
assert scheduler._category_locked("housekeeping") is True assert scheduler._category_mode("housekeeping") == "deny"
assert scheduler._category_locked("response") is True assert scheduler._category_mode("response") == "deny"
status, _ = scheduler.set_category_lock("housekeeping", False) status, _ = scheduler.set_category_mode("housekeeping", "allow")
assert status == "error" assert status == "error"
def test_category_lock_config_roundtrip(tmp_path): def test_category_mode_config_roundtrip(tmp_path):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.tree["notes"] = [] scheduler.tree["notes"] = []
assert scheduler._category_locked("notes") is False assert scheduler._category_mode("notes") == "allow"
status, _ = scheduler.set_category_lock("notes", True) status, _ = scheduler.set_category_mode("notes", "ask")
assert status == "ok" assert status == "ok"
assert scheduler._category_locked("notes") is True assert scheduler._category_mode("notes") == "ask"
config = scheduler.body_store.read_category_config("notes") config = scheduler.body_store.read_category_config("notes")
assert config["locks"]["new_skill"] is True assert config["new_skill_creation"] == "ask"
scheduler.set_category_lock("notes", False) scheduler.set_category_mode("notes", "deny")
assert scheduler._category_locked("notes") is False assert scheduler._category_locked("notes") is True
assert any( assert any(
e["kind"] == "category_lock_set" for e in scheduler.trace.read() e["kind"] == "category_mode_set" for e in scheduler.trace.read()
) )
def test_dispatch_skill_blocked_when_locked(tmp_path): def test_category_mode_inherits_global_and_overrides(tmp_path):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.tree["notes"] = [] scheduler.tree["notes"] = []
scheduler.set_category_lock("notes", True) scheduler.new_skill_mode = "ask"
assert scheduler._category_mode("notes") == "ask"
scheduler.set_category_mode("notes", "deny")
assert scheduler._category_mode("notes") == "deny"
# An empty mode clears the override so the category inherits the global.
scheduler.set_category_mode("notes", "")
assert scheduler._category_mode("notes") == "ask"
def test_dispatch_skill_blocked_when_denied(tmp_path):
scheduler = _scheduler(tmp_path)
scheduler.tree["notes"] = []
scheduler.set_category_mode("notes", "deny")
result = scheduler._dispatch_skill(Request("make a note"), "notes") result = scheduler._dispatch_skill(Request("make a note"), "notes")
assert result.kind == "error" assert result.kind == "error"
assert "locked" in result.summary assert "denied" in result.summary
assert any(e["kind"] == "skill_create_blocked" for e in scheduler.trace.read()) assert any(e["kind"] == "skill_create_blocked" for e in scheduler.trace.read())
def test_restart_skill_blocked_when_locked(tmp_path): def test_restart_skill_blocked_when_denied(tmp_path):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.tree["notes"] = [ scheduler.tree["notes"] = [
Skill(name="stub", category="notes", description="d") Skill(name="stub", category="notes", description="d")
] ]
scheduler.set_category_lock("notes", True) scheduler.set_category_mode("notes", "deny")
status, _ = scheduler.restart_skill("notes", "stub") status, _ = scheduler.restart_skill("notes", "stub")
assert status == "error" assert status == "error"
+71 -10
View File
@@ -1303,9 +1303,9 @@ def _answer_approval_when_posted(scheduler, approved, timeout=5.0):
return False return False
def test_creation_approval_off_proceeds(tmp_path): def test_creation_mode_allow_proceeds(tmp_path):
"""The default (no `creation_approval`) leaves creation unchanged: the gate """The default (`new_skill_creation` unset -> allow) leaves creation
returns immediately and posts nothing.""" unchanged: the gate returns immediately and posts nothing."""
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
job = DraftAuthor( job = DraftAuthor(
request=Request("book a trip"), category=None, kind="category" request=Request("book a trip"), category=None, kind="category"
@@ -1314,9 +1314,70 @@ def test_creation_approval_off_proceeds(tmp_path):
assert scheduler.pending_approvals() == [] assert scheduler.pending_approvals() == []
def test_creation_approval_legacy_boolean_fallback(tmp_path):
"""The retired `creation_approval` boolean still maps to ask/allow when the
new `new_skill_creation` key is absent."""
def build(config):
return Scheduler(
engine=ScriptedEngine(default="success"),
llm=LLMClient(base_url="http://localhost:1/v1", model="test"),
log=DecisionLog(str(tmp_path / "decisions.jsonl")),
config={
"skills": {},
"category_registry": str(tmp_path / "categories.json"),
"skill_bodies": str(tmp_path / "skills"),
"skill_seeds": str(tmp_path / "seeds"),
**config,
},
trace=TraceLog(str(tmp_path / "runs.jsonl")),
)
assert build({"creation_approval": True}).new_skill_mode == "ask"
assert build({"creation_approval": False}).new_skill_mode == "allow"
# The new key wins when both are present.
assert build(
{"creation_approval": True, "new_skill_creation": "deny"}
).new_skill_mode == "deny"
def test_creation_mode_deny_aborts_without_prompting(tmp_path):
"""Global `deny` blocks authoring outright; no approval is posted."""
scheduler = _scheduler(tmp_path)
scheduler.new_skill_mode = "deny"
scheduler.defer_questions = True
job = DraftAuthor(
request=Request("book a trip"), category=None, kind="category"
)
assert scheduler._request_approval(job, "category", "travel", "Trips.") is False
assert scheduler.pending_approvals() == []
assert any(
e["kind"] == "category_create_blocked" for e in scheduler.trace.read()
)
def test_creation_mode_per_category_override(tmp_path):
"""A category override wins over the global mode."""
scheduler = _scheduler(tmp_path)
scheduler.tree["travel"] = []
scheduler.new_skill_mode = "ask"
scheduler.set_category_mode("travel", "allow")
job = DraftAuthor(
request=Request("book a trip"), category="travel", kind="skill"
)
# allow -> proceeds with no prompt even though the global mode is ask
assert scheduler._request_approval(job, "skill", "book_flight", "Book.") is True
assert scheduler.pending_approvals() == []
scheduler.set_category_mode("travel", "deny")
assert scheduler._request_approval(job, "skill", "book_flight", "Book.") is False
assert any(
e["kind"] == "skill_create_blocked" for e in scheduler.trace.read()
)
def test_creation_approval_approved_proceeds(tmp_path): def test_creation_approval_approved_proceeds(tmp_path):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.creation_approval = True scheduler.new_skill_mode = "ask"
scheduler.defer_questions = True scheduler.defer_questions = True
job = DraftAuthor( job = DraftAuthor(
request=Request("book a trip"), category=None, kind="category" request=Request("book a trip"), category=None, kind="category"
@@ -1339,7 +1400,7 @@ def test_creation_approval_approved_proceeds(tmp_path):
def test_creation_approval_denied_aborts(tmp_path): def test_creation_approval_denied_aborts(tmp_path):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.creation_approval = True scheduler.new_skill_mode = "ask"
scheduler.defer_questions = True scheduler.defer_questions = True
job = DraftAuthor( job = DraftAuthor(
request=Request("book a trip"), category="travel", kind="skill" request=Request("book a trip"), category="travel", kind="skill"
@@ -1361,7 +1422,7 @@ def test_creation_approval_denied_aborts(tmp_path):
def test_creation_approval_timeout_denies(tmp_path): def test_creation_approval_timeout_denies(tmp_path):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.creation_approval = True scheduler.new_skill_mode = "ask"
scheduler.defer_questions = True scheduler.defer_questions = True
scheduler.elicitation_wait = 0.1 scheduler.elicitation_wait = 0.1
job = DraftAuthor( job = DraftAuthor(
@@ -1377,7 +1438,7 @@ def test_creation_approval_without_front_end_denies(tmp_path):
"""With no deferring front end there is nobody to answer, so creation is """With no deferring front end there is nobody to answer, so creation is
denied immediately rather than stalling the draft worker.""" denied immediately rather than stalling the draft worker."""
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.creation_approval = True scheduler.new_skill_mode = "ask"
scheduler.defer_questions = False scheduler.defer_questions = False
job = DraftAuthor( job = DraftAuthor(
request=Request("book a trip"), category="travel", kind="skill" request=Request("book a trip"), category="travel", kind="skill"
@@ -1391,7 +1452,7 @@ def test_creation_approval_without_front_end_denies(tmp_path):
def test_creation_approval_chain_skips_second_prompt(tmp_path): def test_creation_approval_chain_skips_second_prompt(tmp_path):
"""A skill job chained from an approved category is already covered.""" """A skill job chained from an approved category is already covered."""
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.creation_approval = True scheduler.new_skill_mode = "ask"
scheduler.defer_questions = True scheduler.defer_questions = True
job = DraftAuthor( job = DraftAuthor(
request=Request("book a trip"), request=Request("book a trip"),
@@ -1407,7 +1468,7 @@ def test_author_category_denied_does_not_register(tmp_path, monkeypatch):
"""The category hook: a denied proposal registers nothing and queues no """The category hook: a denied proposal registers nothing and queues no
chained skill draft.""" chained skill draft."""
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.creation_approval = True scheduler.new_skill_mode = "ask"
scheduler.defer_questions = True scheduler.defer_questions = True
monkeypatch.setattr( monkeypatch.setattr(
"semif_agent.scheduler.generate_category", "semif_agent.scheduler.generate_category",
@@ -1427,7 +1488,7 @@ def test_author_category_denied_does_not_register(tmp_path, monkeypatch):
def test_author_skill_denied_does_not_register(tmp_path, monkeypatch): def test_author_skill_denied_does_not_register(tmp_path, monkeypatch):
scheduler = _scheduler(tmp_path) scheduler = _scheduler(tmp_path)
scheduler.creation_approval = True scheduler.new_skill_mode = "ask"
scheduler.defer_questions = True scheduler.defer_questions = True
monkeypatch.setattr( monkeypatch.setattr(
"semif_agent.scheduler.generate_skill", "semif_agent.scheduler.generate_skill",