Skill v1.0.0
currentAutomated scan100/100name: corral description: Files and inspects work on the corral board (project management for coding agents inside herdr). Use when the user wants to capture an idea, file or split tasks, check what is running, waiting on them, or in review, or find, pin or open a report or artifact from a past agent run. Triggers - corral, board, backlog, file a task, add to backlog, capture idea, kanban, pin, show me the report. metadata: version: "1.0.0"
{{marker}}
corral
corral keeps a workspace's tasks in the database under .corral/db/ and runs each task as its own agent session in <project>/.worktrees/<id> on branch corral/<id>. Commands work from anywhere inside the workspace; pass --root <dir> from outside it. corral list --json shows task summaries with current_run, not history or task-file paths. Read full records with corral show <id> --json, or write Markdown snapshots with corral export tasks <dir>; there is no file mirror.
Commands
{{commands}}
{{awareness}}
{{pm_runbook}}
Statuses
idea -> backlog -> ready -> running -> needs_me -> review -> done (and dropped). You may move tasks among idea, backlog and ready, or drop them. Dispatch, herdr agent state and corral done move tasks into running, needs_me and review; approving in review moves them to done. With a matching owner-confirmed finite operating grant (corral automation status), existing review executors run the configured gate and reviewer, then land only with delegated acceptance, send bounded changes or escalate to needs_me. Legacy review flags alone never authorize automatic work. Assist still collects existing gate receipts and records already-launched reviewers' verdicts.
Design and plan runs
Use dispatch <id> --plan, or flag an idea/task with --design (design: true) or plan policy <id> required. Unapproved plan-required tasks automatically dispatch to planning. Plan sessions count toward admission, read the repository through a read-only sandbox, and write their plan outside source. They create no Git worktree or branch, run no code gate, and never land or call done. Submit the structured plan with plan submit; docs/guide/plans.md defines its frontmatter. Pending current plans block ordinary dispatch until review and owner acceptance; --plan explicitly requests replacement planning. reply reaches a live planner. plan cancel ends its session and releases the slot without discarding snapshots or making an owner decision. Failed planners retain exit/capture log artifacts.
Scoped Autopilot starts a separate plan reviewer under effective policy and returns changes to the planner up to max_rounds. Final acceptance requires explicit owner approval or current scoped plan-acceptance authority without owner exceptions or unresolved decisions. The PM never uses plan verdict --owner on the owner's behalf. Legacy [review] plan_accept = "auto" alone is not delegation. Approval creates linked Backlog children with dependency edges and acceptance, or attaches a single-task plan to the original. Implementation then follows the normal promotion, dispatch and review policy.
Owner comments
corral comment appends notes at any task status, attributed to owner by default or pm with --author pm. Comments are database rows separate from the specification and do not invalidate verification or portable checkpoints. Dispatch and reviewer prompts include them under "Owner comments". --send uses the running agent's reply path and references the durable task readback; failed submissions can be retried with corral reply <id> --resend. Use the task specification, not only a comment, to change acceptance criteria.
Rules
- Search
corral search "<query>" --in all --jsonbefore re-running expensive investigations. - Operating grants are the owner's decision. Offer
corral automation preview
for an exact finite selection and ask the owner to confirm it through their terminal or settings. PMs and coding agents must never confirm their own grant.
- Go through the CLI. Never edit files under
.corral/by hand: the CLI is the single write path and logs
every change.
- In Assist, obtain explicit owner action before starting work. For scoped automatic work,
use the current pm act identity, not the explicit-owner dispatch command.
- Write a task body as a spec: goal, acceptance criteria, relevant files. One task is one reviewable change
in one project; split bigger asks and link them with --depends.
- Follow the configured review policy (
[review]in.corral/corral.toml); withaccept = "owner",
approval stays the user's decision, made on the board. Request changes and discard are the user's too.
- Set
--kind,--sizeand assessed--difficultywhen filing a task, including--idea,
and explain them in the body. Size is work volume; difficulty is reasoning: routine for a known pattern or repetition, standard for bounded reasoning, hard for uncertainty, algorithmic optimization or correctness argued from invariants. Never classify by title keywords or size alone. Unset difficulty means not assessed; legacy routing applies. Persist difficulty before loading a selection catalog or generating a receipt; use corral edit <id> to revise it. Keep Agent: Auto; do not ask the owner for a new mandatory choice.
- Follow the shared "Profile selector procedure (v1)" above after filing/revising work:
load corral selection catalog <id> --role implementation|planning, then save a structured proposer/PM receipt with corral selection save --file <json>. Leave --profile unset for Auto; manual pins require an explicit owner choice, not a prose recommendation. Inspect the effective selection with corral route <id> (or --json); corral dispatch <id> --explain is the same dry run and does not create a worktree, launch an agent, or consume a run slot.
- Model overrides must use exact discovered model IDs (
provider/idfor OMO/OMP). Dispatch rejects
unlisted IDs and shows close matches; it never fuzzy-selects a model. Failed discovery warns and allows an unverified model instead.
- Use
--jsonwhen you need to parse output. - Pin artifacts the user will want to revisit (visual reports, dashboards, screenshots, plans) with
corral pin; the artifact ref is <task>:<run>:<file name of its path>. Add --follow-latest when later runs regenerate the same report. When asked to "show me the X report", look in corral pins --json first, then corral artifact list --json, and corral open the match.
- If your prompt starts with a task id and has a "Run contract" section, you are a dispatched agent:
follow that contract (gate, evidence artifacts, rebase, then corral done with a Verified: line). When the prompt has a "Gate contract (authoritative)" section, it is the only gate instruction: run its one receipted gate once after the final rebase (autopilot reuses that receipt) and no other gate; otherwise follow the Run contract's gate step. Supply --result for the cumulative task outcome: original goal, achieved scope, and remaining limitations. Keep --summary for current run activity and verification. Omitting --result on rebase-only resubmissions preserves the narrative, not the validity of earlier checks.
Reviewing a run
When asked to review a run (a review prompt from corral review-run), you are an independent reviewer: use .evidence/ for worktree scratch and docs/records/ for durable reports.
- Read the task spec and acceptance criteria, the gate result and log,
corral review <id> --diff, and the
run's artifacts. Judge the code, not the agent's summary.
- Check that every acceptance criterion is met with evidence, the change is correct and in scope, new
behavior is tested by tests that can fail, and the project's AGENTS.md conventions hold.
- Do not edit files in the worktree. A modified worktree turns your verdict into an escalation.
- Write your notes outside the worktree (the prompt names a notes file), then finish with exactly one of
corral verdict <id> approve|changes|escalate --notes-file <path>: approve when it can land as is, changes with each required fix listed concretely, escalate when the owner must decide.