Implement TASK-015 metadata-driven exercise logging

This commit is contained in:
rob
2026-11-04 22:22:26 +00:00
parent 669bfc3910
commit 9c0e82037f
31 changed files with 1537 additions and 416 deletions
+17 -9
View File
@@ -2,7 +2,7 @@
**Status:** Current agreed baseline
**Last revised:** 2026-10-26
**Last revised:** 2026-11-04
**Purpose:** Authoritative description of the user's present training programme for the workout application.
**Proposed repository location:** `docs/WORKOUT_ROUTINE.md`
@@ -112,8 +112,8 @@ Target effort (RPE): Monday **5–6**; Tuesday–Thursday **3–4**; Friday **6
| Timing | **Afternoon**, alongside isometric holds, separate from morning strength training |
| Goal | Start at **2 minutes**; the owner can change the goal in the app |
| Current duration | **Not specified** — 2 minutes is the target, not a confirmed current ability |
| Sets / breaks | **Not specified** — do not assume 2 minutes continuous or cumulative |
| Weight | Vest use may be added later; it is not shown for daily hangs in the current app |
| Sets / breaks | Optional multiple attempts; initial target is one continuous 2-minute hang, never a cumulative total |
| Weight | Bodyweight only; no external-weight inputs |
The daily hang is **additional to the existing programme**. Saturday also currently lists 2–3 sets of finger hangs in the morning; retain those for now rather than silently replacing them. Track the daily hang and Saturday finger hangs separately. Since pull-ups, chin-ups, hanging knee raises and finger hangs already load the hands and elbows, ease off if grip, finger, elbow or shoulder discomfort develops.
@@ -133,11 +133,11 @@ The daily hang is **additional to the existing programme**. Saturday also curren
## 6. Implementation notes for the workout app
- Preserve **exercise order**, **prescription ranges**, **optional status**, and **vest load** in structured data; do not flatten a range (e.g. `3–4 sets`) to a mandatory count without representing the difference.
- Preserve **exercise order**, **prescription ranges**, **optional status**, and separate prescription context in structured data; do not flatten a range (e.g. `3–4 sets`) to a mandatory count without representing the difference.
- Separate the routine template from workout logs. Logged sets, weights, repetitions, timings and notes are **historical user data**.
- The EMOM remains a 10-minute protocol. Record actual total reps and external weight for the exercise; the app does not run an EMOM timer or require per-round entries.
- The EMOM remains a 10-minute protocol. Record actual reps and load per minute and derive completed totals; no EMOM timer runs. Existing aggregate totals remain historical aggregates without invented minute entries.
- Afternoon isometrics and **daily hanging practice** are separate from morning strength workouts. Monday and Friday mornings show the full body stretch routine heading without exercise entries until the owner supplies them.
- Record daily hang duration and whether the 2-minute goal was achieved; do not default duration to 120 seconds or assume it is one continuous attempt. Keep Saturday finger hangs independently logged.
- Record daily hang duration and whether the 2-minute goal was achieved; do not default performed duration to 120 seconds. Only an actual continuous attempt meets the continuous target; cumulative hanging is a separate measure. Keep Saturday finger hangs independently logged.
- Include exercise instructions/images as independent exercise-library data; this source document records the *agreed programme*, not an exhaustive technique manual.
- Any exercise weight omitted above is **not specified**. Do not infer a dumbbell or EZ-bar load.
- No fixed finger-hang duration is agreed.
@@ -156,9 +156,9 @@ The daily hang is **additional to the existing programme**. Saturday also curren
| 2026-10-18 | Added daily afternoon hangs alongside isometric holds, with a goal of 2 minutes; current duration and continuous/cumulative format remain unspecified. |
| 2026-10-18 | Consolidated the then-current strength routine, seven-day isometrics, walking volume and known vest loads into one document. |
## 8. TASK-015 equipment and measurement planning addendum — 2026-11-04
## 8. Authoritative equipment and measurement assignments — 2026-11-04
These are the Captain's latest requested assignments for TASK-015, awaiting implementation approval. They take precedence over older equipment wording above for this task; the running seed is unchanged. Numeric vest references above are historical prescription context, never exercise capabilities or assumed actuals. Exercise definition, workout prescription and actual performance must remain separate.
These are the Captain's assignments implemented in the TASK-015 candidate, seed v8. They take precedence over older equipment wording above. Numeric vest references above are historical prescription context, never exercise capabilities or assumed actuals. Exercise definition, workout prescription and actual performance must remain separate.
| Session | Exercise | Supported resistance equipment | Performance measurement |
|---|---|---|---|
@@ -197,8 +197,16 @@ These are the Captain's latest requested assignments for TASK-015, awaiting impl
- Straight bar is a supported equipment type with total load including the bar, but no current exercise is assigned it. EZ curl bar uses the same total-weight convention. Dumbbell weights are per dumbbell; preserve the number used separately.
- Actual vest/dumbbell/bar load may vary per set or EMOM minute, including explicit zero where applicable. Do not prescribe particular weights through exercise definitions.
- Daily hanging supports multiple optional attempts. Longest continuous and cumulative duration are different results; only a continuous attempt meets the continuous target. This clarifies the earlier unspecified continuous/cumulative goal without inventing current ability.
- Minute-by-minute EMOM supersedes aggregate-only logging for new performance once TASK-015 is approved and implemented. Existing aggregate history stays intact. Existing prescription ranges/order/rest/optional flags remain unless explicitly changed here.
- Minute-by-minute EMOM supersedes aggregate-only logging for new detailed performance under TASK-015. Existing aggregate history stays intact. Existing prescription ranges/order/rest/optional flags remain unless explicitly changed here.
### Implemented equipment correction — 2026-11-04
At Captain's explicit request, seed v7 now assigns weighted vest support with unspecified load to front planks and side-plank hip raises. Both accept actual vest kilograms per set, including zero. Front planks remain duration-prescribed and require no reps; hip raises retain repetitions per side. This implements only these two assignments from the planning matrix, not the rest of TASK-015. Existing bodyweight-only performances remain historical data.
### TASK-015 candidate — 2026-11-04
All 30 definitions now describe equipment and measurement semantics without numeric resistance. Seed v8 aligns push-up plus, single-leg RDLs and finger hangs with the matrix and makes the daily-hang goal continuous. Unilateral actuals use separate left/right values. New actual dumbbell entries use kg per dumbbell and count; bars include the bar. Old prescription vest values above remain plan context, not capabilities or automatically achieved values. Details retain available source notes with honest content/image placeholders. No timers return. Captain accepted TASK-015 on 2026-11-04, including the later count-input and completion-checkbox refinements.
Floor-fly clarification (2026-11-04): always use two dumbbells. Enter kilograms per dumbbell; no dumbbell-count input is required. New records retain the fixed count of two for accurate resistance/volume calculations without changing historical records.
Further UI clarification (2026-11-04): no exercise needs a “Dumbbells used” input. New rows use the exercise definition's one-/two-dumbbell count internally. Kg-per-dumbbell inputs remain, and historical actual counts are preserved rather than recalculated from the current definition.