Personal Training OS: Requirements
The system shall be created as a Notion page titled "Personal Training OS".
The system shall exist as a child page under the "Personal Dashboard" page.
When the Personal Training OS page is created, the system shall place a link to it directly below the "Inbox" link on the Personal Dashboard.
The system shall present, from its top-level page, entry points to every database.
The system shall create a People database.
The system shall use People as the primary identity model for the entire system.
When the People database is created, the system shall seed two people, Primary User and Secondary User.
Where a person record supports automation, the People database shall provide optional Notion User and external ID fields for that person.
The system shall allow Secondary User to be referenced from Goals, Races, Metrics/Check-ins, Nutrition Log, and future training structures, not solely as a placeholder.
Every database that records person-attributable data shall relate to People via a Person relation rather than free text.
The system shall create the full set of databases at build time regardless of immediate use.
- DES-ARCH Full architecture created up front
- ARCH-003 Create even if used later
- TS-001 Create Training Sessions
- RACE-001 Create Races database
- LIB-001 Create Exercise Library
- TMP-001 Create Workout Templates
- TMP-002 Create Exercise Log
- SHO-001 Create Running Shoes
- RTE-001 Create Running Routes
- MET-001 Create Metrics/Check-ins
- NUT-001 Create Nutrition Log
- WKR-001 Create Weekly Reviews
- GOL-001 Create Goals
- BLK-001 Create Training Blocks
- DRL-001 Create Hockey Drills
- RES-001 Create Resources
The system shall provide linked or embedded references to the existing Team A games and Team B games databases without recreating them.
Where a database will be used later but not immediately, the system shall still create it now with its schema in place.
The system shall build automation fields into key databases at creation time.
Each key database shall include Source, Source ID, External URL, Imported At, Last Synced At, Sync Status, Manual Override, and Raw Data/Notes where meaningful.
- DES-AUTO Standard Automation Block
- AUTO-003 Source vocabulary
- AUTO-004 Manual default source
- AUTO-005 Manual override blocks overwrite
- AUTO-006 Sync populates provenance fields
- AUTO-007 Failure surfaces in Sync Status
- TS-002 Automation fields on sessions
- RACE-002 Person and automation fields on races
- MET-002 Automation fields on metrics
- NUT-002 Automation fields on nutrition
The Source field shall be a select whose options include Garmin, MyFitnessPal, Apple Health, Apple Watch, Strava, Calendar, Manual, Notion, and Hockey DB.
When a record is created by hand rather than an integration, the system shall default its Source to Manual.
While a record's Manual Override is set, the system shall not permit an automated sync to overwrite that record's fields.
When an automated import creates or updates a record, the system shall populate Source, Source ID, Imported At, and Last Synced At for that record.
- DES-AUTO Standard Automation Block
- TC-21 Garmin daily wellness metrics provenance (Increment 2b)
- TC-22 Withings weight provenance (Increment 2c)
- TC-23 Garmin activities into Training Sessions (Increment 2a)
- TC-25 MyFitnessPal nutrition at per-meal grain (Increment 4)
- TC-26 Idempotent upsert, unique Source IDs
If an automated sync fails or is incomplete for a record, then the system shall reflect the failure in that record's Sync Status.
The system shall create a Training Sessions database as the central log of all training activity.
- DES-TS Training Sessions core schema
- TS-002 Automation fields on sessions
- TS-003 Session Type
- TS-004 Status
- TS-005 Relates to People
- TS-006 Distance field
- TS-007 Run Type field
- TS-008 Shoe and Route relations
- HIST-001 Seed 5-mile hill repeats
- HIST-002 Seed 11-mile long run
- TC-23 Garmin activities into Training Sessions (Increment 2a)
Each Training Session shall carry the standard automation fields.
Each Training Session shall provide a Session Type such as Run, Race, Workout, or Hockey Game.
Each Training Session shall provide a Status such as Planned or Completed.
Each Training Session shall relate to People via a Person relation.
Each running Training Session shall provide a Distance field.
Each running Training Session shall provide a Run Type field such as easy, very easy, long, tempo, intervals, or 5K pace.
Each Training Session shall provide a Running Shoe relation and a Running Route relation.
The system shall use calendar events as the source for planned running sessions.
When a calendar event represents a run or race, the system shall create a Training Session for it.
When a Training Session is created from a calendar event, the system shall set Source to Calendar.
When a Training Session is created from a calendar event, the system shall set Source ID to the calendar event ID.
Where the calendar event provides a link, the system shall set External URL to the calendar event link.
When a calendar event is a future event, the system shall set the Training Session Status to Planned.
When creating a Training Session from a calendar event, the system shall set Session Type to Run or Race as appropriate.
Where the distance is obvious from the event title, the system shall populate the Training Session Distance.
Where the run type is explicitly stated in the event, the system shall set Run Type accordingly.
If the run type is not explicitly stated in the event, then the system shall leave Run Type unset.
The system shall add a completed Training Session for the 5-mile hill repeats run on an example date.
The system shall add a completed Training Session for the 11-mile long run on an example date.
The system shall create a Races database.
Each Race shall relate to People and carry the standard automation fields where meaningful.
When the Races database is created, the system shall seed the Example Half Marathon on an example date for Primary User, Type Half Marathon, Goal sub-2 ideal finish strong acceptable, Goal Time 2:00:00, Status Training/Registered.
When the Races database is created, the system shall seed the Example 5K on an example date for Primary User, Type 5K, Status Registered/Planned.
Where a Race has associated training runs, the system shall allow those Training Sessions to relate to the Race.
The system shall treat both teams, Team A and Team B, equally.
The system shall keep the existing hockey game databases as the source of truth for game data.
The system shall present linked views for both teams on the dashboard.
The system shall only count a hockey game toward training after it is marked Attended.
A hockey Game Training Session shall provide Attendance Status, Counts Toward Training?, Team, linked source game, RPE, Notes, and Recovery notes.
By default the system shall set a hockey game to not count toward training until it is marked Attended.
When a hockey Game Training Session is marked Attended, the system shall set Counts Toward Training? to true.
If a hockey game is not marked Attended, then the system shall exclude it from training-load calculations.
The system shall reflect currently available equipment only in workout templates and exercise library defaults.
The system shall treat bodyweight, outdoor running, dumbbells, resistance bands, treadmill, stationary bike, foam roller, yoga mat, hockey stick, balance boards, shooting pad, cones, bench, and gym access as available.
Where the treadmill is referenced, the system shall record its constraints of no incline and fastest pace 8:00 per mile.
The system shall mark the stickhandling ball as pending and not currently usable.
The system shall not assume availability of kettlebells, net, barbell, or medicine ball in any template.
If a Workout Template would require unavailable equipment, then the system shall not present it as a currently-doable template.
The system shall create an Exercise Library database cataloguing individual exercises and drills.
Where an exercise requires equipment, the Exercise Library shall record the required equipment drawn from the available set.
The system shall create a Workout Templates database composed of exercises from the Exercise Library.
The system shall create an Exercise Log database recording performed exercises, relatable to Training Sessions and People.
The system shall create a Running Shoes database.
When the Running Shoes database is created, the system shall seed an example running shoe.
Each Training Session shall provide a Running Shoe relation.
The system shall compute total mileage per shoe via a rollup or formula that sums Distance across the Training Sessions related to that shoe.
Where Garmin gear data becomes available later, the system shall allow that data to improve or override shoe mileage.
The system shall create a Running Routes database.
When the Running Routes database is created, the system shall seed generic routes Outdoor Run, Treadmill Run, Race Route, and Unknown/To Assign.
Each running Training Session shall provide a Running Route relation.
The system shall create a Metrics/Check-ins database up front.
Each Metrics/Check-ins record shall carry the standard automation fields.
The Metrics/Check-ins database shall be automation-ready for Garmin, Apple Health, Apple Watch, and Manual.
Each Metrics/Check-ins record shall relate to People.
The system shall create a Nutrition Log database up front.
Each Nutrition Log record shall carry the standard automation fields.
The Nutrition Log database shall be automation-ready for MyFitnessPal and Manual.
Where bulk historical data exists, the system shall support later CSV or API imports into the Nutrition Log.
Each Nutrition Log record shall relate to People.
The system shall create a Weekly Reviews database now.
The system shall allow Weekly Reviews to be filled in manually initially.
Where automation is added later, the system shall allow Weekly Reviews to be populated automatically.
The system shall create a Goals database.
Each Goal shall relate to People, including Secondary User.
Where a Goal is tied to a race, the system shall allow it to relate to a Race.
The system shall create a Training Blocks database representing multi-week training phases.
The system shall allow Training Sessions to relate to a Training Block.
The system shall create a Hockey Drills database.
Where a Hockey Drill requires equipment, the system shall reference only available equipment such as stick, shooting pad, cones, and balance boards, and not a net.
The system shall create a Resources database for reference material.
The system shall relate Training Sessions to People, Training Blocks, Races, Running Shoes, Running Routes, Exercise Log, and the source game for hockey.
The system shall relate Metrics/Check-ins and Nutrition Log to People.
The system shall provide rollups such that shoe mileage and hockey training load are derivable without manual tallying.
The system shall keep personal health and fitness data for Primary User and Secondary User within the private Notion workspace and shall not expose it publicly.
Where a third-party integration is added, the system shall request only the minimum data scopes required for that integration.
The system shall support periodic export of its data so that training records are recoverable after accidental loss.
The system shall keep its data API-accessible and exportable so it can be migrated off Notion if required.
The dashboard and key rollups shall remain responsive at the expected single-user data volume of low hundreds of records.
The system shall be usable on the Notion mobile apps so that data capture is low-effort across devices.
The system shall retain historical training data indefinitely, with no automatic deletion, to preserve long-term trends.