Answer prose round 1: 0 🔴, 1 🟡 (0 misread); name the dropped step in goal 2 and reuse the entries' own words
CI / tests (pull_request) Successful in 3m56s
CI / tests (pull_request) Successful in 3m56s
This commit was merged in pull request #784.
This commit is contained in:
@@ -31,9 +31,9 @@ My personal `~/.claude`, version controlled: `CLAUDE.md` and `rules/` for instru
|
||||
- Why: fitting in isn't worth anything if the loop then works from wrong facts.
|
||||
2. **Achieve:** Anyone with a stock Claude Code runs a first chunk from a clone of a release.
|
||||
- Signal: the steps a person takes between cloning and a first running chunk fall.
|
||||
- Counter-signal: runs that stop on something a setup step would have caught rise.
|
||||
- Why: fewer steps help only if the commands really cover what the steps did.
|
||||
3. **Maintain:** The setup never reads or writes the person's own Claude home, and deleting the setup's folders removes it fully.
|
||||
- Counter-signal: runs that stop on something a dropped step used to set up rise.
|
||||
- Why: dropping a step helps only if the setup's own commands now do what that step did.
|
||||
3. **Maintain:** The setup never reads or writes the person's own Claude home, `~/.claude`, and deleting the setup's folders removes it fully.
|
||||
4. **Maintain:** Keep the setup's files backed up: this repo is the copy of those it tracks, and Install lists the rest, which includes the transcripts of unattended runs. A bench's transcripts are the exception: they stay only until `task-bench gather` has filed plan items from their digest, or the next bench starts.
|
||||
5. **Maintain:** Don't leak anything: no credentials, transcripts or memory files to this repo's remote, and no client's code, transcripts or credentials to another client or to this repo.
|
||||
6. **Achieve:** The setup doesn't depend on any one model vendor or agent harness: what lives in the `.claude` folder is split into parts that each run on their own, and Claude Code is one harness among others.
|
||||
@@ -49,6 +49,8 @@ Me, and anyone who installs a release and runs it, on their own machines or on t
|
||||
|
||||
Take this checkout only onto a machine that is a sandbox with no direct access to a production environment, such as a dedicated VM: `settings.json` runs Claude Code in auto mode with the dangerous-mode prompt skipped.
|
||||
|
||||
This release still installs into `~/.claude`, which goals 2 and 3 work to end.
|
||||
|
||||
Each machine holds two checkouts. `~/.claude` is the one Claude Code reads, and it holds only a release: `deploy-release` moves it from tag to tag. Develop in a clone under `~/code`, where loop-claude runs this repo's chunks like any project's.
|
||||
|
||||
Claude Code may already have created `~/.claude`, where `git clone` refuses to run, so make the repository in place, then clone it for development:
|
||||
|
||||
+2
-2
@@ -132,7 +132,7 @@ The cap is 5, `bin/plan/todo_table.py`'s `BUNDLE_MAX_R`, from the same chunks: b
|
||||
2026-11-20, lilleman's standalone-install plan. Serves goal 3, which keeps the setup out of the human's `~/.claude`, and goal 5: a home of its own keeps the loop's transcripts and token apart from the human's. The plan therefore runs every claude the loop starts in a home of its own, and doesn't load the setup with `--plugin-dir`, `--settings` and `--append-system-prompt-file` over the human's home. The probes ran on Claude Code 2.1.330, on throwaway homes, never the human's. A mock Messages API at `ANTHROPIC_BASE_URL` recorded each request and answered the first with a tool call that reads a file, so the system prompt and the tool results show what loaded, with no real token. Valid for Claude Code 2.1.330; repeat the probes when its version changes.
|
||||
|
||||
- **Loads from `$CLAUDE_CONFIG_DIR`:** `CLAUDE.md` (in the system prompt), `rules/*.md` (one with `paths:` entered the context after the model read a matching file, not before), `agents/`, `skills/`, the hooks of `settings.json` (a `SessionStart` hook ran) and plugins. `claude plugin marketplace add` and `claude plugin install` write to `<home>/plugins`, and the installed plugin's skill is listed. `.claude.json` lands in the home too, so the human's `~/.claude.json` stays theirs.
|
||||
- **The loop's home signs in by `/login`.** 2026-12-03, lilleman, planning 0.18.0: the person signs in once inside the generated home, which then keeps its own credentials file (item 483). The token below stays the way a container signs in, as task-bench does.
|
||||
- **The loop's home signs in by `/login`.** 2026-12-03, lilleman, planning 0.18.0: the human signs in once inside the loop's home (item 483). Not tested: where that 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`.
|
||||
- **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`.
|
||||
@@ -336,7 +336,7 @@ A daemon-wide cap would see every container: dockerd's `cgroup-parent`, given a
|
||||
|
||||
## names: the plan calls the project and its repo `dev-factory`, loop-claude `build-release` and do-epic `build-epic`, and the code keeps today's names until its planned items ship
|
||||
|
||||
2026-11-28, lilleman, part of the standalone-install plan approved on 2026-11-20. Serves goal 2: a person who installs a release meets commands named for what they make. The names set the install folders, such as `~/.config/build-release/`. lilleman chose `build-release` over the proposed `do-release` because "do" reads as if the command cuts the release, which stays the human's. "Build" says it makes what the release holds, and `build-epic` follows it for an epic. Neither name has "claude" in it, which fits goal 6, a setup that doesn't depend on Claude Code. The code keeps today's names until the plan items that rename them ship: items 485, 575 and 576, all in 0.18.0. On 2026-12-03 lilleman chose a hard break there: no old name forwards to its successor. Renaming the repo on the forge is the human's. Valid while the install folders are named for `build-release`.
|
||||
2026-11-28, lilleman, part of the standalone-install plan approved on 2026-11-20. Serves goal 2: a person who clones a release meets commands named for what they make. The names set the install folders, such as `~/.config/build-release/`. lilleman chose `build-release` over the proposed `do-release` because "do" reads as if the command cuts the release, which stays the human's. "Build" says it makes what the release holds, and `build-epic` follows it for an epic. Neither name has "claude" in it, which fits goal 6, a setup that doesn't depend on Claude Code. The code keeps today's names until the plan items that rename them ship: items 485, 575 and 576, all in 0.18.0. On 2026-12-03 lilleman chose a hard break for those three renames: no old name stays as an alias. Renaming the repo on the forge is the human's. Valid while the install folders are named for `build-release`.
|
||||
|
||||
## principles: about seven things per level, four or five where they act on each other, more where a reader finds them by name; crossing a limit asks for a grouping or a recorded reason
|
||||
|
||||
|
||||
Reference in New Issue
Block a user