Skip to content

Exempt scope-limitation findings (fix agent structurally cannot act) from REVIEW_FINDING_SEVERITY_THRESHOLD suppression #1390

Open

Description

@fullsend-ai-retro

What happened

On the first review pass of fullsend-ai/fullsend PR #7469 (fullsend-ai/fullsend#7469, run https://github.com/fullsend-ai/fullsend/actions/runs/35366125043), the review agent raised a low-severity intent-authorization-scope finding: issue #7465's own 'Proposed change'/'Validation criteria' asked for a comment or edit directly on issue #6957, but the PR instead annotated ADR 0106 (a different document) and never touched #6957, so 'Closes #7465' would auto-close it without #6957 ever receiving the requested note.

The fix agent (run https://github.com/fullsend-ai/fullsend/actions/runs/35367819026) fixed the PR's other finding but explicitly disagreed with this one, correctly noting that posting a PR/issue comment is outside its permitted scope (see its comment at fullsend-ai/fullsend#7469 (comment)... 'Disagreed (1)').

On re-review (run https://github.com/fullsend-ai/fullsend/actions/runs/35368532597), the orchestrator's own reasoning trace shows it explicitly re-evaluated this finding, decided the fix agent's inability to act didn't change the underlying concern, and dispatched the challenger with it (log lines ~3296-3321, 3476 of the run log: 'the intent-authorization-scope concern remains valid and unaddressed for this re-review'). The challenger then 'kept the substance but downgraded it to info/non-actionable' (log line 3476). Because REVIEW_FINDING_SEVERITY_THRESHOLD=low (set in harness/review.yaml) and agents/review.md states the threshold 'is absolute — it applies to all findings regardless of the actionable flag,' the info-level finding was stripped entirely from both the structured findings array and the narrative body before output (log line 3480: 'After severity filtering... suppresses the remaining info-level finding... no findings remain to surface'). The posted PR comment ended up as just the SHA marker plus 'Looks good to me' — no trace of the concern, not even a one-line note.

A human (rh-hemartin) approved and merged ~67 hours later, and separately, via GitHub's issue-linking, manually closed issue #6957 at the same timestamp as the merge — without ever posting the comment #7465's validation criteria asked for, and seemingly without visibility into the specific concern the pipeline had already reasoned through twice.

What could go better

This is a single occurrence, so I can't claim it's high-frequency, but the causal mechanism is verifiable directly from the spec files, not just this one run. skills/pr-review/SKILL.md step 6e-1 already establishes precedent for exactly this kind of exemption, but only for protected-path reconciliation: 'It does not suppress protected-path findings entirely... the finding remains as an info-level notice even when authorization evidence exists.' No equivalent carve-out exists for other categories of findings that get downgraded to info specifically because the remediation requires an action outside the fix agent's authority (posting a comment, making an irreversible editorial-substitution call) rather than because the finding is a false positive or genuinely low-value. agents/review.md's blanket statement that the severity threshold 'applies to all findings regardless of the actionable flag' currently erases that distinction for every category except protected-path.

This is a different failure mode from two related open issues, which is why I'm filing a narrow proposal instead of treating this as evidence for either: #4430 describes a finding that vanished between runs with no visible re-reasoning (an anchoring/memory gap in finding generation); here the finding was explicitly re-reasoned about and preserved as 'substance kept, severity downgraded' — the loss happens at the display/filtering stage, not generation. #1068 describes the opposite failure mode (a governance-only finding stuck blocking merge via CHANGES_REQUESTED, requiring manual dismissal); this case is the too-permissive counterpart from docs/problems/graduated-approval-policy.md's 'Failure mode 1' — a finding that needs human judgment gets silently folded into a plain approve with zero visible flag, rather than either blocking or being surfaced as 'approve with a caveat.'

Proposed change

In fullsend-ai/agents skills/pr-review/SKILL.md, generalize the step 6e-1 exemption: when a finding is downgraded to info (or kept at its original severity but marked non-actionable) specifically because the fix agent declined it as out-of-scope for an authority reason (posting a PR/issue comment, an issue-linking action, an irreversible editorial judgment call) — as opposed to being adjudicated a false positive or genuinely trivial observation — that finding's category and one-line description must still appear in the posted review body under a distinct heading (e.g. #### Needs human decision), exempt from $REVIEW_FINDING_SEVERITY_THRESHOLD, mirroring the existing protected-path guarantee in the same step. Update agents/review.md's severity-filtering section to carve out this category alongside the existing implicit protected-path exemption, so the 'applies to all findings regardless of actionable flag' language no longer contradicts step 6e-1's guarantee for one category but not the other.

Validation criteria

Add a case to fullsend-ai/agents eval/review/cases/ (following the existing 003-protected-path-downgrade pattern) modeling this exact scenario: a re-review where the fix agent's prior run recorded a 'disagreed — outside fix agent scope' resolution for a finding. Assert in annotations.yaml that the final posted review body contains a visible reference to the finding (not just 'Looks good to me') even though severity threshold is low and the finding itself is info/non-actionable. On the next 5 real-world PRs where a review finding is fix-agent-disagreed for an authority/scope reason, the posted re-review comment should retain a visible one-line note about it rather than disappearing entirely.


Generated by retro agent from fullsend-ai/fullsend#7469

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions