From 60a6825dfd9fd257d68fb48a9f068bf2c07185f3 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Thu, 4 Dec 2025 04:04:57 -0800 Subject: [PATCH] chore: clean up duplicate task-016 files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed auto-generated duplicates that were overwritten. Correct tasks are now task-018 and task-019. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- ...yptID-secrets-and-environment-variables.md | 41 ------------------ ...ate-Cloudflare-D1-cryptid-auth-database.md | 43 ------------------- 2 files changed, 84 deletions(-) delete mode 100644 backlog/tasks/task-016 - Configure-CryptID-secrets-and-environment-variables.md delete mode 100644 backlog/tasks/task-016 - Create-Cloudflare-D1-cryptid-auth-database.md diff --git a/backlog/tasks/task-016 - Configure-CryptID-secrets-and-environment-variables.md b/backlog/tasks/task-016 - Configure-CryptID-secrets-and-environment-variables.md deleted file mode 100644 index f582779..0000000 --- a/backlog/tasks/task-016 - Configure-CryptID-secrets-and-environment-variables.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -id: task-016 -title: Configure CryptID secrets and environment variables -status: To Do -assignee: [] -created_date: '2025-12-04 12:00' -labels: - - infrastructure - - cloudflare - - cryptid - - secrets - - email -dependencies: - - task-015 -priority: high ---- - -## Description - - -Set up the required secrets and environment variables for CryptID email functionality on Cloudflare Workers. - -**Required Secrets:** -- SENDGRID_API_KEY - For sending verification emails -- CRYPTID_EMAIL_FROM - Sender email address (e.g., auth@jeffemmett.com) -- APP_URL - Base URL for verification links (e.g., https://canvas.jeffemmett.com) - -**Configuration:** -- Secrets set for both production and dev environments -- SendGrid account configured with verified sender domain -- Email templates tested - - -## Acceptance Criteria - -- [ ] #1 SENDGRID_API_KEY secret set via wrangler secret put -- [ ] #2 CRYPTID_EMAIL_FROM secret configured -- [ ] #3 APP_URL environment variable set in wrangler.toml -- [ ] #4 SendGrid sender domain verified (jeffemmett.com or subdomain) -- [ ] #5 Test email sends successfully from Worker - diff --git a/backlog/tasks/task-016 - Create-Cloudflare-D1-cryptid-auth-database.md b/backlog/tasks/task-016 - Create-Cloudflare-D1-cryptid-auth-database.md deleted file mode 100644 index f3391f5..0000000 --- a/backlog/tasks/task-016 - Create-Cloudflare-D1-cryptid-auth-database.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -id: task-016 -title: Create Cloudflare D1 cryptid-auth database -status: To Do -assignee: [] -created_date: '2025-12-04 12:00' -labels: - - infrastructure - - cloudflare - - d1 - - cryptid - - auth - - security -dependencies: [] -priority: high ---- - -## Description - - -Create the D1 database on Cloudflare for CryptID authentication system. This is the first step before deploying the email recovery feature. - -**Database Purpose:** -- Store user accounts linked to CryptID usernames -- Store device public keys for multi-device auth -- Store verification tokens for email/device linking -- Enable account recovery via verified email - -**Security Considerations:** -- Emails should be encrypted at rest (Phase 2) -- Public keys are safe to store (not secrets) -- Tokens are time-limited and single-use -- No passwords stored (WebCrypto key-based auth) - - -## Acceptance Criteria - -- [ ] #1 D1 database 'cryptid-auth' created via wrangler d1 create -- [ ] #2 D1 database 'cryptid-auth-dev' created for dev environment -- [ ] #3 Database IDs added to wrangler.toml (replacing placeholders) -- [ ] #4 Schema from worker/schema.sql deployed to both databases -- [ ] #5 Verified tables exist: users, device_keys, verification_tokens -