Written 27 November 2026, revised the same day after reading vim and amp, and again on 28 November after your review. Since then the design system, Mitos, has been built, and so have Asterion's training store and its tools, with exercises counted in time; the rest is still to build. What the review decided is marked as decided, and the rest is still input: what you told Theseus, what the old apps did and what the mock-ups show are all input. The mock-ups are in mockups/, seven pages of them, and the third opens with a map of every feature and where it is drawn. What I took from the two old apps and from MacroFactor's two apps is in LESSONS.md.
What Is Being Built
A tracker for training, food and body weight that keeps exact numbers and does the arithmetic on them, with Theseus as the coach who reads and writes it through tools. One store, three ways in:
- Its own screens, for what is quicker tapped (sets in the gym, a food search) and for looking at trends.
- Theseus's tools, for what is easier said: a session after the fact, a meal from a photo, a change of plan.
- Cards in Theseus's chat, which show what the tracker holds, drawn from the stored record and never retyped by him.
After the Review
You went through everything four times on 28 November: the features rated, the screens judged, the decisions answered. Each of your comments has a reply under it on the review site.
Decided
- Three repositories, on the NUC, leaning on Theseus where he is stronger.
- The app needs a connection, as vim did. The server holds the data and the screens ask it; nothing of working offline is built.
- A product edit is a correction or a change, and recipes may hold recipes.
- Cards in Theseus's chat, proposed to him as an OpenSpec change. On 30 November you put Asterion's own app first, as the primary way to use it; the cards follow it.
- Weights progress by double progression, one rule for every lift: reps climb to the top of the range, then the weight goes up by the equipment's smallest step and the reps start again at the bottom, unless the sets went harder than the target for reps in reserve. Estimated one-rep max is for charts, and a stall is Theseus's to notice.
- The scale is typed in at first.
- The design system is called Mitos, after Ariadne's thread.
- The tracker is called Asterion, for now, and the server it runs on Labyrinth. Its icon is a stand-in (
mockups/icons/asterion-stand-in.png), a found picture that must be replaced with one of our own before anything is public. - The tracker serves MCP itself, so any assistant with a key can use it. Theseus learns to connect to an MCP server he doesn't start.
- One app, with the day as its home: one log for food, training and the scale, and four tabs, Today, Training, Body and Foods.
- Every exercise, product and recipe belongs to a library: the app's own, yours, or an outside database. You see the ones you have included, and only yours can be changed.
- Every row has an owner from the first day, since the tracker is headed for more than one person. People sign in to the app with Google, Asterion as a client of its own; nobody signs up yet, and a user's account is recorded by hand.
- The tracker serves its own MCP server (rated 5), and there is no plugin for Theseus (rejected).
Changed by your comments
- Theseus is a holder of a key and nothing more. The tracker gives out access keys that may read, or read and write. His sits in his own Connections. (A record of each change to the plan, with the key that made it, was dropped on 30 November: what changed and why is his to remember.)
- The tracker announces events to any address that asked to hear them, so he can react to a finished workout. His side needs issue #23.
- A workout and the plan each have one plain description. No notes with authors, no thread, and nothing in the app that shows Theseus.
- Personal bests are his to mention, not the app's to celebrate. Since 30 November, at your wish, a workout's page marks a new best estimated one-rep max; other records come later.
- Exercises you don't want are his to remember. Nothing is built for them.
- Calorie targets are recomputed by the tracker, and no calories are worked out for an exercise.
- A planned entry waits to be confirmed, also when it repeats. Nothing logs itself.
- Recipes carry preparation steps, and nothing asks for the weight of a pot.
- Warm-ups are ordinary sets, marked and not counted, and plates are a screen of their own.
- Equipment belongs to a place from the start, with one place at first.
- An exercise is measured in reps or in time, a plank or ten minutes on the elliptical, in the same workout as the lifts.
- Volume is shown for each exercise, beside its estimated one-rep max.
Built so far (each feature on the review site says how far it is built, and what is missing)
- Mitos, the design system, with Theseus on it (29 November).
- Asterion's store and its 29 MCP tools, reworked on 30 November into a basis of plain resources by id; Theseus connects to it with his key, and the Gym Log's four sessions are in it.
- Asterion's app (30 November): Google sign-in, Home with the next workout, the week and the latest, History and each workout's page with its corrections, and installing it on the phone.
Still open
Inputs, Weighed
| Input | Where from | My read |
|---|
| One backend for intake and training | You, to Theseus | Agree. The link between the two is the reason to build this, and they share data even though they share almost no screens. |
| Two frontends, or one | You then; decided now | One app. Body and the goal belong to both halves, a training day's higher target only makes sense where both show, and the day leads with the workout on a training day. |
| A web app, not Flutter | You, to Theseus | Agree on the merits: one stack with Theseus, one design system, and the chat's cards reuse the tracker's own components. To prove early: reading barcodes in the browser. |
| Trend weight, and expenditure from intake and weight | MacroFactor | Agree. It replaces all of vim's calorie formulas. The exact method is to be read up on when we get there. |
| Progressive overload adjusted from the data | MacroFactor | Agree. Double progression works out the next weight for every lift, and Theseus changes the targets where judgement is needed. |
| A day starts at a time you choose | You, to Theseus | Agree, and go further: an entry says which day it belongs to, so moving one is changing one field and a changed setting never reshuffles history. |
| A partly logged day doesn't count for expenditure | You, to Theseus | Agree. |
| A food database and barcodes from the start | You, to Theseus | Agree. Amp already has both working against Open Food Facts. |
| The workout screen needs the most care | You, to Theseus | Agree. Vim's form per exercise shows why. |
| Reps in reserve for each set | You, to Theseus | Agree. They also make the estimated max fairer. |
| The scale through Withings' own API | Theseus | Undecided. It could also come through Home Assistant, or be typed in at first. Decide in the weight phase. |
| Copies in every entry | Vim | No. |
| Versions for products and recipes | Amp | For a product's nutrition only, with corrections told apart from changes. See LESSONS.md. |
Shape
The design system (new, its own repository)
colours and sizes, components, charts: used by Theseus's web app and by the tracker
The tracker (new, its own repository)
services/api the store, the sums, an HTTP API
app/ the one app: Today, Training, Body and Foods
packages/core types, schemas, calculations
services/mcp its tools, served over MCP to any assistant with a key
Theseus (as he is, plus)
the Brain connects to an MCP server it doesn't start, with a key
the web app a step and a card per tool, drawn with the design system
- The tracker knows nothing of Theseus. It serves its screens and anyone else who calls its API. Theseus is a guest in it, as he is in Home Assistant.
- The design system stands apart from both. Theseus's
shared/ui already describes itself as interface pieces that know nothing about his data, so it moves out much as it is. The record cards and charts live there too, since the chat and the tracker both draw them. - Nothing shared is copied by hand. The look comes from one package, and Theseus reaches the tracker over MCP, so he needs none of its code.
- It runs on the NUC, beside Theseus, in its own containers with its own Postgres, on a hostname of its own, behind the server's front door, Hermes, which sends each hostname to its app. Each app signs its own people in.
- The server holds the data, and every screen asks it. A request that fails says so and can be tried again.
- Every derived number is calculated in one place, on the server. The screens and Theseus read the same figures, and he never does sums himself. Vim did its sums on the phone.
- The same stack as Theseus, with his conventions carried over: a
CLAUDE.md, OpenSpec, tests that never touch real data, lint for which way imports go. - Every row has an owner from the first day, in kilograms and grams. A person is reached through access keys; signing in to the screens comes with them.
With and Without Theseus
Arithmetic belongs to the app, and language, eyes and judgement belong to Theseus.
- The app is whole without him for logging sets and food, the plan and its progression, records, the weight trend, expenditure and targets.
- He is a second way in wherever something is said faster than tapped.
- Some things exist through him alone, because he does them better than anything worth building into the tracker: logging from a photo, generating and importing a plan, the weekly review of training, technique help, questions about your numbers, advice on what to eat, and every reminder. The tracker sends no notifications of its own.
Each feature's part is recorded in review/content/features.json. When he is down those features stop, nothing logged is lost, and the app goes on working.
Data
Four kinds of thing, each kept the way LESSONS.md argues for. Every table is drawn with its columns on the review site's Diagrams tab, from the sources in review/content/diagrams/.
Named things, referred to plainly
| Table | Holds |
|---|
places | Where you train: a name, and which equipment it has. One at first. |
equipment | Anything in a gym an exercise is done with, a Roman chair as much as a barbell: a name, and the step its weight typically moves by where weight goes on it. The tracker's own list; equipment of your own is asterion #5. |
setups | An exercise with the equipment it is done with, any number of pieces. It is what has a history: the plan names setups, and progression is kept for each. |
exercises | A movement, apart from what it is done on: a name, its kind (resistance or endurance), the share of bodyweight that counts as load, and whether it is done one side at a time. |
exercise_muscles | The muscles an exercise's sets count towards, each as primary or secondary. |
products | A name, a brand and a barcode. |
product_units | A product's named amounts, such as a serving or a pot, as gram weights. |
metrics | What can be measured: weight and body fat to begin with. |
Templates, used by making rows of their own
| Table | Holds |
|---|
recipes | A name, how many portions it yields, and its cooked weight once weighed. Logging one writes a group of entries. |
recipe_ingredients | A recipe's ingredients by weight. Each is a product or another recipe, never both. |
plans | A name, a description of the thinking behind it, and when it began and ended. |
plan_workouts | A plan's workouts, by name. |
plan_days | The weekdays a workout falls on. Workouts that share a weekday take turns. |
plan_exercises | A workout's exercises in order, each a setup with its target: sets, a range of reps and reps to leave in reserve. Also a weight to start from, used until the setup has history. |
plan_changes | What changed, when, who changed it and why. |
A workout is made from the plan as rows of its own, so changing the plan never touches a workout already done. The step a weight moves by is the equipment's, so it is kept once.
Facts that sums are made from, with versions
| Table | Holds |
|---|
product_versions | Figures in 100 g from a given day on, with unknown kept apart from zero, and where the figures came from. A correction changes the version in place. A change adds one. |
What happened
| Table | Holds |
|---|
workouts | A name, its day, when it was started and finished, and a description. Planned and performed are one record at two moments. |
workout_exercises | A workout's exercises in order, each a setup, with the target it was given, whether its weight was pinned by hand, and the plan exercise it came from. |
sets | What was done: weight and reps with reps in reserve, or a time and an effort for endurance. Also whether it was a warm-up, and when. |
days | Whether a day is complete, and so counts towards expenditure. |
entries | What was eaten, as a tree: a group (a meal, a logged recipe), a product version with grams, or a quick entry with its own figures. Each names its day. |
measurements | A reading of a metric: a value, when, and where it came from. |
goals | A direction and a rate, from the date it starts. |
targets | Daily intake targets, each from the date it starts. They follow from the goal and from expenditure, and the tracker recomputes them each week. |
settings | When a day starts. |
access_keys | A name, whether it may write, and the key, kept hashed. |
subscriptions | An address to announce events to, and which events. |
Estimated one-rep max, volume, trend weight and expenditure are worked out when asked for and stored nowhere. A workout's target weight is worked out when the workout is made, from the workouts before it.
The plan lives in the tracker. That was your suggestion, and it is the better shape: my first design kept the plan twice, as a document of Theseus's and as planned workouts, and made every next weight wait for him. Now the tracker works out the next weight the moment a workout is finished, and Theseus designs the plan and changes its targets, with each change recorded.
Phases
Each half arrives the same way: the store and Theseus's tools first, its screens second. Telling him keeps working throughout, and the data model proves itself before a screen depends on it. Phases 0 and 1 don't depend on each other.
0. The Design System
Move Theseus's shared/ui (21 elements), his colours and sizes, and the set-up of Web Awesome and the icons into a package of their own, under a name and an element prefix that aren't his. His web app then builds on that package. What the tracker and the chat's cards need is added there as it is built: set chips, the weight and reps dials, the meter, the line chart, the record card.
This is an OpenSpec change in Theseus. Most of it is moving and renaming; the new part is how the package reaches each app's build. Size: medium.
1. The Store and Theseus's Tools
- Tracker: the repository, the API service, the training tables, the plan, the progression calculation, access keys, the other calculations (estimated one-rep max counting reps in reserve, volume, best set, weekly sets per muscle, the comparison with last time), the API and its client, and a backup routine before real data goes in.
- The tracker's MCP server: tools to find and add exercises, to log, read and change workouts, to read and change the plan, and to read an exercise's progress, each with a description of what it is.
- Theseus (an OpenSpec change): the Brain connects to an MCP server it doesn't start, with a key kept in Connections. Also a step in the chat for each of the tracker's tools, and the docs. Reply and initiative hold the tools.
- Logging cannot duplicate. A day that already has a performed workout refuses a second and names the first.
- In conversation, no code: Theseus moves the Gym Log's sessions into the tracker himself, which is the tools' first real use. He then makes the plan with you, in the tracker, and plans a weekly review task.
Done when a session told in the chat is in the tracker exactly, he answers "how is my bench going" from calculated figures, and the Gym Log is retired. Size: medium.
Done, 29 and 30 November, but for two things: the weekly review task was never set up, and the record of plan changes was dropped. Weekly sets per muscle are not worked out yet, and the comparison with last time is read from an exercise's history rather than worked out as a figure.
2. Records Shown in the Chat
The one change to Theseus's own design, so it starts as an OpenSpec proposal for you to read. Today everything that isn't speech is a quiet step in a card (web-app, "The chat draws each run as a container"). A record he shows is new.
My starting position:
- Showing belongs to a tool. A logging tool always shows what it stored. A few tools exist only to show: a workout, an exercise's progress, a day. Reading stays quiet.
- The card is drawn from the tool's stored result, which is why it cannot differ from what was stored, and why no new kind of block is needed.
- It is general. A place, a calendar event or a task could be shown the same way later.
Then the two cards of mock-ups 1 and 3, built in the design system. Needs phase 0. Size: small to medium.
3. The App
Under way. Built: signing in, the one app's frame (Today, Training, Body and Foods as tabs with Add in their middle, the pages and sections not built yet holding their places), History, corrections, installing it, logging a workout in the gym, changing it on the spot (swapping, adding, a workout of no program), and routines with programs over weeks and the training log (exercises logged on their own, Add, every moment kept with its offset). Next, in this order: an exercise's progress and chart, then the screens for routines and programs (#29), the library and gyms. Each feature on the review site says what of it is still to come.
- Workout (mock-up 2): today's planned workout with its targets, his note, and last time's numbers; sets logged by tapping, in steps of the equipment's own; a rest timer; warm-ups as ordinary sets.
- Home: the next workout, recent ones, and each lift's estimated max with its trend.
- Exercise: one lift's history and chart.
- Finished: the workout judged against its plan, with bests marked.
- Changing it on the spot: replacing an exercise with another for the same muscle, or skipping it.
- On the bar: the plates for a weight, and warm-up sets that are kept but never counted.
- History: the month and past workouts.
- Corrections: any set can be changed afterwards.
- Plan: the week, the workouts, each lift's target, the description and the changes.
- In Theseus: the chat's cards leading to the record. (Theseus no longer serves the hostname: the server's front door, Hermes, routes it, and Asterion signs its own users in.)
Finishing a workout doesn't wait for Theseus, since the next weights are worked out by the tracker. You want his reaction to a finished workout all the same, so the tracker announces the finish and he is woken by it, which needs issue #23.
Needs phase 0. Size: medium.
4. Weight
Measurements, the trend and weekly rate, the scale reporting by whichever route is chosen, and tools for Theseus to log and read them and to show the trend. Body fat and anything else measured are further series of the same kind. Its screen comes with intake. Size: small to medium.
5. Intake
- The store: products with versions, recipes, entries, targets, the day's start, and which days count as complete.
- Products from Open Food Facts and by barcode, beside your own. Theseus can make one from a photo of a label, as vim's experiment did.
- Theseus logs a meal from a photo or a sentence as a group of entries that can each be corrected (mock-up 4).
- The screens: the day, adding food through one search, choosing an amount, scanning a barcode, a product, a recipe, weight, expenditure, the goal.
- Expenditure estimated from intake and trend weight over complete days only, shown with its doubt and with what it was made from.
- The goal as a rate, with targets that follow from it and are recomputed each week by the tracker. Theseus's weekly check-in explains the change and raises what looks off, such as a half-logged day.
There are no screens for keeping the catalogue at first. Vim spent more on those than on logging. To check when we get there: Open Food Facts' terms, barcode reading in the browser, and how MacroFactor describes its trend weight and expenditure. Size: the largest.
6. The Two Halves Together
What the shared backend is for: a weekly check-in that reads training, intake and weight at once, targets that are higher on training days and lower on rest days, advice on what to eat drawn from your own food, and nudges that are tasks Theseus keeps. By then this is mostly Theseus reasoning over tools that exist. The third page of mock-ups draws each of these.
Changes to Theseus
Each is an OpenSpec change in his repository:
- The design system moves out and his web app builds on it. (Phase 0, done)
- The Brain connects to an MCP server it doesn't start, with a key in Connections. (Phase 1, done; a tool server's call shows as a plain step)
- Records shown in the chat. (Phase 2, after the app)
- ~~The gateway serves the tracker's hostname and sign-in reaches it.~~ Not needed: Hermes, the server's front door, routes each hostname, and each app signs its own users in.
- An event can wake him, issue #23. (Phase 3, for his reaction to a finished workout)
- Hearing of a tool server's new tools at once, by MCP's own notice, in place of looking every five minutes: theseus #82, asterion #9.
For You to Decide
Kept in review/content/decisions.json, and answered on the review site.
Decided in the Review
- A Name for the Tracker: Asterion.
- A Name for the Design System: Mitos.
- One App or Two: One App.
- Repositories: Three Repositories.
- Where It Runs: On the NUC.
- Working With No Connection: Needs a Connection.
- How Far to Lean on Theseus: Lean In Where He Is Stronger.
- How an Assistant Reaches the Tracker: The Tracker Serves MCP Itself.
- Libraries of Exercises, Products and Recipes: Libraries.
- Other People: Accounts From the Start.
- How Weights Progress: Double Progression.
- How a Product Edit Behaves: Correction or Change.
- Recipes Inside Recipes: Allowed, to Any Depth.
- Records Shown in the Chat: Propose It.
- Cards or Workout Screens First: Workout Screens First.
- How the Scale Reports: By Hand First.
Still Open
Priorities From the Review
Your ratings of the features, read from review/answers.json when the site was last built.
- 5, the highest (56): Logging sets in the gym; A rest timer; Reps in reserve on each set; Warm-up sets; The next workout, ready to start; The week at a glance; Estimated one-rep max for each lift; The history of each lift; A list of past workouts; A calendar of the days you trained; The training plan; Automatic progressive overload; Exercises counted in time; Editing a workout afterwards; Adding a workout from an earlier day; The food journal; Grouping food into meals; What is left of the day's targets; One search for food to add; Finding products in Open Food Facts; Logging a food again in one tap; Scanning barcodes; A page for each product; Correcting a product, or recording that it changed; Unknown figures kept apart from zero; Making a product by hand; A page for each recipe; Weighing a cooked dish; Building a recipe from ingredients; Choosing how calories split into macros; Logging your weight; Readings straight from the scale; Trend weight; Estimated daily expenditure; A weight goal; Daily targets worked out from the goal; When you would reach your goal; Targets that update each week; Targets that follow training; Cards in Theseus's chat; Telling Theseus about a workout; Logging a meal from a photo; Logging a meal by describing it; Correcting a product by telling Theseus; Reading a nutrition label from a photo; Telling Theseus a recipe; Making the plan with Theseus; The weekly training review; Theseus reacting to a finished workout; Asking Theseus to change today's workout; The weekly check-in on weight and food; Asking about your numbers; Logging by voice; A dashboard of everything; An MCP server of the tracker's own; A shared design system.
- 4 (32): Weight steps that match the equipment; Finishing a workout; Swapping an exercise during a workout; Skipping an exercise for today; Asking whether a change belongs in the plan; Sets for each muscle; Training volume for each exercise; Your training streak; Planned deload weeks; Drop sets; One side at a time; Telling the app what your gym has; A rest timer you hear with the phone away; Quick entries; Your usual foods for the time of day; Adding several foods as one meal; Units such as a serving or a pot; Archiving a product; Preparation steps in a recipe; Keeping a logged meal as a recipe; Copying a meal to another day; Planning food ahead; Planned entries that repeat; Fat and carbohydrate in the journal; Marking a day complete; Spotting half-logged days; Other body measurements; Expenditure shown as a range; Asking how to do an exercise; Nudges; Access keys for the tracker; Announcing what happens.
- 3 (14): Plates on the bar; A year of training days; A record of changes to the plan; Partial reps; Supersets; A description on a workout; A starting list of exercises; Exercises you don't want; A product's history; All of a day's nutrients on a tap; Nutrients over weeks; Seeing what the estimate was made from; Asking what to eat; A reminder to complete the day.
- 2 (12): Personal bests; Celebrating a new personal best; A list of your personal bests; Working with no connection; Alternatives chosen beforehand in the plan; Myo-rep sets; A standing note on an exercise; More than one gym; A day that starts when you choose; Copying a whole day; Exporting your data; Shortcuts on the app icon.
- 1, the lowest (1): Bringing in a programme you already have.
- Rejected (1): A plugin for Theseus, shipped with the tracker.
Wanted, Not Drawn Yet
Features with no screen yet, kept in review/content/features.json.
- Personal bests (Training)
- A list of your personal bests (Training)
- Alternatives chosen beforehand in the plan (Training)
- Asking whether a change belongs in the plan (Training)
- A year of training days (Training)
- Planned deload weeks (Training)
- Drop sets (Training)
- Partial reps (Training)
- Myo-rep sets (Training)
- One side at a time (Training)
- Supersets (Training)
- A standing note on an exercise (Training)
- Editing a workout afterwards (Training)
- Adding a workout from an earlier day (Training)
- More than one gym (Training)
- A starting list of exercises (Training)
- Exercises you don't want (Training)
- A rest timer you hear with the phone away (Training)
- Your usual foods for the time of day (Intake)
- Adding several foods as one meal (Intake)
- Making a product by hand (Intake)
- Copying a meal to another day (Intake)
- Copying a whole day (Intake)
- All of a day's nutrients on a tap (Intake)
- Choosing how calories split into macros (Intake)
- Spotting half-logged days (Intake)
- Nutrients over weeks (Intake)
- Targets that update each week (Body and Goal)
- Logging a meal by describing it (Coaching)
- Bringing in a programme you already have (Coaching)
- Theseus reacting to a finished workout (Coaching)
- Asking about your numbers (Coaching)
- Asking how to do an exercise (Coaching)
- A reminder to complete the day (Coaching)
- Logging by voice (Coaching)
- A plugin for Theseus, shipped with the tracker (Coaching)
- An MCP server of the tracker's own (Getting Around)
- Announcing what happens (Getting Around)
- Shortcuts on the app icon (Getting Around)
- A shared design system (Getting Around)
Not Planned
- Calories burned in exercise, as an input or a target. Vim was built around them.
- Steps, sleep and wearables.
- Friends and following. Whether other people get accounts is an open decision.
- Screens for keeping the catalogue, until something shows they are missed.
- Remembering what your pots weigh. You rejected it.
- Undoing what Theseus wrote to the tracker when a turn is reverted. The tracker is outside him, as the house is.