Spec Router
Workflow
- •Read the user request and identify primary intent.
- •Load
agents/interfaces.mdfirst. - •Select minimal additional files from the routing table.
- •Add
agents/quality.mdwhen behavior changes are requested. - •Add
agents/use-cases.mdwhen acceptance scenarios are needed. - •Keep context small and avoid loading unrelated domains.
Routing Table
- •Architecture or refactor request: load
architecture.md,code.md,quality.md. - •Domain or behavior modeling request: load
domain.md,metadata.md,reconciler.md. - •Repository or path safety request: load
resource-repo.md,metadata.md,quality.md. - •Remote API behavior request: load
resource-server.md,metadata.md,reconciler.md,quality.md. - •Context/config request: load
context-config.md,domain.md,quality.md. - •Secret lifecycle request: load
secrets.md,reconciler.md,quality.md. - •CLI behavior request: load
cli.md,reconciler.md,quality.md. - •Spec-authoring request: load target file and
code.mdfor writing standards.
Guardrails
- •Prefer explicit bounded-context file selection.
- •Avoid guessing behavior not documented in loaded files.
- •Raise contradictions immediately and route to
spec-auditor.