Perform a structured code review for a file or module in this project. Use when reviewing source files, checking for bugs, safety issues, data-loss risks, or correctness problems. Produces a structured review report following the project template.
Follow these steps in order. Do not skip any step. Before starting each step, print a progress line in this format:
▶ Step N — <Step Name>
After completing each step, print:
✔ Step N done
This makes the workflow visible as it executes.
Print ▶ Step 1 — Establish Scope, then state clearly:
Print ✔ Step 1 done.
Print ▶ Step 2 — Read the Target, then read the target file fully. Also read closely related files if they share state, types, or function contracts with the target (e.g. corresponding .h headers, callers, or persistence partners).
Print ✔ Step 2 done.
Print ▶ Step 3 — Review Against the Checklist, then work through review-checklist.md section by section:
Print ✔ Step 3 done.
Print ▶ Step 4 — Classify Findings, then assign severity to each finding:
Print ✔ Step 4 done.
Print ▶ Step 5 — Produce the Report, then write the report using the structure from review-report-template.md:
Print ✔ Step 5 done — Review complete.