ATC-79 record-output: record what every window writes to its console #70

Merged
nelson merged 2 commits from ATC-79-record-output into main 2026-11-13 14:00:39 -08:00
Owner

Work package: https://openproject.romaine.life/wp/ATC-79 (for https://openproject.romaine.life/wp/TMUX-211)

Adds at-claude record-output on|off. While it's on, every window records each byte it writes to its console, with the time and the window's size, in output under at-claude's data folder. Each window gets its own file named for its tmux pane, and keeps two files of 8 MB at most. Off deletes every recording, and no window holds a file open between writes. tmux's record-output showed that three wrong draws (a leftover line, a missing avatar, a cut line) were already wrong when they reached tmux; this side shows whether at-claude wrote them right.

The switch is a file each window checks when it writes, so turning it on reaches windows that are already open, with no timer.

Tests: internal/record (off, whole frames, the limit, deleting, a racing write) and the screen recording exactly what it writes; the full suite passes.

Work package: https://openproject.romaine.life/wp/ATC-79 (for https://openproject.romaine.life/wp/TMUX-211) Adds `at-claude record-output on|off`. While it's on, every window records each byte it writes to its console, with the time and the window's size, in `output` under at-claude's data folder. Each window gets its own file named for its tmux pane, and keeps two files of 8 MB at most. Off deletes every recording, and no window holds a file open between writes. tmux's `record-output` showed that three wrong draws (a leftover line, a missing avatar, a cut line) were already wrong when they reached tmux; this side shows whether at-claude wrote them right. The switch is a file each window checks when it writes, so turning it on reaches windows that are already open, with no timer. Tests: `internal/record` (off, whole frames, the limit, deleting, a racing write) and the screen recording exactly what it writes; the full suite passes.
ATC-79 record-output: record what every window writes to its console
Some checks failed
CI / build (pull_request) Has been cancelled
CI / home-sync (pull_request) Has been cancelled
9503d6f453
at-claude record-output on|off turns on, for every window, a recording of
each byte the window writes to its console (frames with the time and the
window's size), two files of 8 MB at most per window, named for its tmux
pane; off deletes them. It lines up with tmux's record-output (TMUX-211)
to show whether a draw tmux got wrong was lost in at-claude or in the
console between them.
Merge branch 'main' into ATC-79-record-output
All checks were successful
CI / build (pull_request) Successful in 2m17s
CI / pcs (pull_request) Has been skipped
CI / prune-releases (pull_request) Has been skipped
CI / home-sync (pull_request) Successful in 0s
8de01f5d48
nelson merged commit c12bca5bca into main 2026-11-13 14:00:39 -08:00
nelson deleted branch ATC-79-record-output 2026-11-13 14:00:39 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/at-claude!70
No description provided.