Skip to content

docs(skills): [#2949] document the re-ACK after an audit-only commit - #2989

Merged
josecelano merged 14 commits into
torrust:developfrom
josecelano-bot:2949-keep-reviewer-ack-after-audit-only-commits
Nov 22, 2026
Merged

josecelano merged 14 commits into
torrust:developfrom
josecelano-bot:2949-keep-reviewer-ack-after-audit-only-commits

Conversation

@josecelano-bot

@josecelano-bot josecelano-bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Closes #2949

Summary

Implements #2949, whose specification merged with PR 2950. The maintainer decided there to keep the strict ACK: an ACK <hash> counts only on the commit it names, and after a commit that changes only the pull request's own audit record, the reviewer and the maintainer ACK the new head. This pull request puts that into the skills. It is skill text and documentation only; the merge tool does not change.

What changes

  • .claude/skills/merge-pull-request/SKILL.md (version 1.3): new section "An ACK Names One Commit" under Merge Readiness. It says every later commit makes an ACK stale, including an audit-only commit, and gives 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>), so the second review is short. The Reviewer ACK item links to it, and the waiver sentence no longer asks for a record in the review audit: the durable comment on the pull request is the record, and a waiver written into the audit would move the head once more.
  • .claude/skills/wait-for-pr-review/SKILL.md (version 1.4): step 4 of the review loop points to that section, with no second wording of it.
  • .claude/skills/process-pr-review/SKILL.md (version 1.10): step 9 says that an audit commit pushed after an ACK makes it stale, that the author keeps the commit and tells the maintainer the head needs new ACKs, and that an author never rewrites history or holds back the audit record to protect an ACK.
  • docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md: the line of the historical plan for issue 2347 about PR 2363 names this decision; row 24 is IN_PROGRESS, with a progress-log line.
  • docs/issues/open/2949-2003-keep-reviewer-ack-after-audit-only-commits/ISSUE.md: tasks T2 to T5 done, acceptance evidence, a link to da2ce7's agreement with the decision (PR 2950, comment 7032739700), related-pr: 2989, and the progress log.
  • docs/issues/open/2949-2003-keep-reviewer-ack-after-audit-only-commits/manual-verification-evidence.md: the two manual scenarios.
  • docs/pr-reviews/pr-2989-review/PR-REVIEW.md: this pull request's review audit record.

Verification

  • linter all and the rest of the pre-commit hook passed on every commit; the pre-push checks passed at the push.
  • Manual scenario M1: on the history of PR 2947, the documented command with e01212151..1d27a67e9 lists only docs/pr-reviews/pr-2947-review/PR-REVIEW.md.
  • Manual scenario M2: on a range of the history of PR 2950 (eb07319da..163e74560), it lists the specification and the EPIC as well as the audit record.
  • Both ranges are on develop; no file in the diff cites a commit outside develop.
  • No tests apply: no code changes.

After merge

The issue's specification stays in docs/issues/open/ in this pull request. Archiving it to docs/issues/closed/ and setting EPIC row 24 to DONE follow in a separate pull request once the issue is closed.

Known gap

Issue 2949 is not linked as a GitHub sub-issue of EPIC 2003: the contributor account cannot link sub-issues. A maintainer needs to link it.

🤖 Generated with Claude Code

josecelano-bot and others added 5 commits November 21, 2026 13:19
…and how to re-check after an audit-only commit

Co-Authored-By: Claude Fable 5.2 <[email protected]>
…he manual verification evidence

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@josecelano josecelano self-assigned this Nov 21, 2026
@josecelano
josecelano requested review from da2ce7 and a balanced review from Copilot November 21, 2026 14:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue
What changed in this PR

Documents the rule that ACK <hash> only applies to the specific commit it names, and that any later commit—including an audit-only commit—makes the ACK stale and requires new ACKs on the new head.

Changes:

  • Add/propagate “An ACK Names One Commit” guidance across the merge/review skills.
  • Update issue/EPIC tracking to reflect implementation progress and decision linkage.
  • Add manual verification evidence demonstrating the documented git log command behavior.
