|
|
|
@@ -203,12 +203,12 @@ Move `~/.claude` to the newest release:
|
|
|
|
|
~/.claude/bin/self-update
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
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 what it prints. So run `~/.claude`'s copy, never the development clone's. `self-update --help` says what else it checks.
|
|
|
|
|
|
|
|
|
|
A release up to 0.17.0 holds no `self-update`. Move such a clone once with its own `~/.claude/bin/deploy-release`, which takes no argument there either.
|
|
|
|
|
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 `~/.claude`'s copy, never the development clone's. `self-update --help` says what else it checks.
|
|
|
|
|
|
|
|
|
|
It refuses while a file `~/.claude` tracks has an uncommitted change, such as a hook Claude Code wrote into `settings.json`; a model picked with `/model` is no such change. Read the change first, as in `git -C ~/.claude diff HEAD -- settings.json`. When it holds a credential, such as a token in `env` or `mcpServers`, move that out of the file: a token in `env` to the shell profile, a server in `mcpServers` to `~/.claude.json` with `claude mcp add --scope user`. Then carry the change into `~/code/claude-config` on a branch of its own, merge it through a PR, and cut a release.
|
|
|
|
|
|
|
|
|
|
A release up to 0.17.0 holds no `self-update`. Move such a clone once with its own copy of the tool that release holds, `~/.claude/bin/deploy-release`, run without an argument.
|
|
|
|
|
|
|
|
|
|
## Release
|
|
|
|
|
|
|
|
|
|
Once the next release holds no item in `todo.md` and its release review has landed, cut it from `~/code/claude-config`:
|
|
|
|
@@ -229,7 +229,7 @@ It applies only those commits on the newest tag, tests them with `ci.sh`, tags a
|
|
|
|
|
|
|
|
|
|
## Tools
|
|
|
|
|
|
|
|
|
|
build-release, build-epic and `task-bench gather` put the release's tools first on the `PATH` of every claude they start, so this README and the rules name each tool bare, as in `metric-bench`. Install puts no tool on your shell's `PATH`: there, and in a claude you start from it yourself, call each by its path, `~/.claude/bin/<tool>`, from the project's checkout. `cut-release` is the one exception: run the development clone's copy, as Release says. The tools under `~/.claude` are the release's; test a change to one from `~/code/claude-config/bin`. The tools are listed in alphabetical order, and the packages under `bin/` follow under their own heading.
|
|
|
|
|
build-release, build-epic and `task-bench gather` put the release's tools first on the `PATH` of every claude they start, so this README and the rules name each tool bare, as in `metric-bench`. Install puts no tool on your shell's `PATH`: there, and in a claude you start from it yourself, call each by its path, `~/.claude/bin/<tool>`, from the project's checkout. Run `cut-release` from the development clone instead, as Release says. The tools under `~/.claude` are the release's; test a change to one from `~/code/claude-config/bin`. The tools are listed in alphabetical order, and the packages under `bin/` follow under their own heading.
|
|
|
|
|
|
|
|
|
|
- `build-epic <EPIC-KEY>` runs the chunks of one Jira epic whose items span repos, or have none, each in its own window of the tmux session `epic-<EPIC-KEY>`, on the same cycle, judge and interrupt as build-release. The epic's description is its record: goals, audience, scoring and decisions. Before it starts chunks, build-epic plans each open issue that no label places yet, as "Set up a project" says. It files a sub-task per repo where the issue changes several repos. Otherwise it labels the issue with where it is worked, and asks you where that is unclear. It plans no issue your team filed a sub-task under: those sub-tasks run instead, each under a label of its own, and your team closes the issue. Then, where two or more issues may start, it scores each of them that holds no scores, and moves the issues that build-epic itself filed into order of score on the board. An open issue runs once a label names its repo or marks it as Claude's, in order of score, as many at once as a line such as `**Max parallel chunks:** 2` in the epic's description allows, 1 without it, and as each repo's `parallel-chunks` allows. A chunk whose pull request waits on a gate parks. An open task of yours that blocks another issue gets a window that DMs you once and reads the epic every minute; once you close the task, the issues it blocked may start. `build-epic <EPIC-KEY> --dry-run` prints what `build-epic <EPIC-KEY>` would write to Jira and which chunks it would start, and does neither; run it before the first real run on a team's epic. `--help` lists what it prints and leaves out. build-epic closes the epic only once you confirm every goal. Install → "Set up a project" says how to set it up; `build-epic --help` states the flags and the contract.
|
|
|
|
|
- `build-epic-e2e` runs `build-epic` against a sandbox epic on a real Jira site, as Test says.
|
|
|
|
@@ -254,7 +254,7 @@ build-release, build-epic and `task-bench gather` put the release's tools first
|
|
|
|
|
- `run-heavy <command>` runs a heavy command once it holds one of the machine's heavy slots, one per 4 CPUs, which every session shares; `run-heavy --help` states the slots, and the memory cap it gives a container that sets no limit.
|
|
|
|
|
- `run-tests [<pytest args>...]` runs this repo's test suite, as Test says.
|
|
|
|
|
- `score-outcomes [L E I S]` shows what each finished item's chunk measured beside the scores the item was guessed at, to score a new item by. Per chunk it also shows code health's two counter-signals, misread findings and later fixes, and how many of the human's answers reversed a worker's choice; `score-outcomes --help` states the report.
|
|
|
|
|
- `self-update` moves the clone of a release it ships in to the newest release, as Update says.
|
|
|
|
|
- `self-update` moves the clone it ships in, a clone of a release, to the newest release, as Update says.
|
|
|
|
|
- `settings_filter.py` is git's clean filter for `settings.json`: it drops `"model"` and sorts the keys. `.gitattributes` sets the filter `settings` on `settings.json`, and Install's `git config` line makes this script that filter.
|
|
|
|
|
- `statusline.py` renders Claude Code's status line; `settings.json` → `statusLine` runs it.
|
|
|
|
|
- `subagent-rung [--plan] <model> <L>` prints the Agent tool's model and effort for a subagent's task, picked by its L from the project's model on the project's routing ladder, and with `--plan` never below the project's rung; `subagent-rung --help` states the rule.
|
|
|
|
|