# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Add the tables and indexes in `design.md`, and a clock that tests can set. Check: migrations run from empty. 2. **Add a job (R1).** With a registry of handlers by kind. Check: the R1 acceptance tests pass. 3. **Take and finish a job (R2).** The queries in `design.md`, and a worker loop that runs up to `concurrency` handlers. Check: the R2 test with 4 workers and 200 jobs passes. 4. **Retry (R3).** Use the `max_attempts` input. Check: the R3 acceptance tests pass with the random part fixed at zero. 5. **Leases and stopping (R4).** Check: the R4 acceptance tests pass. 6. **Unique jobs (R5).** Check: the R5 acceptance test passes. 7. **Recurring jobs (R6).** Only if `recurring_jobs` is on. Check: the R6 acceptance tests pass. 8. **Clean up (R7).** Check: the R7 acceptance test passes. 9. **Dashboard (R8).** Only if `dashboard` is on. Check: the R8 acceptance tests pass. 10. **Finish.** Write the README and run the whole test suite. Check: every item under "Definition of done" in `spec.md` is true.