What happened
On PR #195, the review agent detected protected paths and stated it cannot approve — yet output approve. Same pattern on PR #37 (#52).
What could go better
The agent generates narrative text about the constraint but no structured finding to force the verdict. The pr-review SKILL.md step 6e rule isn't mechanically enforced. Confidence: HIGH.
Proposed change
In skills/pr-review/SKILL.md, require that protected-path matches produce a structured finding with source: 'protected-path' and severity critical, forcing action to comment. Consider a schema constraint in schemas/review-result.schema.json rejecting action=approve with protected-path findings.
Validation criteria
Next 3 review runs on PRs touching protected paths should never output action=approve. Verify via agent-result.json artifacts.
Generated by retro agent from #195
What happened
On PR #195, the review agent detected protected paths and stated it cannot approve — yet output
approve. Same pattern on PR #37 (#52).What could go better
The agent generates narrative text about the constraint but no structured finding to force the verdict. The pr-review SKILL.md step 6e rule isn't mechanically enforced. Confidence: HIGH.
Proposed change
In
skills/pr-review/SKILL.md, require that protected-path matches produce a structured finding withsource: 'protected-path'and severitycritical, forcing action tocomment. Consider a schema constraint inschemas/review-result.schema.jsonrejecting action=approve with protected-path findings.Validation criteria
Next 3 review runs on PRs touching protected paths should never output action=approve. Verify via agent-result.json artifacts.
Generated by retro agent from #195