Keep configs in ~/.config/build-release/ and tool state in ~/.local/state/build-release/, under XDG_* where set
CI / tests (pull_request) Successful in 6m34s
CI / tests (pull_request) Successful in 6m34s
This commit is contained in:
@@ -3,8 +3,9 @@ HELP = """Run a task as headless claude cycles; a judge interrupts only when a d
|
||||
usage: build-release <task>
|
||||
|
||||
Run it anywhere inside a project checkout whose goals file has ## Goals and ## Audience, the
|
||||
premises. The goals file is the one the project's config, ~/.claude-projects/<key>/config.toml, sets
|
||||
as goals-and-audience: a file, or a Jira epic's description. `project-config goals-and-audience`
|
||||
premises. The goals file is the one the project's config, ~/.config/build-release/<key>/config.toml,
|
||||
sets as goals-and-audience: a file, or a Jira epic's description. `project-config
|
||||
goals-and-audience`
|
||||
prints where it is. The task runs at the checkout root. Each cycle a worker runs the task. A chunk's
|
||||
first worker prompt also quotes the premises. They, with code health (the setup's CLAUDE.md →
|
||||
"Shared goal") ranked first unless the goals file voids it, choose between ways to deliver the
|
||||
@@ -78,9 +79,9 @@ worker to find the facts itself.
|
||||
|
||||
At every interrupt, and as every cycle ends, Ctrl-C and a failure included, the claude session's
|
||||
transcript is copied into a folder per chunk under $BUILD_RELEASE_TRANSCRIPTS/<key> (default root
|
||||
~/.claude/loop-claude-transcripts), named by its hash, with an outcomes file beside it: the task,
|
||||
then each verdict, quoted answer, rejected judge reply, step-up and stop, each opened by its UTC
|
||||
time. The layout, and when a copy is replaced, are in bin/transcript_archive/__init__.py.
|
||||
~/.local/state/build-release/transcripts), named by its hash, with an outcomes file beside it: the
|
||||
task, then each verdict, quoted answer, rejected judge reply, step-up and stop, each opened by its
|
||||
UTC time. The layout, and when a copy is replaced, are in bin/transcript_archive/__init__.py.
|
||||
|
||||
A worker's claude can print its final result and then keep waiting on a background shell that
|
||||
never ends. Every 5 minutes without output from that claude after its final result, build-release
|
||||
@@ -110,7 +111,7 @@ characters to a file and see its path and the first 2,000 characters (BASH_MAX_O
|
||||
bin/claude_code/output_limits.py).
|
||||
|
||||
Every claude build-release starts runs the project's model, saved per <key> in
|
||||
~/.claude/loop-claude-models.json and read each cycle, unless routing, below, puts the worker,
|
||||
~/.config/build-release/models.json and read each cycle, unless routing, below, puts the worker,
|
||||
the session /talk opens and the judge on another rung, a model at an effort. A project without an
|
||||
entry, as on its first run, is asked for one on the terminal. BUILD_RELEASE_JUDGE_MODEL overrides
|
||||
the model for the judge, BUILD_RELEASE_WORKER_MODEL for the worker and the session /talk opens; with
|
||||
@@ -142,8 +143,8 @@ or max:
|
||||
|
||||
It holds one model of each family, such as opus, since the Agent tool launches a subagent or a
|
||||
review by its family's name. This setup ships one, bin/model_routing/routing-ladder.json. A project
|
||||
that keeps a routing-ladder.json in its config's folder, ~/.claude-projects/<key>/, runs on that
|
||||
ladder instead, whole: write there every rung the project may run on. build-release reads the
|
||||
that keeps a routing-ladder.json in its config's folder, ~/.config/build-release/<key>/, runs on
|
||||
that ladder instead, whole: write there every rung the project may run on. build-release reads the
|
||||
project's ladder as each cycle starts, says on stderr where the project runs on its own, and never
|
||||
commits the file. subagent-rung and rule-hook read the same ladder; the routing figures,
|
||||
judge-replay and review-replay, which span every project, read the shipped one.
|
||||
|
||||
Reference in New Issue
Block a user