Files
Excersise-Tracker/docs/CURRENT_STATE.md
T

57 lines
7.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Exercise Tracker current state
- Last updated: 2026-11-04
- Current branch: `task/001-foundation`
Code and configuration take precedence over this summary.
## Application status
The React/Vite app shows a version 7 seven-day routine with 30 exercise definitions, actual-date navigation, exclusive Morning/Afternoon views, title-only Monday/Friday full body stretch routines, and no dog walks. A large local time-of-day clock stays in the header. Afternoon isometric holds have no prescribed time. The daily hanging goal starts at two minutes, can be edited, and persists in IndexedDB without vest details.
TASK-014 removes the workout, exercise, rest, and EMOM timers and all timer audio. Morning EMOM cards accept one total-reps entry and exercise-specific actual load. Regular repetition exercises accept separate reps and load for each entered set. The next set copies the preceding set's load fields but leaves reps blank. Vest, dumbbell, and EZ-bar inputs follow the routine seed; exercises using both vest and dumbbells show separate fields. A paired-dumbbell field records kilograms per dumbbell, with two dumbbells reflected in the saved total external kilograms. Bodyweight-only work records zero added weight. Earlier single-total entries remain readable and editable as legacy totals rather than being reinterpreted as components. Entries are keyed by local date and exercise in IndexedDB; browsing alone does not save a record. The database remains version 2 and preserves the hanging-goal override store. Prescribed EMOM timing and rest guidance remain visible as targets, with no app timer or volume-per-minute feature.
Broader recording, a full history view, routine editing, backup, and offline reload are still planned work. The latest commit is `e86a2e7` (`Initialize Workout Tracker app shell`); the later task work is uncommitted.
## Validation and limits
- On 2026-11-04, TASK-014 lock-on verification passed all 27 tests across 7 files, lint and production build in the current worktree. No application changes or browser/manual checks were made; Captain validation remains pending.
- On 2026-10-27, all 23 tests across 7 files passed, including strength-entry UI, date isolation, validation, IndexedDB v1-to-v2 upgrade, and hanging-goal preservation. Lint and production build passed.
- On 2026-10-28, the revised strength-entry flow passed 27 tests across 7 files, lint, production build, context validation, and `git diff --check`. Tests cover flys, mixed vest/dumbbell entries, next-set weight defaults, legacy totals, and storage consistency. The browser inventory remained empty, so visual/manual verification is still pending.
- The available computer-use inventory had no browser, so phone/desktop visual checks could not be run here. The owner previously confirmed TASK-003's UI check; the current TASK-014 layout has not been independently checked in a browser.
- Node 24.21.0 is installed outside the default shell PATH at `/home/rob/.nvm/versions/node/v24.21.0/bin`.
- Exercise illustrations and detailed technique copy are not supplied; TASK-004 can use placeholders, while TASK-011 requires reviewed assets/content. Deployment location is not selected.
## Current work and priorities
TASK-014 is Complete following Captain's explicit acceptance on 2026-11-04, including suitcase-carry dumbbell inputs and front/side-plank vest inputs. Final automated checks passed 32 tests, lint and build; agent browser QA remained unavailable. TASK-006's timer scope is superseded. TASK-005 remains accepted for additional recording, including hang attempts, hold checkoffs, notes, and other previously accepted records. TASK-008 remains accepted for history and total external-load volume from recorded reps and external weight, without a time denominator.
## Workflow state
Roborto Workflow 2.0 operating guidance is in `AGENTS.md` and `docs/WORKFLOW.md`; Context System remains 1.0. This is the sole worktree on `task/001-foundation`. It contains uncommitted work spanning multiple tasks. No integration branch, remote, merge policy, worktree directory convention, release branch, or repository testtask adapter is defined. Proposed defaults are documented for Captain review, not yet adopted.
## TASK-015 planning status — 2026-11-04
The matching TASK-015 record was expanded after inspection, not duplicated. This session changed documentation only; the running application/database remain unchanged. TASK-015 awaits implementation approval, the exact timer scope, and a safe agreed Git base/worktree arrangement. The latest request clarifies per-minute EMOM logging, actual per-side hold durations, continuous daily-hang target and bodyweight-only walk classification; see ADR-017 and the explicit planning overlays in SPEC/WORKOUT_ROUTINE. Existing TASK-014 Captain validation remains pending. No app tests or browser QA were rerun for this planning-only update.
## TASK-014 engaged validation — 2026-11-04
No app changes were needed based on source review; automated checks passed earlier in this session. Browser inventory is empty and in-app browser unavailable, so real-browser QA remains unverified. A loopback-only Vite acceptance endpoint is running at `http://127.0.0.1:5174/` from this worktree; it uses a distinct browser-storage origin from port 5173. Captain validation remains the completion gate; see HANDOFF for the checklist and environment.
## Suitcase-carry weight correction — 2026-11-04
TASK-014 now shows a single-dumbbell kilogram input per suitcase-carry set without requiring repetitions. Different loads (including zero) save/reload by date; a new set copies the preceding load. Existing 30–60-second-per-side targets remain separate and no actual duration is invented. Storage adds `load-sets` records in the existing v2 store without rewriting prior data. All 29 tests across 7 files, lint and build pass. Browser QA remains unavailable and Captain validation is pending.
## Plank vest correction — 2026-11-04
TASK-014 now exposes vest kilograms per set for front planks (weight-only, no reps) and side-plank hip raises (reps plus vest). Seed v7 adds unspecified vest load for these two exercises; no prescribed targets or historical records are rewritten. Old bodyweight-only rows remain readable as prior totals and require explicit conversion to component entry. All 32 tests across 7 files, lint and build pass. Browser QA remains unavailable; Captain validation is pending.
## TASK-014 acceptance — 2026-11-04
Captain explicitly confirmed “task complete” after reviewing the implemented corrections. TASK-014 is Complete. Earlier pending-validation entries above record the sequence before acceptance, not an outstanding gate. No further task was engaged, and no commit, merge or deployment was performed. TASK-015 and TASK-016 remain awaiting implementation authority.
## Authorized baseline integration — 2026-11-04
Captain selected timer-free TASK-015 and authorized committing all current pending work and merging it into local codex before implementation. Branch inspection found only task/001-foundation and no remote; codex will be created from the original foundation commit. ADR-018 and WORKFLOW establish codex as TASK-015's integration base and sequential task/015-equipment-ui branch in this worktree. No TASK-015 merge/push/deployment is authorized. Earlier unresolved timer/Git notes are superseded by this explicit instruction.