Skip to content

Operational Promotions Cannot Meet the Coverage Item After a Lite Copilot Re-Review #3901

Closed

Description

@ptr727

Problem

An operational repository's develop -> main promotion cannot meet Merge Gate item 2 on its own once Copilot reviews it more than once. The driver then has to hand the coverage item to the maintainer as a waiver on every such promotion.

Measured on one operational repository's promotion pull request. That repository carries the current copilot-instructions.md bootstrap and the .github/skills tree:

Copilot round Body length File table Coverage statement
First round, on an early head about 6200 characters yes, 10 paths yes
Re-review after fixes about 5100 characters no no
Re-review on the final head about 300 characters no no

pr_review.py status reads the last two rounds as effort=lite effort_source=explicit, and reports coverage=none on the final head. The first round's table cannot stand in as coverage=carried:table, since later commits changed files it does not name.

Why No Other Route Clears Item 2

  • The promotion case does not apply. It counts a change covered on its own feature -> develop pull request. An operational repository commits to develop directly, so its changes have no such pull request.
  • An attested local pass does not count. Item 2 accepts coverage=local only on a pull request into a branch other than the default. On an operational repository the promotion is the first and only pull request, and every head on it carried an attested local-strict-review pass.
  • Re-requesting reaches the same state. wait requests a round on each new head, and each re-review came back at lite effort with no table.

So every operational promotion with a fix cycle ends at "item 2 is the maintainer's", even when local and hosted review were both thorough.

Possible Fixes

  1. Let an attested local pass on the head satisfy item 2 on an operational repository's promotion, alongside a Copilot round on that head. This is the case where no earlier pull request carried the content.
  2. Have wait request a full-effort Copilot round on the final head where the newest round reads effort=lite with no table, if the reviewer exposes such a request.
  3. Read a lite round's coverage from its own text where it names the files it read, if it does so.

Done Looks Like

An operational promotion whose every head carries an attested local pass, plus a Copilot round on its final head with no open finding, reads as meeting item 2 without a maintainer waiver. Alternatively, the skill text states the waiver as the expected outcome for operational repositories, so a driver does not report it as a shortfall.

🤖 Generated with Claude Code

Activity

  1. ptr727 commented on Nov 6, 2026

    @ptr727
    OwnerAuthor

    The repository measured above is ptr727/Vantage-Config, on its develop -> main promotion PR #86. The maintainer merged that promotion with Merge Gate item 2 waived by hand, on the understanding that this issue tracks the gap.

  2. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

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

    An operational repository's develop -> main promotion can be its only pull request. When Copilot re-reviews it at Lite effort with no file table, how does it meet Merge Gate item 2?

    1. Count an attestation on the promotion itself (recommended). A change pushed directly to develop has no feature pull request. For it, a pr_review.py attest attestation published on the promotion counts for each file in the attested head's diff. The existing conditions still apply. The attested head last changed the file or is later, its author is trusted, and its marker sits on its own line, on base main. A Copilot round on the final head is still required, with item 3 closed. The agent checks the promotion case rather than code computing it. So this is skill text, needing no line in the capped pr_review.py or pr_review_rounds.py. It edits the same paragraph as Decide Whether a Green Dependabot Bump Counts Toward a Promotion's Review Coverage #3909, so the two land in one PR.
    2. Each operational repository sets Copilot rounds: "once" in .github/agent-policy.json, with automatic review off. No hub change, but it holds only while no Lite round fires on the final head, and the fix commits lose their hosted read.
    3. State the waiver as the expected outcome for operational repositories. Text only, but one maintainer interrupt per promotion remains. Requesting full effort is excluded by .github/copilot-instructions.md:33.

    Evidence: pr-review-conduct SKILL.md lines 104-123, where line 115 accepts an attestation only "on the feature pull request". Also scripts/pr_review_rounds.py promotion() at 624-639 and local_cover at 676-696, scripts/pr_review_answers.py:357-360, and this issue's Vantage-Config#86 comment. #3955's fix does not reach this case, since promotion() returns before the table check.

    Blocks: none. It composes with #3909.

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

    @ptr727
    OwnerAuthor

    Answered by the maintainer, 2026-11-10: option 1. A change pushed directly to develop can be covered by a pr_review.py attest attestation published on the promotion. It counts toward Merge Gate item 2 for each file in the attested head's diff. The existing conditions apply, and a Copilot round on the final head is still required with item 3 closed.

    This is now work, as skill text in pr-review-conduct item 2. It lands in one PR with #3909, #3905, and #3955.

  5. removed
    decision
    on Nov 10, 2026
  6. 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