Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0" name: ops-flow description: "Route work to direct, standard, reviewed, orchestrated, release, audit, parallel, or shipping paths using risk, ambiguity, proof, and parallelism."
OBJECTIVE
Choose the lightest execution path that preserves correctness and required proof.
IRON LAW: MULTI-AGENT ORCHESTRATION MUST EARN ITS COORDINATION COST.
ops-flow classifies and routes. It does not implement, review, or ship. Prefer repository evidence over the user's or agent's estimate of task size.
INPUT
ops-flow [goal][--risk low|medium|high|critical|auto][--mode direct|standard|reviewed|orchestrated|release|audit|parallel|ship|auto][--autonomy low|normal|high]
Defaults: --risk auto --mode auto --autonomy normal.
STEP 1: LOCATE THE TASK SHAPE
When running inside agent-surface, load both live procedure catalogs first:
node scripts/agent-surface.mjs skills --jsonnode scripts/agent-surface.mjs commands --json
Answer these questions from the request and repository:
- Is the requested result an edit, an investigation, a release claim, or publication?
- Is the behavior already specified, or does product/architecture intent remain ambiguous?
- Does the change touch authentication, authorization, cryptography, payments, secrets, migrations, production data, deployment, security findings, dependency or release gates, or destructive behavior?
- Does acceptance require a real external dependency, built artifact, clean-room install, deployment, or live service?
- Are there at least two writable workstreams with disjoint files, generated outputs, lockfiles, migrations, ports, databases, and fixtures?
- What is the smallest deterministic check that can reject an incorrect result?
Do not infer parallelism from the number of checklist items. A sequential dependency chain has parallel width one.
STEP 2: CHOOSE ONE EXECUTION PROFILE
| Profile | Use when | Runtime shape | Evidence | |
|---|---|---|---|---|
direct | Trivial, obvious, reversible work with a tiny filescope | Current session; no planner or reviewer | Diff plus focused check | |
standard | Normal bounded implementation with clear behavior | One owner runs locate → edit → verify → self-review | Diff plus relevant repo gates | |
reviewed | Security-sensitive, public/shared contract, broad regression surface, or meaningful failure cost | One writer, then one independent read-only reviewer; at most two rework cycles | Writer checks plus reviewer verdict | |
orchestrated | Two or more genuinely independent workstreams, or a long-running dependency graph that benefits from durable state | Central orchestrator; isolated worktrees for concurrent writers; formal workflow ledger | Per-workstream evidence plus integrated QA | |
release | A stable candidate must support readiness, artifact, deployment, or acceptance claims | Freeze candidate → build → real proof → independent release QA | Candidate identity plus real proof bundle | |
audit | Unknown cause/risk, vulnerability investigation, broad claim review, or diagnosis-only request | Read-only analyst/reviewer; parallel read-only probes allowed | Findings tied to source/evidence | |
parallel | Independent read-only exploration or competing proposals; no shared writer state | Bounded swarm/subagents; one owner consolidates | Per-probe evidence; not a merge verdict | |
ship | Accepted changes only need commit, push, release, or deployment | Route-specific shipping workflow | Publication/deployment result |
Routing defaults:
- A small cross-file change is usually
standard, not automatically orchestrated. - High or critical risk requires
reviewed; it does not by itself require multiple writers or BOSS. - Choose
orchestratedonly when isolation or durable long-run state creates measurable leverage. - Choose
releaseonly after the implementation candidate is stable enough to freeze. - Use
parallelfreely for read-only discovery, but keep one writer unless filescope isolation is proven. - If a formal run is already active, run
workflow-doctorbefore starting another route.
STEP 3: SELECT THE NEXT WORKFLOW
direct/standard: dev-feature | dev-fix | dev-core | dev-chore | dev-refactorreviewed: route-specific dev command -> qa-review|qa-audit|qa-traceorchestrated: workflow-orchestratorrelease: verify-prove -> verify-readiness when the claim requires itaudit: qa-review | qa-audit | qa-trace | ops-reportparallel: ops-swarmship: ship-commit | ship-artifact | ship-cicd | ship-release | ship-deploy
Use workflow-boss only inside an admitted orchestrated or release run, or when the user explicitly requests formal decomposition.
For architecture-heavy development with an accepted roadmap, prefer the staged path:
arch-roadmap (family A)-> dev-spec (fresh family B; requirement-derived RED core slice)-> dev-core (family A; frontier xhigh/max; runnable spine, then pause)-> dev-feature (family A at lower effort, or family C)
Repeat dev-spec for later behavior slices when independent specification adds value. Skip dev-core when the architecture and central ownership already exist.
For brownfield fixes, prefer a compact contract:
Current behavior:Expected behavior:Must remain unchanged:Acceptance checks:
Use architecture commands only when the answer would materially change the implementation.
READINESS CLAIMS
Claims such as stable, production-ready, release-ready, deployment-ready, E2E passed, 100% implemented, or all features supported require release profile evidence.
Use the relevant ladder, not every command mechanically:
dev-spec / verify-test-> verify-coverage for Critical/High discrimination-> verify-edge / verify-performance when relevant-> verify-prove against shipped bits and real dependencies-> independent QA with no open Critical/High-> verify-readiness
Green unit tests alone cannot satisfy a release profile.
AUTONOMY
low and normal are opt-ins to more asking. high is the distribution's standing policy and must not re-add stops that policy already removed: destructive commands, secret use, deployment, publishing, and other outward-facing effects are authorized when they are part of the requested scope.
low: ask before assumptions, dependencies, risky commands, or protected filesnormal: proceed with reversible assumptions; ask only when a choice changes behavior or authorityhigh: proceed through the requested scope, including destructive, credential-using, and outward-facingsteps; stop only for a P0 violation, an action only a human can perform (subscription login,device confirmation, CAPTCHA, hardware touch), a target that cannot be resolved from the task orlive evidence, or work that is outside the scope actually requested
OUTPUT
Return exactly one routing object:
{"profile": "direct|standard|reviewed|orchestrated|release|audit|parallel|ship","risk": "low|medium|high|critical","autonomy": "low|normal|high","why": ["short evidence-backed reason"],"next_command": "command name or null","writer_count": 1,"independent_review": false,"real_acceptance": false,"parallel_width": 1,"max_rework_cycles": 0,"time_budget_minutes": 30,"required_evidence": [],"human_approval_needed": false,"approval_reason": null}
For orchestrated, parallel_width must be at least 2 or why must name the long-running state-management need. For reviewed, set independent_review=true and max_rework_cycles to 1 or 2. For release, set real_acceptance=true.
ANTI-PATTERNS
- Do not use a BOSS merely because a task has several steps.
- Do not create multiple writers for overlapping files or sequential tasks.
- Do not turn every QA helper into a serial phase.
- Do not generate release-grade provenance for an unstable intermediate patch.
- Do not choose a provider before proving the runtime can read, edit when authorized, run checks, and materialize the required output.
- Do not count workflow artifacts, agent messages, or model diversity as product progress.
- Do not route a localized feature or bug through
dev-coremerely because a stronger model is available.