ATC-79 record-output: record what every window writes to its console #70
Loading…
Reference in a new issue
No description provided.
Delete branch "ATC-79-record-output"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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, inoutputunder 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'srecord-outputshowed 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.