# Phase 1: Foundation ## Context Read PROMPT.md for full project requirements and context. This prompt focuses ONLY on Phase 1: Foundation. ## Phase Objective Project setup, core infrastructure, and initial configuration ## Phase 1 Tasks - [ ] GTD Inbox Capture: Multi-source task capture system that ingests tasks from manual web form, REST API, email (IMAP/Microsoft Graph), and ConnectWise Manage sync into an unprocessed inbox for later GTD clarification - Acceptance: Manual tasks can be submitted via web form quick-add and appear in inbox - [ ] GTD Processing Workflow: Interactive inbox processing interface that guides users through GTD clarification: converting raw inbox items into Next Actions with context tags, Projects, Waiting For items, Someday/Maybe, Reference Material, Tickler items, or Trash - Acceptance: Inbox view displays unprocessed items with processing workflow controls ## Working Instructions 1. Read PROMPT.md to understand the full project context 2. Focus ONLY on the tasks listed above for this phase 3. For each task: - Implement the feature - Write tests - Run: npm run build && npm run test && npm run lint - Update prd.json to set passes: true for completed features - Append progress to progress.txt - Commit with conventional commit message ## Constraints - Always run tests before committing - Never commit failing code - Do not implement features from other phases - Make reasonable decisions - do not ask questions - Update prd.json when features complete ## Verification After completing all Phase 1 tasks: ```bash npm run build && npm run test && npm run lint ``` All commands must pass with zero errors. ## Completion When ALL Phase 1 tasks are complete and verified: - All features for this phase pass their acceptance criteria - prd.json shows passes: true for all Phase 1 features - Build, test, and lint all pass Output: PHASE_1_COMPLETE If blocked and cannot proceed: Output: ABORT_BLOCKED