| Agent path |
start <task-id> [--packages=…] | Worktree and branch for one task, off the latest main |
find "<text>" [--regex] | Every occurrence, grouped code / tests / docs / examples; changelogs and generated files left out |
verify [--package=<p>|--all|-u|--strict] | The changed packages' failures first, then every dependent (PENDING while they run); -u rewrites snapshots |
ship -m "…" [--title=…] | Commit, run local CI on that commit, push and open the PR when green |
| Setup & understanding |
init [--setup-gh-actions] | Discover packages, write config, the agent guide and hooks; optionally add CI workflows |
clone <url> [dest] --packages=… | Partial clone of the listed packages and their dependencies |
graph | Full dependency graph |
graph query <pkg|dir> | Dependencies, dependents and (Go) every package importing it |
graph impact <file> | Packages affected by changing a file |
subset set|add|remove|update|deps|list|check|reset | Narrow the working copy to the packages a task needs |
| Inner loop |
checkpoint save "msg" | revert [id] | list | Snapshot and restore the working tree without commits |
cache status|clean|serve | Content-addressed package cache, with an optional HTTP server |
quarantine list|add | Keep known-flaky tests out of agent feedback |
| Isolation |
worktree create|list|focus|add|remove|update|isolate | Per-agent sparse worktrees and the packages they contain |
worktree sync --to=B --from=A | AST-level merge between agents' worktrees |
worktree finish <id> | gc | Remove a finished worktree, or clean up abandoned ones |
| Guardrails |
task check | Make sure only allowed paths were changed |
task prove <id> | Run definition-of-done checks and write a proof receipt |
verify --proof=<id> | Verify a proof receipt |
task slice | Split a diff into stacked review tiers |
guard check | Test integrity guard and secret scan (also run on every commit) |
review risk|audit|throttle | Risk score, PR-description audit, and limits on PR volume |
| Git & shipping |
commit -m "…" | Guarded commit; starts local CI on it |
branch [name|switch], sync | Branch and pull while keeping the sparse checkout intact |
push | Push once local CI is green; direct pushes to main are refused |
events unread|list|wait|ack|clear | Inbox of CI results and other events, delivered to agents by hooks |
pr create|list|view|test|local|review|merge | PRs with a risk tier, proof receipt and affected packages |
pr status [id] | Local proof receipt and the GitHub PR in one view |
queue spec, ci check | Speculative local merge, and a receipt that lets CI take its fast path |
ci health [--check=…] [--logs] | When each check started failing, the breaking commits and flaky checks |
outer status|wait | Local CI jobs on commits |
| Build & release |
deliver [--target=…] | Build a self-contained deliverable into .agents/dist |
app test | Assemble the full app from changed packages plus cached builds |
version edges|suggest|bump|release | Source and pinned edges; the bump the API diff requires; tag a release and notify its consumers |
version pin|unpin|upgrades|upgrade | Consume a release, go back to live code, see and apply newer releases |
version list|apply|check | Versions and ranges; apply changesets; check ranges and snapshots |
scenario run [--json] | End-to-end multi-agent simulation on a temporary repo |