35 lines
1.2 KiB
Markdown
35 lines
1.2 KiB
Markdown
---
|
|
|
|
description: "Architecture task list template (Contracts & Scaffolding)"
|
|
---
|
|
|
|
# Architecture Tasks: [FEATURE NAME]
|
|
|
|
**Role**: Architect Agent
|
|
**Goal**: Define the "What" and "Why" (Contracts, Scaffolding, Models) before implementation.
|
|
**Input**: Design documents from `/specs/[###-feature-name]/`
|
|
**Output**: Files with `[DEF]` anchors, `@PRE`/`@POST` contracts, and `@RELATION` mappings. No business logic.
|
|
|
|
## Phase 1: Setup & Models
|
|
|
|
- [ ] A001 Create/Update data models in [path] with `[DEF]` and contracts
|
|
- [ ] A002 Define API route structure/contracts in [path]
|
|
- [ ] A003 Define shared utilities/interfaces
|
|
|
|
## Phase 2: User Story 1 - [Title]
|
|
|
|
- [ ] A004 [US1] Define contracts for [Component/Service] in [path]
|
|
- [ ] A005 [US1] Define contracts for [Endpoint] in [path]
|
|
- [ ] A006 [US1] Define contracts for [Frontend Component] in [path]
|
|
|
|
## Phase 3: User Story 2 - [Title]
|
|
|
|
- [ ] A007 [US2] Define contracts for [Component/Service] in [path]
|
|
- [ ] A008 [US2] Define contracts for [Endpoint] in [path]
|
|
|
|
## Handover Checklist
|
|
|
|
- [ ] All new files created with `[DEF]` anchors
|
|
- [ ] All functions/classes have `@PURPOSE`, `@PRE`, `@POST` tags
|
|
- [ ] No "naked code" (logic outside of anchors)
|
|
- [ ] `tasks-dev.md` is ready for the Developer Agent |