# Seven minute ## What this builds A timer for a short, bodyweight routine. The moves, the order, and the durations are a file. An injectable clock drives the session. A golden mid-routine frame is taken. The routine is original in wording, even when it covers familiar moves. No sensor and no camera are required. Read `spekkr.inputs.json` first. `title` is at the start. `prepare` is a lead-in. `routine` chooses the list. `beep` and `hold` change cues and pause. The clock is injectable. ## Out of scope - A camera that judges form, or a wearable sensor. - A paid trainer catalogue. - Network or an account in the checks. ## Requirements Each requirement has an id. Checks name the id they cover. ### R1. Order and durations - The classic routine is the 12 moves and the 30/10 timings in `fixtures/routine-classic.json`. Short is the first 4 moves with the same timings. - At injected times listed in the file, the current move and whether it is work or rest match the file, including the prepare window. - A pause, if on, freezes the remaining time until resumed. Accept when: every listed instant matches the move and phase, and a pause holds the remaining time. ### R2. Frames and files - Goldens: the start (prepare or first move), a mid-move, a rest, and a done screen. - One command runs the clock table, the pause, a mocked beep request, and writes the frames. No network and no sensors. Accept when: the command passes for both routines, and the frames match the goldens. ### R3. Inputs - The build reads `spekkr.inputs.json`. Settings label the UI, options turn features on or off, and a swap must be one of its choices. - A value outside a stated range, or a swap that is not one of its choices, is refused before the app starts its checks, with a message that names the key. Accept when: the default inputs render, an illegal swap is refused by name, and changing a visible setting (for example the title) shows up in a later check. ### R4. Checks and report - One command runs every acceptance check at the defaults and at the person's inputs, including golden frames where a requirement asks for them. - Checks do not need a network, a paid API, or physical hardware. Accept when: the command passes at the defaults, and a deliberately broken fixture or a wrong price fails it. ## Verification Exercise order and durations are tested with a fake clock against a fixture table, including rest and a pause. A golden mid-routine screenshot is checked. Audio may be mocked. No camera, no sensor, and no network. ## Definition of done - Every acceptance check above runs from one command, and all pass at the person's inputs. - A README says how to start the routine, how to add a move, and how to run the checks.