Archive account-settings change, sync specs

All 37 tasks complete. Synced delta specs to main:
- New: openspec/specs/account-settings/
- Updated: openspec/specs/journal-auth/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-29 22:41:51 +02:00
parent 0150c40631
commit 7e253caf64
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
9 changed files with 161 additions and 179 deletions

View file

@ -1,32 +0,0 @@
## Why
Users have no way to manage their account after registration. There's no
settings page to edit their profile, manage passkeys, change email, or delete
their account. Passkey count currently shows on the home page as a stopgap,
but it belongs in a dedicated settings area.
## What Changes
- **Account settings page** (`/settings`): central place for account management
- **Profile editing**: update display name and bio
- **Email change**: update email with verification via magic link
- **Passkey management**: view registered passkeys (device type, date added),
add new passkeys, delete existing ones
- **Account deletion**: delete account and all associated data with confirmation
- Move passkey status display from home page to settings
## Capabilities
### New Capabilities
- `account-settings`: Settings page with profile, security, and account sections
### Modified Capabilities
- `journal-auth`: Passkey management moves from home page prompt to settings;
add passkey delete functionality
## Impact
- **Files**: New route `apps/journal/app/routes/settings.tsx`, API routes for
profile update, email change, passkey delete, account delete
- **Database**: No schema changes — uses existing users and credentials tables
- **Routes**: Must register new routes in `apps/journal/app/routes.ts`