This commit was merged in pull request #803.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- **`deploy-release` is gone, with no alias: `self-update` moves a clone of a release, and `cut-release` cuts one.** To take this release, run `~/.claude/bin/deploy-release` once more: the copy in the clone of the release, since the development clone no longer holds one. From then on, update with `~/.claude/bin/self-update`. It takes no argument, moves the clone it ships in and names that clone in what it prints, so never run the development clone's copy. In the development clone, run `bin/cut-release` where you ran `deploy-release --cut`, and `bin/cut-release --patch <commits>` where you ran `--cut-patch <commits>`; neither takes a `<checkout>`. A cut no longer moves `~/.claude`: its stdout is the one `Done:` line, and each machine runs `self-update` afterwards. `cut-release` cuts the clone it ships in, whatever the directory it is run from, and no longer checks an origin. Its traces go to `~/.local/state/build-release/cut-release/`, and older traces stay where they are. Install no longer links `build-release` onto `PATH`: run it as `~/.claude/bin/build-release`. A link made earlier keeps working.
|
||||
- Renamed `do-epic` to `build-epic`, with no alias. Before you update, finish your open `do-epic` chunks, since a chunk left open starts a fresh session, and stop every running `do-epic`, since one that runs across the update can't reload. Then, in each Jira project, relabel every issue that carries `do-epic-claude`, `do-epic-human` or `do-epic-release-review`, done issues included, to `build-epic-claude`, `build-epic-human` or `build-epic-release-review`, since a finished release review that keeps the old label isn't counted and `build-epic` files another. Rename each `DO_EPIC_E2E_*` variable you set to `BUILD_EPIC_E2E_*`. Nothing reads the old names. The next bullet moves the folders.
|
||||
- The setup's folders moved, and nothing reads or migrates the old ones. Before you update, stop every running `build-release` and `do-epic`. Then move `~/.claude-projects/` to `~/.config/build-release/` and `~/.config/build-release/do-epic/` to `~/.config/build-release/build-epic/`, and move `~/.claude/loop-claude-models.json` to `~/.config/build-release/models.json`; move `~/.claude/loop-claude-transcripts` to `~/.local/state/build-release/transcripts` and `~/.claude/do-epic-transcripts` to `~/.local/state/build-release/build-epic-transcripts`; move `larv-review`, `project-record`, `run-heavy` and `deploy-release` from `~/.local/state/` into `~/.local/state/build-release/`, and `~/.local/state/do-epic` to `~/.local/state/build-release/build-epic`; and delete `~/.local/state/loop-claude/`, which held only locks. Respell each setting that names `~/.claude-projects/`, such as `env-file`, and the log path in your crontab line. Where `XDG_CONFIG_HOME` or `XDG_STATE_HOME` holds an absolute path, the two folders are `build-release/` under it instead, and a chunk's tmux window is handed both variables.
|
||||
- The stability reviewer traces every path that can reach a callback, handler or hook that a change guards, background and process-wide ones included, and reports each path the guard leaves open.
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
|
||||
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| 482 | 0.18.0 | | owner | **Run the setup from a clone of a release by the path of its `bin/`, with no install step, and replace `deploy-release` with a command that moves that clone to the newest tag.** | 3 | 2 | 3 | 6 | 7 | 2 by 6 | 0.4 |
|
||||
| 483 | 0.18.0 | 482 | owner | **Run every claude the loop starts in a Claude home that the commands generate under `~/.local/share/build-release/` and refresh when the clone's tag changes, with the enabled plugins installed there and the person signed in by `/login` in that home.** | 4 | 2 | 3 | 7 | 7 | 2 by 8 | 0.5 |
|
||||
| 483 | 0.18.0 | | owner | **Run every claude the loop starts in a Claude home that the commands generate under `~/.local/share/build-release/` and refresh when the clone's tag changes, with the enabled plugins installed there and the person signed in by `/login` in that home.** | 4 | 2 | 3 | 7 | 7 | 2 by 8 | 0.5 |
|
||||
| 486 | 0.18.0 | 483 | 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 | 483, 486 | 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 |
|
||||
| 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 |
|
||||
@@ -104,28 +103,6 @@
|
||||
|
||||
## Details
|
||||
|
||||
### 482. Run the setup from a clone of a release by the path of its `bin/`, with no install step, and replace `deploy-release` with a command that moves that clone to the newest tag.
|
||||
|
||||
Part of the standalone-install plan lilleman approved on 2026-11-20, as reshaped on 2026-12-03 when 0.18.0 was planned. lilleman chose a clone run by path over `uv tool install`: a person clones a release anywhere, and each machine keeps two clones, one at a release tag that people run and one for developing. The update command keeps what `deploy-release` checks and prints today, such as the changelog sections it moved past. A panel seated as the audience picks its spelling; `build-release self-update` was the proposal. No alias for `deploy-release` stays. Its `--cut` and `--cut-patch` cut a release, which is another job than updating: keep them as a command of their own, run in the development clone.
|
||||
|
||||
Where the update command lives is not predictable: a panel picks its spelling, and `build-release self-update` would land after item 485 renames the loop. So the list names each file of the `deploy_release` package whole, and leaves out the new launcher. `--cut` and `--cut-patch` live in that package too, and the item doesn't say where they go.
|
||||
|
||||
Touches:
|
||||
|
||||
- `bin/deploy-release`
|
||||
- `bin/deploy_release/main.py`
|
||||
- `bin/deploy_release/deploy.py`
|
||||
- `bin/deploy_release/cut.py`
|
||||
- `bin/deploy_release/patch.py`
|
||||
- `bin/deploy_release/release_pull.py`
|
||||
- `bin/deploy_release/ci_script.py`
|
||||
- `bin/deploy_release/trace.py`
|
||||
- `bin/deploy_release/test_deploy_release.py`
|
||||
- `bin/deploy_release/__init__.py`
|
||||
- `.gitignore`: lines 60-62 (small)
|
||||
- `ci.sh`: lines 12-12 (small)
|
||||
- `README.md`: `## Install`, `## Update`, `## Release` (small), `## Tools` (small), `#### The plan, the records and releases` (small), `#### Git, forges and Atlassian` (small)
|
||||
|
||||
### 483. Run every claude the loop starts in a Claude home that the commands generate under `~/.local/share/build-release/` and refresh when the clone's tag changes, with the enabled plugins installed there and the person signed in by `/login` in that home.
|
||||
|
||||
Part of the standalone-install plan lilleman approved on 2026-11-20, as reshaped on 2026-12-03 when 0.18.0 was planned. The home sits outside the clone, so the clone stays a clean checkout. It holds links to the clone's `CLAUDE.md`, `rules/`, `agents/` and `skills/`, and a generated `settings.json` whose hooks point into the clone. Nothing of the person's own `~/.claude` loads there, and the setup never reads or writes it, which goal 3 holds. Any command builds or refreshes the home, installs the plugins `settings.json` enables, and then stops with one message naming what only the person can do: sign in, or install Python or tmux. lilleman chose `/login` inside the home over a long-lived token file. The person's theme, status line and `/model` stay in their own `~/.claude`. Claude Code then rewrites `model` in the generated `settings.json`, never in the tracked one, so remove `bin/settings_filter.py`, its `.gitattributes` line and Install's filter step if nothing else needs them. Revise the decision "Claude Code in a home of its own", which predates `/login` in the home. This repo develops itself through the loop from `~/.claude` at 0.17.0 until the release is cut, so the old layout needs no support in this change.
|
||||
|
||||
Reference in New Issue
Block a user