Skip to content

Name the Sent and Spent Exceptions in pr_review.py's refusal= Usage Text #3560

Closed

Description

@ptr727

Summary

scripts/pr_review.py's usage text, the refusal= paragraph, says: "Under ERROR, a RUN LOG READING line names the reading taken: transient where the run log names a fetch failure, else possible quota."

transient_state reads a fetch failure as transient only while its one re-request is owed or pending. The reading turns to possible quota once that re-request is sent with no round answering it. A second error refusal in a row, spent, does the same. Both hold although the log still names a fetch failure. pr-review-conduct "Merge Gate" item 2 already states this.

Failure

A pull request whose second error refusal in a row logs too many files changed. The usage text predicts a transient reading. status prints possible quota. A reader trusting --help re-requests a third time.

Expected

The refusal= paragraph names the sent and spent exceptions, or says the reading is transient only while one re-request is still owed.

Found By

The local strict review of #3558 (issue #3541), whose grant covered only digest(). #3542 introduced the sentence.

🤖 Generated with Claude Code

Activity

  1. added
    script
    on Oct 28, 2026
  2. ptr727 commented on Oct 28, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown round 4 claim, combined with a #3531 slice. Branch: feature/3531-pr-review-family-sentence-length. Files: scripts/pr_review.py (the usage text's refusal= paragraph only), .agents/skills/pr-review-conduct/SKILL.md, .agents/skills/drive-pr/SKILL.md, .github/copilot-instructions.md (the sentence at line 33 only), docs/pr-reviewer-reference.md, plus regenerated copies under .github/skills/ and .claude-plugin/fleet-skills/ (skill files and .source-digests/ entries) for pr-review-conduct and drive-pr.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    script

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions