13 KiB
Exercise Tracker current state
- Last updated: 2026-11-11
- TASK-019: Complete following Captain acceptance and explicit commit/local codex merge authorization on 2026-11-11. Persistent reconstruction is in
.task-worktrees/task-019, branchtask/019-previous-availability-rebuild, base6ea3f7b. - TASK-020: Complete following Captain acceptance and explicit commit/local codex merge authorization. Its tooling is already integrated in
0cf0515; dedicated branch completion records are documentation only. - TASK-016: Complete following Captain acceptance and explicit commit/local codex merge authorization on 2026-11-11. Includes reconstructed compact-input styling and testtask tooling prerequisites.
- Source worktree:
.task-worktrees/task-016, branchtask/016-dark-theme-rebuild; integration targetcodex, base922d1f6. Verify resulting refs with Git. - TASK-017 remains Complete and integrated from 2026-11-07.
Code/configuration take precedence over this summary.
Accepted TASK-019 reconstruction — 2026-11-11
Captain requested finishing TASK-019. New implementation is in persistent .task-worktrees/task-019, branch task/019-previous-availability-rebuild, based on codex 6ea3f7b. Status: Complete following Captain acceptance and explicit commit/local codex merge authorization. The original /tmp source remains missing; this is a rebuild, not recovery. Captain authorized integration of the candidate into local codex; verify resulting commit/refs with Git.
The previous-session action appears only after the existing compatibility query finds applicable earlier completed data. Shared keyed/cancellable availability covers regular reps/holds/hang, aggregate EMOM and original minute editors, using saved definitions and format. Unknown/empty/failed lookups remain hidden; a lookup-only error/retry preserves current input. Late old-context results cannot enable the wrong button. No auto-application, writes, data migrations or changes to compatibility/Save/history semantics.
Fresh checks: 180/180 tests across 15 files with one worker, lint/build, home source preflight 019, context validation (0 warnings), whitespace and base diff review pass. Captain explicitly accepted TASK-019 and authorized its commit/local codex merge. No agent runner/browser/server/snapshot launch; no push/deploy or cleanup authorized. Exact test handoff is in HANDOFF. Prior statements below that TASK-019 still requires rebuilding are historical and superseded by this available candidate.
TASK-016 rebuild — 2026-11-11
Captain reported that scripts/testtask.sh 016 still failed after the tooling repair. Rebuilt TASK-016 in persistent .task-worktrees/task-016, branch task/016-dark-theme-rebuild, base 922d1f6. It is new implementation from the accepted task, not a recovery of the lost candidate. Captain accepted this candidate and authorized its commit/local codex merge on 2026-11-11; the resulting integration includes these application changes at project home.
The candidate supplies a single dark document/Bootstrap/native-control palette and restores accepted TASK-018 compact 5.25rem numeric inputs. Existing layouts, workout behavior and storage remain. Missing TASK-019 availability work is not included. TASK-020 launcher/helper/hook are copied as a prerequisite. Home and candidate exclude .task-worktrees from tests/lint to avoid recursively checking independent implementation sources. Source preflight now selects the real persistent 016 candidate. Fresh checks pass: 143 tests with one worker (default-parallel run had two timing failures), lint/build, 10 routing tests, source preflight, context and whitespace review. Captain explicitly accepted TASK-016; full evidence is in HANDOFF. No independent agent browser review is claimed.
Historical source loss and testtask repair — 2026-11-11
The /tmp/exercise-tracker-task-016, 018, 019 and 020 implementation directories are absent; Git lists their registrations as prunable. Their branches all point at baseline 922d1f6, with no candidate commits. Git unreachable-object inspection found only old routine/specification documents. The historical UI candidate descriptions below are not currently testable; do not claim those implementations are available or recovered. Captain does not know of a saved source copy. Only the older TASK-017 snapshot exists at project home.
TASK-020 launcher repair is in persistent .task-worktrees/task-020 on task/020-testtask-repair, with tooling also installed in project home. Wrapper and hook select supported Node through nvm when needed, preserving the standalone runner used by PitchInvader. scripts/testtask.sh --check 020 validates source/runtime/dependencies without running services, preparing snapshots or opening browsers. Missing tasks fail explicitly; live replacements can be selected despite an old missing registration. Ten stub-runner tests pass. Captain accepted TASK-020 on 2026-11-11; its tooling was already integrated through TASK-016 in 0cf0515. This historical blocker is resolved for 016 by the accepted persistent reconstruction described above; TASK-019 remains missing.
Historical active UI group (sources now missing)
Captain engaged TASK-019 and TASK-016 together on 2026-11-08. Both are implementation-ready / awaiting Captain validation. Original /home/rob/projects/exercise-tracker remains on codex 922d1f6 with context edits and TASK-020 home-routing tooling; it does not contain candidate application changes.
TASK-019 source: /tmp/exercise-tracker-task-019, branch task/019-previous-availability. TASK-016 and shared acceptance candidate: /tmp/exercise-tracker-task-016, branch task/016-dark-theme. Both use codex 922d1f6 with accepted TASK-018 CSS copied as an explicit uncommitted prerequisite. TASK-016 also contains identical TASK-019 source/tests for the shared pass; no commits or Git merges occurred. Preserve these implementation worktrees until Captain authorizes integration.
TASK-018 remains Complete following Captain acceptance, with its original source in /tmp/exercise-tracker-task-018 on task/018-compact-inputs. Compact 5.25rem numeric widths, bounded columns and existing validation/storage semantics are retained in the group candidates.
TASK-019 now gates the previous-session action on compatible source availability, with async context protection and lookup-failure retry. TASK-016 supplies one dark green document/Bootstrap/native-control palette; the UI brief and contrast table are in its worktree. Full tests pass 155/155 in both candidates; a final parent-context race guard passes the 13-test focused suite, including an additional regression. Final lint/build, context validation and whitespace checks pass. Agent browser verification is not claimed; Captain's shared test command and checklist are in HANDOFF. Both tasks need Captain acceptance before Complete.
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.
TASK-016 integration adds the accepted dark theme and compact numeric inputs. No timers/audio, dog walks, full history/progress, routine editor, backup UI or offline-release work is added. TASK-015 remains Complete. TASK-019 reconstruction now supplies conditional previous-session visibility; its original /tmp candidate remains missing. 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.
TASK-020 home-folder testing
Project-home scripts/testtask.sh TASK_ID now resolves the corresponding checked-out task/TASK_ID-* branch/worktree and invokes the unchanged runner from that source. TASK-016 selects the combined acceptance candidate. Missing/ambiguous sources fail clearly. Authoritative tooling worktree is /tmp/exercise-tracker-task-020; matching wrapper/helper/tests are installed uncommitted at project home for immediate use. Five stub-runner routing tests and shell syntax pass; no actual runner/browser was launched. Captain real-launch verification remains pending. Global runner and snapshot behavior are unchanged.
Completed-work integration audit — 2026-11-11
Captain accepted TASK-020 and authorized its commit/local codex merge. Duplicate tooling and older context from .task-worktrees/task-020 were preserved in a named safety stash, then its branch was fast-forwarded to 0cf0515 before a context-only completion commit. No application/tooling implementation differs from accepted TASK-016 integration.
All available completed application work is integrated in local codex. Every existing task branch commit was already a codex ancestor at audit time; TASK-020 completion is integrated from its dedicated branch. Original TASK-018 code was lost, but its accepted compact-input requirements were reconstructed and integrated in 0cf0515. TASK-019 remains accepted/rebuild-required; its previous uncommitted source is absent and is not part of integrated code. Stashes preserve duplicate/older context, not a recovered TASK-019 implementation. No push/deploy, branch/worktree removal, registration pruning or test-session cleanup occurred.
TASK-019 completion integration — 2026-11-11
Captain explicitly accepted TASK-019 and authorized its commit/local codex merge. The current persistent source contains the validated replacement for the lost implementation. All available completed task application/tooling work is integrated after this merge; no uncommitted candidate work remains. Three safety stashes preserve only duplicate/older tooling/context from earlier integrations, including home's pre-acceptance 019 context. Missing original /tmp registrations and all persistent implementation worktrees remain untouched. Earlier audit notes that TASK-019 was missing/rebuild-required are historical and superseded by this accepted reconstruction. Future implementation remains limited to explicitly accepted tasks.