Skip to content

refactor(#195): add silent-failure severity escalation guidance - #309

Closed
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/195-silent-failure-severity-escalation
Closed

refactor(#195): add silent-failure severity escalation guidance#309
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/195-silent-failure-severity-escalation

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown

Add explicit severity escalation rules for silent-failure findings to the correctness sub-agent, standalone code-review skill, and challenger sub-agent. When code silently produces wrong results without any error signal, severity must be medium or higher regardless of how unlikely the trigger seems today.

Changes:

  • correctness.md: new "Silent-failure severity escalation" section
    setting a medium severity floor for silent failures and naming the
    anti-pattern (probability-based severity discounting)
  • challenger.md: carve-out preventing probability-based downgrading of
    silent-failure findings
  • code-review/SKILL.md: matching guidance in the standalone correctness
    dimension

This addresses the systematic bias where the review agent rated silent-failure bugs as [low] using probability reasoning ("X is likely Y") rather than failure-mode reasoning ("silent and total when it triggers"). Evidence: PR fullsend-ai#2947 annotated-tag finding rated [low] across 4+ passes while a human squad rated [HIGH].


Closes #195

Post-script verification

  • Branch is not main/master (agent/195-silent-failure-severity-escalation)
  • Secret scan passed (gitleaks — a2afa8b179a351845733c680b839a39a82304db6..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

Add explicit severity escalation rules for silent-failure findings to
the correctness sub-agent, standalone code-review skill, and challenger
sub-agent. When code silently produces wrong results without any error
signal, severity must be medium or higher regardless of how unlikely the
trigger seems today.

Changes:
- correctness.md: new "Silent-failure severity escalation" section
  setting a medium severity floor for silent failures and naming the
  anti-pattern (probability-based severity discounting)
- challenger.md: carve-out preventing probability-based downgrading of
  silent-failure findings
- code-review/SKILL.md: matching guidance in the standalone correctness
  dimension

This addresses the systematic bias where the review agent rated
silent-failure bugs as [low] using probability reasoning ("X is likely
Y") rather than failure-mode reasoning ("silent and total when it
triggers"). Evidence: PR fullsend-ai#2947 annotated-tag finding rated [low] across
4+ passes while a human squad rated [HIGH].

Closes #195
@github-actions

Copy link
Copy Markdown

E2E tests did not run

E2E tests run automatically for org/repo members and collaborators on pull requests.

For other contributors, a maintainer must add the ok-to-test label after the latest push.

See E2E testing guide for details.

@fullsend-ai-review

fullsend-ai-review Bot commented Jul 12, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 3:40 AM UTC · Completed 3:50 AM UTC
Commit: a2afa8b · View workflow run →

@fullsend-ai-review

Copy link
Copy Markdown

Review

Findings

Medium

  • [internal-consistency] internal/scaffold/fullsend-repo/skills/code-review/SKILL.md:85 — The SKILL.md silent-failure bullet covers "silently produces wrong results or skips critical work" while the authoritative correctness.md version covers "silently produces wrong results, returns stale or incorrect data, or skips critical work." The omission of "returns stale or incorrect data" narrows the SKILL.md rule: a standalone code review using SKILL.md could rate a stale-data-without-error-signal finding as low, while the same finding in a PR review (using correctness.md) would be escalated to medium or higher. Since stale data returned silently is precisely the class of bug this PR targets (the annotated-tag issue returned a stale/incorrect SHA with no error), the SKILL.md version should include the same qualifying condition.
    Remediation: Add "returns stale or incorrect data" to the SKILL.md bullet so it reads: "When a code path silently produces wrong results, returns stale or incorrect data, or skips critical work without any error signal, rate the finding medium or higher..."

Labels: PR modifies review skill documentation files exclusively.

@fullsend-ai-review fullsend-ai-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the review comment for full details.

(e.g., what happens if a critical sub-component fails — does the
caller degrade gracefully or silently proceed?). Trace the full path
from where the mechanism is set to where it is read.
- **Silent-failure severity escalation:** When a code path silently

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[medium] internal-consistency

The SKILL.md silent-failure bullet covers "silently produces wrong results or skips critical work" while the authoritative correctness.md version covers "silently produces wrong results, returns stale or incorrect data, or skips critical work." The omission of "returns stale or incorrect data" narrows the SKILL.md rule: a standalone code review using SKILL.md could rate a stale-data-without-error-signal finding as low, while the same finding in a PR review (using correctness.md) would be escalated to medium or higher. Since stale data returned silently is precisely the class of bug this PR targets (the annotated-tag issue returned a stale/incorrect SHA with no error), the SKILL.md version should include the same qualifying condition.

Suggested fix: Add "returns stale or incorrect data" to the SKILL.md bullet so it reads: "When a code path silently produces wrong results, returns stale or incorrect data, or skips critical work without any error signal, rate the finding medium or higher..."

@fullsend-ai-review fullsend-ai-review Bot added requires-manual-review Review requires human judgment documentation Improvements or additions to documentation labels Jul 12, 2026
@guyoron1 guyoron1 closed this Jul 12, 2026
@guyoron1
guyoron1 deleted the agent/195-silent-failure-severity-escalation branch July 12, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation requires-manual-review Review requires human judgment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ARCHIVED] Original issue 195

1 participant