pstack on OMP
is the sole router. It selects the playbook, canonical role, step order, and lifecycle protocol. This adapter translates those choices to OMP only. It never selects a playbook, repeats the playbook index, or changes a playbook gate.
While this skill is active, its role map is the specific pstack execution contract. Generic OMP instructions remain valid outside pstack work.
Canonical role map
Use these exact OMP agent names.
| Canonical role | OMP agent | Contract |
|---|
| | Read-only repository reconnaissance, trace reduction, narrow audits. |
| | Observe one exact generation or external-state transition, then terminate. |
| | Technical planning, architecture, decomposition, sequencing, and non-visual design candidates. |
| | Visual, interaction, and product-design candidates. |
| | Independent code, protocol, behavioral, or security review. |
| | Source-verified external library, framework, API, protocol, or version research. |
| | Cross-report synthesis, adjudication, and advisory judgment over frozen evidence. |
| | Bounded implementation or test changes with explicit write ownership. |
| | One coupled multi-step implementation session retained through IRC follow-ups. |
| | Fully specified low-judgment edits. Ambiguity returns to the root. |
The canonical OMP roster is closed:
text
scout
designer
reviewer
security-reviewer
librarian
task
sonic
A canonically routed task item's
value must be one of those bundled names. Canonical role labels and model aliases are not agent names.
and
are custom compatibility agents for direct named seams in imported skills. A direct compatibility call may use that custom agent name; ordinary canonical routing never does.
Planning distinction
The imported warning about a built-in planning subagent describes a source-host mechanism that bypassed the skill contract. This OMP version has no bundled
agent. Canonical
work uses
with a technical-planning brief and does not pass source-host subagent fields.
Security review
Use
for an independent security lane. Keep it read-only and separate from ordinary code review when both are required. A later
session may synthesize frozen reports; it does not replace the primary security review.
Task contract
The root performs every
call. A child never calls
, starts another child, or asks the user directly. Put
Do not call task or start subagents
under
in every child brief.
Children start without the parent conversation. Every prompt must stand alone. They receive the configured workspace, context files, skills, and approved plan resources supplied by OMP.
One task
When the flat schema is active:
json
{
"name": "parser-overflow-worker",
"agent": "task",
"task": "GOAL\n...\n\nROLE\n...\n\nSCOPE\n...\n\nCONTEXT\n...\n\nACCEPTANCE\n...\n\nVERIFY\n...\n\nTIMEBOX\n...\n\nFORBIDDEN\n...\n\nREPORT\n...\n\nSTANDING\n...",
"isolated": true
}
When batch mode is active, use a one-item
call instead of inventing a per-call batch switch.
Use
for a writer that needs a dedicated worktree. Read the returned isolation metadata and verify the patch, branch, or applied change OMP reports. Use a non-isolated session for a long-lived owner that must accept IRC follow-ups in the same workspace.
Batched panel
Use one batch call for independent participants:
json
{
"context": "Shared immutable repository, base SHA, artifacts, constraints, and verification context.",
"tasks": [
{
"name": "candidate-a",
"agent": "designer",
"task": "Standalone brief for architecture candidate A.",
"isolated": false
},
{
"name": "candidate-b",
"agent": "designer",
"task": "Standalone brief for architecture candidate B.",
"isolated": false
}
]
}
Each
is unique.
contains common immutable material. Each item still names its exact role, slice, acceptance criteria, verification, forbidden work, and report contract.
Start every participant in one batch before consuming any verdict. Separate writers with isolated workspaces or disjoint output paths. Freeze candidate artifacts before starting reviewers. Freeze reviewer reports before starting a separate synthesizer session.
Background completion and follow-ups
Background task results arrive through OMP's async result delivery. Record the returned job and agent identifiers. The preview may be truncated.
- Read the full result from .
- Read the session transcript from when the report is incomplete, ambiguous, or suspicious.
- Use with to inspect jobs and with to wait for specific job IDs.
- Use with to inspect peers and with for one in-scope correction, answer, authorization, or next coupled phase.
- Use with and exact job for stale, superseded, or scope-breaching work.
- A follow-up to a parked session revives the same session when the host reports that capability.
- Never steer a reviewer toward a preferred conclusion.
- Use only operations exposed by the live schema. Do not invent lifecycle operations.
- Ignore duplicate terminal deliveries and reject stale artifact generations.
A task result is evidence, not completion. The root inspects the artifact and runs verification.
Brief shape
A dispatch is forbidden until its brief contains:
GOAL
One-sentence outcome executable by a stranger.
ROLE
The canonical role, mapped OMP agent, authority, and expected stance.
SCOPE
Writable and non-writable paths, exact slice or race arm, worktree and branch where applicable, and every output path. State the one-writer assignment.
CONTEXT
Repository root, relevant source paths, base SHA, frozen artifacts, active skill and playbook paths, settled assumptions, and known gotchas.
ACCEPTANCE
Checkable observable outcomes, one per line.
VERIFY
Exact commands, fixtures, runtime probes, comparison baselines, environment requirements, and known false-positive or false-negative risks.
TIMEBOX
A rough cap. At the cap, return partial evidence and stop instead of broadening scope.
FORBIDDEN
At minimum: no child task calls; no subagent spawning; no out-of-scope fixes; no unrequested migrations; no shared-path edits outside ownership; no merge; no direct user questions; no completion claim without executed verification.
REPORT
Require
, semantic session name, branch and exact SHAs where applicable, verdict and evidence, changed files or artifacts, actual verification commands and results, deviations, unresolved risks, and parent actions.
STANDING
Copy the active playbook's standing policy text verbatim when it supplies one.
Canonical protocols
Bounded session
- Author one standalone brief.
- Start one task with the mapped agent.
- Record its semantic name, agent ID, job ID, role, scope, isolation mode, base SHA, and expected artifact.
- Consume the async result when delivered.
- Read ; inspect when needed.
- Send one IRC correction only within the same unit.
- Inspect the artifact and independently run the promised verification.
- Accept the unit only after the parent verifies the reported output.
A role or unit change requires a fresh task.
Panel
- Partition independent slices or race arms with one task per participant.
- Start every participant in one batch before consuming any result.
- Track participants by semantic name and identifiers, never arrival order.
- Wait for every required result through , or cancel it explicitly through .
- Ignore duplicate terminal delivery.
- Freeze implementation artifacts, branches, head SHAs, reports, and hashes.
- Start every independent reviewer in a new batch only after the candidates are frozen.
- Freeze verdicts before starting a separate when synthesis is needed.
- Treat synthesis as advice. The root selects and verifies.
Do not mix implementers, reviewers, or synthesizers in one session. Do not let reviewers race a moving head.
Long-lived owner
- Start one non-isolated session with the complete owner brief.
- Record its agent ID and reuse it. Do not start a sibling owner for the same unit.
- The owner works only in its assigned branch and paths and never starts children.
- Send a follow-up only for the next coupled phase, an in-scope correction, an answer resolved from evidence, or explicit authorization.
- Require a terminal report at each verification boundary.
- Independently verify the boundary before authorizing the next phase.
- Stand down on ownership violation, stale generation, or terminal scope breach.
One-shot watcher
- Start one background task.
- Put the exact branch, head SHA, generation, watched predicate, stop predicate, and timebox in the brief.
- Require one meaningful event and a terminal report.
- Discard a report whose generation no longer matches.
- Start a fresh watcher for each new generation.
- Stand down when the stop predicate is met or the work is superseded.
A watcher observes. It does not fix, merge, authorize, or silently follow a changed head.
Interactions and decisions
Children resolve uncertainty from source, standing policy, frozen evidence, or the brief. Otherwise they use the safest reversible interpretation and report the assumption, or return
with the exact missing decision and evidence gathered.
The root resolves a child question and sends the answer through
to the existing agent. Ask the user only for genuine product preference, unavailable authority, or an irreversible action not covered by standing orders.
Ownership and verification
- One writer per branch, worktree, mutable state, and output path.
- Separate sessions own implementation, review, judgment, and synthesis.
- A task stays inside its assigned unit and role.
- Isolate concurrent writers unless their outputs are structurally disjoint.
- A worker's report never verifies its own work.
- Record branch, base SHA, and exact head SHA or artifact generation.
- Prefer behavioral proof over type-check-only evidence.
- A new commit, restack, conflict resolution, or applied patch creates a new generation that voids the prior verdict.
- Judges and synthesizers advise. The root owns selection, user interaction, external writes, merges, deletion, and final truth.
- Claim model independence only from returned resolved-model and fallback metadata.
Model routing
OMP resolves a task agent through its current settings, including
,
, the agent definition, and normal fallback. Agent selection and model selection are separate decisions.
Do not put a
field in a task item. Do not use a model alias as the
value. Configure routing through the installed OMP settings and report the actual resolved model when independence matters.
Recommended role aliases:
| OMP agent | Recommendation |
|---|
| |
| |
| |
| |
| |
| or a stronger implementation role |
| or |
These are recommendations, not task payload fields.
Writing
Apply
to every reply, brief, report, review, task dispatch, commit message, and agent-facing edit.