What Are Composable Flows?
Silver Bullet v0.48.3 is an Agentic Process Orchestrator (APO). Its hierarchy is Process → Workflow → Atomic Flow → Flow Step/Skill. /silver classifies the request via ROUTE, selects a catalog-backed workflow (for example silver-feature or silver-fast), and composes canonical atomic flow slugs from docs/apo-catalog.json.
Teams adopt process packs (PP-*) to reorder workflows, mandate gates, and require opted-in tools without forking atomic-flow definitions. The catalog remains the single source of truth; generated views (docs/composable-flows-contracts.md, docs/workflow-composition-matrix.md) are read-only renderings checked for freshness.
Each atomic flow is the natural delegated work unit: one subagent work package, declared inputs and outputs, mutation scope, dependency edges, and a local V-loop. Each flow step/skill also has a local V-loop that must roll up before the parent atomic-flow gate can pass.
Atomic Flow Catalog
The source of truth is docs/apo-catalog.json. Generated views such as docs/composable-flows-contracts.md, docs/workflow-composition-matrix.md, and docs/generated/atomic-flow-index.json are rendered from that catalog and checked for freshness. They are not hand-maintained workflow authorities.
v0.48.3 defines 27 canonical atomic flows, 22 workflows, and 85 flow-step contracts. Each flow step carries a local V-loop; evidence rolls up through atomic-flow gates to workflow intent gates. Legacy FLOW 1–18 labels are migration aliases only — not primary navigation.
| Atomic flow | Slug | Capability class | Work product |
|---|---|---|---|
AF-ROUTE | ROUTE | route intent | Classified user intent and selected workflow route. |
AF-BOOTSTRAP | BOOTSTRAP | project bootstrap | Initialized or migrated Silver Bullet project surface. |
AF-ORIENT | ORIENT | context orientation | Current codebase, planning, git, and runtime context map. |
AF-CLARIFY | CLARIFY | scope clarification | Resolved scope, assumptions, boundaries, and next route. |
AF-SPECIFY | SPECIFY | requirements specification | Specification, requirements, and ingestion evidence. |
AF-PLAN | PLAN | execution planning | Accepted implementation or operations plan. |
AF-DESIGN-CONTRACT | DESIGN_CONTRACT | design contract | UI/design contract or documented non-UI rationale. |
AF-VALIDATE | VALIDATE | gap validation | Gap analysis with pass/fail status and repair inputs. |
AF-DECIDE | DECIDE | decision research | Decision record with rationale, tradeoffs, and risks. |
AF-QUALITY-GATE | QUALITY_GATE | cross cutting quality gate | Quality dimension gate results and required repairs. |
AF-FAST-PATH | FAST_PATH | bounded fast path | Minimal safe workflow route for narrow low-risk work. |
AF-EXECUTE | EXECUTE | implementation execution | Scoped implementation changes and local execution notes. |
AF-DEBUG | DEBUG | failure diagnosis | Root-cause diagnosis and fix strategy for failing behavior. |
AF-UI-QUALITY | UI_QUALITY | ui quality review | UI review findings, fixes, or accepted residual risk. |
AF-VERIFY | VERIFY | verification and testing | Fresh verification evidence for behavior, tests, and artifacts. |
AF-SECURE | SECURE | security and llm safety | Security and AI-safety review evidence. |
AF-REVIEW-REQUEST | REVIEW_REQUEST | review request | Review request package with scope and evidence pointers. |
AF-REVIEW | REVIEW | artifact and code review | Review findings across code, artifacts, and domain gates. |
AF-REVIEW-TRIAGE | REVIEW_TRIAGE | review triage and fix | Triaged findings, applied fixes, and dismissed-risk rationale. |
AF-BLAST-RADIUS | BLAST_RADIUS | blast radius assessment | Change blast-radius analysis and rollback/risk controls. |
AF-DEVOPS-ROUTE | DEVOPS_ROUTE | devops toolchain routing | DevOps provider/toolchain route and required gates. |
AF-BRANCH-FINISH | BRANCH_FINISH | branch hygiene | Branch hygiene, commit readiness, and traceability evidence. |
AF-COMPLETION-AUDIT | COMPLETION_AUDIT | completion audit | Completion audit proving claimed outcomes are supported. |
AF-SHIP | SHIP | ship readiness | Branch, PR, CI, deploy, or ship-readiness outcome. |
AF-RELEASE | RELEASE | release management | Release notes, versioning decision, tag, and release artifact. |
AF-DOCUMENT | DOCUMENT | durable documentation | Durable documentation, handoff, or knowledge-capture artifact. |
AF-PHASE-MANAGE | PHASE_MANAGE | phase and state management | Phase, backlog, thread, or state transition record. |
Legacy alias map (migration reference only)
FLOW N. New compositions, help docs, and process packs must use atomic flow slugs from docs/apo-catalog.json.Legacy label → canonical entity:
| Legacy alias | Canonical catalog ID |
|---|---|
FLOW 1 | AF-BOOTSTRAP |
FLOW 2 | AF-ORIENT |
FLOW 3 | AF-CLARIFY |
FLOW 4 | AF-DECIDE |
FLOW 5 | AF-SPECIFY |
FLOW 6 | AF-PLAN |
FLOW 7 | AF-DESIGN-CONTRACT |
FLOW 8 | AF-EXECUTE |
FLOW 9 | AF-UI-QUALITY |
FLOW 10 | WF-REVIEW-TRIAD |
FLOW 11 | AF-SECURE |
FLOW 12 | AF-VERIFY |
FLOW 13 | AF-QUALITY-GATE |
FLOW 14 | WF-SHIP-READINESS |
FLOW 15 | AF-DEBUG |
FLOW 16 (DESIGN HANDOFF) | AF-DOCUMENT |
FLOW 17 (DOCUMENT) | AF-DOCUMENT |
FLOW 18 | AF-RELEASE |
Post-Execution Sequencing
Runtime order is defined by catalog workflow composition and orchestrator queues, not by legacy FLOW numbering. For delivery composers, the reusable post-execution chain after EXECUTE is:
UI_QUALITYwhen UI scope appliesREVIEW_REQUEST→REVIEW→REVIEW_TRIAGEVERIFY(withverify-tests)SECURE(withVALIDATEas needed)QUALITY_GATEpre-shipBRANCH_FINISH→COMPLETION_AUDIT→SHIP
Each child atomic flow must pass its own V-gate before the parent workflow can roll up to final user-intent validation.
How Composition Works
When you invoke /silver, composition happens in five catalog-backed steps:
- Intent classification —
ROUTEmaps the request, project state, and active artifacts to a workflow such assilver-feature,silver-bugfix, or a dynamic route. - Catalog selection — the workflow contributes atomic flow slugs and reusable workflow components. No workflow tree is authored outside
docs/apo-catalog.json. - Dynamic prune/insert/substitute — runtime context may omit already-satisfied atoms, insert missing preconditions such as
DEBUG, or substitute a smaller reusable workflow when catalog rules allow it. - Subagent scheduling — each ready atomic flow becomes exactly one subagent work package; independent atoms can run in parallel, while conflicting mutation scopes serialize.
- V-loop rollup — flow-step V-loops roll into atomic-flow V-gates, atomic-flow V-gates roll into workflow gates, and the final gate validates material user intent.
silver-feature starts with BOOTSTRAP → ORIENT → SPECIFY → PLAN atoms, executes EXECUTE, then joins post-execution gates (REVIEW_REQUEST → … → SHIP). A failing test or CI run can dynamically insert DEBUG; a UI scope keeps DESIGN_CONTRACT and UI_QUALITY.Per-Instance Workflow Tracker
The active composition tracker lives at .planning/workflows/<id>.md. It is created when a composition begins and updated after every path completes.
What the workflow tracker contains
- Active path — which path is currently executing
- Completed paths — log of paths that have exited successfully, with timestamps
- Deferred improvements — items noted during execution that are not blocking but should be addressed later
- Dynamic insertions — catalog atoms inserted at runtime (e.g.
DEBUGafter a failure) - Composition plan — the full ordered chain proposed at composition time
Why the workflow tracker matters
The per-instance tracker gives both the user and the agent a shared, persistent view of what is happening. If a session is interrupted, .planning/workflows/<id>.md allows the next session to resume from the correct point in the chain without re-running completed paths. It also provides an audit trail for post-hoc review. The retired single-file WORKFLOW.md model is legacy only.
Supervision Loop
Each atomic flow in a composition runs under a local V-loop and parent supervision loop:
- Input contract check — prerequisites, dependency outputs, mutation scope, and selected flow steps are verified before dispatch.
- Subagent execution — the selected atomic flow runs as one subagent work package, and each owned flow step produces local evidence.
- V-gate verification — step V-loops roll up first; then the atomic-flow V-gate verifies and validates the work product against the input that selected it.
- Stall detection — If a path makes no progress for a configured timeout, a stall sentinel is surfaced to break the loop.
- Progress reporting — composition logs record selected atoms, dynamic deviations, subagent dispatch/join status, evidence, and final intent coverage.
VERIFY is non-skippable for delivery. The workflow cannot complete until verification evidence is fresh and rolled up. Even if the user asks to skip it, delivery hooks block premature PR, deploy, release, or completion claims.See Also
- Routing Logic — how
/silverclassifies intent before composing a path chain - Verification Before Completion —
VERIFYand dual-mode quality gates in detail - Artifact Review Assessor — how
REVIEWandREVIEW_TRIAGEhandle findings - Documentation Scheme —
DOCUMENTand the per-instance workflow tracker as project artifacts