Say item 341's replay flag exists and what remains of it

This commit is contained in:
2026-11-18 10:58:05 +01:00
parent a7b2fd0ae1
commit c38030d638
+2 -4
View File
@@ -144,13 +144,11 @@ loop-claude can hand it as it hands `CLAUDE_CODE_AUTO_COMPACT_WINDOW`, and subag
The replay: give `review-replay` a way to set the variable, then replay the archived prose, stability, product-owner and principles rounds at 5,000 tokens, beside two unchanged replays of the same rounds. Keeps quality where each pass finds every finding the two unchanged replays both find, or misses no more than the most an unchanged replay misses, as `review-replay --omit-claude-md` counts it. Keep it only where the replays' Read characters also fall; item 311's stability replay can share the baseline runs.
Item 311's chunk built the way to set the variable: `review-replay --read-limit` replays a pass's rounds three times as archived and once at 5,000 tokens (`bin/review_replay/changes.py`), and `bin/claude_code/output_limits.py` holds `READ_LIMIT` and `READ_LIMIT_TOKENS`. What remains is to run that replay for the four passes, and to hand the variable over where it passes.
Touches:
- `bin/loop_claude/cycle/worker.py`: `COMPACT_WINDOW` (small)
- `bin/loop_claude/cycle/run.py`: `worker_environment` (small)
- `bin/loop_claude/loop/usage.py`: `HELP` (small)
- `bin/review_replay/main.py`: `(module)` (small), `main`
- `bin/review_replay/replay.py`: `launch`, `NO_CLAUDE_MD` (small)
- `bin/review_replay/test_review_replay.py`
- `bin/loop_claude/test_loop_claude.py`: `Cycles` (small), `HelpLimits` (small)
### 310. Compact a waiting worker's session shortly before its prompt cache expires, only when the human has not answered an interrupt by then.