# Phase 4: Polish ## Context Read PROMPT.md for full project requirements and context. This prompt focuses ONLY on Phase 4: Polish. ## Phase Objective Documentation, optimization, testing, and final packaging ## Phase 4 Tasks - [ ] GTD Project Management: Project hierarchy supporting multi-step outcomes with next actions, reference material attachments, notes, and project status tracking. ConnectWise projects with zero tickets surface as planning tasks requiring work breakdown - Acceptance: Projects created with name, description, desired outcome, and domain - [ ] Notifications and Rescheduling Alerts: Real-time notification system via WebSocket, email, and optional webhook when automatic rescheduling occurs due to calendar conflicts, when Waiting For follow-ups are due, or when Tickler items activate - Acceptance: WebSocket push notifications to active browser sessions when tasks reschedule ## 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 4 tasks: ```bash npm run build && npm run test && npm run lint ``` All commands must pass with zero errors. ## Completion When ALL Phase 4 tasks are complete and verified: - All features for this phase pass their acceptance criteria - prd.json shows passes: true for all Phase 4 features - Build, test, and lint all pass Output: PHASE_4_COMPLETE If blocked and cannot proceed: Output: ABORT_BLOCKED