audit(token_audit): count "bogus" and "it didn't run" as the same class - #507
Conversation
The shortcut-naming kind matched "cheap way out" and "why would you" but not the wording that actually followed a broken handoff. Two spellings join it, and a neighbour fixture pins that a neutral "why did you choose X" stays silent. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KU2pPKob4MJ1NqjsfTNyYJ Change-Id: I065043b69ac2933654b24236fc372ab3cb9cb8cd
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_b64a634f-5c2c-4ac2-a7d0-c69da4cc77c7) |
Owner
Author
|
This pull request is part of a Mergify stack:
|
This was referenced Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The shortcut-naming kind matched "cheap way out" and "why would you" but
not the wording that actually followed a broken handoff. Two spellings join
it, and a neighbour fixture pins that a neutral "why did you choose X"
stays silent.
Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01KU2pPKob4MJ1NqjsfTNyYJ
Depends-On: #506
Note
Low Risk
Heuristic regex tuning in reflect audit tooling with unit tests; may increase false positives on casual “bogus” or “didn't work” wording but no production runtime or auth paths.
Overview
Extends the reflect token audit
cheap-way-outfrustration detector so broken-handoff phrasing counts toward intervention-must-automate, not only explicit shortcut complaints like “cheap way out” or “why would you.”The
cheap-way-outregex intoken_audit.pynow also matchesbogusanddidn't (even )?work|run, so a user calling out a bad script and a follow-up that it still failed can register two hits in the same intervention class. Tests add a Codex fixture for that “bogus script / still didn't run” path and tighten the negative case to a neutral “why did you choose …” question so product blame plus ordinary rationale questions stayintervention-must-automate: no.Reviewed by Cursor Bugbot for commit b680e2b. Bugbot is set up for automated code reviews on this repo. Configure here.