Complete TASK-008 history and progress

This commit is contained in:
rob
2026-11-11 17:54:19 +00:00
parent e3bd365add
commit bf9c3ce320
16 changed files with 878 additions and 17 deletions
+11
View File
@@ -381,3 +381,14 @@ Retain the current left/right storage fields and historical semantics. Explicit
- Status: Accepted through Captain's engagement of the briefed TASK-005 scope, 2026-11-11.
Session notes belong to date/period, exercise notes to date/period/exercise, and body weight to the date shared across both periods. These are optional actual observations, stored separately from performance and from permanent exercise-library guidance. Saving them does not complete sets, copy prescription targets or change load/volume. Use explicit Save; Clear edits the draft and Save confirms removal. Notes are plain text (4000-character limit); body weight is finite positive decimal kilograms. Preserve prior records via additive storage and old backup readers. Technical schema/version and exact UI are specified in TASK-005_UI.md.
## ADR-023: Read-only history and compatible recorded progress
- Status: Accepted through Captain engagement of the TASK-008 briefing defaults, 2026-11-11.
History is read-only, newest first, with date/period filters, saved row details and local accessible charts/values. Counts refer to recorded completed/draft rows, not completion of the whole prescribed workout. Notes-only/weight-only dates are observations. Calculations use saved actuals/metadata, with explicit zero, missing/partial/overflow distinctions; no normalized performance, timers, coaching, calories or streaks.
Prefer the current EMOM total when it coexists with original minute/set data, including when current data is a draft. Preserve other representations separately and exclude them from totals. Legacy date/exercise records have no saved period/definition/completion: show original saved values without inferring those fields; if detailed data exists for the same date/exercise, keep the legacy record separately excluded to avoid double-counting. Otherwise its original total load/reps remain separately usable as earlier recorded volume, with unknown weight-only volume clearly labelled.
Compare detailed series only within exercise, period, format, saved measurement/equipment/fixed-count signature and actual dumbbell-count modes. Legacy series are separate by original format and recorded load-field modes. Row-based volume excludes body weight and timed-only work. Highest recorded metrics are within a compatible series, with partial labels; body weight has no preferred/best direction. Unknown/invalid storage fails visibly rather than silently manufacturing data. Storage schema and backup contracts remain unchanged.