Skip to content

fix(agent): hold crucial/guarded PRs on reject (don't auto-close) - #1109

Merged
JSONbored merged 1 commit into
mainfrom
fix/hold-crucial-on-reject
Jun 23, 2026
Merged

fix(agent): hold crucial/guarded PRs on reject (don't auto-close)#1109
JSONbored merged 1 commit into
mainfrom
fix/hold-crucial-on-reject

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Operator decision (#hold-crucial-on-reject): a guarded/crucial PR (CI, review engine, visual) is never auto-closed, even on a reject — a hallucinated reject (the #1528 diff-only false-positive near-miss) must not auto-close a good crucial PR. Owner verifies + closes/merges. The bulk (non-guarded) still auto-closes on reject; only the small crucial set is held. Restores the guardrail check on willClose (reverts #1106). Full suite green.

…g (#hold-crucial-on-reject)

Operator decision: a guarded/crucial PR (CI, the review engine, visual) must NEVER be auto-closed, even on a
reject verdict — a hallucinated reject (the #1528 near-miss: diff-only false-positives) must not auto-close a
good crucial PR. The owner verifies + closes/merges. The BULK (non-guarded) contributor PRs still auto-close
one-shot on a bad verdict / conflict; only the small crucial set is held. Restores the guardrail check on
willClose (reverts #1106's removal). Owner/automation PRs never close regardless.
@JSONbored
JSONbored merged commit 1f9d42f into main Jun 23, 2026
@dosubot dosubot Bot added the size:S label Jun 23, 2026
@JSONbored
JSONbored deleted the fix/hold-crucial-on-reject branch June 23, 2026 21:51
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.79%. Comparing base (549a6c9) to head (f8d5581).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1109   +/-   ##
=======================================
  Coverage   94.79%   94.79%           
=======================================
  Files         153      153           
  Lines       18557    18557           
  Branches     6709     6709           
=======================================
  Hits        17591    17591           
  Misses        408      408           
  Partials      558      558           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant