Skip to main content

The plan-workflow CLI: what anchor does itself, and what it hands back

anchor plans | work | review | draft | fleet-watch | models | release | watch runs the .plans/ workflow from a terminal, with no chat harness. It is a small, deterministic program: every decision it makes comes from a fixed set of outcomes with a rule you can name, and it runs no model on list/heartbeat/finish/return. anchor work picks the highest-priority ready plan and executes it (--no-run claims only). anchor review picks the highest-priority review-needed/ plan and runs the critic (--list still lists). Interactive non-JSON review prints the critic banner (--- critic (endpoint) ---) or a critic not delegated: … skip line on stdout before Decision for …. --approve / --needs-work / --skip / --defer consume the survey from the CLI (--force-approve when the critic is REVISE). The critic chat uses thinking-on and a short system prompt (no mythos-core). Default two independent passes; disagreement is the more cautious verdict. --critic-passes 1 skips the confirmation. anchor draft "a short brief" asks the planner for a full plan under drafts/ (default *.local.md; --no-delegate keeps the skeleton). No decision flag still needs a TTY (or those flags). anchor watch (alias anchor --watch) is the harness-free lifecycle daemon: ff-only git pull, work one ready plan, critic one review-needed/ plan, every 10 minutes and on .plans/ inotify. It does not merge unless --land is on the argv. It logs one [watch] line each on stderr (stdout in an interactive terminal without --json): the start settings, every poll and its trigger, the pull result, work, critic, promote and release steps before and after they run, errors, and the stop. A step that does not happen says why. A plan is reviewed again only after its branch head, merge base, plan file, --delegate / --critic-passes values or a --registry file change (not the default registry, local overlays or model priority); delete anchor-watch-reviews.json in the git directory to force a review. --release runs pytest (when pytest.ini or Python files under tests/ exist), commits only CHANGELOG.md and pyproject.toml, and refuses uncommitted tracked changes; a failed test or commit, or a HEAD or branch change during the tests, leaves no tag. It is skipped off the release base, or when CHANGELOG.md is untracked. Pushes are atomic; a release left unpushed after HEAD moves is reported, not pushed. --land only fast-forwards: when .plans/ is tracked, watch's own plan commit on the integration branch usually prevents that, so the line says why and you land with /review. SIGINT or SIGTERM ends a wait at once; during a tick, the tick finishes first. --quiet turns the lines off. The JSON result stays on stdout.

Operator loop (any directory inside a tree that has .plans/; anchor on PATH is the install wrapper; --root is optional — parents are walked; nested project B inside A binds B from cwd under B, even when B's .plans/ is still a lane-only skeleton; a linked git worktree of the same checkout still skips an empty worktree .plans/ so gitignored plans on the primary stay visible; anchor --help is still the scaffolder):

anchor plans # every lane
anchor work --list --tier mid # ready + fit; add --endpoint <nick> after `anchor models nick`
anchor work --list --model 'Grok 4.6' --effort high # Grok effort map (high -> reasoner); needs a Grok --model, else effort is ignored for fit
anchor work # claim top ready plan + orchestrate.py
anchor work --no-run # claim only
anchor work --finish <slug> # in-progress → review-needed/ (or let execute exit 0 park it)
anchor review --list
anchor review # critic on the top review-needed/ plan
anchor review --promote # empty queue: TTY promote FF-merges local main to dev (no push)
anchor draft "fix leftover worktrees"
anchor models list
anchor fleet-watch --status
anchor release --dry-run
anchor watch --once --endpoint <nick> # one tick; no merge
anchor --watch --endpoint <nick> # same verb; 10m loop

Each work / review / draft run prints one next command: Run \anchor …` to …(same sentence in JSONpending[].detail). Claim-only work names anchor work --finish <slug>; a finish or --runthat parks namesanchor review <slug>; a failed --runnamesanchor work <slug>to resume; draft create namesanchor draft --promote <slug>; promote names anchor work <slug>`.

When work / review cannot complete (failed --run, commit-prep red, empty-finish gate, or an uncaught exception), the CLI also files a private bug plan under .plans/bugs/cli-fail-<verb>-<slug>.local.md in that project. The file names the in-flight plan path, the command, the error, and a traceback when one exists. JSON includes result.incident_plan. Duplicate failures append an ## Incident section. Empty queues, missing slugs, and holder mismatches do not file. Set ANCHOR_NO_INCIDENT_PLANS=1 to disable.

--run is the default for anchor work (interactive and headless). Exit 0 commit-preps (tests + optional CHANGELOG nudge) and, on green, makes one product commit on feature/<slug> before parking in review-needed/ unless --no-finish. Prep red leaves the plan in in-progress/ (no commit, non-zero exit). --no-commit keeps apply-only. A run finishes only when every task is ok. A partial run (orchestrate.py exit 5) is commit-prepped and committed on feature/<slug> as Partial run: …, then stays in in-progress/ with a non-zero exit, and a resume executes the tasks again instead of skipping them as already present; red prep leaves those edits uncommitted in the worktree. A FORMAT/NOOP 0-ok pass or a missing executor (timeout / unreachable) auto-resumes the same claimed plan up to 5 orchestrate.py invocations; failed-scope / role / fit stop immediately. After a run in which every task ended on an explore-only reply (no patch), each later resume passes orchestrate.py --no-tools-retry, which tells the executor it has no tools and must answer with a patch or name the missing file. --no-resume or ANCHOR_WORK_RESUME=0 restores a single attempt. --run refuses to check out a different feature/<slug> in a per-agent worktree that still has uncommitted or untracked files (it names the dirty paths and leaves them intact); commit or discard them, then re-run. Empty review-needed/ with integration ahead of mainline: anchor review exits 2 and names anchor review --promote. --root if cwd has no .plans/. Overlay nicks in the primary checkout var/endpoints.local.yaml apply when orchestrate --worktree is a linked worktree (home overlay, then primary var/, then worktree var/ last). Skills (/work, /review, /draft) prefer these verbs when anchor answered once this session.

Implementation: verb logic lives in scripts/anchor_ops.py (a typed operations registry). scripts/anchor_cli.py is the terminal adapter — parser, prompts, text/JSON rendering — reached through scripts/anchor.py (bin/anchor) when the first argument is a verb. anchor init (and anchor init <dir>) is the scaffolder selector — not a plan verb, and not listed in anchor_ops.VERBS. Every other non-verb invocation is the scaffolder, including anchor <dir> (compat). A project directory that happens to be named plans, work, review, draft, or init is scaffolded as ./work / ./init. anchor --help is the scaffolder; verb help is anchor work --help (etc.). Empty anchor never writes: it names anchor init, or anchor work / anchor plans when .plans/ already exists. A verb plus a scaffolder-only flag (--platform, --fleet, …) still exits 2 and prints did you mean `anchor ./work …` to scaffold the directory?.

--delegate / --endpoint read an endpoints YAML (--registry, default scripts/endpoints.yaml) and resolve a canonical name: or an overlay nickname. A machine-local overlay such as ~/.config/anchor/endpoints.local.yaml (or var/endpoints.local.yaml) holds localhost Ollama, NVIDIA Build, and operator nicknames (aliases, machine, effort). Duplicate names/aliases fail at load (RegistryConflict). Two overlays that both define the same alias also fail. anchor models nick writes only the overlay, never the shared registry. --effort on the CLI still wins over a nickname default. Machine is a label, not a locality flag. anchor loads a gitignored repo-root .env (cwd, then this tree, then the primary git checkout when cwd is a linked worktree; setdefault) before verbs run; Authorization is the first set of ANCHOR_API_KEY, NVIDIA_API_KEY, NGC_API_KEY. Named-slug execute (and the --run alias) hands the claimed plan to orchestrate.py with the same --endpoint/--registry used to claim (omit them to use the default fleet file) and forwards --worktree to the feature worktree (var/worktrees/<agent-id>/, never main/master/dev/develop). That default Fleet.pick probes LAN rows before chat and falls back to NVIDIA Build when the probe is live (see platforms/nvidia-build/BUILD.md). orchestrate.py --endpoint is the first executor try; remaining healthy executor-role endpoints are failover unless --no-failover. Planner/critic stay on the full fleet. Highest listed Preferred tier is a floor: swarm/small workers (and execute / orchestrate.py) refuse mid-or-higher plans unless --no-fit-check / --insist. Preferred small alone is tiny-ok. orchestrate.py applies unified diffs or whole-file fences from the executor reply into --worktree before scope/verify. work_once.py --once --ensure-worktree forwards --worktree; extra -- --worktree <dir> still works. Footer-only replies do not write files.

Model calls through Endpoint.chat (including --delegate and --run) append reasoning to the project var/log/reasoning-YYYY-MM-DD.log (gitignored with the rest of var/). Set ANCHOR_LOG_DIR to relocate, ANCHOR_NO_REASONING_LOG=1 to disable, ANCHOR_LOG_PROMPTS=1 to include prompt bodies (local debug only). Task transcripts remain var/task-transcripts/ — full executor replies, not the per-HTTP reasoning field. A refused reply changes no file. The built-in applier runs first, then git apply on a scratch copy, used only when each hunk's old lines occur exactly once. A reply whose edit cannot be applied is also kept, with the error, as var/patches/<plan-slug>/s<step>-a<attempt>.{patch,err} in the worktree (newest 10 per step; the directory ignores itself in Git).

The rule for the split​

A step is deterministic when its answer follows from files on disk, git and the plan headers alone: pick, claim, lane moves, dependency and fit checks, the merge gate. The CLI does those itself, by calling the module that already owns the rule. It never re-derives lane priority, fit or Depends on:

RuleOwner the CLI calls
where plans live, slugs, lane movesplan_store.py
ready-lane priority, fit, Depends onplan_select.py
claim, lease, heartbeat, finish, returnplan_lease.py (through work_once.pick_claim_one for a claim)
worker identity from tier, model, effort, endpointwork_once.resolve_worker
the scoped merge gatemerge_feature.run
hold notespending_merges.is_held

A step needs a model when its output is prose or judgment: writing a plan, a critic pass, carrying out a plan's Steps. A step needs an operator when doctrine requires a human answer given in this session. A flag can't supply that answer, so the CLI has none that tries.

Per verb​

anchor plans​

PartKindWhy
list every lane (or --lane) with slug and titledeterministica directory read
--boarddeterministicone plan_board.py --once frame; JSON wraps that dump as result.board

anchor work​

PartKindWhy
--list: ready plans with your fit and depsdeterministicplan_select.inventory
claim (bare pick or named slug)deterministicwork_once.pick_claim_one: the same pick, skip and lease rules as work_once.py
--heartbeat, --finish (→ review-needed/), --returndeterministicplan_lease; only the lease holder may move its plan
carry out the plan's Stepsmodelbare anchor work (or named slug) hands the plan to orchestrate.py; --no-run claims only

anchor work has no merge. Interactive execute that exits 0 (and work_once --once exit 0) moves the plan to review-needed/ the same way --finish does. --no-finish leaves the lease. Exit 2 never finishes. Landing work is anchor review's job (or /work's culmination question inside a harness).

anchor review​

PartKindWhy
list review-needed/ with hold notesdeterministicdirectory read + pending_merges.is_held
the review package: branch, target, head, changed files, fast-forward?deterministicgit, via merge_feature helpers
AI critic passmodelinteractive anchor review <slug> runs it (--delegate alias; --no-delegate skips; headless still pending). The package includes git diff --stat and check_docs_sync.py so the critic does not REVISE for missing logs
Approve / Needs Work / Skip / Deferoperatorthe /review sign-off; never inferred
Approve after a critic verdict of REVISE, ESCALATE or unreadableoperatora second, explicit "approve despite critic concerns?" yes; anything else leaves the plan in review-needed/
Needs Work: which ready lane, and the notesoperatornotes must be real; an empty answer counts as no answer
Defer: what blocks itoperatorsame
Approve → mergedeterministic, after the answermerge_feature.run; fast-forward only; integration branch only
lane move after the decisiondeterministicplan_store.move

Approve merges only by fast-forward. A merge commit is a tree that neither branch was prepped in, so it needs /commit-prep, which is a harness skill. The CLI never stages one. It calls merge_feature.run(..., ff_only=True), which refuses a non-fast-forward before any conflict probe and checks again at the moment of merging. So even if the integration branch moves while the operator is deciding, nothing is staged and the checkout is restored. Either way it stops with exit 3 and a pending merge-commit step that names /review <slug>. A feature/<slug> that exists only as a remote-tracking branch also stops with exit 3 (local-branch), because approving would otherwise archive the plan without merging it. The gate gets the head shown to the operator as --expect-head, so if the branch moved after they looked, the merge is refused. Scope is everything they were shown. main/master is never a target: merge_feature refuses mainline. A lane move is committed on the light path (git commit -m "Plans: …" -- .plans/) when .plans/ is tracked. Untracked trees (or *.local.md) note lane move (untracked) and commit nothing. A merge in progress, or staged paths outside .plans/, refuse without committing.

