Skip to main content

Project Overview - Living Document

Last Updated: 2025-11-10 Project Status: Design Complete → Ready for Implementation Current Sprint: Q1 2025 MVP - Week 1 of 12


Executive Summary

Project Name: AI-Powered Photo Journaling iOS App Vision: An iOS app that transforms photo moments into meaningful journal entries through AI-powered writing prompts and emotion tracking. Current Status: Design and architecture phases are complete. All handoff documents have been created, and implementation tickets (OVE-52, OVE-53, OVE-54) have been assigned to engineering teams. Ready to begin database, backend, and frontend implementation in parallel. Key Metrics:
  • Active Linear Issues: 54 (10 epics + 41 user stories + 3 implementation epics)
  • Completed Issues: Planning and design phases complete
  • Sprint Progress: 0% implementation (design handoff just completed)
  • Test Coverage: 0% (no code written yet)
  • Production Uptime: N/A (pre-launch)

Project Timeline

Phase 1: Discovery & Planning ✅

  • Product vision defined (OVE-1 - Photo Journaling Vision)
  • PRD completed (OVE-2 - MVP Q1 2025 PRD)
  • Architecture designed (OVE-51 - System Architecture Epic)
  • Status: Complete
  • Completion Date: 2025-11-09

Phase 2: Design ✅

  • Brand guidelines created (Design system with emotion-driven colors)
  • Style guide completed (iOS-native style guide with design tokens)
  • UI designs approved (28 screens across 7 flows)
  • Status: Complete
  • Completion Date: 2025-11-09

Phase 3: Implementation 🚀

  • Database schema implemented (OVE-52 - @dba)
  • Backend APIs developed (OVE-53 - @backend-developer)
  • Frontend UI implemented (OVE-54 - @frontend-developer)
  • Status: In Progress (just started)
  • Completion Date: Week 12 (approximately 2025-02-01)

Phase 4: Quality Assurance

  • Security scan passed (OVE-XX - @app-security-engineer)
  • QA testing complete (OVE-XX - @senior-qa-engineer)
  • Performance optimized (OVE-XX - @senior-qa-engineer)
  • Status: Not Started
  • Completion Date: TBD (after implementation)

Phase 5: Deployment

  • Infrastructure set up (OVE-XX - @devops-engineer)
  • Staging deployed (OVE-XX - @devops-engineer)
  • Production deployed (OVE-XX - @devops-engineer)
  • Status: Not Started
  • Completion Date: TBD (Q1 2025 target)

Active Linear Issues

🔴 High Priority (Implementation Phase - Week 1)

IssueTitleAssigneeStatusAgent
OVE-52[IMPLEMENTATION] Database Schema & MigrationsUnassignedTodo@dba
OVE-53[IMPLEMENTATION] Backend API DevelopmentUnassignedTodo@backend-developer
OVE-54[IMPLEMENTATION] Flutter iOS App DevelopmentUnassignedTodo@frontend-developer

🟡 Medium Priority (Dependencies)

IssueTitleAssigneeStatusAgent
OVE-3Emotion Tagging & Management EpicUnassignedTodoEngineering
OVE-4AI Writing Prompts EpicUnassignedTodoEngineering
OVE-5Photo Storage & Management EpicUnassignedTodoEngineering

🟢 Low Priority (Future Features)

IssueTitleAssigneeStatusAgent
OVE-6Search & Filter EpicUnassignedTodoEngineering
OVE-7Premium Subscription EpicUnassignedTodoEngineering
OVE-8Timeline & Calendar Views EpicUnassignedTodoEngineering

Agent Activity Log

Recent Agent Work

2025-11-10 - @product-designer + @software-architect

  • Linear Issues: OVE-52, OVE-53, OVE-54
  • Work Completed: Created three comprehensive implementation epics with full handoff documentation
  • Files Changed:
    • docs/handoffs/DBA-HANDOFF.md (database schema, migrations, RLS)
    • docs/handoffs/BACKEND-DEVELOPER-HANDOFF.md (API endpoints, async AI queue, IAP)
    • docs/handoffs/FRONTEND-DEVELOPER-HANDOFF.md (28 screens, BLoC pattern, Apple IAP)
  • Status: Handoff complete, ready for implementation
  • Next Agents: @dba, @backend-developer, @frontend-developer (parallel work)

