Overview
/silver:new-workflow is the SB queue builder for workflow and atomic-flow authoring. Catalog id: WF-SILVER-NEW-WORKFLOW. In Create and Convert modes the parent orchestrator spawns workers per atomic flow — do not implement catalog changes inline in parent mode.
Audit mode is different: it runs inline, read-only, with no orchestrator queue, plan, review-fix ladder, or implementation steps.
Canonical contracts: docs/apo-catalog.json, docs/composable-flows-contracts.md, docs/APO-AUTHORING-COMPLIANCE.md. Full runbook: docs/NEW-WORKFLOW.md.
Modes
| Mode | When | Outcome |
|---|---|---|
| Create | User describes a new workflow intent | New composer skill + WF-* catalog entry + hooks/tests |
| Convert | User names an existing skill path (no audit intent) | Gap review → compliant SB workflow + catalog registration |
| Audit | User names workflow id, slug, or SKILL.md with audit intent | Read-only compliance report under .planning/; no catalog edits |
Mode detection from $ARGUMENTS:
- Audit when
--audit,--validate,audit/validateprefix, aWF-SILVER-*id, composer slug with audit intent, orSKILL.mdpath with audit intent. - Convert when the argument is a filesystem path or
skills/…/SKILL.mdwithout audit intent. - Create otherwise.
Create mode
Start with a natural-language workflow intent. SB orients against the APO catalog, plans composition and enforcement surfaces, runs review-fix ladder on the plan, implements skill + catalog + hooks, then validates.
Default target repo is the current workspace unless the user names another path (recorded in .planning/new-workflow-session.json).
Convert mode
Pass a path to an existing skill or workflow definition. SB produces a gap matrix, maps steps to catalog atomic flows, then follows the same plan → RFL → implement → validate path as Create.
Audit mode (read-only)
Audit mode resolves the target workflow, runs scripts/audit-workflow-compliance.sh, and writes .planning/workflow-audit-<slug>-<date>.md. It does not edit skills, hooks, or catalog entries.
Target resolution
| Input form | Example | Resolved |
|---|---|---|
| Workflow id | WF-SILVER-FEATURE | silver-feature |
| Composer slug | silver-feature or feature | WF-SILVER-FEATURE |
| SKILL path | skills/silver-new-workflow/SKILL.md | WF-SILVER-NEW-WORKFLOW |
Compliance categories
Each category reports PASS/FAIL with remediation links:
- structural — skill, catalog generator, workflow entry, orchestrator registration
- migration_map —
skill_to_entitymapping - catalog —
composition_tree,enforcement_queue - triple_alignment — SKILL pre-exec ↔
workflow-chain-guard.sh↔ orchestrator pre-execute - orchestrator — composer in
hooks/lib/orchestrator-state.sh - flow_steps — mapped entity V-loop / flow-step contract
Invocation examples
The router also recognizes audit intent: /silver routes phrases like “audit workflow” or “validate workflow compliance” to silver:new-workflow --audit <target>.
Compliance scripts
Shell entry points (repo root):
Broader authoring suite: bash scripts/run-apo-authoring-compliance.sh. See docs/NEW-WORKFLOW.md for the full regenerate and validate checklist.