3.7 KiB
Exercise Tracker current state
- Last updated: 2026-11-07
- TASK-017: Complete following Captain's explicit acceptance and commit/local codex merge authorization on 2026-11-07.
- Source worktree:
/home/rob/projects/exercise-tracker; task branchtask/017-emom-totals, integration branchcodex, base9c0e820. Use Git to verify resulting refs/HEAD after integration.
Code/configuration take precedence over this summary.
Application
React/Vite/React-Bootstrap local workout app, seed v8 with 30 exercise definitions. Actual-date and Morning/Afternoon navigation, persistent wall clock, untimed recording, continuous daily-hang goal and attempts, equipment-specific load controls, partial drafts, explicit Save completion and compatible previous-session suggestions remain.
TASK-017 replaces normal EMOM minute tables with exactly Weight (kg) and Total reps; no minute/set switch. New emom-total records retain one reps/vestKg/completion row and snapshots under a separate :emom-total key. Older aggregate/minute records remain untouched in collapsed Earlier records with original editors. Never sum coexisting representations; future history must use the current aggregate where present.
Per-side exercises, including preacher curls and bird-dog holds, now use one Reps (each side) or Seconds (each side) input per set. Explicit edits write both stored side values together. Unequal/partial historical values remain intact on read and untouched Save, displayed as text until replaced. Equipment, prescribed side guidance and historical per-side calculation semantics remain compatible. Zero is explicit; blanks remain incomplete. No schema migration or programme change.
No timers/audio, dog walks, dark theme, full history/progress, routine editor, backup UI or offline-release work was added. TASK-015 remains Complete. TASK-016 is planning-only. TASK-005 and TASK-008 remain accepted future work; other task statuses are in TASKS.
Storage
IndexedDB v3 retains routineOverrides, strengthEntries and performanceEntries. Detailed schemaVersion 1 records retain definition/prescription snapshots. JSON adapter exports envelope v3 and imports v1/v2/v3 atomically; old records are not silently converted. Old app builds do not support the new aggregate format. No Settings backup UI exists. User data was not cleared.
Validation and workflow
Final TASK-017 checks: 143 tests across 13 files, lint, production build, context validation (0 warnings) and whitespace checks pass on 2026-11-07. Coverage includes actual UI/IndexedDB save/reload/date isolation, aggregate/minute separation, historical edit isolation, shared side fields, old unequal/partial values, zero/blank/error paths, suggestions and JSON compatibility. Agent UI inventory was empty; no independent screenshot/mobile/desktop/keyboard visual pass is claimed. Captain explicitly accepted the task.
The testtask wrapper/config/hook and hash-verified allowlisted snapshot capability are provisioned. Only Captain runs testtask; agents must not launch/restart it, open browser windows or stop testing sessions without explicit instruction. Snapshot files are ignored by Git, tests and lint. No testtask/browser is launched for final integration.
TASK-017 implementation used the original worktree on a dedicated branch rather than a separate implementation worktree; this deviation was acknowledged. Manual-test snapshots are evidence environments, never implementation worktrees. Captain retains future commit/merge/release authority. No push or deployment is authorized.
Node minimum is 20.19; validation uses /home/rob/.nvm/versions/node/v24.21.0/bin. Baseline Vite/Vitest advisories were previously reported (1 high, 2 moderate); dependency versions are unchanged. No backend, authentication, remote or deployment target exists.