2025-11-09 - @product-designer

  • Linear Issue: Design Epic
  • Work Completed: Created 7 comprehensive UI specification documents for all 28 screens
  • Files Changed:
    • docs/design/ui/onboarding-flow-ui-spec.md (4 screens)
    • docs/design/ui/photo-capture-entry-flow-ui-spec.md (7 screens)
    • docs/design/ui/timeline-entry-detail-ui-spec.md (6 screens)
    • docs/design/ui/search-filter-ui-spec.md (3 screens)
    • docs/design/ui/authentication-flow-ui-spec.md (3 screens)
    • docs/design/ui/premium-paywall-ui-spec.md (3 screens)
    • docs/design/ui/settings-profile-ui-spec.md (2 screens)
  • Status: Complete
  • Handed off to: @software-architect

2025-11-09 - @ux-designer

  • Linear Issue: Design System Epic
  • Work Completed: Created comprehensive style guide and design system with 560+ line Flutter design tokens
  • Files Changed:
    • docs/design/ux/style-guide.md (iOS-native patterns, emotion-driven colors)
    • docs/design/ux/design-system.md (29 reusable components)
    • docs/design/ux/design-tokens.dart (complete Flutter theme with AppColors, AppTypography, etc.)
  • Status: Complete
  • Handed off to: @product-designer

2025-11-09 - @software-architect

  • Linear Issue: OVE-51 (System Architecture Epic)
  • Work Completed: Designed complete system architecture with tech stack decisions
  • Files Changed:
    • docs/architecture/system-design.md
    • docs/architecture/tech-stack.md
    • docs/architecture/ai-abstraction.md
    • docs/architecture/async-processing.md
  • Status: Complete
  • Handed off to: @product-designer (for UI specs)

Technical Architecture

Current Stack

  • Frontend: Flutter 3.16+ with Dart 3.2+ (Cupertino widgets for iOS-native feel)
  • Backend: Next.js 14+ with TypeScript (Vercel Serverless)
  • Database: Supabase PostgreSQL with Row Level Security (500MB free tier)
  • Storage: Supabase Storage for photos (1GB free tier)
  • AI: OpenAI GPT-5 (production) with GPT-4.1 fallback, Ollama llama3.3 (development)
  • State Management: Flutter BLoC pattern
  • Payments: Apple In-App Purchase (StoreKit 2)
  • CI/CD: GitHub Actions (planned)
  • Monitoring: Vercel Analytics (planned)

Architecture Documents


Key Technical Decisions

Decision Log

2025-11-09 - Use Supabase PostgreSQL for Primary Database

  • Linear Issue: OVE-51
  • Decision Made By: @software-architect
  • Rationale:
    • Free tier provides 500MB storage (sufficient for MVP)
    • Built-in Row Level Security for multi-tenancy
    • Real-time subscriptions for future features
    • Excellent Flutter SDK support
    • Hosted solution (no DevOps overhead)
  • Alternatives Considered: MongoDB (no RLS), Firebase (vendor lock-in), self-hosted PostgreSQL (DevOps complexity)
  • Impact: Enables rapid MVP development with strong security foundation

2025-11-09 - Async Job Queue Pattern for AI Processing

  • Linear Issue: OVE-51, OVE-53
  • Decision Made By: @software-architect, @backend-developer
  • Rationale:
    • Vercel Hobby Plan has 10-second function timeout
    • AI prompt generation takes 8-15 seconds
    • Cannot afford Vercel Pro ($20/month) during MVP
    • Async pattern with Vercel KV (Redis) provides workaround
  • Alternatives Considered: Vercel Pro (too expensive), Synchronous API (would timeout), Third-party queue (adds complexity)
  • Impact: Enables AI features on free tier, requires polling UX pattern in frontend

2025-11-09 - Flutter for iOS Frontend

  • Linear Issue: OVE-51
  • Decision Made By: @software-architect
  • Rationale:
    • Cross-platform foundation (Android possible in future)
    • Cupertino widgets provide iOS-native feel
    • Single codebase reduces development time
    • Strong community and package ecosystem
    • BLoC pattern provides clean architecture
  • Alternatives Considered: Native Swift (iOS-only, longer development), React Native (performance concerns)
  • Impact: Faster MVP development while maintaining iOS-native UX