anchor draft​

PartKindWhy
--list draftsdeterministicdirectory read
scaffold drafts/<slug> (--local for private)deterministica header skeleton; refuses a slug already in use anywhere
write the Goal, Steps and Done whenmodelpending plan-prose; --delegate asks the planner endpoint; a fenced or variant ATX ## Goal / ## Steps / ## Done when is accepted, with one retry, then the skeleton is kept
--promote <slug> --to bugs|featuresdeterministicplan_store.move; --to wins
which ready lane, when --to is omittedinferredValue: / Goal/title keywords (infer_ready_lane); ask (TTY) or exit 3 if ambiguous

The CLI edits no plan metadata. Priority, assignee and dependencies stay as their authors wrote them. --goal only seeds the skeleton of a new draft.

anchor fleet-watch​

PartKindWhy
--status, --list, --triagedeterministicwraps fleet_watch.py; fit/lease unchanged
--onceharnessone work_once pull
--emit systemd|cronharnessprints the same unit / crontab text as fleet_watch.py; does not write the host
--write-diroperatorwrites unit files into a directory; headless exits 3 and writes nothing
--install-useroperatorwrites ~/.config/systemd/user; headless (including --yes without a TTY) exits 3 and writes nothing

--worker tier=…,agent=…,interval=5m defaults to event-driven units (work_once --watch, Type=simple) plus a oneshot poll timer as heartbeat. watch=0 restores interval-only oneshot timers. loop=watch emits anchor watch instead (lifecycle daemon: pull + work + critic). Add land=1 / promote=1 / release=1 / push=1 on that spec only when those standing flags should be on the unit argv.

anchor models​

PartKindWhy
list (--json)deterministicmerged registry + overlays: name, aliases, machine, model, effort, tier
nick ALIAS --endpoint NAME [--machine …] [--effort …]deterministicwrites endpoints.local.yaml; refuses the shared registry

anchor work --endpoint lightning --list is a good-fit list for that row’s tier once the nickname exists.

anchor watch​

PartKindWhy
git fetch + merge --ff-only of integration upstreamdeterministicskip (do not abort the tick) when not git, not mainline, tracked-dirty, no upstream, or non-ff; never --force
work one ready planmodelwork.claim with --run unless --no-run
critic one review-needed/ planmodelprefer the slug this tick parked; else existing pick order
REVISE with actionable bulletsdeterministicNeeds Work → bugs/ (notes + light-path commit if tracked)
ACCEPT without --landdeterministicleave in review-needed/
--landstanding authFF-merge ACCEPT only; never --force-approve
--promotestanding authempty queue + ahead → same FF as review --promote, no TTY
--release / --pushstanding authrelease.ship gates unchanged; no tag when HEAD is already tagged or Unreleased has no top-level - / * bullet; an untagged Release vX commit is reported, and an unpushed one is pushed with --push; never --force push

Default argv is pull + work + critic. --land / --promote / --release / --push are opt-in and documented as standing authorization on that argv (a systemd unit with those flags is the human decision). --once is one tick. The loop heartbeats every --interval seconds (default 600) and also wakes on inotify of ready lanes plus review-needed/. anchor --watch … rewrites to this verb before the scaffolder runs. MCP does not expose watch land/promote/release.

Two modes, one code path​

InteractiveNon-interactive
Chosen whenstdin and stdout are terminals, and nothing below applies--non-interactive, ANCHOR_NONINTERACTIVE=1, stdin or stdout not a terminal, stdin closed or uninspectable
Promptsyes, through one prompternever: the prompter raises instead of reading
Outputtext (or --json)always JSON
A step that needs an operatorasks itexit 3, naming the answer in pending
A step that needs a model--run starts orchestrate; --delegate runs critic/planner; --no-run / --no-delegate lists it in pendingsame: --run and --delegate start a model; missing registry on --run is exit 2
Mergeonly after Approve, through the gatenever unless --approve (or sibling flags); no decision flag is exit 3

