You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
debug record: interrupt, consent, guardian veto, budget stop and approval change leave a line #348
Sub-issue of the decision-lines child. Depends on the foundation child.
What a debugger hits today
In a chat session, pressing escape mid-reply, answering a consent prompt, a guardian veto, a budget stop and a change of approval posture leave no line in the transcript or anywhere else. A partial reply dropped as unusable leaves no line at all. Afterwards the transcript reads as if the model simply stopped.
The law
Everything a person did to a turn and everything the session refused on the person's behalf is written with its reason.
Fix shape
One recorder call per event at the place it already happens: interrupt (moment, characters dropped), consent prompt (what was asked, the answer), guardian veto (reason), budget stop (which ceiling), approval posture change (from, to, by whom).
Replication and acceptance
With the switch on, press escape mid-reply: the trace holds the interrupt with the count of dropped characters.
Refuse a consent prompt: the trace holds the prompt and the answer, and the tool event is marked refused.
Run with a low cost ceiling until it stops: the trace holds the budget stop naming the ceiling.
With the switch off, nothing is written and the session is unchanged.
Drafted with CodeAF · reviewed and owned by the author
Consolidated into the epic #338. This issue's law, fix shape, replication and acceptance are reproduced in full in the epic's consolidated plan (comment on #338, 2026-09-10), under the pull request that now carries it — nothing is lost, and this issue stays readable.
Why the children were folded back: the epic split into a foundation child, three decision-family children and a failure-evidence child so separate lanes could take them. Four weeks on, one lane took the foundation and the tree carried nine open issues describing what is now a handful of call sites each. The verified state at dev@95a0d0a9b is that internal/trace's Recorder.Call, Recorder.Tool and Recorder.Decision have zero callers outside the package's own tests — the shapes are all built and correct, and no feeder is wired, so AFORGE_DEBUG=1 today writes a run header and nothing else. That is one lane's work in three pull requests, not nine issues.
Activity
santoshkumarradha commentedon Sep 10, 2026
Consolidated into the epic #338. This issue's law, fix shape, replication and acceptance are reproduced in full in the epic's consolidated plan (comment on #338, 2026-09-10), under the pull request that now carries it — nothing is lost, and this issue stays readable.
Why the children were folded back: the epic split into a foundation child, three decision-family children and a failure-evidence child so separate lanes could take them. Four weeks on, one lane took the foundation and the tree carried nine open issues describing what is now a handful of call sites each. The verified state at dev@95a0d0a9b is that
internal/trace'sRecorder.Call,Recorder.ToolandRecorder.Decisionhave zero callers outside the package's own tests — the shapes are all built and correct, and no feeder is wired, soAFORGE_DEBUG=1today writes a run header and nothing else. That is one lane's work in three pull requests, not nine issues.