File Description
.claude/​skills/​merge-pull-request/​SKILL.md Adds the “An ACK Names One Commit” section and adjusts merge-readiness wording to point to it.
.claude/​skills/​wait-for-pr-review/​SKILL.md Updates review-loop exit condition to reference the ACK-staleness guidance without repeating it.
.claude/​skills/​process-pr-review/​SKILL.md Adds workflow guidance that audit-only commits stale prior ACKs and must not be hidden/rewritten.
docs/​issues/​open/​2003-overhaul-guardrails-and-automation/​EPIC.md Updates EPIC row/status and historical-plan line to reference the #2949 decision.
docs/​issues/​open/​2949-2003-keep-reviewer-ack-after-audit-only-commits/​ISSUE.md Marks tasks/ACs as done, updates progress log, and links agreement comment evidence.
docs/​issues/​open/​2949-2003-keep-reviewer-ack-after-audit-only-commits/​manual-verification-evidence.md Adds recorded manual verification runs (V1/V2) and observed output.

Review effort: Lite

da2ce7
da2ce7 previously approved these changes Nov 21, 2026

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at 140ab17f5bbf47044165f4b1260d9dc4a5cd1b1b. Recomputed from the bytes at this head, against the merge base 4be22ee66; git merge-tree against develop 4be22ee66 writes a clean tree, identical to the head's tree, with no conflict.

Process: create-issue (tasks, criteria, evidence template), commit-changes, open-pull-request and write-markdown-docs govern this implementation PR; the tasks, criteria, progress log, evidence file with the template's frontmatter, EPIC row and log line, and the three version bumps are present.

The change against its claim: each file does what the description says. Merge Readiness gains An ACK Names One Commit and the waiver sentence drops the audit; wait-for-pr-review step 4 and process-pr-review step 9 point to it without restating it. M1 and M2 rerun byte for byte, all four commits on develop. On a throwaway repository the command lists a reverted change outside the folder, a merge commit's own change and both paths of a file moved into the folder, as the text says. The specification PR's merge commit carries both ACKs on its head. No skill, agent or contrib/dev-tools/git text lets an ACK count on another commit.

Consistency: every relative link and fragment in the six files resolves, both #an-ack-names-one-commit links included; the ISSUE.md tables stay aligned; in-progress is an allowed status; no dictionary change (ACKed is already in linted docs); nothing moves.

