# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Add the tables in `design.md`. If there is no app yet, build the smallest one: a signed-in user who may be an administrator, a workspace if `scope` is `workspace`, and three things that change, to record. Check: migrations run from empty. 2. **Record (R1, R2).** The list of actions, `audit`, and redaction. Check: the R1 and R2 acceptance tests pass. 3. **Append only (R3).** The trigger. Check: the R3 acceptance tests pass. 4. **The chain (R4).** Only if `hash_chain` is on. A pure function for the hash, the lock, and the command that checks. Check: a test reproduces both hashes in `design.md`, and the R4 tests pass. 5. **Read (R5).** Check: the R5 acceptance tests pass. 6. **Export (R6, R7).** Only if `export` is on. Check: the R6 and R7 acceptance tests pass. 7. **Forget (R8).** Use the `retention_days` input and a clock that tests set. Check: the R8 acceptance test passes. 8. **Pages (R9).** Check: the page can be used with a keyboard alone and at 360 pixels wide. 9. **Finish.** Write the README and run the whole test suite. Check: every item under "Definition of done" in `spec.md` is true.