# Exercise Tracker project overview This document contains stable, repository-supported project information. See `CURRENT_STATE.md` for current status and `HANDOFF.md` for recent replaceable context. This is a newly initialized repository. The user calls the planned product "Workout Tracker"; the repository directory remains `exercise-tracker`. ## Product Planned: a personal, offline-first workout tracker with seven-day date navigation; exclusive Morning and Afternoon views; strength sets, repetitions, and weight components; untimed daily isometrics and daily hanging practice with an editable time goal; Monday/Friday “Full body stretch routine” headings with no exercise entries until the owner provides them; exercise details and local illustrations; a prominent persistent local time clock; no workout timers; EMOM total reps/weight and regular per-set reps/weight recorded by date; workout history and progress including total external-load volume; editable routines; JSON backup and restoration; and responsive mobile and desktop layouts. The owner removed the previously listed stretch exercises. The authoritative initial programme is bundled as data and has a Today/Week routine view. The large local time-of-day clock remains, while workout, exercise, rest and EMOM timers have been removed. Strength rep/weight entry is implemented locally with exercise-specific vest, dumbbell, and EZ-bar fields; the daily hang shows no vest load yet. Other recording behavior remains future work. `docs/SPEC.md` defines application behavior and `docs/WORKOUT_ROUTINE.md` defines the authoritative initial programme. ## Technology and architecture The application foundation now uses React, Vite, and React-Bootstrap. IndexedDB stores the user-edited daily hanging goal and dated strength entries; TASK-005 will extend local storage for additional workout records while preserving those values. The application has no backend, authentication, or cloud dependency. The planned design keeps routine templates, exercise definitions, historical workout records, and UI state separate. The initial routine is bundled as versioned seed data; subsequent user edits are local data and must not be overwritten by updates. A storage adapter separates React components from IndexedDB. A service worker and locally bundled assets are required for offline reload in the release scope. ## Repository structure - `AGENTS.md` — repository agent instructions and context-system version marker. - `docs/` — project overview, current state, decisions, tasks, and handoff. - `docs/SPEC.md` — application requirements and behavior. - `docs/WORKOUT_ROUTINE.md` — authoritative initial training programme. - `docs/WORKFLOW.md` — repository operating workflow and open Git conventions. - `src/` — React shell, local styling, routine view, dated strength-entry storage/UI, a daily hang-goal storage adapter, tests, and versioned initial routine data; broader workout storage remains future work. - `package.json` — development, test, lint, and build commands. ## Development environment Use Node.js 20.19 or newer. Run `npm install`, `npm run dev`, `npm test`, `npm run lint`, and `npm run build` from the repository root. ## Production/deployment architecture No deployment architecture is defined or verified. ## Documentation map - Current status: `docs/CURRENT_STATE.md` - Accepted decisions: `docs/DECISIONS.md` - Active scope: `docs/TASKS.md` - Recent handoff: `docs/HANDOFF.md` - Operating workflow: `docs/WORKFLOW.md`