Skip to content

Let a Byte-Identical Rename Satisfy Merge Gate Item 2's Promotion Case #3905

Closed

Description

@ptr727

Problem

pr-review-conduct Merge Gate item 2's promotion case needs positive evidence of a full read for every file a promotion changes: a full-coverage round, an attested local pass, or a Copilot table row with no note. It has no clause for a binary file renamed byte for byte, which no reviewer reads and no Copilot table ever names.

So a documents pull request into develop that only renames a PDF can never meet item 2 by coverage. Every later promotion carrying it reads coverage=none and falls short of the promotion case by those files. The maintainer then has to decide each time whether to merge over a file in which no byte changed.

Constructed Example

A feature pull request into develop changes three files:

  • docs/archive/index.csv, the catalog row renamed
  • config/sources.json, a citation updated
  • docs/archive/2024-01-01 - Example Statement.pdf renamed to docs/archive/2024-01-15 - Example Statement.pdf, git show -M --name-status reporting R100

Copilot's table on that pull request names the two text files and not the PDF, so pr_review.py status reads coverage=none there. The promotion carrying it reads coverage=none as well, short by the PDF alone, although its content is byte-identical to a blob main already holds.

Ask

Decide whether a path the diff reports as a pure rename (R100, same blob id on both sides) needs no read evidence under item 2, in the rule text and in pr_review.py's coverage computation. The rename itself is still visible to review through whichever text file records it.

🤖 Generated with Claude Code

Activity

  1. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Researched question (burndown round 1, 2026-11-10).

    Can a byte-identical rename go without read evidence under Merge Gate item 2, such as a PR whose only binary change is a renamed PDF?

    1. Yes, in two layers (recommended).
    2. Require proven blob identity in code, through REST previous_filename and the blob SHA at the base. Exact, but it costs an API call and pr_review.py has one line of headroom.
    3. No clause. Rely on An Incomplete Copilot File Table Displaces an Attested Local Pass on a Develop Pull Request #3955 and the existing promotion case. A rename pushed directly or never attested still goes to the maintainer.

    Evidence: scripts/pr_review_copilot.py:781-800 (its docstring says "A rename or copy is never one"), b30ce55 (#3702), and scripts/pr_review_rounds.py:397-432 table_cover.

    Blocks: none. It edits the same item 2 paragraph as #3901 and #3909.

  2. added
    decision
    on Nov 10, 2026
  3. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Answered by the maintainer, 2026-11-10: option 1, both layers.

    • "RENAMED" joins EXCUSED in scripts/pr_review_copilot.py, so a 0/0 rename may go unnamed in a Copilot file table.
    • In the promotion case, a path git diff -M100% against the merge base reports as R100 needs no read evidence.
    • The "a table may leave out" sentence gains "renamed" in pr-review-conduct, .github/copilot-instructions.md, and GOVERNANCE.md.

    This is now work. It lands in one PR with #3901, #3909, and #3955.

  4. removed
    decision
    on Nov 10, 2026
  5. ptr727 commented on Nov 11, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim, round 1 (2026-11-10). Branch feature/merge-gate-coverage-item2, group: #3955, #3909, #3901, #3905.

    Predicted files:

    • scripts/pr_review_rounds.py
    • scripts/pr_review_copilot.py
    • scripts/pr_review.py
    • scripts/pr_review_promotion.py
    • scripts/pr_review_digest.py
    • scripts/pr_review_answers.py
    • tests/test_pr_review.py
    • tests/test_pr_review_copilot.py
    • tests/test_pr_review_promotion.py
    • tests/test_pr_review_size.py
    • GOVERNANCE.md
    • .github/copilot-instructions.md
    • scripts/README.md
    • .agents/skills/pr-review-conduct/SKILL.md
    • .github/skills/pr-review-conduct/SKILL.md
    • .claude-plugin/fleet-skills/skills/pr-review-conduct/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/pr-review-conduct
    • .agents/skills/merge-and-release/SKILL.md
    • .github/skills/merge-and-release/SKILL.md
    • .claude-plugin/fleet-skills/skills/merge-and-release/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/merge-and-release
    • .agents/skills/drive-pr/SKILL.md
    • .github/skills/drive-pr/SKILL.md
    • .claude-plugin/fleet-skills/skills/drive-pr/SKILL.md
    • .claude-plugin/fleet-skills/.source-digests/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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions