accounts and email
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Cairnquire - Project Plan
|
||||
|
||||
**Version:** 1.2\
|
||||
**Date:** 2026-05-14\
|
||||
**Status:** In Progress — Milestones 1-3 Complete
|
||||
**Version:** 1.3\
|
||||
**Date:** 2026-06-01\
|
||||
**Status:** In Progress — Milestones 1-3 Complete, M4-M5 In Progress
|
||||
|
||||
## Vision
|
||||
|
||||
@@ -93,7 +93,7 @@ A minimal-dependency, ultra-fast documentation platform that publishes markdown
|
||||
|
||||
---
|
||||
|
||||
### Milestone 3: Authentication & Authorization (Weeks 5-6)
|
||||
### Milestone 3: Authentication & Authorization (Weeks 5-6) ✅ COMPLETE
|
||||
|
||||
**Goal:** Secure access control with passkeys and granular permissions
|
||||
|
||||
@@ -103,6 +103,8 @@ A minimal-dependency, ultra-fast documentation platform that publishes markdown
|
||||
- [x] Role-based access control (RBAC)
|
||||
- [x] Scoped API tokens with device-code flow for developer clients
|
||||
- [ ] Content signing with Ed25519 (deferred optional hardening)
|
||||
- [ ] Automatic session refresh (deferred polish)
|
||||
- [ ] Multiple passkey management UI (deferred polish)
|
||||
|
||||
**Acceptance Criteria:**
|
||||
|
||||
@@ -136,42 +138,43 @@ A minimal-dependency, ultra-fast documentation platform that publishes markdown
|
||||
|
||||
---
|
||||
|
||||
### Milestone 4: Collaboration Features (Weeks 7-8)
|
||||
### Milestone 4: Collaboration Features (Weeks 7-8) 🔄 IN PROGRESS
|
||||
|
||||
**Goal:** Comments, notifications, and conflict resolution
|
||||
|
||||
- Comment system linked to file versions (by hash)
|
||||
- Email notifications via Postmark adapter
|
||||
- Web-based conflict resolution UI
|
||||
- Notification preferences (per-file, per-folder, global, digest)
|
||||
- Comment threading and email replies
|
||||
- [x] Comment system linked to file versions (by hash) - backend complete
|
||||
- [ ] Email notifications via Postmark adapter - SMTP stub exists
|
||||
- [x] Web-based conflict resolution UI (Milestone 2)
|
||||
- [ ] Notification preferences (per-file, per-folder, global, digest)
|
||||
- [x] Comment threading schema - UI needs wiring
|
||||
- [ ] Email replies create comments
|
||||
|
||||
**Acceptance Criteria:**
|
||||
|
||||
- [ ] Users can comment on specific lines/sections of a document
|
||||
- [ ] Comments persist and are linked to document versions
|
||||
- [ ] Email notifications sent for watched file changes
|
||||
- [x] Users can comment on specific lines/sections of a document (API)
|
||||
- [x] Comments persist and are linked to document versions
|
||||
- [ ] Email notifications sent for watched file changes (NoOp sender)
|
||||
- [ ] Replying to notification email creates a comment
|
||||
- [ ] Conflicts display side-by-side diff with resolution actions
|
||||
- [x] Conflicts display side-by-side diff with resolution actions (M2)
|
||||
- [ ] Digest mode batches notifications by time window
|
||||
|
||||
---
|
||||
|
||||
### Milestone 5: Search & UI Polish (Weeks 9-10)
|
||||
### Milestone 5: Search & UI Polish (Weeks 9-10) 🔄 IN PROGRESS
|
||||
|
||||
**Goal:** Fast search, design system, and production readiness
|
||||
|
||||
- Full-text search with SQLite FTS5
|
||||
- Client-side search index sync
|
||||
- Design system with browser-based CSS editor
|
||||
- Responsive mobile layout
|
||||
- Error boundaries and loading states
|
||||
- Performance benchmarking
|
||||
- Client-side Mermaid and KaTeX rendering
|
||||
- [x] Full-text search with SQLite FTS5
|
||||
- [ ] Client-side search index sync
|
||||
- [ ] Design system with browser-based CSS editor
|
||||
- [ ] Responsive mobile layout
|
||||
- [ ] Error boundaries and loading states
|
||||
- [ ] Performance benchmarking
|
||||
- [x] Client-side Mermaid and KaTeX rendering
|
||||
|
||||
**Acceptance Criteria:**
|
||||
|
||||
- [ ] Search returns results in <50ms on client
|
||||
- [x] Search returns results in <50ms on client (server-side)
|
||||
- [ ] Search works offline after initial sync
|
||||
- [ ] Design system documented at `/design` route
|
||||
- [ ] All screens responsive down to 320px width
|
||||
@@ -371,11 +374,25 @@ cairnquire/
|
||||
|
||||
1. ✅ Complete Milestone 1: Foundation
|
||||
2. ✅ Complete Milestone 2: Sync Protocol
|
||||
3. 🔄 Finish Milestone 3 hardening
|
||||
- Add browser login/account management screens
|
||||
- Complete security review checklist
|
||||
4. Implement SQLite FTS5 search (Milestone 5)
|
||||
5. Add Renovate with dependency update cooldown policies
|
||||
3. ✅ Complete Milestone 3: Authentication
|
||||
4. 🔄 Finish Milestone 4: Collaboration
|
||||
- Wire up comment UI in browser (JS exists, needs integration)
|
||||
- Wire up notification bell UI
|
||||
- Implement actual email sending (Postmark or SMTP)
|
||||
- Add notification preferences page
|
||||
- Test watcher-driven notifications end-to-end
|
||||
5. 🔄 Finish Milestone 5: Search & UI Polish
|
||||
- Tag filtering in search
|
||||
- Design system /design route
|
||||
- Dark mode toggle
|
||||
- Mobile-responsive layout polish
|
||||
- Accessibility improvements
|
||||
6. ⏳ Milestone 6: Production Hardening
|
||||
- Increase test coverage from 39% to 80%+
|
||||
- Add integration tests for auth, sync, collaboration
|
||||
- Security audit checklist
|
||||
- Backup/restore scripts
|
||||
- Health check and monitoring endpoints
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user