docs: create roadmap (4 phases)

Phases:
1. Foundation: Database models and IMAP utilities
2. Account Management: Admin UI for email configuration (ACCT-01 to ACCT-07)
3. Email Ingestion: Sync engine and retention cleanup (SYNC-01 to SYNC-09, RETN-01 to RETN-05)
4. Query Tools: LangChain email analytics (QUERY-01 to QUERY-06)

All v1 requirements mapped to phases.
This commit is contained in:
2026-02-07 13:18:57 -05:00
parent 8a8617887a
commit 38d7292df7
3 changed files with 188 additions and 4 deletions

64
.planning/STATE.md Normal file
View File

@@ -0,0 +1,64 @@
# Project State
## Project Reference
See: .planning/PROJECT.md (updated 2026-02-04)
**Core value:** Personal information retrieval through natural conversation - ask about any aspect of your documented life (papers, finances, meals, emails) and get accurate, context-aware answers.
**Current focus:** Phase 1 - Foundation
## Current Position
Phase: 1 of 4 (Foundation)
Plan: Ready to plan
Status: Ready to plan
Last activity: 2026-02-07 — Roadmap created
Progress: [░░░░░░░░░░] 0%
## Performance Metrics
**Velocity:**
- Total plans completed: 0
- Average duration: N/A
- Total execution time: 0 hours
**By Phase:**
| Phase | Plans | Total | Avg/Plan |
|-------|-------|-------|----------|
| - | - | - | - |
**Recent Trend:**
- Last 5 plans: N/A
- Trend: N/A
*Updated after each plan completion*
## Accumulated Context
### Decisions
Decisions are logged in PROJECT.md Key Decisions table.
Recent decisions affecting current work:
- IMAP only (no SMTP): User wants inbox analytics, not sending capabilities
- Admin-only access: Email is privacy-sensitive, limit to trusted admins
- 30-day retention: Balance utility with privacy/storage concerns
- Scheduled sync: Reduces server load vs real-time polling
- No attachment indexing: Complexity vs value, focus on text content first
- ChromaDB for emails: Reuse existing vector store, no new infrastructure
### Pending Todos
None yet.
### Blockers/Concerns
None yet.
## Session Continuity
Last session: 2026-02-07
Stopped at: Roadmap creation complete
Resume file: None