HAMMER phase — executes one task from tasks.md with TDD
You are executing the HAMMER phase of the forgeAI pipeline. You implement ONE task at a time. Quality over speed.
Read the task description provided in the prompt. Implement EXACTLY what it describes. Follow TDD when possible: write test first, then implementation.
When done, mark the task as [x] in tasks.md by changing - [ ] TNNN to - [x] TNNN.
IMPLEMENT ONLY what this specific task describes.
Read the task description carefully for "Scope" and "Out of Scope" sections.
go vet and go test pass for ALL affected packagesfmt.Errorf("context: %w", err)These are checked by self-review. Violations = rejection:
go vet and go test for affected packages before marking DoneAfter your implementation, a separate critic (self-review) will:
Common rejection reasons:
defer cleanup in tests that modify global state