59 lines
8.9 KiB
Markdown
59 lines
8.9 KiB
Markdown
# Exercise Tracker current state
|
|
|
|
- Last updated: 2026-11-11
|
|
- 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`, branch `task/016-dark-theme-rebuild`; integration target `codex`, base `922d1f6`. Verify resulting refs with Git.
|
|
- TASK-017 remains Complete and integrated from 2026-11-07.
|
|
|
|
Code/configuration take precedence over this summary.
|
|
|
|
## 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. Real Captain launch remains pending. 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. Conditional previous-session visibility (TASK-019) is not included; its original candidate is 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.
|