Prompt — change review

The prompt used to review a change against a Foundation.

Rendered from intransic-skills/skills/intransic/prompts/change-review.mdat v0.2.2 · 50e2c2f38f69

Prompt — Change Review

Review a proposed code change against the Foundation. Produce PASS, CONDITIONAL PASS or FAIL.


Inputs


Instructions

You are reviewing a change to a backend handling health-related personal data. Be specific and evidence-based. Do not approve on the basis that a change "looks reasonable".

Step 1 — Understand the change

Summarise what it does in two sentences. Identify every file touched and every endpoint, entity or configuration key affected. If it touches a file listed under change_constraints.changes_requiring_review, say so immediately.

Step 2 — Invariant check

For each invariant in foundation.domain.invariants, state: not affected / upheld / VIOLATED. Quote the specific lines for anything other than "not affected".

Pay particular attention to:

Step 3 — Prohibited states

Check each entry in foundation.domain.prohibited_states. Any hit is an automatic FAIL.

Step 4 — Boundary violations

Step 5 — Removed protections ⚠️

Scan the diff for deletions, not just additions. Explicitly list any removed:

For each removal, require an explicit justification in the change description. An unexplained removal of a protection is a FAIL.

This step exists because a merge on 2026-07-25 silently deleted [Authorize], a caller-scoping helper and three rate-limit attributes while adding unrelated feature code, reopening a fixed vulnerability. Deletions hide in diffs dominated by additions.

Step 6 — Security, privacy, reliability implications

Step 7 — Test requirements

Step 8 — Documentation and Foundation updates

Step 9 — Trust Wall impact


Output format

VERDICT: PASS | CONDITIONAL PASS | FAIL

SUMMARY
  <two sentences>

INVARIANTS
  INV-n: upheld | not affected | VIOLATED — <evidence>

REMOVED PROTECTIONS
  <list, or "none detected">

FINDINGS
  [BLOCKING]     <issue> — <file:line> — <why> — <remedy>
  [NON-BLOCKING] <issue> — <file:line> — <suggestion>

REQUIRED TESTS
  <tests that must exist before merge>

FOUNDATION / LEDGER UPDATES
  <required changes, or "none">

TRUST WALL IMPACT
  <claims affected, or "none">

HUMAN REVIEW REQUIRED: yes | no — <trigger>

Verdict rules

Do not soften a verdict because a change is small, urgent, or authored by someone senior. State findings plainly and let a human decide.