Answer the prose review's third round, and file the human's two answers
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
## 0.1.0
|
||||
|
||||
- **Copy the transcript archive off the machine, or say in README how it is backed up.** It lives under `~/.claude`, which `.gitignore` keeps from the remote, so a lost disk loses every unattended run's record. Goal 2.
|
||||
- **Copy the transcript archive off the machine, or say in README how it is backed up.** It lives under `~/.claude`, which `.gitignore` keeps from the remote, so a lost disk loses every unattended run's record. Back it up only to a destination private to me and encrypted at rest: the worker runs with permissions bypassed, so the archived tool results can hold credentials it read. Goals 2 and 3.
|
||||
- **Add a test that `.gitignore` keeps credentials, transcripts and memory files out.** `test_gitignore.py` checks only that every tracked file is allowlisted; a widened negation such as `!*.json` would un-ignore `.credentials.json`. Goal 3.
|
||||
- **Wait out a usage limit and retry however long it lasts, without counting it as a failed run.** Today a worker or judge that hits a usage limit fails three times a minute apart, and the loop exits 1, so an unattended loop dies at every limit. The transcript line Claude Code writes for it, marked `"error":"rate_limit"`, holds the reset time: `You've hit your session limit · resets 7:40pm (Europe/Stockholm)`. Sleep until 2 minutes past it. The judge runs without a transcript, so find what its JSON reply carries on a limit. Where no reset time can be read, retry every 10 minutes: a retry before the reset fails (https://platform.claude.com/docs/en/api/rate-limits), so polling sooner only spends requests. Print when the next try is due, and update `--help`'s exit 1. Goal 4.
|
||||
- **Name each chunk's archive folder by the chunk's start time, so `<key>/` lists chunks in the order they ran.** Today the folder is the SHA-256 of the transcript's first timestamped line, which tells the human nothing; that line carries the start time. Drop the fallback to the first line, which every chunk of a project shares, and give the tests' fake transcripts ISO timestamps. Goal 2.
|
||||
@@ -58,6 +58,7 @@
|
||||
- Show the judge's stderr when its `claude` exits 0; today `run_judge` drops it.
|
||||
- Find Claude Code's files under `CLAUDE_CONFIG_DIR` when it is set; today `paths_from` reads `~/.claude` alone, so every cycle exits 1 with "claude left no transcript".
|
||||
- Type `decode_handed` for `LoopRun`, its one caller's type, and drop the type variable `T`.
|
||||
- **Allow stderr in `principles/logging.md` → "Infrastructure": OTLP, stdout or stderr.** A CLI keeps stdout for its output, as `loop-claude` does for the worker's stream; the rule's point is no log files. Goal 4.3.
|
||||
- **Sort `bin/`'s imports on their first binding, and say in `principles/technical-principles.md` → "Deterministic order" how case sorts and which groups Python has.** Today they sort by path, so moving a module reorders unchanged lines. The principle's "host packages" names no Python group. Goal 4.1.
|
||||
- **Clean up the rules, skills, agents, plan and decision log.** Goal 4.1.
|
||||
- `docs/decisions.md`: order the entries and the `AGENTS.md` index by one key.
|
||||
|
||||
Reference in New Issue
Block a user