Complete TASK-017 simplified EMOM and per-side entry
This commit is contained in:
@@ -339,3 +339,38 @@ TASK-015 refinement accepted by Captain (2026-11-04): floor flys always use two
|
||||
Subsequent TASK-015 refinement accepted by Captain (2026-11-04): remove “Dumbbells used” from every exercise. Keep count as internal load metadata with definition defaults for new rows, preserving already-recorded values. An unrecorded null count in an older draft may be filled from its saved definition only when the user explicitly saves. Kg-per-dumbbell entry and accurate total-load calculations remain.
|
||||
|
||||
Subsequent TASK-015 completion refinement accepted by Captain (2026-11-04): remove the per-row completion checkboxes. Successful explicit Save marks fully filled valid rows complete, leaving incomplete rows as drafts. Invalid entered values remain errors; zero is valid where applicable. Suggestions and browsing never mark achieved performance. Editing a saved row makes it an unsaved draft until Save; existing stored records are not rewritten merely by reading. Stored completion booleans remain compatible, so no database migration is required.
|
||||
|
||||
|
||||
## ADR-020: EMOM entry requires only weight and total reps
|
||||
|
||||
- Status: Accepted; TASK-017 completed with Captain acceptance on 2026-11-07
|
||||
- Date: 2026-11-07
|
||||
|
||||
### Decision
|
||||
|
||||
Normal EMOM entry has exactly one weight input and one total-reps input per exercise/session. Remove the minute table and minute/conventional-set switch. Retain protocol guidance, explicit Save and timer-free behavior.
|
||||
|
||||
### Context
|
||||
|
||||
Captain reiterated the earlier aggregate-entry instruction and rejected the table delivered in TASK-015. ADR-014 recorded the original intent. This decision supersedes ADR-017's per-minute EMOM clause and corresponding TASK-015/UI-brief requirements; other equipment and measurement decisions remain in force.
|
||||
|
||||
### Consequences
|
||||
|
||||
TASK-017 owns the correction. Preserve existing aggregate and minute records without silent conversion, data loss or fabricated uniform weights. Resolve compatible persistence and historical access during implementation while keeping normal entry to the two requested inputs. TASK-008 must support aggregates and preserved minute history without double-counting. Task creation does not start application implementation.
|
||||
|
||||
|
||||
TASK-017 implementation contract (2026-11-07): new `emom-total` records retain schemaVersion 1 with one reps/vestKg row and immutable snapshots. A `:emom-total` key suffix preserves the original date/period/exercise detailed key. IndexedDB stays v3 with no rewriting migration. Earlier minute/aggregate records remain in a collapsed disclosure with explicit original-format editing; no empty minute editor is created for legacy-only history. Suggestions match new aggregates only. Coexisting representations must not be summed; the new aggregate is the current representation for future history. JSON exports use envelope v3, with v1/v2/v3 import compatibility.
|
||||
|
||||
|
||||
## ADR-021: One measurement input for both sides
|
||||
|
||||
- Status: Accepted; TASK-017 correction accepted by Captain on 2026-11-07
|
||||
- Date: 2026-11-07
|
||||
|
||||
### Decision
|
||||
|
||||
For exercises with per-side reps or durations, show one measurement input per set, applying that value to each side. Captain named Single-arm preacher curls over a chair as an example and requested removal of separate left/right inputs generally. This supersedes TASK-015's independent side-input UI requirement, while keeping programme side guidance and equipment behavior.
|
||||
|
||||
### Compatibility
|
||||
|
||||
Retain the current left/right storage fields and historical semantics. Explicit edits to the shared input set both values; browsing and untouched Save preserve unequal or partial historical values, displayed as read-only text rather than choosing one silently. No migration or fabricated historical values.
|
||||
|
||||
Reference in New Issue
Block a user