File item 201: save tmux setups and restore them after a reboot, once the human has said what they need

This commit is contained in:
2026-10-21 18:21:25 +02:00
parent d7dd3dc289
commit 2096fe2c7e
+6 -1
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 201`
`Next ID = 202`
## Items
@@ -51,6 +51,7 @@
| 187 | 0.3.0 | | | **Count the tokens a worker spends reading reviewers' reports, so goal 1.4's signal shows whether report files lowered what a review costs the worker's context.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 3 | 3.0 |
| 165 | 0.3.0 | | | **Make this repo's tests assert the facts a prompt or help text carries in place of its sentences, and drop the tests that scan source or assert a constant.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 4, 1.4 by 3 | 2.9 |
| 182 | 0.3.0 | | | **Let the human edit an interrupt's answer with the arrow keys, so Left moves the cursor instead of typing ^[[D into the answer.** | 2 | 2 | 1 | 3 | 2 | 1.1 by 2 | 2.8 |
| 201 | 0.3.0 | | owner | **Save the human's tmux setups and restore them after a reboot, so work is up and running again quickly.** | 3 | 2 | 1 | 4 | 4 | 1.5 by 4 | 2.6 |
| 155 | 0.3.0 | | | **Lower the reading cost of the files a chunk reads most before its first commit.** | 3 | 2 | 2 | 5 | 5 | 1.4 by 6 | 2.4 |
| 169 | 0.3.0 | | | **Have rule-hook's `todo-rank-check` catch a `todo.md` that the same Bash call edits and then commits.** | 3 | 1 | 3 | 5 | 3 | 1.1 by 2 | 2.1 |
| 197 | 0.3.0 | | | **Let the human edit what they type at loop-claude's terminal questions with the arrow keys, so Left moves the cursor in place of printing `^[[D`.** | 1 | 2 | 3 | 4 | 1 | 1.5 by 1 | 1.5 |
@@ -255,6 +256,10 @@ A test audit across lilleman's projects on 2026-10-16 found 10 of 33 sampled tes
`bin/loop_claude/cycle/interrupt.py`'s `put_question` reads the answer with `input()`, and nothing under `bin/` imports `readline`, so Left types `^[[D` into the answer the worker gets. Importing `readline` gives line editing, at two costs. It writes the prompt to stdout, not stderr. And its bracketed paste can return several lines, while `prompts.typed_answer` ends the answer at its first blank line and shows the judge the rest as loop-claude's words. Raised by the product-owner review of PR #308.
### 201. Save the human's tmux setups and restore them after a reboot, so work is up and running again quickly.
The human asked on 2026-10-21 for tmux support, above all for saving tmux setups. Build nothing until the human has said exactly what they need. Ask them first, at least: what a setup holds, such as sessions, windows, panes, working directories and the commands running in them, like one `loop-claude` per project; when a setup is saved, on demand or on its own; how it comes back after a reboot; whether it must work on every machine that takes this checkout (goal 2), and so whether it belongs in this repo; and what else tmux support should cover. Record each answer where `CLAUDE.md` → "Ask, don't guess" says it belongs, re-score this item from the answers, and split it into items where it is more than one chunk. Weigh the widely used tmux-resurrect and tmux-continuum plugins against a script of our own.
### 155. Lower the reading cost of the files a chunk reads most before its first commit.
`bin/reading-cost` on 2026-10-18: the median of the last 5 chunks is 163,028 new input tokens before their first commit, up from 100,998 for the 5 before them. Read most over the last 5, by opens and searches: `rules/decisions.md` 1. The chunk that ships this item runs `bin/reading-cost --reset`.