Skip to content

Describe the Excluded-Files Refusal Kind in scripts/README.md and the Digest's refusal= Field #3777

Closed

Description

@ptr727

scripts/README.md "pr_review.py" and "pr_review_copilot.py", and the digest's refusal= field, still describe the reader and the gate as they stood before the excluded-files refusal kind and the lineless-file table allowance landed.

  • The adapter paragraph lists the refusal kinds as none, quota, file_count, error, unknown. scripts/pr_review_copilot.py REFUSALS now also holds excluded, Copilot's refusal saying every changed file is in its default review exclusions.

  • The wait exit paragraph says 41 covers every refusal. An excluded-files refusal on a head a local pass is to cover exits 49 before attestation and 0 after. Where no local pass can cover the head, it exits 41 as status=REVIEW_EXCLUDED_FILES_ONLY. An earlier-head quota or error refusal under an attested later head on such a pull request also reads coverage=local.

  • The coverage= paragraph says a table covers where it names exactly the changed files. A table may also leave out an added, modified, or deleted file with no changed line, such as a binary, while some changed file has one (adapter.left_out).

  • scripts/pr_review_digest.py prints an excluded-files refusal as refusal=YES, the value a file-count refusal also gets, beside coverage=local on a covered head. A driver reading the digest line cannot tell the kind that blocks nothing on such a head from one that blocks, without reading the body printed under COPILOT REFUSED THIS ROUND.

Fix: bring those three README paragraphs in line with the code and with pr-review-conduct Merge Gate item 2, and give the excluded kind its own refusal= value, such as EXCLUDED.

Found while landing the excluded-files refusal kind. That change's file claim did not include scripts/README.md or scripts/pr_review_digest.py.

Activity

  1. added
    documentation
    script
    on Nov 1, 2026
  2. ptr727 commented on Nov 1, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-02): worktree and branch removed, so this claim holds no files. Its fix merged to develop in PR #3793.

    Backlog burndown claim (round 2, group R2G4). Branch: feature/burn-3718. Issues: #3718, #3724, #3777.

    Predicted file set:

    • scripts/pr_merge.py, a new acknowledgment module under scripts/, scripts/pr_review.py, scripts/pr_review_rounds.py, scripts/pr_review_digest.py, scripts/pr_review_copilot.py, scripts/README.md
    • tests/test_pr_merge.py, tests/test_pr_review.py, tests/test_pr_review_copilot.py, tests/test_pr_review_size.py
    • .agents/skills/drive-pr/ and its generated trees (.github/skills/drive-pr/, .claude-plugin/fleet-skills/skills/drive-pr/, .claude-plugin/fleet-skills/.source-digests/drive-pr)
    • .agents/skills/pr-review-conduct/ and its generated trees (.github/skills/pr-review-conduct/, .claude-plugin/fleet-skills/skills/pr-review-conduct/, .claude-plugin/fleet-skills/.source-digests/pr-review-conduct)
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

    documentationscript

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions