Where each part is built, and the gates that prove it. Nothing below is built until Guillaume says so for that part.
| Part | Built in | Repository | State |
|---|---|---|---|
S1 /inventory-exit-reason |
claude/miadi-session-observability/commands/ |
jgwill/miadi-orchestration-kit | built, 0.1.49, jgwill/miadi-orchestration-kit@4a4f169 |
S2 inventory.mjs exit |
claude/miadi-witness/scripts/inventory.mjs, SCHEMA.md “Exit reasons” |
jgwill/miadi-orchestration-kit, the workspace repository for SCHEMA.md | specified |
S3 exits, digest model and end |
packages/hooks-interpreter (@miadi/hooks-interpreter, 0.12.0 installed on gaia) |
jgwill/Miadi | specified, issue drafted in issues/02-miadi-hooks-interpret-exits.md |
| S3 guard text | claude/miadi-session-observability/hooks/session_lookup_guard.sh |
jgwill/miadi-orchestration-kit | after S3 is released |
| S4, S5 the pass | a miadi-witness skill, exit-investigation |
jgwill/miadi-orchestration-kit | specified |
Order: S3 first, because S2 fills models from it and S4 reads only from it. Then S2, then S4
and S5 together.
miadi-hooks-interpret exits --since 2026-09-28 --until 2026-11-19T12:35Z --json on
gaia reproduces the interactive counts of 01-reverse-engineer.md (520 sessions with an end
line, 482 without, end reasons 517, 172, 26, 2, 1).digest 5ffaf964-f4cb-470d-a1da-35fdd040073a shows model.started: claude-opus-5-5.digest 675a74db-cbb8-4c91-a1f6-fe06c30851aa shows model.started: claude-sonnet-5-5
and answered holding both Sonnet and Opus, with about 120 Sonnet replies.inventory.mjs exit on a record that already has an exit block adds to
exit.later[] and leaves reason, kind and given_by byte for byte.inventory.mjs exit with no --reason exits non-zero and writes nothing.--headless or --all, and never in a pattern’s count.exits, and the read refused in session 5ffaf964
now has an allowed command that returns the same counts.source, later[] and the exit-investigations/ folder.exits beside join and digest.wrong_model.