Purpose
Use this checklist to create and maintain a todowrite TODO list and to execute Inspector review in a predictable, traceable order.
Required behavior
- •Immediately create a TODO list with
todowritethat mirrors the checklist items. - •Keep the TODO list updated as you work (mark items
in_progress/completed/cancelled). - •Keep exactly one item
in_progressat a time. - •The TODO list is for determinism/traceability only; it does NOT replace required on-disk artifacts.
Review checklist (follow in order when possible)
- • (MANDATORY) Initialize the todo list with
todowrite(mirror this checklist) - • (MANDATORY) Read
AGENTS.mdandREVIEW_RULEBOOK.mdto refresh requirements and constraints - • (MANDATORY) Read and understand
builder_result.json(summary + complexity) - • (MANDATORY) Examine the diff (
inspector_diff.patchorgit diff) and the updated code - • (MANDATORY) Run
pnpm install(components/) if dependencies are missing- •If
pnpm installcannot run (for example due to network restrictions), treat it as a hard failure:- •write
inspector_result.jsonwithrun.status = "failed",run.failed_step = "pnpm install",run.errorset to the exact error output, andwork = null - •then proceed to the
inspector-signoffskill so Foreman can stop safely.
- •write
- •If
- • (MANDATORY) Run
pnpm lint(components/) and record pass/fail- •If it fails due to formatting (Prettier), you MAY run
pnpm format(components/) and then re-runpnpm lint.
- •If it fails due to formatting (Prettier), you MAY run
- • (MANDATORY) Run
pnpm check(components/) and record pass/fail - • (MANDATORY) Run
pnpm test:unit(or broaderpnpm testwhen appropriate) (components/) and record pass/fail - • (OPTIONAL) Run
pnpm prepack(components/) when packaging changes are involved and record pass/fail- •If you are unsure whether packaging is involved, run it.
- • (MANDATORY) Review the changes against
AGENTS.mdandREVIEW_RULEBOOK.md: correctness, accessibility, Svelte 5/runes rules, public API stability, tests, and docs - • (MANDATORY) Decide whether the change is acceptable or if changes are required
- • (CRITICAL) (MANDATORY) Execute the
inspector-signoffskill (writesinspector_result.json+ validates + prints Public Handoff)