Skip to content

fix(queue): audit draft-dodge stand-down when paused or frozen#6682

Closed
RealDiligent wants to merge 3 commits into
JSONbored:mainfrom
RealDiligent:feat/critical-issue-draft-dodge-paused-audit-6604
Closed

fix(queue): audit draft-dodge stand-down when paused or frozen#6682
RealDiligent wants to merge 3 commits into
JSONbored:mainfrom
RealDiligent:feat/critical-issue-draft-dodge-paused-audit-6604

Conversation

@RealDiligent

Copy link
Copy Markdown
Contributor

Summary

  • closeDraftDodgeAttemptIfBlocked now passes a real paused object to evaluateCloseEnforcementGate, matching its 4 sibling close-enforcement guards.
  • Updates the helper/call-site docs that previously documented the intentional no-audit gap.
  • Extends lifecycle-guard tests so paused and frozen draft-dodge paths record a denied audit with the new detail string.

Closes #6604

Test plan

  • Draft-dodge under agentPaused / global freeze does not close the PR
  • Both paths record github_app.draft_dodge_closed with outcome: denied and the paused detail
  • codecov/patch green

Made with Cursor

@RealDiligent
RealDiligent requested a review from JSONbored as a code owner July 16, 2026 18:37
@superagent-security

Copy link
Copy Markdown
Contributor

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

RealDiligent and others added 3 commits July 17, 2026 02:42
…s are audited

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@RealDiligent

Copy link
Copy Markdown
Contributor Author

Superseded by a fresh PR — CI did not re-trigger on synchronize after the processors pause-gate follow-up.

@loopover-orb loopover-orb Bot added the gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

review-evasion: draft-dodge guard is the only close-enforcement guard that records no audit event when paused/frozen

1 participant