# Workflow — Default Development Loop ``` Receive task ↓ Read AI Contract + constitution + architecture + domain ↓ Architecture Check (ADR + file-map + layers) ↓ Choose playbook (add-api / new-page / new-table / …) ↓ Coding (follow patterns + examples) ↓ Commands (build / test / health) ↓ Review (.ai/review.md) ↓ DoD + checklist ↓ Commit (Conventional Commits, one concern) ``` ## Architecture Check questions 1. Does this change reverse an Accepted ADR? If yes → ASK / new ADR. 2. Correct layer? Handler / Service / Repository? 3. Domain words match `.ai/domain.md`? 4. API envelope still `{code,message,data}`? ## Stop conditions - Unclear requirement → ASK FIRST - Need GraphQL / new DB / new auth scheme → write or cite ADR before coding