# ChronoMind — Product Roadmap > **Product:** ChronoMind — AI-Powered Time Awareness Layer > **Product ID:** `chronomind` (ByteLyst ecosystem) > **Strategy:** Option D — Web PWA (MVP) → SwiftUI (iOS/Watch/Mac) → Android (v2) > **Version:** 2.0 (revised per [roadmap-v2-review.md](roadmap-v2-review.md) audit) > **Created:** February 2026 > **License:** Closed-source app; timer engine library open-source (TBD license) > **See also:** [PRD.md](PRD.md) | [INDUSTRY_RESEARCH.md](INDUSTRY_RESEARCH.md) | [roadmap-v2-review.md](roadmap-v2-review.md) > > **Backend:** Platform-service in `learning_ai_common_plat` (Fastify, port 4003) — reuses 17+ existing modules (auth, subscriptions, stripe, invitations, referrals, settings, flags, telemetry, waitlist, ratelimit, usage, plans, licenses, etc.). Only 4 new modules needed: `timers`, `routines`, `shared-timers`, `households`. --- ## Executive Summary ChronoMind ships in **5 phases over ~6 months**, from web MVP to full cross-platform product: | Phase | Timeline | Platform | Goal | |-------|----------|----------|------| | **Phase 1** | Week 1-2 | Web PWA | Ship MVP — validate core concept | | **Phase 2** | Week 3-5 | Web PWA | Intelligence layer — make it smart | | **Phase 3** | Week 6-9 | iOS + Apple Watch + macOS | Go native — own the wrist | | **Phase 4** | Week 10-14 | All Apple + Web | Context, sync, growth — make it sticky | | **Phase 5** | Week 15-22 | + Android + Wear OS | Full platform — scale to everyone | **North star metric:** Daily Active Users who set a timer with pre-warnings enabled. --- ## Architecture Overview ``` ┌──────────────────────────────────────────────────────────────────────────┐ │ ChronoMind Architecture │ ├──────────────────────────────────────────────────────────────────────────┤ │ │ │ Track 1: Web (Next.js 16) Track 2: Apple (SwiftUI) │ │ ───────────────────────── ──────────────────────── │ │ src/lib/timer-engine.ts ──port──→ Shared/TimerEngine/*.swift │ │ src/lib/cascade.ts ──port──→ Shared/TimerEngine/Cascade.swift│ │ src/lib/recurrence.ts ──port──→ Shared/TimerEngine/Recurrence. │ │ src/lib/store.ts (Zustand+IDB) Shared/Store/ (SwiftData) │ │ src/components/ (React) ChronoMind/ (iOS SwiftUI) │ │ ChronoMindWatch/ (watchOS) │ │ ChronoMindMac/ (macOS menu bar) │ │ │ │ Track 3: Android (v2) │ │ ────────────────────── │ │ TimerEngine/*.kt (Kotlin port) │ │ UI: Jetpack Compose │ │ Watch: Wear OS + Glance widgets │ │ │ │ Shared: Platform-service (Fastify, port 4003) — Cosmos DB sync │ │ Analytics: Platform-service telemetry / Plausible (privacy-first) │ └──────────────────────────────────────────────────────────────────────────┘ ``` --- ## Phase 1: Web MVP — "Make It Work" (Week 1-2) > **Goal:** Ship a functional PWA that validates the core concept — pre-warning cascades make timers actually useful. > **Success criteria:** 10 people use it daily for a week and say "I can't go back to a normal timer." ### Week 1: Foundation + Timer Engine - [ ] **Pre-work (before coding)** - [ ] Register domain: `chronomind.app` or `chronomind.io` (needed for deployment + Universal Links) - [ ] Set up DNS for Vercel deployment - [ ] Low-fi wireframes: timeline, create timer, Pomodoro, alarm overlay (1 day) - [ ] Define urgency level color mapping from `@bytelyst/design-tokens` + ChronoMind product section - [x] **Project scaffold** ([6ac54d7](https://github.com/saravanakumardb1/learning_ai_clock/commit/6ac54d7)) - [x] `npx create-next-app@latest` with Next.js 16, App Router, TypeScript - [x] TailwindCSS v4 setup + Lucide React icons - [x] Zustand store with localStorage persistence ([da4f3b5](https://github.com/saravanakumardb1/learning_ai_clock/commit/da4f3b5)) - [x] ESLint + Vitest config - [x] Basic folder structure: `app/`, `components/`, `lib/` - [x] GitHub Actions CI: lint + typecheck + vitest on PR ([02f9a5f](https://github.com/saravanakumardb1/learning_ai_clock/commit/02f9a5f)) - [ ] Auto-deploy to Vercel on `main` push - [ ] Analytics: platform-service telemetry module (or Plausible as lightweight fallback) - [ ] Track: page views, timer created, timer completed, cascade fired, Pomodoro completed, PWA installed - [x] **Timer engine (`lib/timer-engine.ts`)** ([6ac54d7](https://github.com/saravanakumardb1/learning_ai_clock/commit/6ac54d7)) - [x] `Timer` interface with all fields (id, type, label, urgency, targetTime, duration, cascade, etc.) - [x] Create timer (alarm, countdown, pomodoro) - [x] Start / pause / resume / cancel countdown - [x] Timer state machine: `idle → active → warning → firing → snoozed → dismissed` - [x] `requestAnimationFrame` for UI countdown display (smooth 60fps in active tab) - [ ] `setInterval` in Service Worker for background notification scheduling (30s check) - [x] Both contexts needed: rAF stops when tab hidden, SW runs in background - [x] Unit tests for timer state transitions (23 tests) - [x] **Pre-warning cascade (`lib/cascade.ts`)** ([6ac54d7](https://github.com/saravanakumardb1/learning_ai_clock/commit/6ac54d7)) - [x] Cascade presets (aligned with PRD): Aggressive, Standard, Light, Minimal, None, Custom - [x] Custom cascade builder (user picks intervals) - [x] Cascade scheduler: calculate all warning timestamps from target time - [x] Cascade state tracking: which warnings have fired - [x] Unit tests for cascade calculation edge cases (17 tests) - [x] **Urgency system (`lib/urgency.ts`)** ([6ac54d7](https://github.com/saravanakumardb1/learning_ai_clock/commit/6ac54d7)) - [x] 5 levels: Critical, Important, Standard, Gentle, Passive - [x] Each level maps to: notification style, sound, vibration, visual intensity, snooze behavior - [x] Critical: persistent sound, full-screen overlay, no auto-dismiss - [x] Passive: badge only, no sound - [x] **Dashboard with timer list (`components/Dashboard.tsx`)** ([da4f3b5](https://github.com/saravanakumardb1/learning_ai_clock/commit/da4f3b5)) - [x] Timer list showing all active/upcoming timers sorted by fire time - [x] Color-coded by urgency level - [x] Current time display in header with smooth animation - [x] Pre-warning cascade progress bar on each timer card - [x] Timer cards with full details (countdown, urgency, state, actions) - [x] Empty state: "No active timers — Create your first timer" - [x] **Create timer flow (`components/CreateTimerModal.tsx`)** ([da4f3b5](https://github.com/saravanakumardb1/learning_ai_clock/commit/da4f3b5)) - [x] Quick timer: one-tap presets (5m, 15m, 25m, 45m, 1h) via `QuickTimerBar` ([6b46384](https://github.com/saravanakumardb1/learning_ai_clock/commit/6b46384)) - [x] Alarm: time picker, label, urgency selector, cascade preset - [x] Countdown: duration picker (hours, minutes, seconds), label, urgency - [ ] Form validation with Zod - [x] Save to Zustand store → localStorage - [x] **Clock display in header** ([da4f3b5](https://github.com/saravanakumardb1/learning_ai_clock/commit/da4f3b5)) - [x] Current time with AM/PM in header - [x] Date display in header - [x] Next timer countdown shown in tab title - [x] Responsive: compact in app header ### Week 2: Notifications + Polish - [x] **Notifications (`lib/notifications.ts`)** ([da4f3b5](https://github.com/saravanakumardb1/learning_ai_clock/commit/da4f3b5)) - [x] Request notification permission on first timer creation - [ ] Service Worker registration via Serwist (`@serwist/next`) - [x] Schedule pre-warning notifications at cascade timestamps - [x] Different notification styles per urgency (title, body, icon, sound tag) - [x] Notification click → open app to timer detail - [ ] Fallback: in-app toast if notifications denied - [ ] **Sound system (`lib/sounds.ts`)** - [ ] Web Audio API setup with AudioContext - [ ] 5 built-in alarm sounds (gentle chime, standard beep, urgent siren, critical alarm, soft bell) - [ ] Volume mapping per urgency level - [ ] Sound preview in settings - [ ] Graceful fallback if audio blocked by browser - [x] **Tab title countdown** (integrated in `Dashboard.tsx`) ([da4f3b5](https://github.com/saravanakumardb1/learning_ai_clock/commit/da4f3b5)) - [x] Show "MM:SS — Label | ChronoMind" in browser tab title - [x] Update every tick for active timer - [ ] Flash title when timer fires - [x] Restore original title when no active timers - [x] **Alarm overlay (`components/AlarmOverlay.tsx`)** ([da4f3b5](https://github.com/saravanakumardb1/learning_ai_clock/commit/da4f3b5)) - [x] Full-screen overlay for CRITICAL urgency - [x] Pulsing animation - [x] Large "Dismiss" button (with confirmation for Critical) - [x] "Snooze 5m / 15m" buttons - [x] Cannot be accidentally dismissed (Critical requires "Confirm Dismiss") - [x] **Pomodoro timer (`components/PomodoroView.tsx`)** ([6b46384](https://github.com/saravanakumardb1/learning_ai_clock/commit/6b46384)) - [x] Work/break cycle configuration (default: 25m work, 5m break, 4 rounds, 15m long break) - [x] Visual progress ring showing time remaining (`CountdownRing.tsx`) - [x] Round counter (e.g., "Round 2 of 4") with dot indicators - [x] Auto-transition between work and break - [ ] Session complete celebration - [x] **Dark + light theme** ([2a4d66f](https://github.com/saravanakumardb1/learning_ai_clock/commit/2a4d66f)) - [ ] System preference detection (`prefers-color-scheme`) - [x] Manual toggle in header (Sun/Moon icon) - [x] Theme persisted to localStorage - [x] All components themed via CSS custom properties (`--cm-*`) - [x] **PWA setup** (partial) ([ace036b](https://github.com/saravanakumardb1/learning_ai_clock/commit/ace036b)) - [ ] Serwist service worker configuration - [x] Web app manifest (name, icons, theme color, display: standalone) - [ ] Offline support: app shell cached, timers work offline - [ ] Install prompt UI ("Add to home screen" banner) - [x] PWA metadata in layout (apple-web-app-capable, theme-color) - [x] **Keyboard shortcuts** ([6b46384](https://github.com/saravanakumardb1/learning_ai_clock/commit/6b46384)) - [x] `N` — new timer - [x] `Q` — quick timer modal - [x] `Space` — start/pause active timer - [x] `Esc` — dismiss alarm / close modal - [x] `?` — show shortcuts overlay - [x] **Landing page (`app/landing/page.tsx`)** ([ace036b](https://github.com/saravanakumardb1/learning_ai_clock/commit/ace036b)) - [x] Hero: tagline "Never be caught off-guard again" - [x] 6 key features with icons (Pre-warnings, Timeline, Urgency, Pomodoro, Smart Defaults, Privacy) - [x] "Try it now" button → app dashboard (no signup needed) - [x] Social proof section (placeholder for neurodivergent community) - [x] Footer: links, GitHub, privacy - [x] Privacy policy page (`/privacy`) - [x] Terms of service page (`/terms`) - [ ] **First-run onboarding** - [ ] 3-step walkthrough: create timer → set cascade → see timeline - [ ] "Create your first timer" prompt on empty dashboard - [ ] Tooltip hints on cascade and urgency pickers - [ ] **Feedback mechanism** - [ ] Feedback button in app (opens email or form) - [ ] Bug report button with auto-attached browser info - [ ] **Web accessibility (WCAG 2.1 AA)** - [ ] Keyboard navigation works for all flows - [ ] Screen reader tested (NVDA/VoiceOver) on timeline and timer creation - [ ] Focus indicators on all interactive elements - [ ] Sufficient color contrast for all urgency levels - [ ] **Timer accuracy tests** - [ ] Timing accuracy: create timer for T+5s, verify fires within 100ms tolerance - [ ] Service Worker notification timing tests - [ ] Stress test: 50 concurrent timers with cascades → all fire correctly - [ ] **Offline resilience strategy** - [ ] Document SW lifecycle: timers survive SW termination via IndexedDB timestamps + SW `periodicsync` - [ ] Background sync queue for analytics events - [ ] IndexedDB size limit handling (warn user, purge old history) - [ ] "Tab must be open for notifications" disclaimer for iOS Safari ### Phase 1 Exit Criteria - [ ] PWA installs and works offline on Chrome, Safari, Firefox - [ ] Timer fires with cascade pre-warnings at correct times - [ ] Notifications work on desktop Chrome, Android Chrome - [ ] iOS Safari: tab title countdown works (notification best-effort) - [ ] Pomodoro completes full 4-round session correctly - [ ] Lighthouse PWA score > 90 - [ ] Page load < 2 seconds - [ ] All Vitest unit tests pass - [ ] Deployed to Vercel with custom domain - [ ] CI/CD pipeline running (GitHub Actions + Vercel auto-deploy) - [ ] Analytics tracking timer creation and cascade engagement - [ ] WCAG 2.1 AA: keyboard nav + screen reader tested - [ ] Privacy policy published at `/privacy` - [ ] 5 beta testers using it daily (measured via analytics) --- ## Phase 2: Intelligence — "Make It Smart" (Week 3-5) > **Goal:** Add the features that make ChronoMind irreplaceable — routines, NL input, focus mode, gamification. > **Success criteria:** Users create routines and say "This replaced 3 apps for me." ### Week 3: Routines + Linked Timers - [ ] **Routine engine (`lib/routines.ts`)** - [ ] Routine data model: ordered array of steps (label, duration, transition type) - [ ] Transition types: immediate, 1m break, 5m break, custom - [ ] Routine state machine: `ready → step_1_active → step_1_transition → step_2_active → ... → complete` - [ ] Auto-advance between steps with transition notification - [ ] Pause/resume entire routine (pauses current step timer) - [ ] Skip step button - [ ] Unit tests for multi-step routines with transitions - [ ] **Routine editor (`components/RoutineEditor.tsx`)** - [ ] Add/remove/reorder steps (drag-and-drop) - [ ] Per-step: label, duration, urgency, notes - [ ] Routine templates: Morning (5 steps), Evening Wind-down (4 steps), Cooking Prep (3 steps) - [ ] Save routine as template for reuse - [ ] Total duration display (auto-calculated) - [ ] Preview timeline of routine - [ ] **Routine runner (`components/RoutineRunner.tsx`)** - [ ] Full-screen routine execution view - [ ] Current step highlighted with countdown ring - [ ] Next step preview - [ ] Progress bar showing overall routine progress - [ ] Step transition animation (gentle slide) - [ ] "Done early" button to advance - [ ] **Linked timers (`lib/linked-timers.ts`)** - [ ] "When timer A ends, start timer B" relationship - [ ] Chain visualization in timeline - [ ] Linked timer presets: Pasta (boil water → add pasta → start sauce) - [ ] Cancel chain option (cancel one, option to cancel all linked) - [ ] Unit tests for chain execution - [ ] **Natural language input (`components/NLInput.tsx` + `lib/nl-parser.ts`)** - [ ] Integration with `chrono-node` for date/time parsing - [ ] Examples: "Standup in 30 minutes", "Wake up at 6:30am tomorrow", "Remind me at 3pm to call Mom" - [ ] Extract: time, duration, label, urgency hints ("important meeting" → Important) - [ ] Sticky input bar at top of dashboard - [ ] Parse preview: show parsed timer before confirming - [ ] Fallback: if parse fails, open manual create form with whatever was understood - [ ] Unit tests for 20+ natural language patterns ### Week 4: Focus Mode + Stats - [ ] **Focus mode (`app/(app)/focus/`)** - [ ] Activate focus: choose duration or "until next timer" - [ ] Block all notifications except CRITICAL urgency - [ ] Full-screen focus view with minimal distraction - [ ] Ambient background sound options (rain, white noise, coffee shop) — Web Audio API - [ ] Integration with Pomodoro (focus mode auto-activates during work intervals) - [ ] Focus session summary on completion (time focused, distractions blocked) - [ ] **Contextual pre-warning messages (`lib/context-messages.ts`)** - [ ] Based on timer label, generate helpful prep messages - [ ] Rules engine: "meeting" → "Review your agenda", "flight" → "Check in online", "dentist" → "Leave in X minutes" - [ ] Keyword → message mapping (expandable, no LLM needed) - [ ] Custom messages per timer (user override) - [ ] Show in notification body and on timeline - [ ] **Statistics + streaks (`app/(app)/history/`)** - [ ] Timers created / completed / snoozed / dismissed — daily, weekly, monthly - [ ] On-time rate: % of timers acted on within 2 minutes of firing - [ ] Focus time: total hours in focus/Pomodoro mode - [ ] Current streak: consecutive days with at least 1 completed timer - [ ] Streak freeze: miss a day but keep streak (1 free freeze per week) - [ ] Weekly summary card (shareable — great for social/viral) - [ ] Charts: Recharts (line chart for trends, bar for daily breakdown) - [ ] **Categories / tags** - [ ] Built-in categories: Work, Personal, Health, Cooking, Exercise, Study - [ ] Custom tags - [ ] Filter timeline by category - [ ] Category-specific default urgency and cascade presets - [ ] Color-coded category indicators on timeline - [ ] **Recurring timers (`lib/recurrence.ts`)** - [ ] Recurrence rules: daily, weekday, weekend, weekly, biweekly, monthly, custom (select days) - [ ] Next occurrence calculation - [ ] "Skip next" and "Pause recurring" options - [ ] Recurring timer badge on timeline - [ ] Bulk edit: change all future occurrences - [ ] Unit tests for recurrence edge cases (month boundaries, DST, etc.) ### Week 5: Calendar + Neurodivergent Mode + Polish - [ ] **Calendar .ics import (`lib/calendar-import.ts`)** - [ ] Parse `.ics` file (iCalendar format) - [ ] Import events as alarms with auto-generated cascade - [ ] Subscribe to calendar URL (re-fetch periodically) - [ ] Import preview: show events before confirming - [ ] Conflict detection: warn if imported event overlaps existing timer - [ ] Map calendar event priority to urgency level - [ ] **Neurodivergent-friendly design (DEFAULT UX, not a toggle)** - [ ] Visual countdown ring (`components/CountdownRing.tsx`) - [ ] Large, animated circular countdown (inspired by Time Timer) - [ ] Color transitions: green → yellow → orange → red as time decreases - [ ] Optional: fill vs drain animation style - [ ] Gentle transition alerts (soft chime + visual pulse, not jarring alarm) - [ ] Reduced cognitive load: hide advanced options by default, progressive disclosure - [ ] Time blindness aids: "This is about as long as [familiar reference]" (e.g., "25 min — one TV episode") - [ ] Body doubling placeholder: "Focus with others" room (v3 feature, show coming soon) - [ ] Toggle in settings: "Compact mode" for power users who want dense UI (the DEFAULT is already neurodivergent-friendly per PRD decision #7) - [ ] **Prep time intelligence** - [ ] Per-timer: "I need X minutes to prepare" - [ ] Auto-generates a prep warning: "Start preparing now — your meeting is in 20 minutes" - [ ] Prep time shown on timeline as a colored block before the timer - [ ] Smart defaults based on category (meeting → 10m, flight → 2h, cooking → 15m) - [ ] **Adaptive snooze learning (`lib/adaptive-snooze.ts`)** - [ ] Track snooze patterns per timer/category - [ ] After 5+ data points: "You always snooze your morning alarm 3 times. Set it 15 minutes later?" - [ ] Suggestion shown as dismissable card on dashboard - [ ] Accept → auto-adjusts recurring timer - [ ] **Event countdown timer** - [ ] Days/hours until a future date with milestone warnings (30 days, 7 days, 1 day, etc.) - [ ] Timer type `event` in data model (matching PRD feature #26) - [ ] Visual: large countdown display with milestone progress bar - [ ] Use cases: "132 days until wedding", "47 days until vacation" - [ ] **Timer export / import (local backup)** - [ ] "Export timers" → JSON download of all timers, routines, stats - [ ] "Import timers" → upload JSON to restore - [ ] Warning: "Your timers are stored locally. Export regularly or enable cloud sync (coming in v1.1)." - [ ] **iOS waitlist** - [ ] Waitlist signup on web landing page ("Get notified when iOS launches") - [ ] Use platform-service `waitlist` module (already exists) when backend is connected - [ ] Fallback: simple email collection form - [ ] **Timer history (`app/(app)/history/`)** - [ ] Searchable log of all past timers - [ ] Filter by category, urgency, date range - [ ] "Repeat" button to recreate a past timer - [ ] Export as CSV - [ ] **Playwright E2E tests** - [ ] Create alarm → verify it appears on timeline - [ ] Create countdown → verify it counts down → fires notification - [ ] Create routine → run through all steps - [ ] Pomodoro → complete 4 rounds - [ ] NL input → verify parsing - [ ] PWA install flow ### Phase 2 Exit Criteria - [ ] Routines work end-to-end (create, run, complete, save as template) - [ ] NL input successfully parses 80%+ of natural time expressions - [ ] Focus mode blocks notifications during session - [ ] Streak tracking persists across sessions - [ ] Calendar .ics import works with Google Calendar exports - [ ] Neurodivergent mode is default and noticeably gentler than previous - [ ] All E2E tests pass in CI - [ ] 25+ beta testers, 3+ using routines daily - [ ] ProductHunt submission prepared (web) — App Store prep moved to Phase 3 --- ## Phase 3: Apple Native — "Own the Wrist" (Week 6-9) > **Goal:** Ship native iOS + Apple Watch apps. macOS deferred to Phase 4 (4 weeks for iOS + Watch + Live Activities is already aggressive). > **Success criteria:** Apple Watch complications are the #1 reason users love ChronoMind. > **Framework decision:** Fully native SwiftUI (NOT KMP) — see [platform analysis in PRD](PRD.md). > **Note:** This phase is 4 weeks, not 3 as PRD states. PRD phases section should be updated to match. ### Week 6: iOS App Foundation - [ ] **Xcode project setup** - [ ] Multi-target Xcode project: ChronoMind (iOS), ChronoMindWatch (watchOS), ChronoMindMac (macOS) - [ ] Shared Swift package: `Shared/` folder included in all targets - [ ] SwiftData for persistence (or Core Data if SwiftData has issues) - [ ] Dependency: none beyond Apple frameworks (zero third-party for v1) - [ ] Minimum deployment: iOS 17, watchOS 10, macOS 14 - [ ] **Timer engine Swift port (`Shared/TimerEngine/`)** - [ ] `Cascade.swift` — port from `cascade.ts` - [ ] `Urgency.swift` — port from `urgency.ts` - [ ] `Recurrence.swift` — port from `recurrence.ts` - [ ] `Scheduler.swift` — port from `timer-engine.ts` - [ ] `NLParser.swift` — port from `nl-parser.ts` (use NSDataDetector + custom patterns) - [ ] `ContextMessages.swift` — port from `context-messages.ts` - [ ] XCTest unit tests mirroring all Vitest tests from web - [ ] **Estimated effort: 2-3 days** (~500-800 lines, logic is pure computation) - [ ] **Data models (`Shared/Models/`)** - [ ] `CMTimer` — SwiftData model matching web Timer interface - [ ] `CMRoutine` + `CMRoutineStep` - [ ] `CMCategory` - [ ] `CMTimerHistory` - [ ] `CMUserPreferences` - [ ] All models tagged with `@Model` for SwiftData - [ ] **iOS screens** - [ ] `TimelineView` — vertical timeline (main screen, tab 1) - [ ] `CreateTimerView` — alarm, countdown, pomodoro creation - [ ] `QuickTimerSheet` — bottom sheet with one-tap presets - [ ] `RoutineListView` + `RoutineRunnerView` - [ ] `FocusView` — focus/Pomodoro session - [ ] `HistoryView` — past timers, stats, streaks - [ ] `SettingsView` — preferences, categories, sounds, neurodivergent mode - [ ] Tab navigation: Timeline | Focus | History | Settings - [ ] **Notification scheduling (`Shared/Notifications/`)** - [ ] `UNUserNotificationCenter` for all pre-warnings - [ ] Schedule cascade notifications when timer is created - [ ] Critical alerts: request `.criticalAlert` authorization for CRITICAL urgency - [ ] Time Sensitive notifications for Important urgency - [ ] Custom notification sounds per urgency - [ ] Notification actions: Snooze 5m, Snooze 15m, Dismiss - [ ] Reschedule all notifications when timer is modified - [ ] **Haptic engine** - [ ] `UIImpactFeedbackGenerator` for pre-warning taps - [ ] Escalating haptic pattern matching urgency (gentle → standard → heavy) - [ ] Continuous haptic for Critical alarm (repeating pattern until dismissed) ### Week 7: Apple Watch + Widgets - [ ] **Apple Watch app (`ChronoMindWatch/`)** - [ ] `WatchTimelineView` — compact timeline for wrist - [ ] `WatchTimerDetailView` — current timer with countdown ring - [ ] `WatchQuickTimerView` — one-tap presets on Watch - [ ] Digital Crown: scroll through upcoming timers - [ ] Haptic pre-warnings on wrist (gentle tap for early warnings, prominent for final) - [ ] Dismiss/snooze directly from Watch - [ ] **Watch complications** - [ ] `WidgetKit` complications for Watch faces - [ ] Circular: countdown to next timer - [ ] Rectangular: next timer label + time remaining - [ ] Inline: "Standup in 14m" - [ ] Corner: countdown ring - [ ] Update complications via `WidgetCenter.shared.reloadAllTimelines()` - [ ] **Live Activities + Dynamic Island** - [ ] `ActivityKit` Live Activity for active countdown/Pomodoro - [ ] Dynamic Island compact: timer name + countdown - [ ] Dynamic Island expanded: countdown ring + snooze/dismiss buttons - [ ] Lock Screen Live Activity: full countdown with cascade progress - [ ] Auto-start Live Activity when timer enters final 30 minutes - [ ] End Live Activity when timer is dismissed - [ ] **iOS widgets (`WidgetKit`)** - [ ] Small widget: next timer countdown - [ ] Medium widget: next 3 timers list - [ ] Large widget: mini timeline - [ ] Lock Screen widget: next timer inline - [ ] Widget tap → deep link to timer in app - [ ] Timeline provider: update every 5 minutes + on timer change - [ ] **Siri Shortcuts** - [ ] "Set a timer for 25 minutes" → creates countdown - [ ] "Start my morning routine" → starts saved routine - [ ] "What's my next timer?" → speaks next timer info - [ ] App Intents framework for iOS 17+ - [ ] Shortcuts app integration ### Week 8: AI Reschedule + Gamification > **Note:** macOS menu bar app deferred to Phase 4 (Week 10-11). Phase 3 focuses on iOS + Watch quality. - [ ] **AI reschedule** - [ ] "I slept in 30 minutes" → shift all morning timers by 30m - [ ] "Skip my next timer" → remove + adjust linked/dependent timers - [ ] "Push everything back 1 hour" → bulk shift - [ ] Smart suggestions: detect when user dismisses alarm late → "Shift your morning by X minutes?" - [ ] Undo reschedule (keep old state for 1 hour) - [ ] **Gamification polish** - [ ] Streak badges: 7-day, 30-day, 100-day - [ ] Focus score: weekly score based on on-time rate + focus hours - [ ] Weekly summary card (shareable image — key for viral growth) - [ ] Gentle celebration animations (confetti for streak milestones, not obnoxious) ### Week 9: iPad + Polish + TestFlight - [ ] **iPad layout** - [ ] iPad sidebar navigation (NavigationSplitView) - [ ] Wider timeline with side panel for timer detail - [ ] Stage Manager / multiple window support (iPadOS 16+) - [ ] **Cross-device continuity** - [ ] Handoff: start timer on Mac, see it on iPhone and Watch - [ ] iCloud sync for timer data (CloudKit) - [ ] Shared UserDefaults via App Groups (iPhone ↔ Watch ↔ Widget) - [ ] **Accessibility** - [ ] VoiceOver: all screens navigable, timer states announced - [ ] Dynamic Type: all text scales - [ ] Reduce Motion: disable animations when system setting is on - [ ] High Contrast mode support - [ ] **XCTest + XCUITest** - [ ] Unit tests for timer engine (mirroring web Vitest tests) - [ ] Unit tests for cascade, recurrence, NL parser - [ ] UI tests: create timer → verify timeline → fire → dismiss - [ ] Widget snapshot tests - [ ] **TestFlight** - [ ] Internal build: team testing - [ ] External beta: 100 testers via TestFlight link - [ ] Crash reporting: built-in MetricKit - [ ] Feedback form in Settings - [ ] App Store submission prepared (screenshots, description, keywords, preview video) ### Phase 3 Exit Criteria - [ ] iOS app installs and all features work on iPhone 14+ (iOS 17) - [ ] iPad layout works with sidebar navigation (iPadOS 16+) - [ ] Apple Watch complications update correctly on Watch Series 8+ (watchOS 10) - [ ] Live Activities show on Dynamic Island and Lock Screen - [ ] Widgets update on home screen and lock screen - [ ] Siri Shortcuts work for top 3 use cases - [ ] AI reschedule correctly shifts timers - [ ] All XCTests and XCUITests pass - [ ] TestFlight beta: 100 external testers, crash-free rate > 99% - [ ] App Store submission prepared and submitted (screenshots, description, keywords, preview video) - [ ] macOS deferred to Phase 4 --- ## Phase 4: Context & Growth — "Make It Sticky" (Week 10-14) > **Goal:** macOS menu bar, calendar sync, location awareness, cloud sync, and viral growth mechanics. > **Success criteria:** Users say "ChronoMind knows my schedule better than I do." ### Week 10-11: macOS + Calendar + Location - [ ] **macOS menu bar app (`ChronoMindMac/`)** — deferred from Phase 3 - [ ] Menu bar icon: shows countdown of next timer - [ ] Click → popover with mini timeline - [ ] Quick timer creation from popover - [ ] Notification center integration (UNUserNotificationCenter) - [ ] Keyboard shortcut: `Cmd+Shift+T` → quick timer - [ ] Share 90%+ code with iOS via Shared/ folder - [ ] **Full calendar sync** - [ ] Google Calendar OAuth 2.0 integration - [ ] Apple Calendar (EventKit) read access - [ ] Outlook Calendar (Microsoft Graph API) integration - [ ] One-way sync: imported events become timers with auto-cascade (read-only — ChronoMind does NOT write back to calendars) - [ ] Conflict resolution: calendar events take priority, manual timers preserved - [ ] Sync frequency: every 15 minutes + on-demand refresh - [ ] Visual distinction: synced events vs manual timers on timeline - [ ] Web: OAuth flow in Next.js API routes - [ ] iOS: EventKit for Apple Calendar, OAuth for Google/Outlook - [ ] **Location-based triggers** - [ ] iOS: CoreLocation geofencing (enter/exit region) - [ ] "Remind me when I leave home" → geofence exit trigger - [ ] "Remind me when I arrive at office" → geofence enter trigger - [ ] Saved locations: Home, Work, Gym (user-configured) - [ ] Privacy-first: all location processing on-device, no server tracking - [ ] Web: use Geolocation API (less reliable, best-effort) - [ ] **Travel time intelligence** - [ ] Apple Maps API (MapKit) for travel time estimates - [ ] "Your dentist appointment is in 45 minutes. Leave now — 28 min drive with current traffic." - [ ] Auto-adjust pre-warning cascade based on real-time travel time - [ ] Transport mode: driving, transit, walking (user preference per timer) - [ ] Web: fallback to static estimate (user enters travel time manually) ### Week 12: Sleep + Wellness - [ ] **Sleep integration** - [ ] Bedtime routine: customizable wind-down sequence - [ ] Smart alarm: set a wake window (e.g., 6:30-7:00) → alarm fires at optimal time - [ ] Sleep tracking via HealthKit (Apple) — read sleep data, don't track directly - [ ] "You slept 6h 20m. Shift your morning by 15 minutes?" (AI reschedule tie-in) - [ ] Wind-down notifications: "Bedtime in 30 minutes — start winding down" - [ ] Blue light reminder: "Consider turning on Night Shift" - [ ] **Mood/energy check-in** - [ ] Quick check-in after completing a timer/routine: 😴 😐 😊 🔥 (4 energy levels) - [ ] Correlate mood with time of day, timer type, sleep data - [ ] Weekly insight: "You're most productive between 9-11 AM" - [ ] Optional: prompt at consistent times (morning, post-lunch, evening) - [ ] All data local — never sent to any server - [ ] **Cloud sync (Apple-only via iCloud, privacy-first)** - [ ] iCloud/CloudKit sync for Apple devices only (iPhone ↔ Mac ↔ Watch) - [ ] Sync scope: timers, routines, categories, preferences, stats - [ ] Conflict resolution: last-write-wins with vector clocks - [ ] Opt-in: works perfectly offline, sync is a bonus - [ ] **Cross-platform sync (web ↔ Android) deferred to Phase 5** via platform-service REST API - [ ] TLS in transit + encrypted at rest in Cosmos DB (E2E encryption deferred — timer data is not sensitive enough to justify complexity) - [ ] Delete account: wipes all cloud data immediately - [ ] **Data export / account deletion (App Store + GDPR requirement)** - [ ] "Export all my data" → JSON download of all timers, routines, stats - [ ] "Delete my account" → wipe all cloud data, revoke tokens - [ ] Required before App Store submission (Apple requirement since 2022) - [ ] **Advanced NL parsing (upgrade path from chrono-node)** - [ ] Define `timer-parse` extraction task in extraction-service (port 4005) - [ ] Classes: `time`, `duration`, `urgency_hint`, `label`, `recurrence` - [ ] Use `@bytelyst/extraction` client for LLM-powered parsing - [ ] Falls back to chrono-node if extraction-service unavailable - [ ] Enables: "Set a critical alarm for my dentist next Tuesday at 2pm with 1 hour warning and 30 min travel time" ### Week 13-14: Viral Growth Mechanics - [ ] **Shareable weekly summary** - [ ] Auto-generated card: "This week: 47 timers completed, 12h focused, 14-day streak 🔥" - [ ] Beautiful design (dark bg, accent colors, ChronoMind branding) - [ ] Share to: Instagram Stories, Twitter/X, LinkedIn, iMessage - [ ] Deep link back to ChronoMind (UTM tracked) - [ ] **This is the #1 viral mechanic — make it irresistible to share** - [ ] **Shareable timer** - [ ] Create a timer and share link: "chronom.ind/t/abc123" - [ ] Recipient opens link → timer auto-added to their ChronoMind - [ ] Use case: "Here's the pasta recipe timing" / "Here's our meeting prep timer" - [ ] Web link works without app (PWA fallback) - [ ] iOS: Universal Link → opens app directly - [ ] **Referral program** - [ ] "Invite a friend → both get 1 month Pro free" - [ ] Unique referral code per user - [ ] Track referral chain - [ ] Show referral count in profile - [ ] **ProductHunt launch prep** - [ ] Maker profile + product page - [ ] Launch video (30s demo: create timer → cascade fires → Watch notification) - [ ] 5 key screenshots (timeline, Watch, Dynamic Island, routine, focus) - [ ] First comment prepared (story of why this exists) - [ ] Schedule for Tuesday 12:01 AM PT (optimal PH launch time) - [ ] **App Store Optimization (ASO)** - [ ] Keywords: "smart timer", "pre-warning alarm", "visual timeline", "focus timer", "routine timer", "ADHD timer", "pomodoro" - [ ] 10 screenshots: iPhone (6.7" + 6.1"), iPad, Apple Watch, Mac - [ ] App preview video (15-30s) - [ ] Subtitle: "Smart Pre-Warning Timer & Routines" - [ ] Category: Productivity (primary), Lifestyle (secondary) - [ ] **Content marketing** - [ ] Blog post: "Why I Built ChronoMind — The Timer App That Understands Urgency" - [ ] Twitter/X thread: "I analyzed every timer app. Here's what they all get wrong. 🧵" - [ ] Reddit posts: r/productivity, r/ADHD, r/apple, r/webdev - [ ] Hacker News: "Show HN: ChronoMind — AI-powered pre-warning timer (PWA + iOS)" - [ ] YouTube: 3-minute walkthrough video - [ ] **SEO landing page** - [ ] Target pages: "best timer app 2026", "ADHD timer app", "pre-warning alarm app" - [ ] Comparison pages: "ChronoMind vs Tiimo", "ChronoMind vs Structured" - [ ] Blog with timer/productivity tips (SEO content) ### Phase 4 Exit Criteria - [ ] macOS menu bar app works on macOS 14+ (deferred from Phase 3) - [ ] Calendar sync works with Google, Apple, Outlook calendars (one-way) - [ ] Location triggers fire reliably (iOS geofencing) - [ ] Travel time estimates adjust pre-warning cascade - [ ] Sleep data integration working via HealthKit - [ ] Data export and account deletion functional - [ ] Weekly summary card shareable to 3+ social platforms - [ ] Shareable timer links work (web + iOS universal link) - [ ] ProductHunt page live, launch scheduled - [ ] App Store listing approved and live - [ ] 500+ users (web + iOS combined) - [ ] 4.5+ star rating on App Store (from beta testers) --- ## Phase 5: Android + Scale — "Reach Everyone" (Week 15-22) > **Goal:** Ship Android + Wear OS, shared timers, and reach product-market fit. > **Success criteria:** 5,000 MAU, 4.5+ stars on both App Store and Play Store. ### Week 15-17: Android App - [ ] **Android project setup** - [ ] Jetpack Compose + Material 3 + Kotlin - [ ] Room database (mirroring SwiftData schema) - [ ] Hilt for dependency injection - [ ] Minimum SDK: API 26 (Android 8.0) - [ ] Gradle version catalog for dependency management - [ ] **Timer engine Kotlin port (`TimerEngine/`)** - [ ] Port from Swift (which was ported from TypeScript) — all same logic - [ ] `Cascade.kt`, `Urgency.kt`, `Recurrence.kt`, `Scheduler.kt`, `NLParser.kt` - [ ] JUnit5 tests mirroring XCTest and Vitest tests - [ ] **Estimated effort: 2-3 days** (same as Swift port) - [ ] **Android screens (Jetpack Compose)** - [ ] `TimelineScreen` — vertical timeline - [ ] `CreateTimerScreen` — alarm, countdown, Pomodoro - [ ] `RoutineScreen` — list + runner - [ ] `FocusScreen` — focus/Pomodoro session - [ ] `HistoryScreen` — stats, streaks, history - [ ] `SettingsScreen` — preferences, categories, neurodivergent mode - [ ] Bottom navigation matching iOS tab structure - [ ] **Android notifications** - [ ] `AlarmManager` for exact alarm scheduling (pre-warnings) - [ ] Notification channels per urgency level - [ ] Full-screen intent for CRITICAL urgency - [ ] Notification actions: Snooze, Dismiss - [ ] Foreground service for active countdown display - [ ] `SCHEDULE_EXACT_ALARM` permission handling (Android 12+) - [ ] **Android widgets** - [ ] Glance widgets (Jetpack Glance) - [ ] Small: next timer countdown - [ ] Medium: next 3 timers - [ ] Large: mini timeline - [ ] Widget tap → deep link to timer - [ ] **Android-specific features** - [ ] Quick Settings tile: one-tap to create quick timer - [ ] Persistent notification during active timer - [ ] DND integration: timer-aware Do Not Disturb - [ ] Google Calendar integration (CalendarContract) ### Week 18-19: Wear OS + Polish - [ ] **Wear OS app** - [ ] Compose for Wear OS - [ ] `WearTimelineScreen` — scrollable timeline - [ ] `WearTimerScreen` — countdown with rotary input - [ ] Tile: next timer complication - [ ] Haptic pre-warnings - [ ] Dismiss/snooze from wrist - [ ] **Cross-platform cloud sync (via platform-service)** - [ ] Sync API: platform-service REST endpoints for timer CRUD + sync (`productId: "chronomind"`) - [ ] JWT authentication via @bytelyst/auth (reuse existing module) - [ ] TLS in transit + encrypted at rest in Cosmos DB - [ ] Sync protocol: last-write-wins with conflict detection - [ ] Works across: Web ↔ iOS ↔ macOS ↔ Android (replaces Phase 4 iCloud-only sync) - [ ] Account creation: Apple Sign-In / Google Sign-In (email/password requires platform-service Email Delivery + Password Reset — may not be ready) - [ ] Register `chronomind` as product in platform-service products module ### Week 20-21: Shared Timers + Social - [ ] **Shared timers (Family/Household)** - [ ] Create a "household" group (invite via link) - [ ] Shared timers visible to all household members - [ ] Real-time sync: one person starts timer, everyone sees it - [ ] Use cases: "Dinner in 30 minutes", "Leave for school in 15 min" - [ ] Per-timer: shared vs private toggle - [ ] Household admin: manage members, remove shared timers - [ ] Up to 6 members per household (Family tier) - [ ] **Body doubling / shared focus (deferred to v3)** - [ ] _Experimental feature requiring real-time infrastructure (Event Bus). Defer until platform gap component 2.4 is built._ - [ ] v3 scope: "Focus room" — virtual co-working, see others' timers (anonymized), shared ambiance - [ ] **API + webhooks** - [ ] REST API: CRUD timers, routines, categories - [ ] API key authentication - [ ] Webhook: `timer.fired`, `timer.dismissed`, `routine.completed` - [ ] Use cases: Zapier integration, smart home triggers - [ ] Rate limiting: 100 requests/minute per API key - [ ] **Smart Home integration** - [ ] Webhook-based triggers to HomeKit/Alexa/Google Home - [ ] "When wind-down routine starts → dim lights to 30%" - [ ] "When morning alarm fires → turn on coffee machine" - [ ] Shortcuts integration (iOS) for HomeKit scenes - [ ] IFTTT applet for cross-platform home automation ### Week 22: Launch + Scale - [ ] **Google Play launch** - [ ] Play Store listing (screenshots, description, video) - [ ] Play Store Optimization (similar keywords as App Store) - [ ] Internal testing → Open testing → Production - [ ] Crash reporting: Firebase Crashlytics - [ ] **Monetization activation** - [ ] Free tier: all core features, local storage, Pomodoro, routines - [ ] Pro tier ($3.99/mo or $29.99/yr): cloud sync, calendar integration, custom sounds, AI reschedule, advanced stats, location triggers - [ ] Family tier ($5.99/mo): shared timers (up to 6 members), household coordination - [ ] Stripe integration (web), StoreKit 2 (iOS), Google Play Billing (Android) - [ ] Paywall: soft — show feature, explain it's Pro, easy upgrade - [ ] 7-day free trial for Pro - [ ] **Voice control (v2 feature)** - [ ] In-app voice: "Push everything back 30 minutes" - [ ] Siri Shortcuts (already done in Phase 3) - [ ] Google Assistant Actions - [ ] Alexa Skill (stretch goal) - [ ] **Performance + scale** - [ ] Web: Core Web Vitals all green - [ ] iOS: 60fps animations, < 50MB app size - [ ] Android: 60fps, < 40MB APK - [ ] Watch: complications update within 15 minutes - [ ] Sync API: < 200ms p99 latency - [ ] 10,000 MAU target infrastructure ### Phase 5 Exit Criteria - [ ] Android app live on Google Play, 4.5+ stars - [ ] Wear OS app functional on Pixel Watch / Galaxy Watch - [ ] Cross-platform sync working (web ↔ iOS ↔ Android) - [ ] Shared timers working for households (up to 6 members) - [ ] API + webhooks functional for automation - [ ] Monetization: Pro + Family tiers active, > 5% conversion rate - [ ] 5,000+ MAU across all platforms - [ ] < 0.1% crash rate on all platforms - [ ] Customer support: < 24h response time --- ## Success & Viral Playbook ### Metrics That Matter | Metric | MVP Target (Phase 1-2) | v1 Target (Phase 3-4) | v2 Target (Phase 5) | |--------|------------------------|----------------------|---------------------| | **PWA installs** | 100 | 500 | 2,000 | | **DAU** | 50 | 200 | 1,000 | | **MAU** | 150 | 1,000 | 5,000 | | **DAU/MAU ratio** | > 33% | > 50% | > 50% | | **Timers created/week** | 500+ | 5,000+ | 25,000+ | | **Pre-warning usage** | > 60% of timers | > 70% | > 75% | | **Routine creation** | > 20% of users | > 30% | > 35% | | **7-day retention** | > 30% | > 40% | > 50% | | **30-day retention** | > 15% | > 25% | > 30% | | **App Store rating** | — | 4.5+ | 4.5+ | | **Pro conversion** | — | > 3% | > 5% | | **Streak > 7 days** | — | > 15% of users | > 25% | | **Shared summary** | — | > 10% weekly | > 20% | | **Snooze rate** | < 40% | < 30% | < 25% | ### Viral Growth Loops ``` Loop 1: Weekly Summary Share User completes week → Beautiful summary card generated → Shares to social → Friend sees → Clicks link → Downloads ChronoMind → Repeat Loop 2: Shared Timer User creates timer → Shares link with friend/family → Friend opens link → Timer auto-added → Friend discovers app → Downloads → Repeat Loop 3: Household Invite User activates Family plan → Invites household → Members join → Members invite THEIR friends → Organic growth Loop 4: Content / SEO User writes about experience → Blog/Reddit/Twitter → Organic search → New user finds ChronoMind → Downloads → Repeat ``` ### What Makes ChronoMind Go Viral 1. **The "aha" moment** — First time a pre-warning fires and user thinks "I would have been late without this." Target: within first 24 hours of use. 2. **Shareable summaries** — Weekly stats card must be *beautiful* enough that users *want* to share it. Design it like a Spotify Wrapped card. Include streak count, focus hours, on-time rate. 3. **Apple Watch as walking billboard** — When someone glances at their Watch and sees a ChronoMind complication, their friend asks "What's that?" Word of mouth. 4. **Routine templates** — "I use ChronoMind's Morning Routine template and it changed my life" → shareable templates that spread. 5. **Neurodivergent community** — The ADHD community is vocal and supportive online. If ChronoMind genuinely helps with time blindness, they'll evangelize it. Target: r/ADHD, ADHD TikTok, ADHD Twitter. 6. **ProductHunt launch** — Target top 5 on launch day. Prepare months in advance with a supporter base. 7. **"Replace 3 apps" narrative** — Position ChronoMind as replacing Clock + Pomodoro + Routine app. Users love consolidation stories. ### Pricing Strategy for Growth ``` Phase 1-2 (Web MVP): 100% free — no friction, maximum adoption Phase 3 (iOS launch): 100% free — build App Store momentum and reviews Phase 4 (Growth): Introduce Pro — soft paywall on advanced features Phase 5 (Scale): Pro + Family — monetize power users and households Free forever: Timers, alarms, countdowns, Pomodoro, routines, visual timeline, pre-warnings, neurodivergent mode, stats, streaks, categories, keyboard shortcuts Pro ($3.99/mo): Calendar sync, location triggers, cloud sync, custom sounds, AI reschedule, advanced analytics, travel time, export, priority support Family ($5.99/mo): Everything in Pro + shared timers (6 members), household coordination, family routines ``` --- ## Risk Register | # | Risk | Severity | Phase | Mitigation | |---|------|----------|-------|------------| | 1 | PWA notifications unreliable on iOS | High | 1 | Tab title countdown + native iOS app in Phase 3 | | 2 | Feature creep delays MVP | High | 1-2 | Strict scope: alarm + countdown + Pomodoro only for Phase 1 | | 3 | Apple Watch complications don't update reliably | Medium | 3 | Budget for watchOS debugging; use TimelineProvider with aggressive updates | | 4 | Calendar OAuth complexity | Medium | 4 | Start with .ics import (Phase 2); full OAuth only in Phase 4 | | 5 | Competition adds pre-warnings | Medium | All | Ship fast; cascade + urgency + linked timers is hard to replicate | | 6 | Low App Store visibility | Medium | 3-4 | ASO from day 1; ProductHunt launch; content marketing | | 7 | Sync conflicts across platforms | Medium | 4-5 | Start with iCloud (Apple-only); cross-platform sync in Phase 5 | | 8 | Android notification restrictions (Doze, exact alarms) | Medium | 5 | Use `AlarmManager.setExactAndAllowWhileIdle()`; request permissions | | 9 | User overwhelm — too many features | Medium | 2+ | Progressive disclosure; smart defaults; neurodivergent-friendly default | | 10 | Monetization too early kills growth | Low | 4 | Free for 3 phases; only monetize when PMF is proven | | 11 | Platform-service Email Delivery not ready for Phase 4 accounts | Medium | 4 | Fallback: Apple Sign-In / Google Sign-In only (skip email/password) | | 12 | Platform-service Event Bus not ready for Phase 5 shared timers | Medium | 5 | Fallback: polling (30s interval) instead of real-time push | | 13 | Service Worker termination loses timer state | Medium | 1 | Persist all state to IndexedDB; SW checks timestamps on wake, not in-memory | | 14 | Design token conflict with ByteLyst ecosystem | Low | 1 | ChronoMind gets own product section in token file; shared base, own semantics | --- ## Key Milestones & Dates | Milestone | Target Date | Phase | Celebration | |-----------|-------------|-------|-------------| | **MVP shipped** (web PWA live) | Week 2 | 1 | First 10 users 🎉 | | **Intelligence complete** (routines, NL, focus) | Week 5 | 2 | ProductHunt scheduled | | **iOS + Watch on TestFlight** | Week 9 | 3 | 100 beta testers | | **App Store launch** | Week 10 | 3→4 | ProductHunt same week | | **1,000 MAU** | Week 14 | 4 | Blog post celebrating | | **Android launch** | Week 18 | 5 | Play Store live | | **5,000 MAU** | Week 22 | 5 | Series of viral pushes | | **Monetization live** | Week 20 | 5 | Pro + Family tiers | --- ## Appendix: Tech Stack Summary | Platform | Framework | Key Libraries | Storage | Notifications | |----------|-----------|--------------|---------|---------------| | **Web** | Next.js 16, React 19 | TailwindCSS v4, shadcn/ui, Zustand, Serwist, chrono-node, date-fns, Recharts | IndexedDB (idb) | Web Push + Service Worker | | **iOS** | SwiftUI (iOS 17+) | SwiftData, WidgetKit, ActivityKit, EventKit, CoreLocation | SwiftData | UNUserNotificationCenter | | **watchOS** | SwiftUI (watchOS 10+) | WidgetKit (complications) | App Groups shared | WKExtension notifications | | **macOS** | SwiftUI (macOS 14+) | AppKit (menu bar) | SwiftData (shared via iCloud) | UNUserNotificationCenter | | **Android** | Jetpack Compose | Material 3, Room, Hilt, Glance (widgets), AlarmManager | Room (SQLite) | NotificationManager + AlarmManager | | **Wear OS** | Compose for Wear OS | Tiles, Complications, Rotary Input | Room (shared) | Wearable notifications | | **Sync API** | Platform-service (Fastify 5, port 4003) in `learning_ai_common_plat` | @bytelyst/auth (JWT), @bytelyst/cosmos, @bytelyst/config | Azure Cosmos DB (`productId: "chronomind"`) | Platform-service notifications module | --- ## Appendix B: Cost Estimation | Item | Phase | Monthly Cost | Notes | |------|-------|-------------|-------| | **Vercel (web hosting)** | 1+ | $0 (free tier) | Hobby plan covers MVP easily | | **Domain** | 1+ | ~$12/yr | `.app` or `.io` domain | | **Azure Cosmos DB** | 4+ | ~$25-50/mo | Serverless tier, `productId: "chronomind"` partition | | **Apple Developer Program** | 3+ | $99/yr | Required for App Store + TestFlight | | **Google Play Console** | 5+ | $25 one-time | Required for Play Store | | **Plausible Analytics** | 1+ | $0 (self-hosted) or $9/mo | Or use platform-service telemetry (free) | | **Stripe** | 5+ | 2.9% + 30¢ per transaction | Pro/Family subscription processing | | **Total (Phase 1-3)** | | ~$10/mo | Minimal — mostly free tiers | | **Total (Phase 4-5)** | | ~$75-100/mo | Cosmos DB + domain + Apple program | > **Note:** Platform-service infrastructure (Cosmos DB, AKV, health checks) is shared with LysnrAI. ChronoMind's incremental cost is only additional Cosmos RUs for timer data. --- ## Appendix C: Common Platform Reusability ChronoMind reuses **13 shared packages** and **17+ platform-service modules** from `learning_ai_common_plat`: | Package | ChronoMind Use | Phase | |---------|---------------|-------| | @bytelyst/auth | JWT auth for Pro/Family accounts | 4-5 | | @bytelyst/react-auth | Web dashboard auth context | 4-5 | | @bytelyst/api-client | Web → sync API calls | 4-5 | | @bytelyst/config | Config + `productId: "chronomind"` + AKV | 4-5 | | @bytelyst/cosmos | Cosmos DB for cloud sync, shared timers | 4-5 | | @bytelyst/errors | Typed HTTP errors | 4-5 | | @bytelyst/logger | Server-side structured logging | 4-5 | | @bytelyst/design-tokens | Cross-platform design system | 1+ | | @bytelyst/monitoring | Health-check utilities | 5 | | @bytelyst/blob | Custom alarm sound uploads | 5 | | @bytelyst/extraction | Advanced NL parsing via extraction-service | 4+ | | @bytelyst/testing | Shared test mocks | 4-5 | | @bytelyst/fastify-core | Service app factory | 5 | **New platform-service modules needed (4):** - `timers` — timer CRUD + sync for `productId: "chronomind"` - `routines` — routine CRUD + sync - `shared-timers` — household shared timer management - `households` — household membership + invitations --- ## Appendix D: Key Decisions | # | Decision | Options | Recommendation | Rationale | |---|----------|---------|----------------|-----------| | 1 | Backend stack | Platform-service vs Cloudflare Workers | **Platform-service** | Reuses 17+ existing modules | | 2 | Apple-only sync | CloudKit vs skip until Phase 5 | **CloudKit for Phase 3-4** | Free, fast for Apple-only | | 3 | E2E encryption | Full E2E vs TLS + at-rest | **TLS + at-rest** | Timer data not sensitive enough | | 4 | Real-time shared timers | WebSocket vs SSE vs polling | **SSE + polling fallback** | WebSocket overkill for timers | | 5 | Design tokens | Extend bytelyst.tokens.json | **ChronoMind product section** | Shared base, own urgency colors | | 6 | Analytics | Plausible vs PostHog vs telemetry | **Platform-service telemetry** | Free, self-hosted, integrated | | 7 | Phase 3 scope | iOS + Watch + Mac vs iOS + Watch | **iOS + Watch; Mac in Phase 4** | 4 weeks already aggressive | | 8 | Calendar sync | Two-way vs one-way | **One-way (read-only)** | Two-way is fragile | | 9 | Body doubling | Phase 5 vs v3 | **Defer to v3** | Needs Event Bus infrastructure | | 10 | Domain name | chronomind.app vs .io | **Check availability pre-Phase 1** | Needed for deployment | | 11 | Open-source | Full vs closed vs hybrid | **Hybrid: open timer engine lib** | Credibility + community | | 12 | Windows/Tauri | Phase 5 vs Phase 6 vs v3 | **Defer to v3** | Focus on mobile first | | 13 | AKV secrets | Own CHRONO_SECRETS vs share | **Share Cosmos/JWT, own Stripe** | productId partitions data | | 14 | Fonts | ByteLyst (DM Sans) vs own (Inter) | **Own: Inter + JetBrains Mono** | Superior digit rendering | > **Windows/Tauri note:** PRD lists Windows as v2.0 target. Deferred to v3 — insufficient market signal to justify Tauri investment before mobile platforms are stable. Revisit after Phase 5 Android launch.