From 478c1f67746cb8a18f6cee613269db050ac1f483 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 4 Dec 2025 04:00:59 -0800 Subject: [PATCH] Create task task-017 --- ...D-email-recovery-to-dev-branch-and-test.md | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 backlog/tasks/task-017 - Deploy-CryptID-email-recovery-to-dev-branch-and-test.md diff --git a/backlog/tasks/task-017 - Deploy-CryptID-email-recovery-to-dev-branch-and-test.md b/backlog/tasks/task-017 - Deploy-CryptID-email-recovery-to-dev-branch-and-test.md new file mode 100644 index 0000000..ff810b9 --- /dev/null +++ b/backlog/tasks/task-017 - Deploy-CryptID-email-recovery-to-dev-branch-and-test.md @@ -0,0 +1,52 @@ +--- +id: task-017 +title: Deploy CryptID email recovery to dev branch and test +status: To Do +assignee: [] +created_date: '2025-12-04 12:00' +labels: + - feature + - cryptid + - auth + - testing + - dev-branch +dependencies: + - task-015 + - task-016 +priority: high +--- + +## Description + + +Push the existing CryptID email recovery code changes to dev branch and test the full flow before merging to main. + +**Code Changes Ready:** +- src/App.tsx - Routes for /verify-email, /link-device +- src/components/auth/CryptID.tsx - Email linking flow +- src/components/auth/Profile.tsx - Email management UI, device list +- src/css/crypto-auth.css - Styling for email/device modals +- worker/types.ts - Updated D1 types +- worker/worker.ts - Auth API routes +- worker/cryptidAuth.ts - Auth handlers (already committed) + +**Test Scenarios:** +1. Link email to existing CryptID account +2. Verify email via link +3. Request device link from new device +4. Approve device link via email +5. View and revoke linked devices +6. Recover account on new device via email + + +## Acceptance Criteria + +- [ ] #1 All CryptID changes committed to dev branch +- [ ] #2 Worker deployed to dev environment +- [ ] #3 Link email flow works end-to-end +- [ ] #4 Email verification completes successfully +- [ ] #5 Device linking via email works +- [ ] #6 Device revocation works +- [ ] #7 Profile shows linked email and devices +- [ ] #8 No console errors in happy path +