Data Model
The canonical schema centers around Users, Goals, Tasks, Habits, HabitLogs, Circles, Posts, and CoachSessions. A clean model lets the AI reason coherently about a user’s life.
- User: identity, preferences, and global settings.
- Goal: high-level objectives with target dates and status.
- Task: one-off actions, usually attached to a goal or project.
- Habit: repeating behaviors with schedule and streak metadata.
- HabitLog: timestamped records of completions and misses.
- Circle: small group container with membership and permissions.
- Post: activity feed items shared into a Circle.
- CoachSession: structured record of key coaching conversations.
High-level relationships
User → Goals → Tasks / Habits → Logs / Sessions → Insights.
