21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
# 04: Optional sections: checkpoint tracker, admin/roles, login page
|
|
|
|
Part of: ../spec.md
|
|
|
|
**What to build:** The skill asks which optional sections to build and builds only those:
|
|
- **Checkpoint tracker:** numbered boxes that go pending → active → done, or stuck.
|
|
- **Admin/roles screen:** admin or operator. The admin nav item is hidden from operators.
|
|
- **Login page:** UI only. It calls whatever auth the project already has.
|
|
|
|
Sections that aren't picked leave no code behind.
|
|
|
|
**Blocked by:** 01
|
|
|
|
**Status:** ready-for-agent
|
|
|
|
- [ ] The skill asks for the optional sections with a multi-select and builds only the chosen ones.
|
|
- [ ] Checkpoint tracker: the page check pushes checkpoint-state events and asserts each box shows pending, active, done or stuck.
|
|
- [ ] Admin/roles: the page check asserts the admin nav and screen appear for the admin role and are hidden for operators.
|
|
- [ ] Login page: renders in the chosen theme, light and dark, and hands off to the project's auth or a stub.
|
|
- [ ] With no optional sections picked, the output contains no leftover markup, scripts or styles for them.
|