2025-11-09 - AI Provider Abstraction Layer

  • Linear Issue: OVE-51, OVE-53
  • Decision Made By: @software-architect
  • Rationale:
    • Development with Ollama (local, free) saves API costs
    • Production with OpenAI GPT-5 (cloud, paid) provides best quality
    • Strategy pattern enables environment-based switching
    • Reduces development iteration costs
  • Alternatives Considered: OpenAI-only (expensive during dev), Ollama-only (lower quality)
  • Impact: Enables cost-effective development while maintaining production quality

Dependencies & Blockers

Current Blockers

IssueBlockerBlocked AgentResolution ETA
NoneNo active blockersN/AN/A

External Dependencies

DependencyStatusOwnerNotes
Supabase AccountActiveProject OwnerFree tier active, 500MB database + 1GB storage
OpenAI API KeyActiveProject OwnerGPT-5 access with GPT-4.1 fallback
Vercel AccountActiveProject OwnerHobby plan (10s timeout, free)
Apple Developer AccountPendingProject OwnerRequired for IAP testing (week 10)

Quality Metrics

Code Quality

  • Test Coverage: 0% (no code written yet)
  • Linting Errors: 0
  • Security Issues: 0
  • Code Review Status: 0/0 PRs reviewed

Performance Metrics (Production)

  • Uptime: N/A (pre-launch)
  • P95 Response Time: N/A (pre-launch)
  • Error Rate: N/A (pre-launch)
  • Active Users: 0 (pre-launch)

Linear Metrics

  • Total Issues: 54 (10 epics + 41 user stories + 3 implementation epics)
  • Open Issues: 51 (3 implementation epics are top priority)
  • In Progress: 0 (awaiting agent work)
  • Completed This Sprint: 3 (planning, design, architecture)
  • Average Completion Time: N/A (first sprint)

Team Velocity

Current Sprint (Week 1 of 12)

  • Sprint Goal: Complete database schema, begin backend API and Flutter app foundation
  • Story Points Planned: TBD (agents will estimate)
  • Story Points Completed: 0
  • Velocity: 0% (just started)

Historical Velocity

SprintPlannedCompletedVelocity
Week 1TBD00%

Risks & Mitigation

Active Risks

RiskSeverityProbabilityMitigationOwner
Vercel 10s timeout limits AI featuresHighHighImplemented async job queue pattern with Vercel KV@backend-developer
Supabase 500MB limit reached during MVPMediumLowMonitor usage, implement photo compression (Sharp)@backend-developer
Apple IAP implementation complexityMediumMediumDetailed handoff doc with code examples, start week 10@frontend-developer
AI costs exceed budgetLowLowUse Ollama for development, OpenAI only in production@backend-developer

Documentation Index

Product Documentation

Technical Documentation

Design Documentation

UI Specifications (28 screens)

Implementation Handoffs

Infrastructure Documentation


Git & Branch Strategy

Active Branches

BranchLinear IssueAgentStatusLast Updated
mainN/AN/ADefault2025-11-10

Recent Merges

DateBranchLinear IssueAgentDescription
2025-11-09feature/design-handoffsDesign Epic@product-designerAdded 7 UI spec files with 28 screens

Deployment History

Production Deployments

DateVersionLinear IssuesDeployed ByStatus
N/AN/AN/AN/APre-launch

Staging Deployments

DateVersionLinear IssuesDeployed ByStatus
N/AN/AN/AN/APre-launch

Agent Handoff Protocol

Current Handoff Chain

@chief-product-officer ✅
  ↓ (Vision & Strategy)
@senior-product-manager ✅
  ↓ (PRD & Requirements)
@ux-designer ✅ → @product-designer ✅
  ↓ (Style Guide)   ↓ (UI Specs)
@software-architect ✅
  ↓ (Architecture & Implementation Tickets)

🚀 CURRENT PHASE: Implementation (Parallel)

@dba (OVE-52) ✅ COMPLETE
  ↓ (Database Schema)
@backend-developer (OVE-53) ← → @frontend-developer (OVE-54)
  ↓ (API Implementation) 🔄    ↓ (Flutter App) 🔄 READY TO START
@app-security-engineer
  ↓ (Security Scan)
@senior-qa-engineer
  ↓ (QA Testing)
@devops-engineer
  ↓ (Deployment)
✅ PRODUCTION

