# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up the project.** Add the database from the `database` input, a migration tool and a test runner. Check: an empty test run passes and the app answers on a health route. 2. **Create the schema.** Add the tables in `design.md`. Check: migrations run from empty, and a test proves two users cannot share an address that differs only in case. 3. **Sessions and the guard (R5).** Tokens, the cookie, `require_user`, sign-out and the safe redirect. Check: the R5 acceptance tests pass. 4. **Sign up (R1) and confirm (R2).** Capture emails in memory in tests. Check: the R1 tests pass, and the R2 tests pass if `email_verification` is on. 5. **Password sign-in (R3).** Only if `method` is `password` or `both`. Check: the R3 acceptance tests pass, including the dummy hash. 6. **Emailed link (R4).** Only if `method` is `email_link` or `both`. Check: the R4 acceptance tests pass. 7. **Reset (R6) and change of address (R7).** Check: the R6 and R7 acceptance tests pass. 8. **Pages (R8).** Use the person's `app_name`. Check: every 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.