slug: user-preferences title: User Preferences API created: 2026-02-07T23:12:01.063203551Z phase: draft phase_history: - phase: draft entered: 2026-02-07T23:12:01.063203551Z artifacts: audit: status: pending path: audit.md design: status: draft path: design.md qa_plan: status: draft path: qa-plan.md qa_results: status: pending path: qa-results.md review: status: pending path: review.md spec: status: draft path: spec.md tasks: status: draft path: tasks.md total: 6 tasks: - id: task-001 title: Remove example scaffold code status: pending - id: task-002 title: Implement domain layer - preference types, validation, and errors status: pending - id: task-003 title: Implement port interface and PostgreSQL adapter with migration status: pending - id: task-004 title: Implement service layer with business logic and tests status: pending - id: task-005 title: Implement HTTP handlers with auth ownership check and tests status: pending - id: task-006 title: Wire routes, OpenAPI spec, and main.go integration status: pending