# 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: signed-in users, a workspace, and one kind of record to comment on. Check: migrations run from empty. 2. **Safe markup (R3).** A pure function from what was written to HTML. Check: a test covers every row of the table of cases in `design.md`, and the test with 50 injection strings passes. 3. **Attach and write (R1, R2).** Check: the R1 and R2 acceptance tests pass. 4. **Mentions (R4).** Only if `mentions` is on. A pure function from text to the names mentioned, then the rule about who may be told. Check: a test covers every row of the table of mention cases, and the R4 acceptance tests pass. 5. **Replies (R5).** Check: the R5 acceptance tests pass. 6. **Edit (R6) and delete (R7).** Use the `edit_minutes` input and a clock that tests can set. Check: the R6 and R7 acceptance tests pass. 7. **Reactions (R8).** Only if `reactions` is on. Check: the R8 acceptance tests pass. 8. **On the page (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.