Hygiene: five commits, Conventional subjects with [#2949], empty bodies (optional), author = committer. Each commit ends with one attribution footer and the description with an attribution line; no rule in the tree forbids either. git diff --check is clean, the PR-branch commit-id check prints nothing, and the closing-keyword pattern matches only Closes #2949 in the description, right for an implementation PR. No review threads yet.

Findings: F1 (Nit) the #2363-line sentence gives the ACK rule as the reason for an approval dismissal the specification puts out of scope; F2 (Nit) the row 24 status change rides in the T5 commit, whose subject names only the #2363 line; F3 (Suggestion) link step 4 to the subsection. None blocks.

Checked, no finding: the 13:09 UTC merge time is not recomputable offline (merge commit 13:04:28, next merge 13:11:40, which fits a later push); the evidence file's wrapped code span renders as one span.

Checks

On the loop's compute node at this head, against the merge base 4be22ee66 (receipt server-gates-kranich-1300): the repository's pre-commit gate and lint roster exit 0 (168 s wall). This pull request has no review threads, so there is no audit record for the validator to check. The PR changes documentation and skills only, so no package tests apply. Checked against the bytes at posting: docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md:220 gives the ACK-per-commit rule as the reason the stale-approval dismissal is expected, as F1 says. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "Docs Lint: completed/success". At posting, develop is 4be22ee66.

@da2ce7

da2ce7 commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

ACK 140ab17 — the skill text, both manual scenarios rerun byte for byte, the command's three documented cases, every link and every cited commit check out at this head

… record with round 1

Co-Authored-By: Claude Fable 5.2 <[email protected]>

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at c3369ae7f7bc4d258061a4f224ae987d2b945511. Recomputed from the bytes at this head, against the merge base 4be22ee66; git merge-tree against develop 4be22ee66 writes a clean tree, identical to the head's tree, with no conflict.

Verdict: COMMENT, no ACK. The three threads of review 6006229600 (F1 to F3, opened 15:14:40 UTC on 140ab17f5) have no reply, no audit row and no resolution, and they predate the head's audit commit (15:21:21 UTC). No finding blocks the change itself.

What moved: three commits, a fast-forward of 140ab17f5. 21bb0f31f does what its subject says: the commit subject in the evidence's "Artifact under test" item sits on one indented line, and lines 17 to 19 read as the audit's verification says. 9ca11dd24 sets related-pr: 2989, ticks the automatic-verification checkpoint and adds a log entry; the Docs Lint pass it cites is in the round-1 capture. c3369ae7f adds the audit record with one row, for the automated review's thread, whose reply sits on its own thread and which is resolved.

Open findings at this head: F1, F2 and F3 stand unchanged; EPIC.md:220, EPIC.md:203 and wait-for-pr-review/SKILL.md:188 did not move.

Audit: the validator logic, run offline against the capture with the PR's own commit subjects, passes on 1 row and 1 log entry; the record follows the template and carries all 19 fields. The validator checks only the rows that exist, which is why it passes with F4 open.

Hygiene: author = committer; each new commit ends with one attribution footer, which no rule in the tree forbids; git diff --check is clean; the PR-branch commit-id check in the head worktree prints nothing; the closing-keyword pattern matches only Closes #2949 in the unchanged description and nothing in the eight commit messages.

New findings: F4 (Minor) the record leaves out review 6006229600 and describes round 1 as the automated review alone; F5 (Nit) the description's file list does not name the audit record.

Checked, no finding: the automated comment's row (inferred severity, category, reply on its own thread, resolution subject in the branch) and its reply's claim, recomputed at this head.

Checks

On the loop's compute node at this head, against the merge base 4be22ee66 (receipt server-gates-kranich-1308): the repository's pre-commit gate and lint roster exit 0 (69 s wall), and the audit validator passes on this PR's record (1 row, 0 failures); it checks only the rows the record has. The PR changes documentation and skills only, so no package tests apply. Checked against the bytes at posting: docs/pr-reviews/pr-2989-review/PR-REVIEW.md describes round 1 as review 6006218967 alone and does not name review 6006229600 anywhere, as F4 says. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "". At posting, develop is 4be22ee66.

josecelano-bot and others added 4 commits November 21, 2026 15:44
…he ACK rule on the EPIC's torrust#2363 line

Co-Authored-By: Claude Fable 5.2 <[email protected]>
…ight to the ACK subsection

Co-Authored-By: Claude Fable 5.2 <[email protected]>
…2 with the review that round 1 missed

Co-Authored-By: Claude Fable 5.2 <[email protected]>
da2ce7
da2ce7 previously approved these changes Nov 21, 2026

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at f40b5b14f08ad92ba9d69f158ebad49bc8110183. Recomputed from the bytes at this head, against the merge base 4be22ee66; git merge-tree against develop 4be22ee66 writes a clean tree, identical to the head's tree, with no conflict.

Verdict: each of the six threads, all opened before this head's last audit commit, has a reply, an audit row and a resolution, and the validator passes. F6 and F7 are Nits in the record's verification lines, and neither blocks.

What moved since c3369ae7f: two fixes and two audit commits. bc93f735a takes F1's wording at EPIC.md:220, and 4a262728d links step 4 to #an-ack-names-one-commit. 55a554085 adds the round-2 paragraph, rows F2 to F4 and F6, and a log entry that corrects round 1 without rewriting it; f40b5b14f adds the F5 row and a closing log entry. The renumbering follows process-pr-review step 3.

Rows against the capture: each row's source comment belongs to the review it names, each severity matches its bracket, each reply sits on its own thread, each thread is resolved, and each resolution is a branch subject or the reply URL.

Findings: F1, F3 and F5 are fixed; F2 is accepted with no change; F4 is fixed by the two audit commits.

Audit: the validator logic, run offline against the capture, passes on 6 rows and 3 log entries.

Hygiene: author = committer; each commit ends with one attribution footer, which no rule in the tree forbids; git diff --check is clean; the PR-branch commit-id check prints nothing; only Closes #2949 in the description matches the closing-keyword pattern.

New findings: F6 (Nit) the F3 row's verification command prints the latest EPIC commit, not the one the row is about; F7 (Nit) the F5 row's verification cites a validator check that does not exist.

Checked, no finding: the round-2 paragraph and the three log entries against the capture's review states and reply times; the skill text, links and manual scenarios, unchanged since round 1 apart from the two fixes.

Checks

On the loop's compute node at this head, against the merge base 4be22ee66 (receipt server-gates-kranich-1318): the repository's pre-commit gate and lint roster exit 0 (157 s wall), and the audit validator passes on this PR's record (6 rows, 3 log entries, 0 failures). The PR changes documentation and skills only, so no package tests apply. Checked against the bytes at posting: the record now names review 6006229600 and carries six finding rows, and the verification command at PR-REVIEW.md:93 (git log --format=%s -1 -- …/EPIC.md) prints bc93f735a's subject at this head rather than the T5 commit the row is about, as F6 says. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "". At posting, develop is 4be22ee66.

@da2ce7

da2ce7 commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

ACK f40b5b1 — all six threads have a reply, an audit row and a resolution, the validator logic passes on its six rows, and the skill text and every cited commit recompute from the bytes at this head

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed at ec5dc102f3e28a7e6ed195d9dcb70b7d0bb14e41. Recomputed from the bytes at this head, against the merge base 4be22ee66; git merge-tree against develop 4be22ee66 writes a clean tree, identical to the head's tree, with no conflict.

Verdict: each of the eight threads, all opened before this head's last audit commit, has a reply, an audit row and a resolution; the validator passes; no finding stands.

What moved since f40b5b14f: two audit-only commits. 8a916f7eb rewrites the two verification lines that F6 and F7 named, and ec5dc102f records round 3 as rows F7 and F8 with a log entry. The command this PR adds, run over f40b5b14f..ec5dc102f, lists only docs/pr-reviews/pr-2989-review/PR-REVIEW.md, so this is the short re-review after an audit-only commit that the new section describes.

Rows against the capture: F7 and F8 cite comments 4653556199 and 4653556207 of review 6006474506, their severities match the [Nit] brackets, their replies sit on their own threads, both threads are resolved, and both resolutions are 8a916f7eb's subject. Their verification commands print what they claim: the EPIC history yields the T5 subject, grep -c prints 2, and the eight threads map one to one to rows F1 to F8.

Findings: F6 and F7 are fixed; F1 to F5 stand as in round 3 (fixed, and F2 accepted). New findings: none.

Audit: the validator logic, run offline against the capture, passes on 8 rows and 4 log entries.

Hygiene: author = committer; each commit ends with one attribution footer, which no rule in the tree forbids; git diff --check is clean; the PR-branch commit-id check prints nothing; only Closes #2949 in the unchanged description matches the closing-keyword pattern.

Checked, no finding: the round-3 paragraph's review state and head, and the new log entry's times and its account of both conversation-comment ACKs, against the capture.

Checks

On the loop's compute node at this head, against the merge base 4be22ee66 (receipt server-gates-kranich-1321): the repository's pre-commit gate and lint roster exit 0 (52 s wall), and the audit validator passes on this PR's record (8 rows, 4 log entries, 0 failures). The commits since the last ACK change only docs/pr-reviews/pr-2989-review/PR-REVIEW.md, so no package tests apply. Checked against the bytes at posting: the record carries eight finding rows and cites review comments 4653556199 and 4653556207, the two threads of the previous round. The head was confirmed with git ls-remote before posting. GitHub checks at this head at posting time: "". At posting, develop is 4be22ee66.

@da2ce7

da2ce7 commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

ACK ec5dc10 — all eight threads have a reply, an audit row and a resolution, the validator logic passes on its eight rows, and the commits since the last ACK change only the audit record

@josecelano

Copy link
Copy Markdown
Member

ACK ec5dc10

@josecelano
josecelano merged commit 13c0ba4 into torrust:develop Nov 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants