From 138a091f7374c8ecb016a02b7ff118cbe7fb05a0 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 4 Dec 2026 03:59:30 +0100 Subject: [PATCH] Answer item 584: give this repo an AGENTS.md, filed as item 585 --- todo.md | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/todo.md b/todo.md index 174a5f5d..a33f00e2 100644 --- a/todo.md +++ b/todo.md @@ -6,13 +6,12 @@ `Bar = 0.1` -`Next ID = 585` +`Next ID = 586` ## Items | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 584 | 0.18.0 | | question | **Decide whether this repo still keeps no `AGENTS.md`, now that no Claude home is its checkout.** | 1 | 1 | 3 | 3 | 2 | code health by 3 | 4.2 | | 581 | 0.18.0 | | | **Name each file of the setup, in everything a model or a person reads, by a path that holds wherever the clone lies, never by `~/.claude`.** | 3 | 2 | 3 | 6 | 6 | 2 by 8 | 0.8 | | 486 | 0.18.0 | | owner | **Open an interactive claude with the setup loaded through one wrapper command, which sets the generated home and `PATH` and passes every argument on to claude.** | 2 | 1 | 1 | 2 | 3 | 2 by 2 | 0.5 | | 577 | 0.18.0 | 486, 581 | owner | **Test in the gate that a container holding only a stock Claude Code runs a chunk from a clone, against a mock Messages API, and that the run leaves the container's own `~/.claude` as it was.** | 3 | 1 | 2 | 4 | 6 | 3 by 9, 2 by 5 | 5.2 | @@ -20,6 +19,7 @@ | 576 | 0.18.0 | | owner | **Name the project `dev-factory` in the README, the prose and the tools, and say in the changelog that the repo moved.** | 2 | 2 | 2 | 4 | 4 | 2 by 1, 6 by 1 | 0.4 | | 578 | 0.18.0 | 576, 577 | owner | **Ship one chunk of this repo, to a merged pull request, from a clone of `main` that runs in the generated home, beside the untouched `~/.claude`.** | 1 | 2 | 1 | 2 | 1 | 2 by 4 | 1.2 | | 582 | 0.18.0 | | | **Write the review folder under the state folder into the generated `settings.json`'s `additionalDirectories`, so a moved `XDG_STATE_HOME` needs no hand edit.** | 1 | 1 | 2 | 2 | 1 | 2 by 2 | 0.6 | +| 585 | 0.19.0 | | | **Give this repo an `AGENTS.md` like any project, and drop the decision and the rule that say it keeps none.** | 3 | 1 | 3 | 5 | 4 | code health by 3 | 3.1 | | 580 | 0.19.0 | | | **Call no scoring run for a release already cut whose last item the chunk moved to a later release.** | 2 | 2 | 3 | 5 | 3 | 1.4 by 3, 1.5 by 3 | 1.6 | | 487 | 0.20.0 | | owner | **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.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 5, 1.4 by 5 | 0.4 | | 498 | 0.20.0 | 487 | owner | **Drive each chunk as a state machine in `build-release`, from preflight through implementing, review, the pull request and the merge to finishing its items, with the worker as one model step that ends in a result that code checks.** | 4 | 2 | 3 | 7 | 8 | 1.1 by 4, 1.4 by 4 | 0.3 | @@ -106,16 +106,6 @@ ## Details -### 584. Decide whether this repo still keeps no `AGENTS.md`, now that no Claude home is its checkout. - -The decision "deploy: this repo keeps no `AGENTS.md`, since `~/.claude` is its checkout" predates item 483. Since item 483 a release is a clone anywhere, and the loop's Claude home links only `CLAUDE.md`, `rules/`, `agents/` and `skills/`, so an `AGENTS.md` in this repo would no longer load into another project's session: the decision lost its reason. The prose reviewer of item 483 raised it; a change to a decision the repo already held is the human's. - -Question: keep this repo without an `AGENTS.md` for another reason, to be written into the decision, or give it one like any project and drop the decision and `.claude/rules/this-repo-keeps-no-agents-md.md`? Recommendation: give it one. The answer closes this item; the move itself is then filed as an item of the release after 0.18.0, since it changes each place that reads the head of `docs/decisions.md` as this repo's `AGENTS.md`. Until that item ships, the decision stands as written. - -Touches: -- `docs/decisions.md`: lines 15-30, lines 150-160 -- `.claude/rules/this-repo-keeps-no-agents-md.md` - ### 581. Name each file of the setup, in everything a model or a person reads, by a path that holds wherever the clone lies, never by `~/.claude`. Found while shipping the loop's generated Claude home. The loop's claudes now run in `~/.local/share/build-release/claude-home`, and the clone lies anywhere but `~/.claude`. What they read still sends them to the person's own home: `CLAUDE.md`, the files under `rules/`, `agents/`, `skills/` and `principles/` name `~/.claude/rules/…`, `~/.claude/skills/…`, `~/.claude/agents/` and `~/.claude/bin/`, about 14 files. So a worker in a clone elsewhere is told to read files that don't exist, and one whose `~/.claude` still holds an old checkout reads a stale release, which breaks goal 3. The same holds for: @@ -243,6 +233,25 @@ Touches: - `settings.json`: lines 56-61 - `README.md`: `## Install` (small) +### 585. Give this repo an `AGENTS.md` like any project, and drop the decision and the rule that say it keeps none. + +Answer to question item 584: the decision "deploy: this repo keeps no `AGENTS.md`, since `~/.claude` is its checkout" lost its reason with item 483. A release is a clone anywhere, and the loop's Claude home links only `CLAUDE.md`, `rules/`, `agents/` and `skills/`, so an `AGENTS.md` here no longer loads into another project's session. Without the reason, the special case only costs: each rule that names a project's `AGENTS.md` needs a second reading for this repo. The loop took the recommended option, as "Ask, don't guess" allows for a choice the goals don't reserve; the human unmarks or drops this item to reverse it. + +Move the head of `docs/decisions.md`, before `# Decisions`, into a new `AGENTS.md`: the project principles, the decision titles and the working rules. Move "claude-config's values" there from `skills/comprehension-panel/seat-prompts.md` as the scoring-run values. Drop the decision and `.claude/rules/this-repo-keeps-no-agents-md.md`, and let the tools read this repo as any project. The item waits for 0.18.0's cut: until then this repo is developed beside a `~/.claude` checkout on 0.17.0. + +Touches: +- `AGENTS.md` +- `docs/decisions.md` +- `.claude/rules/this-repo-keeps-no-agents-md.md` +- `.gitignore` +- `skills/comprehension-panel/seat-prompts.md` +- `bin/larv_review/main.py` +- `bin/larv_review/scoring_setup.py` +- `bin/larv_review/test_larv_review.py` +- `bin/review_rules/reviewer_context.py` +- `bin/review_rules/test_reviewer_context.py` +- `bin/review_replay/test_review_replay.py` + ### 580. Call no scoring run for a release already cut whose last item the chunk moved to a later release. When a chunk's first change moves its plan item out of a release already cut into the next one, as `CLAUDE.md` → "Working loop" asks, `larv-review needs-scoring-run ` and `scoring-run-owed` still say the chunk "leaves release 0.17.0 with no plan item". The chunk then owes two scoring runs: eight seat launches and a task-bench run, hours of work. Item 579, a one-line change to an agent file, ran the full scoring twice for this reason.