Every hook the kit installs lets a seat finish the work it was asked for, and the factory’s rules hold at least as well as they do today.
01-reverse-engineer.md holds the evidence. In short: in one morning, three refusals hit one seat
and none refused the act its rule names. The word gate decides “prompt” from a file name, so it
refuses CSS and a person’s verbatim words and never sees the prompts agents push to Langfuse. Guards
keep no record of their refusals. The capture files 58 guard refusals as people’s corrections, 32 of
them in November. Three prompt hooks have no timeout and were cancelled at 30 s under load, and the
loss left no trace.
The factory wants a vocabulary discipline that holds and a harness that lets agents generate. Today both are carried by one mechanism, a surface match on a file name and a word, so every gain in one costs the other: widen the gate and it refuses more work, narrow it and prompts escape it. The tension resolves when the two are carried by different structures. The rule is applied where a prompt is declared (the door, the folders that hold prompts, the module that embeds them), with the sense asked when the surface cannot tell it. The harness carries a refusal contract that every guard follows and a ledger that counts what each guard did. Then tightening the rule and freeing the agents move in the same direction, because both are measured on the same ledger.
The input of 2026-11-20 implies five domains. Each has its own S-sections in 03-specify.md and its
grounding in jgwill/Miadi foundations/agent-harness-and-controlled-language/
(miadi-foundation://agent-harness-and-controlled-language).
| domain | what it governs here | S |
|---|---|---|
| controlled vocabulary | which words agents use in prompts and kept text, in which sense | S1, S2 |
| harness guards | how any PreToolUse guard refuses, explains and records | S3 |
| session capture | what the observability hooks keep, how fast, and who they attribute it to | S4, S5 |
| prompt management | how an agent creates, checks, versions and injects a prompt | S6 |
| self-improvement | how refusals and overrides become proposals a person rules on | S7, S8 |
Creative Advancement Scenario: an issue about prompt hooks
User Intent: a seat drafts an issue about UserPromptSubmit hooks for Guillaume to read.
Current Reality: the file is issue-draft-prompt-hooks.md and says a cancelled hook leaves a missing record visible.
Natural Progression Steps:
Creative Advancement Scenario: a brief in the forbidden sense
User Intent: a seat writes a brief for a lane under prompts/.
Current Reality: its draft says each step “bridges the” listed word “between current reality and the desired outcome”.
Natural Progression Steps:
Creative Advancement Scenario: a questioning prompt with another sense
User Intent: a seat creates nine questions for Gemini about a screenwalk. Current Reality: one question asks for segments “without” the listed word “or overlaps”, a timing sense. Natural Progression Steps:
Creative Advancement Scenario: a prompt on a loaded host
User Intent: Guillaume types a prompt into a seat while the host runs at load 50.
Current Reality: the capture hooks read the transcript inline, one jq per line.
Natural Progression Steps:
capture_incomplete line naming what it did not keep.
Achieved Outcome: the prompt reaches the model at once, and the session’s record is whole or says where it is not.
Supporting Features: S5.Creative Advancement Scenario: a cycle reads its corrections
User Intent: the self-improvement pass groups what people corrected this week. Current Reality: a third of November’s “corrections” are a guard’s text. Natural Progression Steps:
04-export.md gives the
order.