-
Notifications
You must be signed in to change notification settings - Fork 19
cmd/codeaf: quitting a keyless first run leaves a raw Go log line on the terminal #1053
Copy link
Copy link
Open
Labels
area:chatThe v3 surface a person sits in front of (internal/tui3)The v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notSomething the code does that it should notgood first issueSmall and isolated, the acceptance already written, no ruling owed; a safe first pull requestSmall and isolated, the acceptance already written, no ruling owed; a safe first pull requestsev:papercutA wording, a hint, a small wrongness that costs a momentA wording, a hint, a small wrongness that costs a moment
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
area:chatThe v3 surface a person sits in front of (internal/tui3)The v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notSomething the code does that it should notgood first issueSmall and isolated, the acceptance already written, no ruling owed; a safe first pull requestSmall and isolated, the acceptance already written, no ruling owed; a safe first pull requestsev:papercutA wording, a hint, a small wrongness that costs a momentA wording, a hint, a small wrongness that costs a moment
What happened
2026-09-15,
staging-20260915-4b6ec83cfbfa(dev@4b6ec83cf), freshCODEAF_HOME, no key anywhere, plaincodeafin an emptygit initworkspace, Escape pastsetting up · 1 of 2, then/quit. Exit code 0, and after the surface tore down the terminal showed:A raw timestamped
logline, machinery vocabulary, on a screen the surface had just cleaned. Nothing a person did asked for media.Replication
Deterministic (no model).
CODEAF_HOME=$(mktemp -d) bin/codeafin an empty repo, Escape,/quit; read the terminal after exit. No key, no model call.Where
The media/image generation door's start-up probe (search
no generation endpoint on this installunderinternal/), logged through the standard logger rather than the surface's own notes.The fix
A capability that cannot work is absent, not broken: with no key there is no generation endpoint and nothing should be said about it at all. If the probe must record it, it records to the log file, never to the terminal the surface hands back.
Acceptance
/quitand asserts no line matching^[0-9]{4}/[0-9]{2}/[0-9]{2}is on it.