team
Skill0 starsChanged 2 months agoMITView on GitHub
Agent team for Claude Code: Claude (the driver) designs and reviews, a Claude Sonnet worker implements in Orca. Feature mode (default): Claude drafts the design -> a read-only Claude reviewer subagent attacks it (a second, risk-focused reviewer joins for payments, DB schema/migrations, customer data, auth and every foundation review) -> Claude revises -> human approves -> a Sonnet worker implements as an Orca worker (or Claude itself, if the user asks) -> the reviewer checks the code, plus a mandatory ponytail over-engineering pass. Foundation mode ("/team foundation <service>"): for a service designed from scratch or re-founded - Claude drafts the charter with the user, the expensive-to-reverse decisions and a slice map, the reviewer attacks them, the human approves, then every slice runs through feature mode. Triggers: "/team", "/team foundation", "design then have a worker implement it", "have sonnet implement this", "work as a team", "like Agent Teams", "design the whole service from scratch". Trivial edits (1-2 files) don't need a team - just do them.
30 other projects use a version of this.
Adopted by
Most recently taken up by
- MaxMiksa/Auto-Companytheir own version, first seen Oct 2, 2026
- sethatwood/belaytheir own version, first seen Sep 23, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Sep 22, 2026
- BULDEE/ai-craftsman-superpowerstheir own version, first seen Sep 21, 2026
- shenysun/skills-managertheir own version, first seen Sep 10, 2026
- jmche/skills-hubtheir own version, first seen Sep 8, 2026
Used with
Projects with it also use ultraqa, community-led-growth and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ahilarionSkillultraqa
Autonomous QA cycling until all tests pass
Also in 3 projects that use this
nicepkgSkillcommunity-led-growth
Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.
Also in 3 projects that use this
nicepkgSkillfinancial-unit-economics
Use when evaluating business model viability, analyzing profitability per customer/product/transaction, validating startup metrics (CAC, LTV, payback period), making pricing decisions, assessing scalability, comparing business models, or when user mentions unit economics, CAC/LTV ratio, contribution margin, customer profitability, break-even analysis, or needs to determine if a business can be profitable at scale.
Also in 3 projects that use this
zephyrpersonalSkillultrawork
Obsessive task completion mode (Sisyphus Mode) - activates maximum intensity work with todo continuation enforcement
Also in 4 projects that use this
an8079Skillralplan
Also in 4 projects that use this
lza6Skillvisual-verdict
Structured visual QA verdict for screenshot-to-reference comparisons
Also in 3 projects that use this
- +4 more from nicepkg
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- MaxMiksa/Auto-Company★ 3.1ksame name
- nicepkg/ctxport★ 644same name
- ethanhq/cc-fleet★ 215same name
- shenysun/skills-manager★ 196same name
- nicepkg/auto-company★ 192same name
- Rune-kit/rune★ 88same name
- Kastalien-Research/thoughtbox★ 66same name
- NikitaDmitrieff/auto-co-meta★ 51same name
- BULDEE/ai-craftsman-superpowers★ 35same name
20 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- debateSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 10 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Language — applies to every message you write to the user: use the language of the user's own messages (Korean if they write Korean), …
- Very specific: line 82
Never type /ponytail…, "stop ponytail" or "normal mode" as a prompt during a run — they flip ponytail's global mode flag for every session.
- Distinctive: line 97
No over-engineering: Every component must pass ponytail's ladder and justify itself against the measured scale (or the design caps).
- Very specific: line 100
If a source the bar asks for can't be reached (a tool is refused, a service isn't authenticated), write not verified: <reason> in that …
- Distinctive: line 151
Read the design doc in full and verify it against the repository directly.
- Distinctive: line 154
Do the files in the scope actually exist?
- Distinctive: line 155
Do signatures, schemas and RPC response shapes match the real code?
- Distinctive: line 203
Never skip this gate. The only exception is when the user's original request explicitly said "proceed without approval".
- Distinctive: line 235
Start the next slice only when the user says so.
- Very specific: line 246
1. One request file: Write /tmp/team/<slug>/<name>-req.md once: the absolute paths to review, every fact you already measured (so no …
- Distinctive: line 258
2. Wait for every reviewer you started: When each returns: check every item against the code yourself, accept (edit the doc) or rebut (with …
- Very specific: line 291
If docs/design/foundation/ exists, read the charter, the accepted decisions and slices.md first.
- Very specific: line 298
Check every Critical/Missing/Ambiguous item against the code yourself, then accept (revise the doc) or rebut (with evidence).
- Very specific: line 322
Check the model on the worker's screen (orca terminal read --terminal <handle> --screen --json, which shows e.g.
- Distinctive: line 347
Default: one Task = one Sonnet worker, same worktree.
- Distinctive: line 368
If the worker's question means the design must change, revise the doc before answering.
- Very specific: line 387
Over-engineering pass (mandatory): After the correctness review, invoke ponytail:ponytail-review through the Skill tool on the same diff …
- Very specific: line 414
If there is a foundation and the review approved, set the slice to done in slices.md.
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/team — Claude designs and reviews, a Sonnet worker implements
Language — applies to every message you write to the user: use the language of the user's own
messages (Korean if they write Korean), including the T3 and T5 summaries, whose headings and labels
you translate. This file, its templates, Orca's injected notices (You have N orchestration message…),
task notifications and subagent results are in English; none of them is the user, so never switch
language because of them. Answer machine-typed notices with at most a one-line status.
For Claude Code only — another agent that reads this folder (Grok Build does) should stop and tell the
user. First pick the mode, then the path. Foundation mode lives in foundation.md next to this file;
read it only when that path is taken.
0. Mode and path
Mode (from the request):
- Foundation —
/team foundation …, or the request is a new service built from scratch, or a re-founding that changes several expensive-to-reverse decisions at once, or a change to an existing foundation → F: read~/.claude/skills/team/foundation.mdand follow it - Feature — everything else: one change set that fits one implementation run → feature mode
Path: foundation → F (foundation.md). Feature → C. C needs this worktree
to be Orca-managed: orca worktree current --json returns "ok": true (orca status is not enough —
it succeeds anywhere). No Orca → still run C-1 up to and including the approval gate, then give the
user the C-2 spec text to run in claude --model sonnet in this repo — with "ask me (the user) here"
in place of the Orca ask command and "when done, list the modified files and the definition-of-done
output" in place of worker_done — and have them come back here for C-4. There, fixes go back to that session as an "Apply review" list (or Claude applies them if
the user says so), and C-5's Orca commands are skipped.
When a feature doesn't fit (checked while designing):
- Too big for one run (roughly >30 files or >1 hour of implementation) → split it. With a
foundation, add the pieces to
slices.mdas new slices; without one, split into sequential feature runs, or propose foundation mode if this is really a service being built from scratch. - Needs a new expensive-to-reverse decision, or contradicts the foundation → F-change
(
foundation.md).
Shared rules
Design and code review belong to Claude (the driver); code writing belongs to a Claude Sonnet worker
in Orca (C-2), unless the user asks Claude to implement. A design goes to implementation only after
the adversarial review (T6) → Claude's rebuttal/acceptance and revision (design review ≤2 rounds per
design; code review ≤3 rounds). Commit only when the user asks. Never
run verification that writes to production databases or external services. The user is involved
only at: the charter questions and gate, the foundation approval, every feature design's approval
gate (mandatory), foundation changes, and when a business judgment (cost, customer impact,
operating policy) is split. Otherwise don't interrupt them. Language: see the top of this file.
Scratch files (prompts, reviews) go to /tmp/team/<slug>/ so git stays clean;
<slug> is a short kebab-case name for the task, also used in the design doc filename.
ponytail is mandatory. Preflight, before any design
work: ponytail:ponytail-review is in Claude Code's skill list. Missing → stop and give the user the
install commands (/plugin marketplace add DietrichGebert/ponytail, then /plugin install
ponytail@ponytail). If ponytail's always-on mode is off in this session, load the ponytail skill
through the Skill tool before designing.
- Ponytail decides what gets built and how the code is written: its ladder (needed at all? → reuse → stdlib → native → installed dependency → one line → minimum code) applies to every component a design proposes and every line the implementer writes.
- Team rules decide the process and the documents, and win where the two conflict: every T1 section and every review/report format is explicitly requested ("no design notes" doesn't apply to them); the approval gates are never defaulted past ("never stall on a default" doesn't apply to them); the implementer builds everything the design specifies — a cut it wants is a question (C-3) or a review item, never a silent omission.
- Claude Code runs ponytail through its hooks, in subagents and the Sonnet worker too.
- Never type
/ponytail…, "stop ponytail" or "normal mode" as a prompt during a run — they flip ponytail's global mode flag for every session. Invoke its skills through the Skill tool. - The
ponytail-reviewover-engineering pass runs in every code review (C-4).
Design quality bar (applies to every design doc, decision record, adversarial review and approval summary):
- Reuse before rewrite. Inventory what already exists and works (apps, screens, libraries, infra) before proposing anything new. A rewrite needs an explicit reason.
- Current as of today's date. For every framework/platform feature adopted, confirm the currently recommended approach (load the platform's knowledge-update skill if one exists, check docs via context7 / web search) and cite it. Prefer platform primitives (auth, queues, durable workflows, cron, rate limiting, observability) over hand-rolled implementations.
- Measured, not guessed. Ground scale and scope in numbers from read-only sources (DB row counts, traffic, infra inventory via cloud CLI describe/list). Never write to production. A new service with no traffic uses the charter's design caps as its scale evidence.
- No over-engineering. Every component must pass ponytail's ladder and justify itself against the measured scale (or the design caps). The design lists what was deliberately not built.
If a source the bar asks for can't be reached (a tool is refused, a service isn't authenticated),
write not verified: <reason> in that place. Never guess to fill the gap.
Overall flow:
[foundation, once per service]
charter (with the user) → ★ charter OK ★ → decision records + slice map → adversarial review (T6)
→ Claude rebut/accept (≤2) → ★ foundation approval ★ → S1, S2, … each as one feature run
[feature, once per slice or task]
Claude design → adversarial review (T6: reviewer, + risk reviewer for risky changes)
→ Claude rebut/accept + revise doc → (re-review ≤2)
→ ★ human approval gate (stop and wait) ★
→ Sonnet worker implements with ponytail (or Claude, if asked) → reviewer code review
+ ponytail-review → fixes (≤3) → reportShared templates
T1. Design doc contents (feature)
File: docs/design/<YYYYMMDD>-<slug>.md. Do not modify source files while designing.
- Goal / background (one paragraph)
- Foundation (only if docs/design/foundation/ exists): the slice id (S<n>) this implements, and the
charter sections / decision records it relies on — cited by path, never restated or re-decided.
- Scope of change: list of files to modify or create (paths)
- Chunks (only if the work is split across parallel workers): the files each chunk owns and the
contract between them (API shape, props, routes)
- Interfaces, schemas, function signatures (concrete enough that the implementer never guesses)
- Step-by-step implementation order
- Definition of done: test commands/conditions that must pass, manual checks
- Do-not-touch: files that must not change, forbidden actions
- Alternatives considered: for each major decision, the simpler option and why it was rejected.
Evaluate REUSING existing assets (existing apps, screen sets, libraries, infra) before any rewrite.
- Currency check (as of today's date): for each adopted framework/platform feature, the currently
recommended approach with a citation (platform knowledge-update skill, context7, web). Prefer
platform primitives (auth, queues, durable workflows, cron, rate limiting) over hand-rolled code.
- Scale evidence: measured numbers from read-only sources (DB counts, traffic, infra inventory).
Never write to production systems.
- Deliberately not built: what was left out to avoid over-engineering, and why.Method: don't explore for long. Within 10 minutes, Write the document skeleton first (the headings
above + what you already know), then fill it in with Edit as you investigate. Do not exceed 40 tool
calls. If this round has a defined implementation slice, detail only that slice and list the rest as
one-liners under a "Follow-ups" section. If the design stops fitting (section 0), stop and report that
instead of writing a bigger doc. A source you can't reach → not verified: <reason>. Ponytail shapes
what the design proposes, not the document: every section above is requested, so write each in full.
T2. Adversarial design review (checklist + output format)
Read the design doc in full and verify it against the repository directly. The goal is to break the design. Don't list what you agree with — only problems. Attach evidence to each item (file:line / observed behavior / RPC or schema contract). Checklist:
- Do the files in the scope actually exist? Is anything missing (call sites, tests, config, types)?
- Do signatures, schemas and RPC response shapes match the real code?
- Regression paths that break existing behavior; migrations, compatibility, rollback
- Is the definition of done actually runnable? Any verification gaps?
- For anything touching payments/DB/customers: double-processing, races, state on failure
- Anything an implementer would have to guess ("I couldn't build this as written")
- Foundation: does the design contradict or quietly re-decide the charter or an accepted decision record?
- Rewrite-vs-reuse: does the design rebuild something that already exists and works (an app, a screen set, a library, a pipeline)? Name the existing asset and what reusing it would save.
- Stale patterns: hand-rolled auth / queues / cron / rate limiting / session handling where the platform or a standard library provides it as of today; outdated runtime assumptions.
- Over-engineering: components, layers or abstractions not justified by the measured scale (cite the numbers); anything with exactly one caller.
- Unmeasured claims: scope or sizing statements with no read-only measurement behind them. An
explicit
not verified: <reason>is not a finding by itself — a decision that depends on it is.
Output format (reviewers are read-only and return it as text; Claude saves each to
/tmp/team/<slug>/<name>-<reviewer|risk>-<N>.md):
## Critical (implementing as written would be wrong or break things) — evidence required
## Missing (needed but absent from the design)
## Ambiguous (things the implementer would have to guess — phrase as questions)
## Verdict: needs revision | ready to implementT3. Approval gate — always stop before implementing
Once the design is final, do not start implementing. Show the user this summary, then end your turn and wait for their answer:
## Design finalized — approval requested
- Document: docs/design/….md (slice S<n>, if there is a foundation)
- One-line summary: …
- Scope: N files (create …, modify …) (chunks for parallel workers, if split)
- Key decisions (3–5): …
- Adversarial review: reviewer raised N (risk reviewer raised M, if it ran) → Claude accepted N (what
changed) / rebutted N (why) (a review that failed is stated here, not hidden)
- Reuse vs rewrite: what existing assets are reused; what is rebuilt and why
- Currency: key platform/framework choices and the date-stamped source confirming they are current
- Scale evidence: the measured numbers (or design caps) the sizing rests on; what is not verified
- Deliberately not built: …
- Definition of done: <test commands>
- Risks / things you should know: …
Reply "approve" or "go" to proceed. Otherwise tell me what to change.- "approve" / "go" / "proceed" → set the slice to
designed(if there is a foundation), then C-2 (dispatch the Sonnet worker; Claude writes the code itself only if the user asked for that), or the no-Orca hand-off (section 0). - Change requests → revise the doc, summarize only what changed and show the gate again. A substantial change gets a fresh adversarial review (a new ≤2 count) before the gate.
- Never skip this gate. The only exception is when the user's original request explicitly said "proceed without approval".
T4. Code review format
## Verdict: APPROVE | REQUEST_CHANGES
## Spec check — quote the design doc line for each item
- Missing or partial: …
- Not asked for (scope creep): …
- Implemented but looks wrong: …
## Required changes (file:line, what and how)
## Suggestions (optional)
## Test results (each command you ran and its output: pass/fail counts, exit code)T5. Report
## Result
- Design doc: docs/design/….md (Claude draft → adversarial review ×N → Claude revision)
- What the review changed: … / What Claude rebutted and kept: …
- Slice: S<n> → done (slices.md updated); next: S<m> (todo, dependencies done) — say "go" to start it
- Files changed: … (Sonnet worker, or Claude if the user asked)
- Code review: N rounds (reviewer subagent, + risk reviewer if it ran) — what it fixed: …
(a review that failed is stated here, not hidden)
- Over-engineering pass (ponytail-review): N suggested → N applied (net −N lines), N rejected (why)
- Tests: <command> → the output of Claude's own run after the last fix (N passed, 0 failed, exit 0);
never "should pass" or the worker's word
- Time: reviewer and worker minutes (what is known)
## Open issues / decisions for the userInside Orca, also update the card:
orca worktree set --worktree active --comment "implemented + reviewed: <feature>" --json.
Start the next slice only when the user says so.
T6. Adversarial review — read-only Claude reviewers (C-1, C-4, F-4, F-change)
A reviewer with a fresh context catches what the designer missed. More reviewers of the same kind mostly find the same things, so a second one is added only where it looks from a different angle:
- Reviewer — always.
- Risk reviewer — in parallel, when the change touches payments, a database schema or migration, customer data or auth, and for every foundation review (F-4, F-change). Its extra brief: data integrity, migration and rollback, double-processing and races, the state left after a failure, security and privacy. The user can also ask for one or two reviewers explicitly.
1. One request file. Write /tmp/team/<slug>/<name>-req.md once: the absolute paths to review,
every fact you already measured (so no reviewer spends turns re-deriving it), the checklist, and the
output format (T2 for designs, T4 for code). Then start each reviewer in the same message with the
Agent tool, subagent_type: "team-reviewer" (~/.claude/agents/team-reviewer.md: read-only, loads
CLAUDE.md, returns an agent ID so later rounds can resume it; missing → general-purpose, adding "do
not edit files; the requested format overrides any style rules injected into your context"). Never
Plan: it is one-shot (no agent ID) and skips CLAUDE.md. Subagents run in the background by default;
don't pass run_in_background. For code, pick the reviewer's model as in C-4. Prompt = the
request file's contents (+ the risk brief for the risk reviewer) plus: "Review only; do not edit
files. Do not touch databases or external services (no MCP write tools, no integration tests that
write, no deploys)." It starts with a fresh context, so the prompt must be self-contained.
2. Wait for every reviewer you started. When each returns: check every item against the code
yourself, accept (edit the doc) or rebut (with evidence), then go on. A reviewer that fails or
returns no ## Verdict: → SendMessage it once: "Answer now in the required format." Still nothing →
its review failed; say so at the gate (designs) or in T5 (code) — never read it as "no findings".
3. Next rounds, via SendMessage to the same agent(s). Designs: round 2 (≤2 total) goes only to the reviewer whose Critical you rebutted and who needs to see the rebuttal. Code: after each "Apply review" (≤3 rounds, C-4), every reviewer that asked for changes re-checks the new diff.
Accepted: <item> → doc/diff changed: <where>
Rebutted: <item> — evidence: <file:line / result>
Answers: <answers to your questions>
Re-check the revised doc or diff and answer in the same format with an updated verdict.Save each reviewer's text to /tmp/team/<slug>/<name>-<reviewer|risk>-<N>.md.
C. Feature mode
Claude designs and reviews; a Claude Sonnet worker is launched as an Orca orchestration worker (a real
TUI with file-edit rights, visible to the user as a tab). Needs an Orca-managed worktree (section 0) —
except when the user asks Claude to implement (C-2).
Verified 2026-10-01 (Orca 1.4.204, Claude Code 2.1.286): worker-start --agent claude --model sonnet
→ the worker came up as Sonnet 5.5, implemented a chunk from the design doc and replied with
worker_done; an "Apply review" round reusing the same Sonnet worker (--terminal) was verified the
same day. The full loop ran end to end on 2026-09-21 with a Grok worker (2 design-review and 3
code-review rounds).
Orca commands below follow Orca's bundled guide (orca skills get orchestration, Orca 1.4.215+;
1.4.217 fixed stale worker handles — update through the Orca app, not brew). Where a flag here and
that guide disagree on your version, the guide wins.
C-1. Design doc + adversarial review (T6, mandatory)
If docs/design/foundation/ exists, read the charter, the accepted decisions and slices.md first.
The task should be one slice whose dependencies are done; if it isn't in slices.md, add it as a
slice first (or F-change if it needs a new expensive decision). A dependency not done yet → don't
design this slice; tell the user which slice has to come first and stop. Inventory existing assets and measure
scale from read-only sources, then write the design doc (T1). Then the adversarial review: T6 with
the request /tmp/team/<slug>/design-review-req.md (T2 checklist + T2 output format + the design
doc's absolute path + the facts you measured).
Check every Critical/Missing/Ambiguous item against the code yourself, then accept (revise the
doc) or rebut (with evidence). If Critical items remain and a reviewer needs to see the rebuttal, run
one more round (T6 step 3) — 2 rounds total. Still contested after 2 → do not implement;
set the slice blocked and report both sides to the user. No Critical items left → the approval
gate (T3): end your turn and wait. Do not go to C-2 before approval.
C-2. Run + Task + Sonnet worker
The user asked Claude to implement ("너가 직접 구현해", "you implement it") → skip the Orca run, the worker and C-3: Claude implements the design itself, in its order and scope, runs the definition of done, then goes to C-4 (the reviewer subagent reviews Claude's diff the same way). Steps the design reserves for after the code review (applying a migration, deploying, changing platform settings) still wait for C-4's APPROVE-or-fixed. Otherwise:
orca status --json
orca orchestration run-create --objective "<feature>" --json # → run_id
orca orchestration worker-start --spec "<spec>" --worktree current --agent claude --model sonnet --timeout-ms 120000 --json
# one call creates the Task and its Dispatch (ctx_…); give this Bash call timeout ≥180000.
# Pass the alias `sonnet`, not a pinned id, so the worker follows the newest Sonnet.
orca orchestration worker-show --dispatch <ctx_id> --json # → the worker's terminal handle
orca worktree set --worktree active --comment "sonnet implementing: <feature>" --jsonworker-start exits non-zero → don't relaunch: read the receipt's failedStage and
residualResources, then orca skills get orchestration --reference references/recovery-and-cleanup.md.
Check the model on the worker's screen (orca terminal read --terminal <handle> --screen --json,
which shows e.g. "Sonnet 5.5"; a worker without a terminal → orca orchestration worker-read
--dispatch <ctx_id> --source auto --json). The receipt's launch.effective only echoes the alias. If
it isn't a Sonnet model, stop and tell the user before any code is written.
A Claude worker started in a folder Claude Code hasn't trusted yet stops at the folder-trust prompt.
In Claude Code 2.1.286 that prompt defaults to "No, exit", so the Enter that comes with the injected
prompt makes the worker exit. --worktree current is already trusted because the driver runs there.
For any other placement, have the user open claude there once and accept the prompt before
starting the worker.
Spec template:
Read the design doc first: <absolute path>. Implement all of it, in its implementation order
(or only "<part>" when this task is one of several parallel chunks).
Definition of done: <test commands/conditions>. Keep the worker_done body to Orca's three sentences,
with the definition-of-done result (commands, pass/fail counts) in it.
Rules: do not modify files outside the doc's "scope of change". If you believe the design must be
deviated from, ask before implementing — with the preamble's `ask` command, never a local question
prompt — and don't enter plan mode. Do not commit. On completion pass every modified file in
worker_done --files-modified.
Ponytail is active through Claude Code's hooks: use it for how you write the code. The design doc and
these rules win where they conflict: build everything the design specifies; if ponytail says a part
should be cut, ask instead of dropping it.Default: one Task = one Sonnet worker, same worktree. Parallelize only for independent chunks whose files don't overlap (T1 "Chunks"), one worker per chunk.
C-3. Wait + answer questions
orca orchestration check --wait --types worker_done,escalation,question --timeout-ms 540000 --json
orca orchestration reply --id <msg_id> --body "<answer>" --json # for question
orca orchestration check --ack <deliveryId> --wait --types worker_done,escalation,question --timeout-ms 540000 --jsonGive each wait Bash timeout: 600000: Claude Code stops a foreground command at 10 minutes, so
--timeout-ms stays ≤540000 and you simply wait again. Timeouts, count: 0 and heartbeats are not
failures (implementation takes 15–60 min). check replays the oldest batch until it is acked:
process every message in it before --ack, and accept a worker_done only from the Dispatch you are
waiting for (an earlier one is stale; ignore it). Progress: worker-read --dispatch <ctx_id> --limit
50 --json. After three empty waits in a row, inspect instead of waiting blindly:
orca orchestration worker-list --run <run_id> --include-remote --json (act on each row's
projection.nextAction) and orca orchestration worker-show --dispatch <ctx_id> --json — a non-null
observation.agentWait names a prompt only a human can answer (plan-mode entry, a question card),
with its evidence; answer it with orca terminal send --terminal <handle> --text "<key>" --enter
--json. A null or absent agentWait, or quiet output, is not a stall: keep waiting. (Orca already
launches Claude workers with auto-approve, so edit approvals should not block them.)
If the worker's question means the design must change, revise the doc before answering; a
foundation-level change → F-change (it starts by stopping the worker). While a worker is dispatched,
Claude does not edit source files.
C-4. Review
Started together:
- Reviewer subagent: T6 with the request
/tmp/team/<slug>/code-review-req.md— worktree path, design doc path, the changed files, the facts measured so far, what to check hard (anything that writes to shared state first), and T4 as the output format, including its Spec check (every doc requirement missing or partial, behaviour the doc didn't ask for, what looks implemented but wrong — each quoting the doc's line); plus "review only; no DB/MCP writes, no deploys, no integration tests that write". Risky changes (T6) → the risk reviewer too. The reviewer's model must differ from the code's author, so always pass it: code written by Sonnet (the worker, or a Sonnet driver) →model: "opus"; otherwise →model: "sonnet". Measured 2026-09-23: 12.5 minutes. - Claude itself — evidence before claims: the worker's
worker_doneis a claim, not evidence. Checkgit diff --statagainst the files it reported (no Orca:git status) and the doc's scope, re-run every definition-of-done command yourself and read the full output (exit code, failure count), and judge the change against the design doc line by line (T4). Report only what that output shows.
Over-engineering pass (mandatory). After the correctness review, invoke ponytail:ponytail-review
through the Skill tool on the same diff (never as a typed prompt — Shared rules). If it fails, T5 says
so; never report a failed pass as "lean already". It returns a delete-list only (delete: /
stdlib: / native: / yagni: / shrink: per line). Judge each item like any finding: accept it
only if it keeps the design's interfaces, the definition of done and the things ponytail itself never
cuts (trust-boundary validation, data-loss handling, security, accessibility). An accepted item that
changes an interface in the design doc → revise the doc first (show T3 again if it is substantial).
Merge accepted items into the same "Apply review" spec; they count toward the same ≤3 rounds.
Changes needed → reuse the Sonnet worker that wrote the chunk (or, if Claude implemented, Claude applies them and the reviewer re-checks via SendMessage). Decide the reuse before acking the old delivery:
orca orchestration worker-show --dispatch <ctx_id> --json # the settled worker's handle
orca orchestration worker-start --spec "Apply review: <per-item instructions, file:line>" --terminal <handle> --worktree current --json
orca orchestration check --ack <deliveryId> --json # then wait on the NEW dispatch→ C-3. At most 3 rounds. Still not approved after 3 → set the slice blocked, report the remaining
items and both sides' reasoning to the user, and still do the C-5 cleanup.
C-5. Wrap up
orca orchestration worker-release --dispatch <ctx_id> --json # every settled dispatch you are not reusing
orca orchestration check --ack <deliveryId> --json
orca orchestration worker-list --run <run_id> --terminal-state reclaimable --json # must return none before you end
orca worktree set --worktree active --comment "implemented + reviewed: <feature>" --json # failure path: "blocked: <reason>"If there is a foundation and the review approved, set the slice to done in slices.md. Report with
T5. Never stop/release a worker because of a timeout or idle state. If a handle returns
terminal_handle_stale, re-acquire it with orca orchestration worker-show --dispatch <ctx_id>
--json; never send to both old and new handles.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

