code-review-risk
Review for risk first.
Procedure
- Read the diff and the relevant tests/docs for the behavior being changed.
- Prioritize correctness, regressions, missing validation, public/private leaks, and architecture boundary violations.
- Check whether changes conflict with Constitution, ADRs, decision map, naming, storage, surface registry, or host ownership.
- Ground each finding in a concrete file/line and describe the user-visible or operational impact.
- For each confirmed finding, apply the Problem-to-Guardrail loop: name the
punctual problem, general class, existing rule that should have caught it,
and close with
guard/test añadido,ADR/regla añadida, ordeuda explícita con expiry. - Enforce the anti-loop rule: if closure adds
2 ciclos seguidosof ADRs, ledgers, manifests, guards, or baselinessin reducir blockers reales, stop and classify the closure asblocker directo,deuda lateral, orpendiente externo; no más gobernanza para arreglar exceso de gobernanza. - Separate findings from open questions and low-risk polish.
- If no issues are found, state the remaining test gaps or residual risk.
Constraints
- Do not lead with style nits when behavioral risk exists.
- Do not assume generated or staged files are safe without inspection.
- Do not recommend reverting unrelated user work.
- Do not mark a confirmed problem simply fixed when the defect class can recur.
- Do not recommend more governance after
2 ciclos seguidossin reducir blockers reales; classify the remaining state directly.