chore: consolidate new foundation and archive v1 (#1495)

This commit is contained in:
2026-09-07 12:32:57 -05:00
3511 changed files with 727899 additions and 10 deletions
@@ -0,0 +1,30 @@
---
class: technical
---
# Brief: Add User Preferences API Endpoint
## Source PRD
mosaic-stack PRD — Mission Control Dashboard
## Scope
Add a REST endpoint for storing and retrieving user dashboard preferences (layout, theme, sidebar state). This enables the Mission Control dashboard to persist user customization.
## Success Criteria
1. GET /api/users/:id/preferences returns stored preferences (JSON)
2. PUT /api/users/:id/preferences stores/updates preferences
3. Preferences persist across sessions
4. Default preferences returned for users with no stored preferences
5. Only the authenticated user can read/write their own preferences
## Estimated Complexity
Medium — new endpoint, new DB table, auth integration
## Dependencies
- Requires existing auth system (JWT guards)
- Requires existing user entity in database