diff --git a/README.md b/README.md index 9bf89fa6..ac340e70 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ build-release and build-epic run every claude in the loop's Claude home, `~/.loc Sign in to the loop's home once. Until you have, build-release and build-epic stop and print the line to run, `CLAUDE_CONFIG_DIR=~/.local/share/build-release/claude-home claude`: type `/login` in the claude it opens. A model you pick there with `/model` stays in the generated `settings.json`. The loop's home has no theme or status line of yours: those stay in your own `~/.claude`, for the claude you start yourself. build-release or build-epic builds the home again once the clone holds another commit, as after `self-update`, and keeps the sign-in, the model and the sessions. It builds the home again when you change `XDG_STATE_HOME`, too. The home follows the clone whose build-release, build-epic, `task-bench gather` or `claude-release` ran last, so run only the release clone's, never the development clone's: that one would point every running loop at unreleased rules. -From the account you sign in with, the loop's home keeps only the sign-in and the account's profile: its IDs, email, names, organization, role and plan. It keeps out the account's claude.ai connectors (such as mail, calendar and files), skills and plugins. This holds in `claude-release` too. The home shares one thing with your own Claude Code that it can't avoid: it signs in as an account, usually yours, so the loop's usage counts against that account's limits. Signing in can copy the account's skills into the home's `skills/synced/` before the home is built; the first claude there after the home is built moves them to `skills/.trash/` and doesn't load any of them. +From the account you sign in with, the loop's home keeps the sign-in, the account's profile, such as its IDs, email, names, organization, role, plan and usage limits, and what Claude Code caches about the account, such as its feature flags and which models it may use. Its sessions don't load the account's claude.ai connectors (such as calendar, files and mail), skills or plugins. This holds in `claude-release` too. The home shares one thing with your own Claude Code that it can't avoid: it signs in as an account, usually yours, so the loop's usage counts against that account's limits. Signing in can copy the account's skills into the home's `skills/synced/` before the home is built. The first claude there after the home is built moves them to `skills/.trash/` and doesn't load any of them, but they stay there as files. To remove them, run `rm -rf ~/.local/share/build-release/claude-home/skills/.trash`: the home's settings keep Claude Code from copying them again. To work in the loop's home yourself, for a manual `/larv-review` or a planning talk, run `~/build-release/bin/claude-release` in the project's checkout. It builds or refreshes the home first, as above, then runs claude there and passes every argument on, so `--resume`, `-p` and `--model` work as with plain claude. Where nobody has signed in to the home yet, type `/login` in the claude it opens. The home's `settings.json` bypasses permissions, and Claude Code may still ask you to trust the folder. The setup's hooks, such as `rule-hook`, which refuses a tool call that breaks a rule a program can check, run in every claude in the loop's home: the loop's sessions and `claude-release`. The claude you start from your own `~/.claude` loads neither the setup nor its hooks. @@ -210,7 +210,7 @@ Move `~/build-release` to the newest release: It prints `CHANGELOG.md`'s section for each version it moved past: do what each asks, such as a new step under Install. `self-update` moves the clone it ships in, whatever the directory it is run from, and names that clone in each line that says what it did or why it refused. So run `~/build-release`'s copy, never the development clone's. The next build-release or build-epic builds the loop's Claude home again from the new release. `self-update --help` says what else it checks. -It refuses while a file the clone tracks has an uncommitted change. Claude Code keeps its own files in the loop's home, not in the clone. The home's links lead into the clone, though, so a rule, an agent, a skill, a principle or a tool changed in that home changes the clone's file. A new skill made there stays in the home, where no repo or backup holds it: make it in `~/code/dev-factory` instead. Carry such a change into `~/code/dev-factory` on a branch of its own, merge it through a PR, and cut a release. +It refuses while a file the clone tracks has an uncommitted change. Claude Code keeps its own files in the loop's home, not in the clone. The home's links lead into the clone, though, so a rule, an agent, a skill, a principle or a tool changed in that home changes the clone's file. Carry such a change into `~/code/dev-factory` on a branch of its own, merge it through a PR, and cut a release. A new skill made in the home stays there, where no repo or backup holds it: make it in `~/code/dev-factory` instead. A release up to 0.17.0 was a checkout in `~/.claude`, and `self-update` doesn't move one out of there. Finish each open chunk first: its session stays in `~/.claude`, where the new release doesn't look for it. Then clone the newest release as Install says, and sign in to the loop's home. In each project's config, write `setup:` in place of `~/.claude/` in `principles` and `standards`, as in `setup:principles`, and write the new clone in place of `~/.claude` in the crontab line. build-release and build-epic don't read `~/.claude` after that, so the checkout there is yours to keep or remove. Keep it on 0.17.0 if you keep it: a later `settings.json` names its hooks by a placeholder that only the loop's home fills in, so in `~/.claude` the hooks would not run. A later release's `.gitignore` doesn't ignore Claude Code's credentials, transcripts and memory files, so in `~/.claude` a `git add .` would stage them. Where that checkout has moved past 0.17.0, run `echo '*' >> .git/info/exclude` in it.