Enforces a 4-phase architecture design workflow by reading `.arch/state.json` on every request to gate responses by phase. Phase 1 extracts and validates requirements from PRDs; Phase 2 selects architecture patterns and establishes high-level structure; Phase 3 designs and accepts components sequentially; Phase 4 finalises and documents the solution. Use when discussing system design, solution architecture, PRD analysis, component design, technology selection, or architecture patterns — distinct from general coding help by its strict phase-gating, anti-pattern detection, and state-tracked component acceptance.
93
97%
Does it follow best practices?
Impact
89%
1.07xAverage score across 5 eval scenarios
Passed
No known issues
{
"context": "Tests whether the agent correctly follows Phase 3 sequential component design rules: designing only the in_progress component (Auth Service), not touching the pending component (Notification Service), and updating state accurately without jumping to finalization.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Auth Service designed",
"description": "A file at `.arch/components/auth-service.md` (or similar) is produced with substantive Auth Service design content",
"max_score": 20
},
{
"name": "No Notification Service design",
"description": "No file for Notification Service design is produced (e.g. no `.arch/components/notification-service.md`)",
"max_score": 20
},
{
"name": "Auth Service status updated",
"description": "The output `.arch/state.json` updates the Auth Service component's status (e.g. to `awaiting_acceptance` or `accepted`)",
"max_score": 20
},
{
"name": "Notification Service status unchanged",
"description": "The output `.arch/state.json` leaves the Notification Service component status as `pending` — unchanged",
"max_score": 15
},
{
"name": "No finalization transition",
"description": "The output `.arch/state.json` does NOT change `current_phase` to `finalization` — the Notification Service is still pending so finalization is premature",
"max_score": 25
}
]
}