Handoff Status

  • Current Phase: Implementation (Week 1 of 12)
  • Completed Agents: @dba (OVE-52 complete)
  • Current Agents: @backend-developer (ready to start), @frontend-developer (ready to start)
  • Working On: OVE-53 (Backend API), OVE-54 (Flutter App)
  • Next Agents: @app-security-engineer (after implementation complete)
  • Estimated Handoff: Week 12 (approximately 2025-02-01)

Next Steps

Immediate (This Week - Week 1)

  1. Implement database schema with 6 tables (OVE-52) - @dba ✅
  2. Set up Next.js project with TypeScript and AI abstraction layer (OVE-53) - @backend-developer
  3. Set up Flutter project with BLoC pattern and design tokens (OVE-54) - @frontend-developer

Short Term (Next 2 Weeks - Weeks 2-3)

  1. Complete authentication endpoints (signup, login, Apple Sign-In) - @backend-developer
  2. Implement async AI job queue with Vercel KV - @backend-developer
  3. Build onboarding flow (4 screens) - @frontend-developer
  4. Build photo capture & entry creation flow (7 screens) - @frontend-developer

Long Term (This Quarter - Weeks 4-12)

  1. Complete all 28 screens across 7 flows - @frontend-developer
  2. Complete all 8 API endpoint groups - @backend-developer
  3. Implement Apple IAP integration (weeks 10-11) - @frontend-developer + @backend-developer
  4. Security scan with secure-push skill - @app-security-engineer
  5. QA testing with Playwright - @senior-qa-engineer
  6. Production deployment to App Store - @devops-engineer

Meeting Notes & Decisions

2025-11-10 - Implementation Handoff

  • Attendees: @product-designer, @software-architect, @dba, @backend-developer, @frontend-developer
  • Linear Issues Discussed: OVE-52, OVE-53, OVE-54
  • Decisions:
    • Three engineering teams to work in parallel (database → backend → frontend dependency chain)
    • @dba completes first (blocks backend and frontend)
    • @backend-developer and @frontend-developer can work in parallel after database ready
    • Use async AI job queue pattern for Vercel timeout workaround
    • Prioritize 60-second core flow (Photo Capture → Entry Creation) in frontend
  • Action Items:
    • Create Linear implementation tickets - @product-designer + @software-architect - 2025-11-10
    • Add handoff comments to all tickets - @product-designer + @software-architect - 2025-11-10
    • Update PROJECT_OVERVIEW.md - @product-designer + @software-architect - 2025-11-10
    • Begin database implementation - @dba - Week 1 - COMPLETE 2025-11-11 ✅
    • Begin backend API setup - @backend-developer - Week 1
    • Begin Flutter app setup - @frontend-developer - Week 1

2025-11-09 - Architecture & Design Review

  • Attendees: @software-architect, @ux-designer, @product-designer
  • Linear Issues Discussed: OVE-51, Design Epic
  • Decisions:
    • Approved Flutter 3.16+ with Cupertino widgets for iOS-native feel
    • Approved Next.js 14+ for backend API on Vercel
    • Approved Supabase for database and storage
    • Approved async job queue pattern for AI processing
    • Approved 12-emotion taxonomy with color-coded UI
  • Follow-up: Create implementation handoff documents for engineering teams

How to Use This Document

For Agents

  1. Before starting work: Check “Active Linear Issues” and “Current Handoff Chain”
  2. During work: Update your section in “Agent Activity Log”
  3. After completing: Add entry to “Agent Activity Log” and update handoff status
  4. For decisions: Add to “Key Technical Decisions” with Linear issue reference

For Users

  1. Check project status: See “Executive Summary” and “Project Timeline”
  2. Track progress: View “Active Linear Issues” and “Agent Activity Log”
  3. Understand architecture: Review “Technical Architecture” and linked docs
  4. Monitor deployment: Check “Deployment History”

Update Frequency

  • Agent Activity Log: Updated by agent after each major task completion
  • Active Linear Issues: Updated daily
  • Project Timeline: Updated weekly
  • Quality Metrics: Updated after each deployment
  • Executive Summary: Updated weekly or at milestones

Maintenance Notes

Document Owner: @product-designer + @software-architect (handoff coordination) Review Cadence: Weekly Last Reviewed: 2025-11-10 Next Review: 2025-11-17 (end of week 1) Template Version: 1.0.0 Last Template Update: 2025-01-10