Skip to content

Keep the strict ACK and document the re-ACK after an audit-only commit #2949

Closed

Description

@josecelano-bot

Parent EPIC: #2003 - Overhaul: Automation Tools and AI Agent Guardrails

Goal

Record the decision that an ACK <hash> counts only on the commit it names, also when the commits after it change only the pull request's own review audit record, and document the re-ACK that follows such a commit as a normal step of the review process.

This issue first proposed the opposite: a rule that keeps an ACK valid after audit-only commits. The maintainer decided against it on 2026-11-19.

Problem

The review audit record lives on the pull request branch (docs/pr-reviews/pr-<N>-review/PR-REVIEW.md). merge-pull-request (Merge Readiness) and wait-for-pr-review (step 4) require the reviewer's ACK <full head commit hash> on the head. When a finding arrives with or after an ACK, the commit that records it moves the head, and the ACK goes stale. It happened on PR #2947 (2026-11-18) and earlier on PR #2363. The skills do not say what to do then.

Decision

Decided by the maintainer on 2026-11-19: the audit record stays on the pull request branch and the ACK stays strict. After an audit-only commit, the reviewer and the maintainer ACK the new head.

Rejected alternatives, with their reasons in the specification: a rule that keeps the ACK valid, audit records written after merge, a separate metadata branch folded in with a three-parent merge (proposed by da2ce7), and empty commits that carry the audit text.

Remaining work

Skill text only; the merge tool does not change:

  • merge-pull-request, Merge Readiness: an audit-only commit needs new ACKs, with the command that lists what the commits after the earlier ACK changed (git log --no-renames --diff-merges=first-parent --name-only --format= X..H). The waiver sentence no longer asks for a record in the review audit.
  • wait-for-pr-review, step 4: a pointer to that text.
  • process-pr-review: the author keeps the audit commit, tells the maintainer the head needs new ACKs, and never rewrites history to protect an ACK.
  • A note on the docs(pr-reviews): [#2347] triage post-merge review findings on five merged PRs #2363 line of the EPIC specification.

The specification is docs/issues/open/2949-2003-keep-reviewer-ack-after-audit-only-commits/ISSUE.md, added by the spec-only pull request #2950.

Activity

  1. da2ce7 commented on Nov 18, 2026

    @da2ce7
    Contributor

    The root cause here is that a pull request's work and its own review audit record live on the same branch, so recording a finding moves the head that the ACK names. Relaxing what an ACK covers treats the symptom; I would rather fix the structure.

    Proposal: give each pull request two tips.

    • Work branch: the change itself. This is what is reviewed and what ACK <hash> names. It moves only when the change moves.
    • Metadata branch: only docs/pr-reviews/pr-<N>-review/. The author records findings, replies and log entries here as often as needed, without touching the work tip.

    At merge, the merge tool makes one commit with three parents: develop, the ACKed work tip, and the metadata tip. The metadata branch touches a folder that nothing else touches, so the merge is mechanical, and the tool can refuse it if the metadata branch changes anything outside that folder. The ACK keeps its exact meaning, and the audit history still lands on develop with the merge.

    GitHub shows one head per pull request, so CI and the diff view would cover the work branch only, and the metadata branch needs its own ref convention plus validator and merge-tool support. Our merge tool already merges locally, so it can produce this merge.

    I would like this weighed against the rule in #2950 before that rule is adopted.

  2. added 14 commits that reference this issue on Nov 18, 2026
  3. 33 remaining items

  4. added 2 commits that reference this issue on Nov 21, 2026
  5. added 5 commits that reference this issue on Nov 22, 2026
  6. added a commit that references this issue on Nov 22, 2026
  7. added 4 commits that reference this issue on Nov 22, 2026
  8. added 2 commits that reference this issue on Nov 22, 2026
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