The Factory knows why its sessions end before their work is done, in the words of the person who ended them, and each reason that recurs has a named condition, a proposed change and a count of whether it came back after the change.
Guillaume will know it exists when he can ask “why did seats end short this week” and read one table: the reasons, the sessions behind each, the change proposed for each, and which changes held.
prompt_input_exit, other, quit). 482 of 1002
interactive sessions on gaia recorded no end at all.--model on mct new, a model floor for requests) are
proposed one at a time, from one remembered case, with no count before or after.Exits happen every day and each one says something about how the seat was launched or briefed. That evidence is lost at the moment it is produced, so changes are made from memory and never checked against what follows. Recording the reason at the exit and counting it across sessions is what lets the next change be chosen from evidence and judged by the exits after it.
/inventory-exit-reason, or after the session ended, from the
person’s words relayed by any seat.miadi-hooks-interpret exits: every end, its Claude Code reason, the
person’s reason when given, the model launched, started and answered, whether it was resumed.The loop advances when a change lowers its pattern’s recurrence and the change stays. It
oscillates when a change for one pattern raises another, for example pinning Opus on every
launch so that wrong_model exits move from “too weak” to “too costly”. Step 5 names that
movement by comparing patterns across passes.
/inventory-exit-reason already does.exit.reason is never written from inference. A pass may
attach an inferred_kind to an exit with no reason, marked as a hypothesis with its evidence,
and kept apart from given reasons in every count./exit, no
resume. Its outputs are its own pass file and drafted issue bodies.other ends are claude -p children.
They are not seats a person exits.