Answer prose round 2: 0 🔴, 5 🟡 (0 misread); split the docs sentence and quote the docs, reword a negation, name README → Update as where sign-in comes before the first build
CI / tests (pull_request) Successful in 4m29s
CI / tests (pull_request) Successful in 4m29s
This commit is contained in:
+2
-2
@@ -136,7 +136,7 @@ The cap is 5, `bin/plan/todo_table.py`'s `BUNDLE_MAX_R`, from the same chunks: b
|
||||
- **The loop's home signs in by `/login`.** 2026-12-03, lilleman, planning 0.18.0: the human signs in once, in a claude started with `CLAUDE_CONFIG_DIR` naming the loop's home, and makes and keeps no long-lived token file. `bin/claude_home` asks `claude auth status` before a command starts a chunk. Probed on Claude Code 2.1.336 in a throwaway home: signed out, it prints JSON with `loggedIn: false` and exits 1. Not tested: where the home keeps the sign-in. The token below stays the way a container signs in, as task-bench does.
|
||||
- **Signs in by `CLAUDE_CODE_OAUTH_TOKEN`:** the request carried `Authorization: Bearer <token>` with the `oauth-2025-04-20` beta, and `claude auth status` said `loggedIn: true, authMethod: oauth_token`. The home didn't hold a credentials file. Without the variable the home is `loggedIn: false`. Not tested: that Anthropic accepts a real token, since `claude setup-token` needs the human's browser sign-in. The authentication docs say the token lasts one year and can only make model requests; neither is tested, and the first real run shows whether it signs in.
|
||||
- **`--bare` can't use that token.** With `CLAUDE_CODE_OAUTH_TOKEN`, it says `Not logged in · Please run /login` and doesn't send a request. With `ANTHROPIC_API_KEY` it signs in, but doesn't load anything from the home (`CLAUDE.md`, rules, agents or skills) and offers only Bash, Edit and Read. So a container that signs in by a long-lived token runs without `--bare`; its fresh home is empty, so nothing of the human's loads there either. The project's `CLAUDE.md` loads from the working folder, and its `AGENTS.md` only where the project has no `CLAUDE.md`.
|
||||
- **A claude.ai account signed in there brings its connectors, skills and plugins, unless the home's settings turn them off.** 2026-12-06, item 605, on the owner's machine with Claude Code 2.1.337: after `/login` in the loop's home, before any build, `claude mcp list` there listed the account's Claude Docs, Gmail, Google Calendar and Google Drive connectors, each connected, and the account's skills sat in `<home>/skills/synced/`. With `disableClaudeAiConnectors: true`, `syncClaudeAiSkills: false` and `syncClaudeAiPlugins: false` in the home's `settings.json`, `claude mcp list` didn't list any server, the next `claude -p` moved the synced skills to `<home>/skills/.trash/` and loaded only Claude Code's built-in skills, and no `<home>/plugins/synced/` appeared. So the clone's `settings.json` holds all three, and `in_claude_home` sets `ENABLE_CLAUDEAI_MCP_SERVERS=false` as a second lock. Claude Code's docs name the keys (settings-reference, skills and plugins/loading at code.claude.com/docs/en) and the variable (env-vars); they don't say `--strict-mcp-config` keeps connectors out, so the loop doesn't rely on it. A long-lived token from `claude setup-token` can't fetch connectors at all, per the authentication docs; not tested. Two more points from the docs, not tested: an organisation's managed settings can't turn the account's skills or plugins back on, since a `true` in either sync key is "the same as unset", nor its connectors, since a `true` in `disableClaudeAiConnectors` applies from any file; and on macOS the sign-in's Keychain entry is keyed to `CLAUDE_CONFIG_DIR`, so the home's sign-in stays apart from the person's own.
|
||||
- **A claude.ai account signed in there brings its connectors, skills and plugins, unless the home's settings turn them off.** 2026-12-06, item 605, on the owner's machine with Claude Code 2.1.337: after `/login` in the loop's home, before any build, `claude mcp list` there listed the account's Claude Docs, Gmail, Google Calendar and Google Drive connectors, each connected, and the account's skills sat in `<home>/skills/synced/`. With `disableClaudeAiConnectors: true`, `syncClaudeAiSkills: false` and `syncClaudeAiPlugins: false` in the home's `settings.json`, `claude mcp list` didn't list any server, the next `claude -p` moved the synced skills to `<home>/skills/.trash/` and loaded only Claude Code's built-in skills, and no `<home>/plugins/synced/` appeared. So the clone's `settings.json` holds all three, and `in_claude_home` sets `ENABLE_CLAUDEAI_MCP_SERVERS=false` as a second lock. Claude Code's docs name the keys (settings-reference, skills and plugins/loading at code.claude.com/docs/en) and the variable (env-vars); they don't say `--strict-mcp-config` keeps connectors out, so the loop doesn't rely on it. A long-lived token from `claude setup-token` can't fetch connectors at all, per the authentication docs; not tested. Two more points from the docs, not tested. An organization's managed settings can't turn the account's skills or plugins back on, since Claude Code "honors only `false`" in either sync key, nor its connectors, since a `true` in `disableClaudeAiConnectors` applies from any file. On macOS, the sign-in's Keychain entry is keyed to `CLAUDE_CONFIG_DIR`, so the home's sign-in stays apart from the human's own.
|
||||
- **Transcripts** land in `<home>/projects/<working folder's path, with each / as ->/<session id>.jsonl`. `--no-session-persistence` doesn't write one, only an empty `memory` folder, so a bench that uses it reads the run from `--output-format stream-json`.
|
||||
- **The model catalog** sits in `<home>/cache/model-catalog/` on the human's machine, as `bin/loop_state/paths.py` expects. The throwaway homes didn't write one, since the mock was the only server they reached. Not tested: whether a long-lived-token session writes it. Where it doesn't, `bin/chunk_driver/project/model_choice.py` prints `no model catalog cached` and takes a typed model name.
|
||||
|
||||
@@ -144,7 +144,7 @@ The cap is 5, `bin/plan/todo_table.py`'s `BUNDLE_MAX_R`, from the same chunks: b
|
||||
|
||||
2026-12-04, lilleman's plan for 0.18.0. Serves goal 3. `bin/claude_home` builds the home in the data folder, `~/.local/share/build-release/claude-home`, so the clone stays a clean checkout: the files Claude Code keeps in its home never reach a commit. Only a change made through one of the links below reaches the clone. `bin/claude_home` links `agents/`, `bin/`, `CLAUDE.md`, `principles/` and `rules/` to the clone's, `bin/` and `principles/` since `setup files: …` below. It links each of the clone's skills inside a `skills/` folder of the home's own. It writes `settings.json` from the clone's with the clone's path in place of `{clone}`, since the clone may lie anywhere and the tracked file can't hold its path. It builds the home again when the clone's commit or path changes, which covers a release's tag and a development clone alike. Probed on 2.1.336, once, while the home was built: `claude plugin install` finds a plugin only after `claude plugin marketplace add` of its marketplace; each exits 0 where its work is already done; and an install rewrites the home's `settings.json` in Claude Code's key order. Not tested: that a session loads `agents/`, `CLAUDE.md`, `rules/` and `skills/` through links, which needs a model request.
|
||||
|
||||
2026-12-06, the owner, through item 605 for patch release 0.18.1. Serves goal 2, and goal 1.3: every loop session loads the setup's skills and no account's. Claude Code writes the signed-in account's skills into `<home>/skills/synced/` at sign-in, which README → Install has the person do before the first build. The first build then failed, since a folder already stood where it makes the `skills` link. Had the link come first, Claude Code would have written through it into the clone. So `skills/` is a folder of the home's own, and each build replaces only the links in it: a skill the clone dropped loses its link, and what Claude Code wrote there stays in the home. A skill is a folder holding a `SKILL.md`, so a `synced/` or `.trash/` that 0.18.0 let Claude Code write into a clone isn't linked back. The clone's `.gitignore` also ignores `skills/synced/` and `skills/.trash/`.
|
||||
2026-12-06, the owner, through item 605 for patch release 0.18.1. Serves goal 2, and goal 1.3: every loop session loads the setup's skills and doesn't load any account's. Claude Code writes the signed-in account's skills into `<home>/skills/synced/` at a sign-in made before the first build, as README → Update has a person moving from 0.17.0 do. The first build then failed, since a folder already stood where it makes the `skills` link. Had the link come first, Claude Code would have written through it into the clone. So `skills/` is a folder of the home's own, and each build replaces only the links in it: a skill the clone dropped loses its link, and what Claude Code wrote there stays in the home. A skill is a folder holding a `SKILL.md`, so a `synced/` or `.trash/` that 0.18.0 let Claude Code write into a clone isn't linked back. The clone's `.gitignore` also ignores `skills/synced/` and `skills/.trash/`.
|
||||
|
||||
2026-12-04, the release review of 0.18.0, declining the architect's finding that two clones can rebuild one home. Only the README keeps the development clone's build-release, build-epic, `task-bench gather` and `claude-release` from repointing a running loop's home. Serves goal 2. One home per machine is what lets the person sign in once. A program-held guard would have to know which clone is the development one and whether a loop is running, and pass both into `claude_home`. The cost of the README's rule is a chunk that runs on unreleased rules after someone ran the development clone's tool. Valid while one person runs the setup on a machine; two clones that run loops at once would each need a home.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user