diff --git a/todo.md b/todo.md index 44feae7b..20076481 100644 --- a/todo.md +++ b/todo.md @@ -12,7 +12,7 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| -| 577 | 0.18.0 | | 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 | +| 577 | 0.18.0 | | 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.** | 4 | 2 | 3 | 7 | 7 | 3 by 9, 2 by 5 | 3.1 | | 578 | 0.18.0 | 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 | | 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 | @@ -105,6 +105,8 @@ Part of the standalone-install plan lilleman approved on 2026-11-20, as reshaped on 2026-12-03 when 0.18.0 was planned. Split from item 494, which keeps the newcomer's README. The probes behind the decision "Claude Code in a home of its own" already ran a mock Messages API at `ANTHROPIC_BASE_URL`. The test fails where goal 3 breaks: it compares `~/.claude` before and after the run. Give the container a memory and a swap limit, and run it under `run-heavy`. +The chunk also fixes the defect the test found: Claude Code loaded the person's own `~/.claude/CLAUDE.md` and `~/.claude/rules/` in the loop's Claude home, so the home's `settings.json` now excludes them with `claudeMdExcludes`. + The test's own files, such as its Dockerfile and mock Messages API, are new, and their folder is not yet named, so the list leaves them out. Touches: @@ -112,6 +114,10 @@ Touches: - `ci.sh` - `.gitignore` - `README.md`: `## Test` (small) +- `bin/claude_home/home.py`: `unready` (small), `refreshed` (small), `settings_written` (small) +- `bin/claude_home/test_home.py` +- `bin/loop_effects/effects.py`: `system_effects` (small) +- `docs/decisions.md`: `` ## Claude Code in a home of its own: a `CLAUDE_CONFIG_DIR` home loads `CLAUDE.md`, rules, agents, skills, hooks and plugins, and `CLAUDE_CODE_OAUTH_TOKEN` signs in there, but never under `--bare` `` (small) ### 578. 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`.