# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read `spekkr.inputs.json` first. Check: a blank or heading page loads, and an empty test run passes. 2. **Scenes (R1).** Build what `R1. Scenes` asks for, to the numbers in `design.md`. In particular: A scene has an id, a heading, a body, an image key, and two or three choices. Each choice has a label and the id of the next scene, or `end`. Check: the `R1. Scenes` acceptance checks pass. 3. **Branching (R2).** Build what `R2. Branching` asks for, to the numbers in `design.md`. In particular: A choice moves to the documented next scene. There is no randomness in the path. Check: the `R2. Branching` acceptance checks pass. 4. **Chrome (R3).** Build what `R3. Chrome` asks for, to the numbers in `design.md`. In particular: If `narrator` is on, after the first choice a one-line aside from the chosen choice's `aside` field is shown under the next scene. Check: the `R3. Chrome` acceptance checks pass. 5. **Screenshots (R4).** Build what `R4. Screenshots` asks for, to the numbers in `design.md`. In particular: The four frames in `design.md` are taken from path A at the named scenes. Check: the `R4. Screenshots` acceptance checks pass. 6. **Files (R5).** Build what `R5. Files` asks for, to the numbers in `design.md`. In particular: One command loads both scripts, walks the three paths, and writes the screenshots. No network. Check: the `R5. Files` acceptance checks pass. 7. **Goldens.** Capture the frames named in `design.md` at the defaults, with motion frozen where the file says so. Compare them within the stated tolerance. Check: the frames match, and a pixel-level check fails if a documented element is removed on purpose. 8. **Finish.** Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in `spec.md` is true.