slug: user-preferences title: User Preferences API created: 2026-02-08T18:17:02.968042724Z phase: draft phase_history: - phase: draft entered: 2026-02-08T18:17:02.968042724Z artifacts: audit: status: pending path: audit.md design: status: draft path: design.md qa_plan: status: pending 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: 8 tasks: - id: task-001 title: Domain layer - preference types, validation, defaults, and errors status: pending - id: task-002 title: Port layer - PreferenceRepository interface status: pending - id: task-003 title: Adapter layer - in-memory PreferenceRepository for tests status: pending - id: task-004 title: Adapter layer - PostgreSQL PreferenceRepository with schema creation status: pending - id: task-005 title: Service layer - PreferenceService with business logic and tests status: pending - id: task-006 title: Handler layer - GET and PUT preference handlers with tests status: pending - id: task-007 title: Routes, OpenAPI spec, and main.go wiring status: pending - id: task-008 title: Remove example scaffold and verify clean build status: pending