Architect Router
Use this as the public front door for architecture work. It keeps a stable category-level entry while preserving direct specialist access.
This router should usually do one of two things:
- hand broad architecture work to
architect - send clearly scoped architecture problems straight to the correct specialist lane
Use This Router For
- broad system design requests
- ADR and trade-off questions where the exact architecture lane is unclear
- requests that mix codebase structure, governance, requirements, and agent boundaries
- users who want a stable “architecture front door” instead of remembering many lane names
Do Not Use This Router For
- pure product discovery or delivery coordination
- use
delivery-router
- use
- AI research workflow decisions
- use
research-router
- use
- prompt shaping, docs lookup, or PersonalBrain attachment
- use
knowledge-router
- use
- straightforward implementation or bugfix work without architecture uncertainty
Routing Table
architectUse for broad, ambiguous, or cross-cutting architecture requests that need one architect-grade synthesis and lane selection.architecture-governanceUse for ADRs, trade-offs, architecture decisions, review gates, and governance-oriented recommendations.codebase-architectureUse for existing codebases, module boundaries, dependency direction, modernization, and refactor sequencing.spec-driven-architectureUse when architecture should be derived from PRDs, user flows, acceptance criteria, or greenfield requirements.ddd-clean-architectureUse when domain boundaries, aggregates, bounded contexts, or clean layering are central.agent-systems-architectureUse for agents, tools, memory layers, orchestration, autonomy boundaries, and human approval flows.architecture-docs-reviewUse when the main task is reviewing an RFC, design doc, ADR, diagram, or dependency map.architecture-workbenchUse only as a fallback when the architecture shape is still unclear after the first classification pass.
Decision Rules
- If the request spans multiple architecture concerns, route to
architect. - If the request clearly names a narrow architecture problem, go straight to the lane.
- If the task is really implementation disguised as architecture, say so and avoid unnecessary routing.
- Prefer one primary architecture lane; add a secondary lane only when it materially changes the recommendation.
Direct-Entry Exceptions
Skip this router and use the specialist directly when:
- the user explicitly asks for
architect - the task is plainly one-lane, such as “review this RFC” or “analyze this codebase architecture”
- the user already knows they need agent systems architecture or DDD specifically
Output Contract
Always return:
- architecture problem shape
- chosen lane
- why it is the right lane
- nearby lanes that were considered but rejected
- one concrete next architecture action
Guardrails
- do not hide
architectbehind needless wrapper behavior - do not force architecture framing onto pure coding tasks
- do not multiply lanes when one clear lane is enough
- if architecture is not the current blocker, hand off cleanly
Example Triggers
Use $architect-router to choose the right architecture lane for this problem.使用 $architect-router 看看这个任务该走 architect 总控,还是直接进某个 architecture specialist。Use $architect-router to decide whether this is governance, codebase refactor, spec-driven design, or agent architecture.