4 Commits

Author SHA1 Message Date
lilleman 98c49021c7 Finish item 565 in the plan
CI / tests (pull_request) Successful in 8m32s
2026-12-01 14:51:44 +01:00
lilleman 6f24a7f0ba Answer prose round 2: 0 🔴, 0 🟡 (0 misread); say Claude Code writes the memory files
CI / tests (pull_request) Has been cancelled
2026-12-01 14:47:10 +01:00
lilleman 2159b64a7b Answer prose round 1: 0 🔴, 2 🟡 (0 misread); say whose the memory files are and tell the reader to leave them out
CI / tests (pull_request) Has been cancelled
2026-12-01 14:46:16 +01:00
lilleman 1c0b598e9e Leave the agents' memory files off Install's backup list, and drop an unused folder from item 484
CI / tests (pull_request) Has been cancelled
2026-12-01 14:45:01 +01:00
2 changed files with 3 additions and 15 deletions
+2
View File
@@ -88,6 +88,8 @@ Back up these four folders and one file:
- `~/.claude/do-epic-transcripts`: the transcripts of do-epic's chunks.
- `~/.local/state/larv-review`: each chunk's review reports.
Leave out Claude Code's memory files in `~/.claude/projects/<folder>/memory/`: Claude Code writes them, so they aren't part of this setup.
To keep loop-claude's transcripts and the reports small, add a crontab line that gzips each transcript and review file 30 days after it last changed, and logs each run with its date:
```sh
+1 -15
View File
@@ -12,7 +12,6 @@
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 565 | 0.17.0 | | question | **Decide whether Install's backup step covers the agents' memory files under `~/.claude/projects/`, and whether the plan item that lists `~/.claude/rules/this-machine/` names a folder anything writes.** | 1 | 2 | 1 | 2 | 2 | | 0.0 |
| 480 | 0.18.0 | | owner | **Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.** | 3 | 2 | 3 | 6 | 6 | 1.6 by 3, code health by 3 | 1.9 |
| 481 | 0.18.0 | 480 | owner | **Put the release's tools on `PATH` for every session the loop starts and every hook it runs, name them bare in the prose in place of `~/.claude/bin/<tool>`, and refuse the old spelling in new prose.** | 3 | 2 | 3 | 6 | 6 | 1.4 by 2, 2 by 2, code health by 2 | 1.5 |
| 561 | 0.18.0 | | | **Clean up a do-epic chunk whose pull request has merged without waiting for a running slot, and close its window.** | 2 | 2 | 2 | 4 | 3 | 1.5 by 2 | 0.5 |
@@ -107,19 +106,6 @@
## Details
### 565. Decide whether Install's backup step covers the agents' memory files under `~/.claude/projects/`, and whether the plan item that lists `~/.claude/rules/this-machine/` names a folder anything writes.
Two questions for the human. The chunk that takes this item writes each answer once: in `README.md` → `## Install`, and in item 484's detail.
(a) Should Install's backup list hold the agents' memory files? `README.md`'s goal 3 says Install lists every file of the setup that lives outside this repo. Install's step "Back up these four folders and one file" lists `~/.claude-projects/`, `~/.claude/loop-claude-models.json`, `~/.claude/loop-claude-transcripts`, `~/.claude/do-epic-transcripts` and `~/.local/state/larv-review`. Claude Code keeps each agent's memory in `~/.claude/projects/<folder>/memory/`, one folder per project. Those files belong to one machine too: `.gitignore` keeps them out of this repo (`git check-ignore -v projects/x/memory/MEMORY.md` names `.gitignore`'s `*` rule). They may hold private details, such as where a secret is kept, which `CLAUDE.md` → "Handoffs" keeps out of the repo.
Recommendation: add `~/.claude/projects/*/memory/` to the list, since losing it loses facts the repo may not hold, and goal 3 asks for every such file. Say beside it that its backup must stay private, as goal 4 asks, since it may name where secrets live. Leave out the rest of `~/.claude/projects/`: it holds session transcripts that Claude Code writes, not this setup.
(b) Should item 484 drop `~/.claude/rules/this-machine/`? Item 484's detail says the setup's state lives today in `~/.claude-projects/`, `~/.claude/rules/this-machine/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. No file in this repo reads or writes `~/.claude/rules/this-machine/`.
Recommendation: drop it from item 484's detail, unless the human keeps files there by hand. The edit is a change to a filed item, so it runs on the plan rung.
Touches:
- `README.md`: `## Install` (small)
### 480. Resolve every path the tools use in one module: the release root (the folder the running code ships in), the config folder, the state folder and the Claude home. Then only that module names `~/.claude`, and the loop still runs from `~/.claude`.
Part of the standalone-install plan lilleman approved on 2026-11-20. Today about 160 references in some 40 modules name `~/.claude`; `bin/loop_state/paths.py` holds a few. This item changes no behaviour.
@@ -152,7 +138,7 @@ Part of the standalone-install plan lilleman approved on 2026-11-20. Once the lo
### 484. Keep project configs, this machine's rules, transcripts and review reports in `~/.config/build-release/` and `~/.local/state/build-release/`, move them there with `build-release migrate`, and have rule-hook guard the new places.
Part of the standalone-install plan lilleman approved on 2026-11-20. Today they live in `~/.claude-projects/`, `~/.claude/rules/this-machine/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. Read the old places for one release, warning on each read. From the first release that reads project configs from `~/.config/build-release/`, rule-hook must read each `env-file` from those configs and refuse a read of it.
Part of the standalone-install plan lilleman approved on 2026-11-20. Today they live in `~/.claude-projects/`, `~/.claude/*-transcripts` and `~/.local/state/larv-review`. Read the old places for one release, warning on each read. From the first release that reads project configs from `~/.config/build-release/`, rule-hook must read each `env-file` from those configs and refuse a read of it.
### 487. Run larv-review's passes from a program that picks them from the diff and the item, counts rounds against the cap and decides each rerun, with each reviewer returning its findings as JSON against a schema.