fix(queue): audit draft-dodge stand-down when paused or frozen#6693
Conversation
Closes JSONbored#6604 Co-authored-by: Cursor <cursoragent@cursor.com>
…s are audited Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6693 +/- ##
==========================================
- Coverage 93.65% 93.65% -0.01%
==========================================
Files 682 682
Lines 68112 68113 +1
Branches 18708 18708
==========================================
Hits 63788 63788
Misses 3347 3347
- Partials 977 978 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-16 20:35:43 UTC
Review summary Nits — 4 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
closeDraftDodgeAttemptIfBlockedpasses a realpausedobject toevaluateCloseEnforcementGate, matching its 4 sibling guards.!settings.agentPausedskip inprocessors.tsso draft-dodge reaches the shared gate (where pause/freeze are audited), instead of silently no-oping before any audit.Closes #6604
Test plan
agentPaused/ global freeze does not close the PRgithub_app.draft_dodge_closedwithoutcome: deniedand the paused detailMade with Cursor