Any doubt about the environment resolves to non-interactive. That direction cannot ask or merge on a guess. --run and --delegate still start a model (orchestrate / critic / planner). --no-run claims only. Headless Approve stays exit 3 unless a decision flag is supplied.

Output contract​

Every verb emits one JSON object with --json, and always when headless:

{
"schema_version": 1,
"verb": "review",
"action": "review",
"mode": "non-interactive",
"exit_code": 3,
"ok": false,
"result": {"plan": "review-needed/foo.md", "branch": "feature/foo", "...": "..."},
"pending": [
{"step": "critic", "needs": "model", "detail": "..."},
{"step": "review-decision", "needs": "operator", "detail": "..."}
],
"notes": [],
"error": null
}

needs is one of model, operator, harness. pending can be non-empty on exit 0. It then lists the next steps (for example execute after a claim); this run did not stop for them.

ExitMeaning
0done
1nothing to do (empty list, nothing claimable)
2usage or hard error (no .plans/, not the lease holder, slug in use, refused merge)
3stopped: an operator answer, or a harness-only step, is required. See pending

Delegation​

--delegate [ENDPOINT] sends one judgment step through anchor_client.py to an endpoint in endpoints.yaml (--registry, default scripts/endpoints.yaml). The bare flag takes the first endpoint for the step's role (critic for review, planner for draft), using the registry's own roles: routing. Model quirks stay in anchor_client.py. Delegation always either happens or says why it didn't: no registry, no endpoints, no endpoint by that name, a missing requests/pyyaml, a failed call, or a headless run. It is never skipped silently.

Where plans live: plan_store​

The CLI and every workflow script reach .plans/ through scripts/plan_store.py. Callers see lanes, slugs and rel strings (<lane>/<name>), never a file extension, a glob, or whether a plan is a file or a directory. Today's layout is one <slug>.md / <slug>.local.md file per plan. tests/test_plan_store.py runs the unchanged callers against a second, folder-per-plan layout to show that a layout change stays inside that module.

Command reference​

Generated from the parser (COLUMNS=80 anchor <verb> --help); tests/test_anchor_cli.py fails if this section and --help disagree.

anchor plans​

usage: anchor plans [-h] [--root ROOT] [--json] [--non-interactive]
[--lane LANE] [--board]

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--lane LANE only this lane (repeatable)
--board hand off to plan_board (one frame)

anchor work​

usage: anchor work [-h] [--root ROOT] [--json] [--non-interactive] [--list]
[--agent-id AGENT_ID] [--tier TIER] [--model MODEL]
[--effort EFFORT] [--endpoint ENDPOINT]
[--registry REGISTRY] [--no-fit-check] [--run] [--no-run]
[--no-finish] [--no-commit] [--no-resume]
[--heartbeat SLUG] [--finish SLUG] [--return SLUG]
[slug]

positional arguments:
slug claim this plan (default: highest-priority fit)

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--list ready plans with your fit; claim nothing
--agent-id AGENT_ID lease identity (default: anchor-$USER)
--tier TIER your fit tier: small|mid|reasoner|frontier
--model MODEL your model name, for Preferred-models matching
--effort EFFORT current reasoning effort. Grok map (low->mid,
medium/high->reasoner, xhigh->frontier) applies only
when --model (or the endpoint's model) is a Grok name,
e.g. --model 'Grok 4.6'; without a Grok --model effort
is ignored for fit and --tier is used
--endpoint ENDPOINT take model+tier from this registry endpoint
--registry REGISTRY endpoints.yaml for --endpoint
--no-fit-check ignore Preferred models
--run execute after claim (default); kept as an explicit
alias
--no-run claim only; do not start orchestrate.py
--no-finish with --run, leave the plan in in-progress/ even when
orchestrate exits 0
--no-commit with --run, skip commit-prep + feature-branch commit
--no-resume do not retry orchestrate after FORMAT/NOOP or remote
give-up (also ANCHOR_WORK_RESUME=0)
--heartbeat SLUG extend your lease on SLUG
--finish SLUG your in-progress SLUG → review-needed/
--return SLUG release your in-progress SLUG back to its ready lane

anchor review​

usage: anchor review [-h] [--root ROOT] [--json] [--non-interactive] [--list]
[--promote] [--delegate [ENDPOINT]] [--no-delegate]
[--registry REGISTRY]
[slug]

positional arguments:
slug review this plan (default: highest-priority in review-
needed/)

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--list list review-needed plans
--promote promote integration → mainline when the review queue
is empty
--delegate [ENDPOINT]
send the judgment step to ENDPOINT from the registry
(bare flag: first endpoint for the 'critic' role;
critic/planner also run headless); alias of the
default critic
--no-delegate skip the critic chat (package + operator decision
only)
--registry REGISTRY endpoints.yaml (default: scripts/endpoints.yaml)

anchor draft​

usage: anchor draft [-h] [--root ROOT] [--json] [--non-interactive] [--list]
[--title TITLE] [--goal GOAL] [--local] [--shared]
[--promote SLUG] [--to {bugs,features}]
[--delegate [ENDPOINT]] [--no-delegate]
[--registry REGISTRY]
[words ...]

positional arguments:
words brief (spaces ok) or existing slug; kebab slug is
derived

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--list list drafts
--title TITLE plan title (default: the slug)
--goal GOAL one-paragraph Goal to seed the draft
--local private *.local.md (default)
--shared tracked drafts/<slug>.md instead of .local.md
--promote SLUG move drafts/SLUG to a ready lane
--to {bugs,features} with --promote: the ready lane
--delegate [ENDPOINT]
send the judgment step to ENDPOINT from the registry
(bare flag: first endpoint for the 'planner' role;
critic/planner also run headless); alias of the
default critic
--no-delegate skip the critic chat (package + operator decision
only)
--registry REGISTRY endpoints.yaml (default: scripts/endpoints.yaml)

anchor fleet-watch​

usage: anchor fleet-watch [-h] [--root ROOT] [--json] [--non-interactive]
[--project PROJECT] [--status] [--list] [--once]
[--triage] [--emit {systemd,cron,both}]
[--install-user] [--yes] [--worker SPEC]
[--tier TIER] [--agent-id AGENT_ID]
[--endpoint ENDPOINT] [--model MODEL]
[--registry REGISTRY] [--run] [--load-watcher]
[--write-dir WRITE_DIR] [--python PYTHON]

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--project PROJECT project root (alias of --root)
--status inspect .plans/ and installed timers
--list work_once --list for this project
--once work_once --once (one pull)
--triage mechanical take/skip/reject
--emit {systemd,cron,both}
print unit files / crontab lines (does not install)
--install-user write systemd user units (interactive operator only)
--yes with --install-user, skip the confirm (still requires
a TTY)
--worker SPEC tier=mid,agent=id,interval=5m[,watch=0][,loop=watch]
(repeatable)
--tier TIER for --list/--once/--triage
--agent-id AGENT_ID for --list/--once/--triage
--endpoint ENDPOINT registry endpoint for --list/--once
--model MODEL model name for --list/--once
--registry REGISTRY endpoints.yaml for --endpoint
--run with --once, execute (omit to pass --no-run to
work_once)
--load-watcher also emit the inference_load --watch unit
--write-dir WRITE_DIR
write emitted units into this directory (interactive
operator only)
--python PYTHON interpreter for ExecStart

anchor models​

usage: anchor models [-h] [--root ROOT] [--json] [--non-interactive]
[--endpoint ENDPOINT] [--machine MACHINE]
[--effort EFFORT] [--overlay OVERLAY]
[--registry REGISTRY] [--list]
[{list,nick}] [alias]

positional arguments:
{list,nick}
alias with nick: the short name

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--endpoint ENDPOINT canonical registry name to nickname
--machine MACHINE operator machine label (flippy, rack, …)
--effort EFFORT default reasoning effort for this nickname
--overlay OVERLAY write nicknames here (default:
~/.config/anchor/endpoints.local.yaml)
--registry REGISTRY shared endpoints.yaml to resolve --endpoint
--list same as `models list`

anchor release --help​

usage: anchor release [-h] [--root ROOT] [--json] [--non-interactive]
[--dry-run] [--yes] [--push] [--base BASE]
[--since DAYS] [--all-pending] [--skip-review]
[--force-omit-finished] [--force-tag]
[--bump {patch,minor,major}] [--tag TAG]
[--delegate [ENDPOINT]] [--no-delegate]
[--registry REGISTRY]

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--dry-run print the report and suggested tag; do not write git
--yes TTY: fold CHANGELOG, bump pyproject, annotated tag (no
push)
--push TTY: git push the release base and tag (never --force)
--base BASE release base branch (default: dev, else main)
--since DAYS recency window in days (default 30)
--all-pending list every branch ahead of its merge target
--skip-review skip the plan-diff critic (warns)
--force-omit-finished
tag even if completed/review-needed work is still off-
base
--force-tag tag even if plan-diff is HOLD
--bump {patch,minor,major}
semver bump when --tag is omitted
--tag TAG exact tag name (must match the repo scheme)
--delegate [ENDPOINT]
send the judgment step to ENDPOINT from the registry
(bare flag: first endpoint for the 'critic' role;
critic/planner also run headless); alias of the
default critic
--no-delegate skip the critic chat (package + operator decision
only)
--registry REGISTRY endpoints.yaml (default: scripts/endpoints.yaml)

anchor review --help​

usage: anchor review [-h] [--root ROOT] [--json] [--non-interactive] [--list]
[--promote] [--approve | --needs-work | --skip | --defer]
[--force-approve] [--critic-passes N] [--notes NOTES]
[--to {bugs,features}] [--delegate [ENDPOINT]]
[--no-delegate] [--registry REGISTRY]
[slug]

positional arguments:
slug review this plan (default: highest-priority in review-
needed/)

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--list list review-needed plans
--promote promote integration → mainline when the review queue
is empty
--approve survey Approve: FF-merge feature → integration and
archive
--needs-work return the plan to bugs/ or features/
--skip leave the plan in review-needed/
--defer move the plan to blocked/
--force-approve with --approve: merge even if the critic is
REVISE/UNKNOWN/ESCALATE
--critic-passes N independent critic chats to merge (default 2; 1 skips
confirmation)
--notes NOTES with --needs-work or --defer: required notes
--to {bugs,features} with --needs-work: ready lane (default: bugs)
--delegate [ENDPOINT]
send the judgment step to ENDPOINT from the registry
(bare flag: first endpoint for the 'critic' role;
critic/planner also run headless); alias of the
default critic
--no-delegate skip the critic chat (package + operator decision
only)
--registry REGISTRY endpoints.yaml (default: scripts/endpoints.yaml)

anchor watch​

usage: anchor watch [-h] [--root ROOT] [--json] [--non-interactive]
[--interval SEC] [--once] [--quiet] [--endpoint ENDPOINT]
[--registry REGISTRY] [--agent-id AGENT_ID] [--land]
[--promote] [--release] [--push] [--no-run]
[--watch-cycles N] [--delegate [ENDPOINT]]
[--critic-passes N]

options:
-h, --help show this help message and exit
--root ROOT project root containing .plans/ (default: cwd)
--json machine-readable output (schema_version 1)
--non-interactive never prompt; JSON output; stop with exit 3 where an
answer is needed
--interval SEC heartbeat seconds (default 600)
--once one tick then exit (no loop)
--quiet no [watch] status lines (stderr; stdout in an
interactive terminal without --json)
--endpoint ENDPOINT registry endpoint for work/critic
--registry REGISTRY endpoints.yaml (default: scripts/endpoints.yaml)
--agent-id AGENT_ID lease identity (default: anchor-$USER)
--land FF-merge critic ACCEPT to local integration
--promote empty review-needed/ + ahead: FF integration →
mainline
--release standing auth for release.ship (existing gates still
apply)
--push with --release: push the tag (never --force)
--no-run skip work; pull + critic only
--watch-cycles N stop after N loop ticks (tests)
--delegate [ENDPOINT]
critic endpoint (default: --endpoint or auto)
--critic-passes N independent critic chats (default 2)

critic only; pass --land to FF-merge ACCEPT. `anchor --watch` is this verb.
Default interval 600s.