Product Requirements Document (PRD)
Product Name
What I Do Today
Problem Statement
Leaders need clear visibility into where time and energy are spent, where execution drift occurs against plan, and how team focus changes over time.
Target Users
- Team owners/admins (configure members, schedules, analytics)
- Team members (log daily work, plan focus, review personal analytics)
- Language: English
- Time zone baseline:
Asia/Kuala_Lumpur(configurable via env)
Product Goals
- Keep daily logging fast on mobile.
- Produce reliable personal and team insights.
- Detect focus drift (planned vs actual).
- Automate recurring reporting.
- Maintain baseline security and auditability.
Functional Scope (Implemented)
- Authentication + Access Control
- One-time setup
- Login/logout
- Team RBAC roles:
OWNER,ADMIN,MEMBER
- Daily Execution
- Activity logs with date/time/category/project/energy/notes
- Daily dashboard metrics and top focus areas
- Category/project management
- Planning + Drift
- Planned focus allocation by category/project
- Alignment score and over/under-focus detection
- Analytics
- Date range analytics
- Weekly summary page
- Monthly trend page
- Energy trend chart
- Category/project drill-down over time
- Team Collaboration
- Team member create/update-role/remove
- Team dashboard with member breakdown + audit events
- Reporting and Automation
- CSV/PDF export (personal + team scope, daily/range)
- Scheduled exports (
DAILY,WEEKLY,MONTHLY) - Cron/manual execution path
- AI Narrative
- Daily narrative summary generation
- OpenAI-backed with deterministic fallback
- Security and Observability
- CSRF origin checks for mutating actions
- In-memory rate limiting
- Audit log records for critical actions
- Quality
- Automated unit tests for core analytics/time/drift/rate-limit logic
Current Constraints
- Rate limiting is in-memory (single-node friendly, not distributed)
- Scheduled exports run through app/cron process (no dedicated queue worker yet)
- AI narrative quality depends on available logs and optional API key
Next Product Enhancements
- Invite-based onboarding
- Distributed rate limiter (Redis)
- Queue-backed background jobs
- Email/Slack report delivery