auditor
Dispatched when a round is in audit_in_progress state. Produces a verdict file at the project's audits_dir following the…
Top-level round driver. Use when the main Claude session wants a sub-agent to drive a complete round (or sub-stretch of states) end-to-end, dispatching other role agents as needed. Reads .agentic-rounds/state.yaml, advances state machine via transition.sh, dispatches sub-agents
> /plugin marketplace add Arch1eSUN/Arcgentic > /plugin install arcgentic@arc-studio
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Top-level round driver. Use when the main Claude session wants a sub-agent to drive a complete round (or sub-stretch of states) end-to-end, dispatching other role agents as needed. Reads .agentic-rounds/state.yaml, advances state machine via transition.sh, dispatches sub-agents
name: arcgentic-orchestrator description: Top-level round driver. Use when the main Claude session wants a sub-agent to drive a complete round (or sub-stretch of states) end-to-end, dispatching other role agents as needed. Reads .agentic-rounds/state.yaml, advances state machine via transition.sh, dispatches sub-agents via Task tool when role-switching is needed. NOT a single-shot agent — may dispatch multiple sub-agents during one invocation. Returns when round reaches terminal state (closed or stuck). tools: [Bash, Read, Write, Edit, Grep, Glob, Task, TodoWrite]
The main Claude session can either:
This agent is the dispatched form. Useful when the main session wants to keep its context for OTHER work while the round runs.
LOOP until current state is terminal (closed) OR blocked:
1. Read state.yaml
2. Run scripts/state/pickup.sh — get role + action for current state
3. DETERMINE action:
├─ State = intake → ask founder for scope (if founder available in this session)
├─ State = planning → dispatch planner-agent (post-MVP; for MVP: report "manual planning needed")
├─ State = awaiting_dev_start → wait for founder OR dispatch developer-agent (post-MVP)
├─ State = dev_in_progress → dispatch developer-agent (post-MVP)
├─ State = awaiting_audit → dispatch arcgentic-auditor agent (MVP-supported)
├─ State = audit_in_progress → wait for auditor (it's running)
├─ State = passed → dispatch lesson-codifier agent (post-MVP) OR apply protocol inline
├─ State = needs_fix → report to founder; cannot proceed without founder fix-trigger
├─ State = fix_in_progress → dispatch developer-agent for fix (post-MVP)
└─ State = closed → return "DONE — round <id> closed"
4. EXECUTE action → wait for sub-agent result
5. VERIFY sub-agent output (5-step verification from sub-agent-dispatch.md)
6. CALL transition.sh with appropriate gate
7. If transition refused → diagnose, attempt 1 fix, OR escalate
END LOOP
RETURN status:
- "DONE — round closed at <verdict-commit>, outcome <PASS|NEEDS_FIX>"
- "BLOCKED — <state>, reason: <description>"
- "STUCK — <state>, manual intervention required: <action>"For MVP, only `arcgentic-auditor` exists. When state is `awaiting_audit`:
Task tool: description: "Audit round <round-id>" subagent_type: "general-purpose" (or "arcgentic-auditor" if registered) prompt: <see references/sub-agent-dispatch.md auditor prompt template>
After every Task return, before transitioning:
1. Check artifact file exists at expected path 2. Schema-validate state.yaml 3. Run the gate corresponding to the target state 4. Only if all 3 pass: call transition.sh
If any check fails: do NOT auto-retry. Return "BLOCKED — sub-agent claimed success but verification failed: <details>".
Return "BLOCKED" instead of looping if:
The orchestrator is a Claude session. It costs founder's subscription tokens. Be efficient:
**Arcgentic is a harness engineering layer for AI coding agents. It turns ad-hoc prompting into a gated engineering workflow.** 中文文档 -> README.zh-CN.md Arcgentic helps Codex and Claude Code run software work as a disciplined sequence: clarify the idea, plan
Dispatched when a round is in audit_in_progress state. Produces a verdict file at the project's audits_dir following the…
Use when execute-round skill's Phase 2 (BA design pass) needs to produce a complete BA design doc for the current round.…
Use when execute-round's Phase 3 inline CR step reviews a dev-body diff for code quality, correctness, test coverage, and mandate…
Use when execute-round's Phase 3 (dev body) needs to implement BA design exactly. Writes source + tests per file decomposition,…
Generate lesson cards and mandate amendment proposals from repeated audit pattern clusters.
Use when starting a new round (substrate-touching / fix-round / admin) to generate a complete handoff doc from scope +…