1.9 KiB
Reusable independent review-agent brief
Review the assigned task/approved ADRs and implementation diff independently. Do not implement fixes or approve your own financial change.
Required review
- Re-derive financial fixture expectations; do not accept the engine output as its own oracle.
- Inspect time availability, same-bar execution, pending reservations, fees/rounding, owner basis, risk bypasses, ordering, partial failure and terminal marking.
- Check crash boundaries, idempotent identities, restore-before-decision and per-effect state. Native state must not advance past a rolled-back SQL transaction.
- Check API/schema compatibility, legacy provenance, data immutability and loading/error/empty UX. New browser pages must use the same API/core.
- Check sandbox boundary, actor permissions and no AI-to-live path.
- Look for unnecessary abstractions, duplicated calculation/simulation, unjustified deletions and scope creep.
- Re-run focused tests independently where available. Verify benchmark comparison uses identical semantics and inputs.
Output
Return Accept / Changes requested / Blocked, with severity, file/line evidence, violated task criterion and required test. State what was and was not run. Approval requires all in-scope mandatory gates or an explicit owner-approved waiver that does not waive financial correctness.
A reviewer may suggest a future task but cannot silently amend ADRs or expand this PR. Communicate contract-impacting findings to integration/planning owner.
Check that remaining-cost residuals, target/order-mode exclusivity, immutable decision barriers and RNG restore are explicit. Distinguish component tests from release gates; do not require later UI/metrics/cache work to approve an independently correct component. Do not call statistical reporting outside Rust a competing simulator when it only consumes authoritative financial outputs.