From a24abd6425b3fccffefec967e1c0fbb4f51de35b Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 1 Dec 2026 13:51:12 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20prose=20round=202:=200=20=F0=9F=94=B4,?= =?UTF-8?q?=201=20=F0=9F=9F=A1=20(0=20misread);=20say=20when=20the=20backu?= =?UTF-8?q?p=20holds=20credentials,=20and=20name=20the=20transcripts=20fol?= =?UTF-8?q?der=20apart=20from=20the=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- todo.md | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4231f781..11ef7974 100644 --- a/README.md +++ b/README.md @@ -82,9 +82,9 @@ Link `loop-claude` onto `PATH`: `ln -s ~/.claude/bin/loop-claude ~/.local/bin/lo Back up these four folders and one file: -- `~/.claude-projects/`: each project's config, and a client project's plan and records. It also holds each project's `.env` credentials, so keep the backup private. +- `~/.claude-projects/`: each project's config, and a client project's plan and records. A project's `env-file`, if you keep it here as below, puts credentials in the backup, so keep the backup private. - `~/.claude/loop-claude-models.json`: the model of each project, which loop-claude and do-epic write. -- `~/.claude/loop-claude-transcripts`: every transcript loop-claude keeps, or the folder `LOOP_CLAUDE_TRANSCRIPTS` sets. +- `~/.claude/loop-claude-transcripts`: every transcript loop-claude keeps. Where you set `LOOP_CLAUDE_TRANSCRIPTS`, back up the folder it names instead. - `~/.claude/do-epic-transcripts`: the transcripts of do-epic's chunks. - `~/.local/state/larv-review`: each chunk's review reports. diff --git a/todo.md b/todo.md index 57ee9be7..f05819ca 100644 --- a/todo.md +++ b/todo.md @@ -6,13 +6,14 @@ `Bar = 0.1` -`Next ID = 565` +`Next ID = 566` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| | 562 | 0.17.0 | | question | **Decide which of the files the setup keeps outside this repo goal 3 and the Install section's backup step cover.** | 1 | 2 | 1 | 2 | 1 | | 0.0 | +| 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/`, 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 | @@ -124,6 +125,19 @@ The chunk that takes this writes the answer once, in README.md. Touches: - `README.md`: `## Goals` (small), `## Install` (small) +### 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//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.