# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Install the tool in the `tool` input (CadQuery or OpenSCAD) and a mesh library for the checks. Read `spekkr.inputs.json` into one place at the top of the model. Check: an empty or trivial model is written and read back, and the inputs are visible in that source. 2. **Metrics (R1).** Build what `R1. Metrics` asks for, to the numbers in `design.md`. In particular: The effective focal length is `focal` within 2%. The on-axis RMS spot size at the image plane, at the design wavelength, is under the bound in `design.md` (for example 15 µm at F/2.8, 50 mm, as in the file). Check: the `R1. Metrics` acceptance checks pass. 3. **Plots and files (R2).** Build what `R2. Plots and files` asks for, to the numbers in `design.md`. In particular: Goldens: a layout (elements and rays), an on-axis spot, an off-axis spot, and a ray-fan plot, compared with a documented tolerance on plots. Check: the `R2. Plots and files` acceptance checks pass. 4. **Inputs (R3).** Build what `R3. Inputs` asks for, to the numbers in `design.md`. In particular: Numeric inputs are read from `spekkr.inputs.json` and must stay inside the ranges in the Inputs table in `design.md`. Check: the `R3. Inputs` acceptance checks pass. 5. **Checks and report (R4).** Build what `R4. Checks and report` asks for, to the numbers in `design.md`. In particular: One command builds the model at the defaults and at the person's inputs, measures it against `design.md`, and writes a short report. Check: the `R4. Checks and report` acceptance checks pass. 6. **Goldens and the report.** Render the documented views of the default model. Run the one-command report at the defaults, at the person's inputs, and at one more legal set. Check: the report says pass throughout, and the rendered views are written next to the model. 7. **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.