Skip to content

Read a Transient Copilot Error Inside the Digest's Refusal Block #3541

Closed

Description

@ptr727

What

scripts/pr_review_digest.py render prints a fixed COPILOT REFUSED THIS ROUND block saying "re-requesting repeats it". The fix for #3510 reads an error refusal's run log, and a too many files changed line there is a transient failure owed one re-request. scripts/pr_review.py digest appends a RUN LOG READING line saying so, at the end of the digest.

So a digest over a transient error refusal says "re-requesting repeats it" in the refusal block and "one re-request is owed" further down.

Fix

Carry the run-log reading into render beside its existing quota argument, and print it inside the refusal block. Word the block's fixed sentence so it holds for a transient refusal too. Then drop the appended line from pr_review.py digest.

pr_review_digest.py sat outside the #3510 change's file claim, which is why this is separate.

Activity

  1. ptr727 commented on Oct 28, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown round 3 claim. Branch: feature/3541-digest-transient-refusal. Predicted file set: scripts/pr_review_digest.py and its tests under tests/ (the digest test module, and tests/test_pr_review.py only for cases that read the digest's refusal block).

  2. ptr727 commented on Oct 28, 2026

    @ptr727
    OwnerAuthor

    Claim update (round 3, branch feature/3541-digest-transient-refusal): the orchestrator adds scripts/pr_review.py (the digest() function only, which must pass the run-log reading into render() instead of appending it) and tests/test_pr_review.py (the digest refusal-block cases). No other live group holds either file.

  3. added a commit that references this issue on Oct 28, 2026
    a5bfc9c
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions