Repository navigation
docs(pr-reviews): [#2308] reconcile audit contract rules - #2313
josecelano merged 8 commits into
Conversation
There was a problem hiding this comment.
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
Review effort: Lite
Findings: 3
Open (3)
V1’s Goal explicitly includes ‘fixed outdated threads’, but the Observed Result only states that… · New V1’s Goal explicitly includes ‘fixed outdated threads’, but the Observed Result only states that… · New The ripgrep pattern appears to have an unmatched backtick inFIXEDresolution... (missing the… · New
What changed in this PR
Aligns the PR-review audit “contract” between the canonical review skill and the PR review template, and records issue-local evidence + progress updates for subissue #2308 (EPIC #2278).
Changes:
- Updates
process-pr-reviewskill + PR review template with reconciled rules (outdated fixed threads, re-raises, resolution references, append-only logs, consolidated responses, review-body/suppressed-comment handling). - Adds issue-local manual verification evidence and an independent agent review report for #2308.
- Updates #2308 and parent EPIC #2278 tracking, and adds an initial audit record for PR #2313.
| File | Description |
|---|---|
| docs/templates/PR-REVIEW-TEMPLATE.md | Adds/clarifies contract rules for dispositions, re-raises, resolution references, and append-only processing log guidance. |
| docs/pr-reviews/pr-2313-review/PR-REVIEW.md | Creates initial audit record for PR #2313 (no findings at audit start) and embeds completion rules. |
| docs/issues/open/2308-2278-reconcile-audit-contract-rules/manual-verification-evidence.md | Records manual verification steps/outcomes for the reconciled rules. |
| docs/issues/open/2308-2278-reconcile-audit-contract-rules/agent-review-reports.md | Adds independent task review report and evidence summary for #2308. |
| docs/issues/open/2308-2278-reconcile-audit-contract-rules/ISSUE.md | Updates issue status, tasks, acceptance criteria, verification matrix, and progress log; links implementation PR. |
| docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md | Marks #2308 as IN_PROGRESS and updates EPIC progress log/evidence notes. |
| .github/skills/dev/pr-reviews/process-pr-review/SKILL.md | Reconciles skill rules to match the template (re-raises, suppressed comments, append-only recovery, post-merge NO_ACTION approval, consolidated response scope, resolution references). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
ACK 4ed6598 |
ff7219e docs(pr-reviews): start #2317 audit (Jose Celano) 8f43073 chore(issues): archive closed issue #2308 spec (Jose Celano) Pull request description: Archives the completed #2308 specification from `docs/issues/open/` to `docs/issues/closed/`. - Verified #2308 is closed on GitHub after PR #2313 merged - Updated archived issue metadata, supplementary artifact links, workflow checkpoints, and parent EPIC #2278 tracking - Preserved historical PR-audit references to the original open path Validation: - linter markdown - linter cspell - git diff --check - TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.sh --format=text ACKs for top commit: josecelano: ACK ff7219e Tree-SHA512: 322656c2a56a2f7f89b1966dae542617b25297ccb6619f0dabbff6a45deb7df7cbd7cc785208b43d73c31bbc89072977a07c9891e2428500fc3c785b9ecb32c2
da2ce7
left a comment
There was a problem hiding this comment.
Reviewed at 4ed6598f8501f24e1872e9a80244dac342afa3f6 (round 1, post-merge). Recomputed from the bytes at this head.
Label: POST_MERGE_FINDINGS — this PR merged at 2026-09-23T10:48:14Z as b27de85a before this review was written; nothing below asks for remediation, and process-pr-review § "Reviews Submitted After Merge" governs any follow-up.
Numbering: the merged audit record uses F<ordinal> and its highest assigned number is F3, so this lane's findings begin at F4. loop F<k> numbers are lane-local and are not #2003 friction ids.
Eight commits 78d7e0fe..4ed6598f, 7 files, +333/−54 (recomputed; matches --numstat and the PR's own additions/deletions). 09e70c23 carries F60/F73/F76 plus the post-merge NO_ACTION gate; c5f57f42 carries F61/F62/F66/F79/F80; c52c61f7+9e861bde record the spec evidence and task review; f4f4f7d4/392a93b9/4ed6598f open, fill and close this PR's own audit record around the product fix 80814a5a. All eight subjects are Conventional, times are ordered, no attribution trailer, no banned token. Copilot's review body carries no Suppressed comments block, so the new F66 rule had no case here and no row is missing.
The eight frictions
| Friction | Verdict | One clause |
|---|---|---|
| F60 | resolved | template :119-124 and :40-43 now carry the skill's fixed-outdated-thread wording; the opposite-rule pair is gone |
| F61 | resolved | template :110-111 gives the Processing Log the append-only sentence its sibling log sections carry |
| F62 | resolved | skill :79-81 and template :110-111 pick one of the two defensible repairs (restore, then append a naming correction) |
| F66 | resolved | skill :53-56 names the collapsed block in step 2, as asked; the proposed pointer from step 2 to step 3 was not added |
| F73 | resolved | skill :68-69 and template :53-54 state that a re-raise takes its own row — the one limb the #2003 digest left open |
| F76 | not | the head binds FIXED to a commit subject, so the non-repository fix F76 names now has no admissible value at all → loop F6 |
| F79 | partly | the checklist/step-8 contradiction is gone, but the conditional was resolved toward the condition, so the single-round response F79 names stays unruled → loop F9 |
| F80 | resolved | template :55-56 states both values for a review-body row, in the document the digest named as still missing them |
ISSUE.md:33-34 lists the same eight ids as the PR body — no divergence. The #2003 adoption comment names eleven; F58, F63 and F77 belong to EPIC subissue 1 (#2295, merged as PR #2300, EPIC.md:151), so the split is complete.
POST_MERGE_FINDINGS
| ID | Severity | Live on develop? |
Recomputation |
|---|---|---|---|
| loop F4 | Minor | yes | Copilot's two V1 comments are byte-identical (346 chars). At head a duplicate thread whose concern was fixed matches two mandates: template :119-120/:40 → FIXED/RESOLVED, skill :89-92/template :121-123 → NO_ACTION/SUPERSEDED with an exact reply. The record picked the first while its Processing Log :81 calls the item "the duplicate F2 request". The pair pre-existed in the skill; this PR copied it into the template unordered, against ISSUE.md:38-40's "one unambiguous audit contract". Rule stated two ways at head. |
| loop F5 | Minor | yes | Template :100-102 binds FIXED to a commit subject, but :128 still reads "Cite a fix by its unique Conventional Commit subject or durable reply URL" and the :96 placeholder <UNIQUE_COMMIT_SUBJECT_OR_REPLY_URL> encodes the same disjunction — which agent-review-report-contract/src/main.rs:49-51 pins. :128 is the one bullet left untouched in the list the PR rewrote. Rule stated two ways at head. |
| loop F6 | Minor | yes | F76 asked that a non-repository FIXED fix be allowed to cite a reply URL or N/A with a reason. Base read "unique Conventional Commit subjects or durable reply URLs"; head (skill :189-191, template :100-102) closes FIXED to subjects only, so that case has no admissible value where it had one. The PR body lists F76 as reconciled — false at this head. |
| loop F7 | Minor | yes | Template :26 marks ## Status Values copied verbatim; the PR appended a four-line policy sentence to it at :40-43. f4f4f7d4 created the record 27 min later and it copies ## Completion Rules byte-identically but omits that bullet — the F60 rule the PR exists to propagate. This is F63's named anti-pattern in the section #2295 had just marked. Earlier records all predate the bullet; this is the first with an obligation to carry it. |
| loop F8 | Minor | yes | V1's only recorded command, rg … 'outdated thread whose concern|own tracking row' SKILL.md PR-REVIEW-TEMPLATE.md, re-run at head matches the skill once, at :68 (the re-raise rule). The skill's fixed-outdated-thread rule at :87-89 reads "If a code or documentation change fixed the concern" and is matched by neither alternative, yet V1's Observed Result :32 asserts both documents state it. 80814a5a rewrote the assertion, not the procedure. The record's own F1 verification cites the command that would have worked. Evidence line that does not reproduce. |
| loop F9 | Suggestion | yes | F79's contradiction is removed by making the checklist conditional (:277-279), matching step 8 and template :125-127 — and all three now exempt the single-round consolidated response F79 named on #2272. Residual gap, not a false claim. |
| loop F10 | Nit | no — fixed by 8f430738 (#2317) |
manual-verification-evidence.md:4 ships at head with last-updated-utc: "2026-09-23 09:27" though 80814a5a edited it at 10:20:53Z. No check enforces currency (frontmatter-validator/src/profile.rs:406 validates format only), and its siblings in this PR did track their edits. |
Liveness: no merge in 4ed6598f..ef234623 (#2315, #2317, #2316, #2319) touched the skill, the template or this record — git diff --stat over the three paths is empty, so every head rule stands verbatim. #2317 renamed the #2308 folder open/ → closed/; loop F8 was followed through the rename, not reported as a deletion.
Checked, no finding
19-field roster: skill :148-172 ↔ template :76-78/:87-98, names and order exact, all three entries conform · disposition vocabulary identical in skill :77 and template :31 · contract check 49/49 required pins present and 12/12 forbidden absent; the PR renamed and moved nothing it pins · Processing Log strictly appended across the three audit commits, entry 1 byte-unchanged, stamps chronological and each at/after its event and at/before its carrying commit · all three Source review IDs equal 5289588303; all three Reply URLs resolve by in_reply_to_id to their own row's source comment; numbering follows review-comment order · 80814a5a is on the branch and its two hunks are exactly the two fixes described; all three threads isResolved: true · all three Current-tree verification lines reproduce at head, F3's under both escape readings · V2/V3/V4 commands run as written (exit 0) and support their Observed Results; V2's pattern has no unmatched backtick · severity Major (inferred) carries the marker skill :187-188 requires · EPIC.md subissue-2 row correct at head and on develop · agent-review-reports.md names only artifacts that exist · the post-merge § and the new post-merge sentences agree · CI evidence shows no startup_failure and no action_required.
AC9 (linter all) is unverifiable-in-lane: no toolchain here.
CI at this head (orchestrator's step, read after the merge): 1 check-run at 4ed6598f, success; at the merge commit b27de85a on develop, 4 check-runs, all success; none startup_failure or action_required. Orchestrator gate on the head (pre-commit: cargo machete, linter all, doc tests; plus clippy-allow-reasons against 78d7e0fe): rc 0 in 41 s, tree clean. Loop F8 was recomputed independently: V1's recorded alternation matches the template at :40 and :119 and the skill only at :68 (the re-raise rule); the skill's fixed-outdated rule at :87 is not matched by either alternative.
| | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ||
| | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | | ||
| | F1 | `review-finding:pr-2313-f1` | Copilot | Major (inferred) | documentation | ORIGINAL | FIXED | RESOLVED | | ||
| | F2 | `review-finding:pr-2313-f2` | Copilot | Major (inferred) | documentation | RE_RAISE_OF:F1 | FIXED | RESOLVED | |
There was a problem hiding this comment.
[Minor][loop F4] A duplicate thread whose concern was fixed has two mandated dispositions at head; this row picks one while the log calls it a duplicate.
Copilot's comments 4081285795 and 4081285850 have byte-identical bodies (346 characters) at two anchors of review 5289588303. Two rules at head both apply to the second thread:
- template
:119-120and:40— "For an outdated thread whose concern was fixed, recordDisposition=FIXEDandThread state=RESOLVED"; GraphQL reports that threadisOutdated: trueand its concern was fixed by80814a5a; - skill
:89-92and template:121-123— "For a duplicate, superseded, or no-change thread, reply exactlySuperseded by <FindingId>: <reason>., recordDisposition=NO_ACTIONandThread state=SUPERSEDED, then resolve it."
This row takes the first, and the reply reads "FIXED in …", while the Processing Log at :81 names the item "the duplicate F2 request" and the Solution field says the F1 correction also resolves it — the no-independent-fix shape the superseded path exists for. RE_RAISE_OF:F1 does not settle it: the re-raise rules (skill :66-69, template :51-54) govern rows and relationships, not dispositions.
Stated precisely: the unordered pair already existed in the skill at base; this PR copied it into the template in two further places without ordering the two mandates, against ISSUE.md:38-40's goal to "state one unambiguous audit contract for outdated threads". This record is the worked demonstration that the contract does not determine one answer. Merged-tree-wrong test: met (a rule stated two ways at head). Live on develop.
There was a problem hiding this comment.
There was a problem hiding this comment.
Follow-up: tracked in #2362 (EPIC #2278 order 11; approval: #2347 (comment)). Still live on develop at 478516cf: the template states both mandates for a fixed duplicate with no order between them. #2362 gives the skill and the template one rule for that case. Audit: review-finding:pr-2313-f4. This thread stays open until #2362's fix merges.
| - Follow-up PR URL: <DURABLE_FOLLOW_UP_PR_URL_OR_NA> | ||
| - Reply URL: <REPLY_URL_OR_NA> | ||
|
|
||
| Use a unique Conventional Commit subject as the `Resolution reference` for `FIXED`. Use a durable |
There was a problem hiding this comment.
[Minor][loop F5] The template states the Resolution reference rule three ways at head, two of them contradicting.
This PR adds at :100-102: "Use a unique Conventional Commit subject as the Resolution reference for FIXED. Use a durable reply URL for NO_ACTION, SUPERSEDED, or FOLLOW_UP…" It leaves standing, in the same file:
:128— "Cite a fix by its unique Conventional Commit subject or durable reply URL, never by a branch SHA that can change after a rebase." An open disjunction for any fix, which the new rule forbids forFIXED.:96— the field placeholder- Resolution reference: <UNIQUE_COMMIT_SUBJECT_OR_REPLY_URL>, whose token name encodes the same disjunction, and whichcontrib/dev-tools/checks/agent-review-report-contract/src/main.rs:49-51pins — so the check now guarantees a placeholder the prose contradicts.
:128 is inside the bullet list this PR rewrote (:119-127) and is the only bullet in it left untouched. This is the F60 failure mode — one contract, two normative statements, opposite effect — reintroduced for a different field by the PR that exists to remove it.
Displacement: :128 and :96 fall outside this PR's changed hunks, so this comment is anchored at the nearest changed head line, :100, the first line of the rule they contradict. Merged-tree-wrong test: met. Live on develop.
There was a problem hiding this comment.
There was a problem hiding this comment.
Follow-up: tracked in #2362 (EPIC #2278 order 11; approval: #2347 (comment)). Still live on develop at 478516cf: the <UNIQUE_COMMIT_SUBJECT_OR_REPLY_URL> placeholder, the FIXED-only rule, and the Completion Rules bullet are all present, and agent-review-report-contract pins the placeholder. #2362 states the rule once and updates the pinned placeholder, coordinating with #2349. Audit: review-finding:pr-2313-f5. This thread stays open until #2362's fix merges.
| `Minor`, `Nit`, or `Suggestion`; mark a severity inferred from free prose as | ||
| inferred. Resolution references are unique Conventional Commit subjects or | ||
| durable reply URLs, never branch SHAs. Record a follow-up pull request in the | ||
| inferred. `FIXED` resolution references are unique Conventional Commit subjects; |
There was a problem hiding this comment.
[Minor][loop F6] F76 is named as reconciled, but at head the case F76 describes has no admissible Resolution reference at all.
F76 on #2003 (comment 5749520415): "Resolution reference has no admissible value for a fix that is not a repository change. … A finding fixed by editing the pull-request description, a label, or an issue has neither, so on #2271 round 4 a row reached for the nearest commit and asserted that a Rust test commit changed a GitHub field. Smallest change: one clause — for a fix that is not a repository change, cite the durable reply URL, or N/A with the reason."
At base the skill read "Resolution references are unique Conventional Commit subjects or durable reply URLs, never branch SHAs" — an open disjunction under which such a row could cite the reply URL. These lines, and template :100-102, bind FIXED to a commit subject and reply URLs to the other three dispositions only. A FIXED row whose fix was a pull-request-description, label or issue edit — precisely F76's case — therefore has no admissible value at head where it had one at base. The PR body lists F76 among the frictions it reconciles.
ISSUE.md's AC4 is satisfied as literally worded, so the defect is in the adopted rule rather than in the acceptance check. Merged-tree-wrong test: met (the PR body's F76 claim is false at the head it ships in). Live on develop.
There was a problem hiding this comment.
There was a problem hiding this comment.
Follow-up: tracked in #2362 (EPIC #2278 order 11; approval: #2347 (comment)). Still live on develop at 478516cf: the skill says `FIXED` resolution references are unique Conventional Commit subjects, so a fix made outside the repository has no admissible value. #2347 met exactly this case with #2290 loop F7, a correction to a PR description. #2362 defines the admissible value. Audit: review-finding:pr-2313-f6. This thread stays open until #2362's fix merges.
| - Author class: `Copilot`, `Human`, `Unknown` | ||
| - Category: `link-integrity`, `formatting`, `metadata`, `testing`, `correctness`, | ||
| `documentation`, `maintainability`, `security`, `other` | ||
| - An outdated thread whose concern was fixed is `FIXED`/`RESOLVED`, even when GitHub marks the |
There was a problem hiding this comment.
[Minor][loop F7] A policy sentence was appended to the copied-verbatim ## Status Values section, and this PR's own record does not copy it.
:26 — present at base and head — marks the following section <!-- Copied verbatim into each audit record. -->, and ## Status Values is otherwise six vocabulary bullets. These four lines add a different kind of content to it: a normative policy sentence about dispositions, thread state and post-merge approval.
09e70c23 added this bullet at 09:26:47Z; f4f4f7d4 created docs/pr-reviews/pr-2313-review/PR-REVIEW.md at 09:54:01Z, 27 minutes later. Byte comparison of the record's copied sections against the template at head: ## Completion Rules is identical (14/14 lines, this PR's updated version), while ## Status Values matches neither head nor base — it carries the six vocabulary bullets and omits this sentence entirely. What the record drops is the F60 rule this PR exists to propagate.
This is F63's named anti-pattern — #2003 comment 5748800123: "Nothing marks which template sections a record copies and which are guidance … which is how a policy sentence came to be appended to the copied status list as though it were a status value on #2271" — repeated in the section EPIC subissue 1 (#2295, merged as PR #2300) had just marked as copied.
Scope stated honestly: all eleven earlier records under docs/pr-reviews/ also lack the bullet, but every one predates 09e70c23; pr-2313-review is the first record created after the rule landed. The record also omits the OPEN clause of the Thread state bullet, which no record in the repository carries — that part is pre-existing house practice and is not charged to this PR. Merged-tree-wrong test: met. Live on develop.
There was a problem hiding this comment.
There was a problem hiding this comment.
Follow-up: tracked in #2362 (EPIC #2278 order 11; approval: #2347 (comment)). Still live on develop at 478516cf: the policy bullet still sits in the copied-verbatim ## Status Values section. Records from pr-2320 onward copy it; pr-2313 does not, and historical records are not rewritten. #2362 moves the sentence to guidance or reclassifies the mark, coordinating with #2278 order 8's byte-diff of the copied sections. Audit: review-finding:pr-2313-f7. This thread stays open until #2362's fix merges.
| - [ ] Every resolvable thread replied to before resolution | ||
| - [ ] Every superseded thread has the prescribed reply and audit state | ||
| - [ ] Consolidated responses name every covered review and finding | ||
| - [ ] Consolidated responses that cover multiple review rounds name every covered review and |
There was a problem hiding this comment.
[Suggestion][loop F9] F79's conditional was resolved toward the condition, so the single-round consolidated response F79 named remains unruled.
F79 on #2003 (comment 5749520415) has two limbs: the checklist/step-8 contradiction, and the gap it leaves — "A single-round consolidated response falls straight into the gap, and #2272 has one: the record's two review-body findings both give the same issue comment as their Reply URL, it covers one review's two findings, and it names neither the review nor the finding IDs."
This checklist rewrite removes the contradiction by making the item conditional too, matching step 8 (:94-97) and template :125-127. All three surfaces now agree — and all three now exempt the #2272 case: a consolidated response covering one review's several findings is governed by no rule at head. F79 scores "partly" rather than "not" for that reason.
Merged-tree-wrong test: not met — this is a residual gap, not a false claim. Live on develop.
There was a problem hiding this comment.
There was a problem hiding this comment.
Follow-up: tracked in #2362 (EPIC #2278 order 11; approval: #2347 (comment)). Still live on develop at 478516cf: step 8 and the checklist govern only responses that cover multiple review rounds. #2362 states whether and how one response may cover several findings of a single review. Audit: review-finding:pr-2313-f9. This thread stays open until #2362's fix merges.
…resolution evidence 143b0f6 docs(issues): record #2333 verification and completion evidence (Jose Celano) 94fe6c8 docs(pr-reviews): collect all review threads as self-audit evidence (Jose Celano) 2f4bd80 feat(dev-tools): return all review threads with resolution evidence (Jose Celano) Pull request description: ## Summary Implements EPIC #2278 subissue 4 (#2333), friction-register items F17, F18, and F32: the author's review-thread evidence view now includes resolved and outdated threads with who resolved them and where, while reply and resolution actions keep an explicit unresolved-only view. - `github-review-threads` requests each thread's `line` and `resolvedBy { login }`. The raw JSON file is a superset of the previous one, so `resolve-all-unresolved-threads.sh` reads it unchanged. - `list` and `show` return every thread by default and add `isResolved`, `resolvedBy`, and `line`; `--unresolved-only` selects the threads still awaiting a reply or resolution. `reply-status` is unchanged and still checks unresolved threads only, because it guards resolution. - The `fetch-review-threads` skill now collects every thread as evidence, names `resolvedBy`, `path`, and `line` as self-audit evidence (nulls are recorded as unknown, never inferred), and limits unresolved-only filtering to actions. Its inline `gh api graphql` fallback now requests exactly the tool's fields. The change extends the existing crate in place; it adds no new script or binary and does not decide the unified AI-harness placement, which stays with EPIC #2003. ## Commits - `feat(dev-tools): return all review threads with resolution evidence`: query, `ThreadSelection`, `--unresolved-only`, fixture tests, and spec/EPIC tracking for T1-T2. - `docs(pr-reviews): collect all review threads as self-audit evidence`: skill contract (T3). - `docs(issues): record #2333 verification and completion evidence`: manual evidence, acceptance review, EPIC AC2 (T4). ## Files touched - `contrib/dev-tools/github/github-review-threads/src/lib.rs`, `src/main.rs`, `tests/cli.rs` - `contrib/dev-tools/github/github-review-threads/tests/fixtures/thread-states.json` (new; one thread per state). The retired-script fixture `review-threads.json` is unchanged because its README pins it to the parity captures; it now also shows that files fetched before this change still parse, with null `resolvedBy` and `line`. - `.github/skills/dev/pr-reviews/fetch-review-threads/SKILL.md` - `docs/issues/open/2333-2278-fetch-all-review-threads/ISSUE.md` and `manual-verification-evidence.md` - `docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md` ## Validation - `cargo test --package github-review-threads`: 13 unit and 7 CLI tests pass (stable Rust 1.98.1). Temporarily reverting the selection filter to unresolved-only in the working tree failed 5 unit tests; the filter was restored before committing. - `cargo clippy --package github-review-threads --all-targets -- -D warnings` and `cargo +nightly fmt --all -- --check` are clean. - The pre-commit hook (including `linter all`) passed on every commit; `pre-push.sh` passed all 4 steps. - Manual scenarios M1-M4 were run read-only against merged PR #2320 (29 threads: 27 resolved, 2 unresolved, 21 outdated): all threads listed by default, resolver and line shown with explicit nulls on outdated threads, only the 2 unresolved threads in `--unresolved-only` and `reply-status`, and the bulk resolver's `--dry-run` still lists them. The fallback query returned the same data as the tool on PR #2322. ## Notes for reviewers - The skill no longer lists `canResolve` as a collected field; neither the tool's query nor the previous fallback query ever requested it. - The manual-capture survey found merged PRs that still hold unresolved threads (#2290, #2293, #2300, #2313, #2320). They were only read and are left for a maintainer decision under the post-merge review rule. Closes #2333 Related to #2278 ACKs for top commit: josecelano: ACK 143b0f6 Tree-SHA512: a37f3d9b46c4d1c92c4df242324cf81b52b441af65ab4e9522cebf77dcd75dd1c632bd69781263ef4deca01ae710e9f3d97675464456b4f7cc2530e103e743f7
…eview findings b3205e4 docs(pr-reviews): record PR #2348 thread resolution (Jose Celano) f6d0bb9 docs(pr-reviews): add PR #2348 review audit (Jose Celano) 27ac0ec docs(issues): keep #2347 follow-up threads open and time approval for new audits (Jose Celano) ac2c914 docs(issues): use the UTC minute format for EPIC #2003 last-updated (Jose Celano) 2db2f3d docs(issues): link subissue #2347 in EPIC #2003 (Jose Celano) 530f17a docs(issues): add issue specification for #2347 (Jose Celano) Pull request description: ## Summary Spec-only PR for #2347, a new subissue of EPIC #2003 (order 12). It tracks the 32 review findings that da2ce7 posted after PRs #2290, #2293, #2300, #2313, and #2320 merged. Each review body labels them post-merge findings, none had a reply, and nothing in the repository tracked them. The specification lists all 32 threads (the summary is each thread's first line), notes that the #2320 findings reuse audit IDs F24 and F25 and so need new audit-local IDs, and plans the work under `process-pr-review` "Reviews Submitted After Merge": triage against `develop`, maintainer-approved dispositions, audits for all five PRs, documentation-only fixes, and a close-out PR after merge (the PR #2276 precedent). Workflow, CI, and Rust changes become their own issues. T1 is already done, as the maintainer approved: the approval record is on #2347 (<#2347 (comment)>), and each of the 32 threads has one reply naming #2347 with its disposition pending. All threads stay unresolved. ## Files touched - `docs/issues/open/2347-2003-triage-post-merge-review-findings/ISSUE.md`: new specification. - `docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md`: #2347 added as order 12 of the approved subissues, plus a progress-log entry. - `docs/pr-reviews/pr-2348-review/PR-REVIEW.md`: audit for review round 1 (Copilot review 5325942058, three findings, all fixed and resolved). ## Review Round 1 - `docs(issues): use the UTC minute format for EPIC #2003 last-updated` (audit F1) - `docs(issues): keep #2347 follow-up threads open and time approval for new audits` (audit F2, F3): `FOLLOW_UP` threads stay open until their owning fix merges, and the approval URL goes into the #2290 and #2293 audits when they are created. - `docs(pr-reviews): add PR #2348 review audit` - `docs(pr-reviews): record PR #2348 thread resolution` ## Validation - The pre-commit hook (including `linter all`) passed on both commits; the pre-push hook passed. - GitHub: #2347 was created with label `task`, and `parent_issue_url` confirms it is linked under #2003. A GraphQL refetch shows all 32 threads unresolved, each with the #2347 reply. Related to #2347 Related to #2003 ACKs for top commit: josecelano: ACK b3205e4 Tree-SHA512: 97c895d52fc04dc6cf8d3a53c5335658ae5f5c6d0b7d99c11275d15741ba046bd42437bb38066d5a83aaa63a3a7eab77c5540be1c6294f006831c9092243c9e3
…ngs on five merged PRs 30f7419 docs(pr-reviews): [#2347] record PR #2363 review rounds 4 and 5 (Jose Celano) d5bb52f docs(pr-reviews): [#2347] record Copilot's severity labels in the PR #2363 audit (Jose Celano) f102d70 docs(pr-reviews): [#2347] record PR #2363 review round 2 (Jose Celano) 068a018 docs(issues): [#2347] map the pre-PR task review finding IDs (Jose Celano) 76aab89 docs(issues): [#2347] count five retrospective improvement candidates (Jose Celano) bc3eb6b docs(issues): [#2347] name all three findings triage found dead (Jose Celano) 217df51 docs(issues): [#2347] count the three #2320 citations the F29 note moved (Jose Celano) c8676f7 docs(issues): [#2347] record the approval-timing deviation acceptance (Jose Celano) 1ec319d docs(pr-reviews): [#2347] add PR #2363 review audit (Jose Celano) f004145 docs(pr-reviews): [#2347] keep the #2320 head-id note at two lines (Jose Celano) 9c99bf5 docs(issues): [#2347] correct stamps and stale claims found by the pre-PR review (Jose Celano) 9f994a4 docs(issues): [#2347] record the pre-PR task review (Jose Celano) 52fccfc docs(issues): [#2347] record verification evidence and retrospective (Jose Celano) 42ae122 docs(pr-reviews): [#2347] record PR #2320 post-merge findings (Jose Celano) f3e6716 docs(pr-reviews): [#2347] record PR #2313 post-merge findings (Jose Celano) f20c229 docs(pr-reviews): [#2347] record PR #2300 post-merge findings (Jose Celano) 71c6757 docs(pr-reviews): [#2347] add PR #2293 post-merge review audit (Jose Celano) 7e65e92 docs(pr-reviews): [#2347] add PR #2290 post-merge review audit (Jose Celano) 4fc38fd docs(issues): [#2347] record the rebase and the upstream F3 fix (Jose Celano) 17e7e60 docs(issues): [#2347] restore the #2222 plan stamp after the upstream indentation fix (Jose Celano) 24d4364 docs(issues): [#2347] record the follow-up issues (Jose Celano) d0ee94a docs(issues): [#2347] route the PR #2293 hosted-evidence finding to #2301 (Jose Celano) cfcc79c docs(issues): [#2347] route the PR #2300 roster-pin finding to #2278 order 8 (Jose Celano) 1c1b8bb docs(issues): add issue specification for #2362 (Jose Celano) ba18b32 docs(issues): add issue specification for #2361 (Jose Celano) c290c2c docs(issues): [#2347] record the T3 routing amendment (Jose Celano) bb94947 docs(issues): add issue specification for #2360 (Jose Celano) b170b70 docs(issues): [#2347] record the approved order of work (Jose Celano) 5d8ee9f docs(issues): [#2347] refresh stamps on #2222 and #2261 docs edited by fixes (Jose Celano) 6d53267 docs(pr-reviews): [#2347] correct the #2320 retrospective head-id note (Jose Celano) 01baa61 docs(issues): [#2347] make the #2308 V1 command reproduce its result (Jose Celano) 96beca7 docs(issues): [#2347] cite #2295 review inputs by commit subject (Jose Celano) de9c790 docs(issues): [#2347] correct #2295 AC6 after the PR audit landed (Jose Celano) 4c422f9 docs(pr-reviews): [#2347] correct PR #2300 audit log stamps (Jose Celano) 8fc2435 docs(skills): [#2347] link implement-workflow to its workflow artifacts (Jose Celano) f721dab docs(issues): [#2347] map #2222 evidence commits to merged subjects (Jose Celano) 84e3242 docs(testing): [#2347] name the PR coverage workflow correctly (Jose Celano) 61dd5c0 docs(issues): [#2347] name all four #2261 empty_enums modules (Jose Celano) d984271 docs(issues): [#2347] describe the #2261 parser test action codes (Jose Celano) f780ad2 docs(issues): [#2347] correct the #2261 M1 result for retained A159 (Jose Celano) b5f217a docs(issues): [#2347] cite #2261 evidence commits by subject (Jose Celano) 2c7c731 docs(issues): [#2347] record T3 disposition decisions (Jose Celano) 3a95952 docs(issues): [#2347] record T2 triage of post-merge findings (Jose Celano) da8ac1f docs(issues): [#2347] mark spec in progress on implementation branch (Jose Celano) Pull request description: ## Summary Implements #2347 (EPIC #2003, order 12): it processes the 32 review findings that da2ce7 posted after PRs #2290, #2293, #2300, #2313, and #2320 had merged. The maintainer approved every disposition before any fix. Approval record: <#2347 (comment)>. Amendments: <#2347 (comment)> and <#2347 (comment)>. The order of work followed the PR #2339 / PR #2344 precedent. First the fixes and follow-up issues were committed and this PR was opened as a draft. Then each of the 32 threads got a disposition reply, and finally one audit commit per merged PR cites those replies. The rationale is in the spec's "Disposition Decisions (T3)" section. | Disposition | Count | Findings | | ----------- | ----- | -------- | | FIXED | 14 | #2290 F1, F2, F3, F5 (the audit itself), F6; #2293 F2, F4, F7; #2300 F5, F6, F9; #2313 F8; #2320 F29 (reviewer F25); #2293 F3, fixed upstream by PR #2357 | | NO_ACTION | 9 | #2290 F7; #2293 F6, F8; #2300 F7, F8, F11, F12; #2313 F10; #2320 F28 (reviewer F24) | | FOLLOW_UP | 9 | #2290 F4 → #2360; #2293 F1 → #2361; #2293 F5 → #2301; #2300 F10 → #2278 order 8; #2313 F4, F5, F6, F7, F9 → #2362 | Following `process-pr-review` "Reviews Submitted After Merge", the 13 fixes in this PR are recorded as `FOLLOW_UP`/`OPEN` until it merges. A close-out PR (T7) then changes them to `FIXED`, replies, and resolves the fixed and declined threads. #2293 F3 was already fixed on `develop`, so its row is `FIXED`/`RESOLVED` and its thread is resolved. FOLLOW_UP threads stay open until their owning issue's fix merges. ## Changes - Documentation fixes, one signed commit per finding. Most are appended, dated corrections. Two are in-place edits to closed text: the #2261 retrospective's Evidence list now cites commit subjects instead of unreachable ids, and the #2320 retrospective's head-id note is corrected, with the edit recorded in that audit's Processing Log. - #2261 folder (PR #2290): the evidence commits are cited by subject, the M1 result is corrected for the retained A159 allowance, the parser test's action codes are described accurately, and all four `empty_enums` modules are named. - `docs/testing.md` names the PR coverage workflow correctly. - #2222 folder (PR #2293): unreachable evidence commits are mapped to merged subjects. - `implement-workflow` skill: `skill-link` markers and a `Skill Links` section. The workflow file gets one comment line. - #2300 audit: a Processing Log stamp correction. #2295 folder: an AC6 correction and a review-input citation correction. - #2308 folder (PR #2313): the V1 command now reproduces its result. - Audits: new `docs/pr-reviews/pr-2290-review/` and `pr-2293-review/`; appended rows in `pr-2300-review` (F5-F12), `pr-2313-review` (F4-F10), and `pr-2320-review` (F28-F29). The approval URL is in each Ownership section. This PR's own review audit is `docs/pr-reviews/pr-2363-review/`. - New follow-up issue specs: #2360 (UDP protocol `empty_enums` allowance scope, #2003), #2361 (bug: the coverage summary fails when discovery fails, #1347), and #2362 (remaining audit-contract rules, #2278). The parent EPIC rows are updated, and pointers are added for the existing owners #2301 and #2278 order 8. - The #2347 spec with `triage.md` (per-finding live checks), `manual-verification-evidence.md` (M1, M3), `implementation-retrospective.md`, and `agent-review-reports.md`. ## Validation - `validate-audit-record.py` exits `0` for every audit, with the first parent of each PR's merge commit as `--base`: #2290 (7 rows), #2293 (8), #2300 (12), #2313 (10), and #2320 (29). It also exits `0` for this PR's own audit, `pr-2363-review`, with `--base` set to `develop`. - M1 (a GraphQL refetch of all five PRs): all 32 threads carry the #2347 tracking and disposition replies, and only #2293 F3 is resolved. M3 (three seeded random spot checks, one per disposition kind) reproduces the recorded results. - `TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.sh` passed on every commit (stable Rust toolchain; includes `linter all` and the staged frontmatter check). The pre-push hook passed: `cargo +nightly check`, `cargo +nightly doc`, and `cargo +stable test --tests --benches --examples --workspace --all-targets --all-features`. - An independent pre-PR task review found documentation defects only: stale stamps, log stamps out of order, and stale claims. They are corrected in `docs(issues): [#2347] correct stamps and stale claims found by the pre-PR review`, and the report is in `agent-review-reports.md`. - Temporary working-tree experiments (removing or narrowing the `empty_enums` allowance, and running Clippy) were restored with `git checkout` and are not part of this PR. Related to #2347. The issue stays open for the T7 close-out. ACKs for top commit: da2ce7: ACK 30f7419 — the commit records review rounds 4 and 5 in the PR #2363 audit (the F14 row and detail, the Round 4/5 paragraph, three log entries) and the #2347 spec, each checked against the posted reviews and replies josecelano: ACK 30f7419 Tree-SHA512: d545a11e29defea38b63cd5b4596f323a758c9a42adf1499421827a3af79789006021172abe46ea4b804257182135e019e4bd069d059c1017a0a5cffbb79ba24
…th the close-out The close-out changed the F5, F6, F9 (PR torrust#2300), F8, F10 (PR torrust#2313) and F28, F29 (PR torrust#2320) rows to their resolved states, but the narrative paragraph under each table still described the pre-merge state, saying the fixed findings stay FOLLOW_UP/OPEN until PR torrust#2363 merges. Each paragraph now states the recorded state: PR torrust#2363 merged on 2026-09-28, the fixed findings are FIXED/RESOLVED, the NO_ACTION threads are resolved in the close-out, and the remaining FOLLOW_UP items keep their owners. Copilot review on the close-out pull request, threads on the three audits.
…ing log and fix three log entries The PR torrust#2363 audit logged round 7 inside the 17:00 merge entry, after the 16:53 entry, although its review and ACK were posted at 16:50, and it had no entry for the dismissal of the four CHANGES_REQUESTED reviews at 16:54 that cleared the last blocking reviews before the merge. Round 7 now has its own 16:50 entry, a 16:54 entry records the dismissals, the 17:00 entry keeps only the merge, and the Round 6 paragraph and the F15 detail follow the same order, so the log is chronological through the close-out. Three close-out log entries in the PR torrust#2293, torrust#2313 and torrust#2320 audits lose a stray comma and a plural that described a single finding. Maintainer review on the close-out pull request, findings F2, F3 and F4.
…th the close-out The close-out changed the F5, F6, F9 (PR torrust#2300), F8, F10 (PR torrust#2313) and F28, F29 (PR torrust#2320) rows to their resolved states, but the narrative paragraph under each table still described the pre-merge state, saying the fixed findings stay FOLLOW_UP/OPEN until PR torrust#2363 merges. Each paragraph now states the recorded state: PR torrust#2363 merged on 2026-09-28, the fixed findings are FIXED/RESOLVED, the NO_ACTION threads are resolved in the close-out, and the remaining FOLLOW_UP items keep their owners. Copilot review on the close-out pull request, threads on the three audits.
…ing log and fix three log entries The PR torrust#2363 audit logged round 7 inside the 17:00 merge entry, after the 16:53 entry, although its review and ACK were posted at 16:50, and it had no entry for the dismissal of the four CHANGES_REQUESTED reviews at 16:54 that cleared the last blocking reviews before the merge. Round 7 now has its own 16:50 entry, a 16:54 entry records the dismissals, the 17:00 entry keeps only the merge, and the Round 6 paragraph and the F15 detail follow the same order, so the log is chronological through the close-out. Three close-out log entries in the PR torrust#2293, torrust#2313 and torrust#2320 audits lose a stray comma and a plural that described a single finding. Maintainer review on the close-out pull request, findings F2, F3 and F4.
…th the close-out The close-out changed the F5, F6, F9 (PR torrust#2300), F8, F10 (PR torrust#2313) and F28, F29 (PR torrust#2320) rows to their resolved states, but the narrative paragraph under each table still described the pre-merge state, saying the fixed findings stay FOLLOW_UP/OPEN until PR torrust#2363 merges. Each paragraph now states the recorded state: PR torrust#2363 merged on 2026-09-28, the fixed findings are FIXED/RESOLVED, the NO_ACTION threads are resolved in the close-out, and the remaining FOLLOW_UP items keep their owners. Copilot review on the close-out pull request, threads on the three audits.
…ing log and fix three log entries The PR torrust#2363 audit logged round 7 inside the 17:00 merge entry, after the 16:53 entry, although its review and ACK were posted at 16:50, and it had no entry for the dismissal of the four CHANGES_REQUESTED reviews at 16:54 that cleared the last blocking reviews before the merge. Round 7 now has its own 16:50 entry, a 16:54 entry records the dismissals, the 17:00 entry keeps only the merge, and the Round 6 paragraph and the F15 detail follow the same order, so the log is chronological through the close-out. Three close-out log entries in the PR torrust#2293, torrust#2313 and torrust#2320 audits lose a stray comma and a plural that described a single finding. Maintainer review on the close-out pull request, findings F2, F3 and F4.
…e of five merged PRs e233bf8 docs(pr-reviews): [#2347] complete the PR #2363 processing log and fix three log entries (Cameron Garnham) bfbcf13 docs(pr-reviews): [#2347] align three post-merge narratives with the close-out (Cameron Garnham) 5c6aae4 docs(pr-reviews): [#2347] record the close-out pull request in the PR #2363 audit (Cameron Garnham) 663aad9 docs(pr-reviews): [#2347] close out the post-merge triage of five merged PRs (Cameron Garnham) Pull request description: Closes the loop on the 32 findings posted after PRs #2290, #2293, #2300, #2313, and #2320 merged, now that their follow-up PR #2363 is on `develop`, and records the last review rounds of PR #2363. The thread replies and resolutions were the maintainer's (josecelano, 17:07 UTC, and 16:53 UTC for PR #2363 F15); this PR records them. **Summary** - The 13 findings that PR #2363 fixed are `FIXED`/`RESOLVED` in their audits. Each cites its fixing commit subject, and its Reply URL is the maintainer's T7 reply. - The 9 `NO_ACTION` findings are `RESOLVED`, keeping their disposition replies. - The 9 `FOLLOW_UP` findings stay `FOLLOW_UP`/`OPEN`. Their disposition replies name the owners: #2360, #2361, #2301, #2278 order 8, and #2362. - The PR #2363 audit gains: - F15, which this commit fixes, with the maintainer's reply as its Reply URL; - the Round 6 paragraph; - Processing Log entries for rounds 6-7, the merge and this close-out; - the maintainer's post-merge approval for recording F15 (#2347 (comment)) as its approval reference. - The #2347 spec marks T6 and T7 `DONE` and AC4 `DONE`, and records M2. **Files touched** - `docs/pr-reviews/pr-2290-review/PR-REVIEW.md` - `docs/pr-reviews/pr-2293-review/PR-REVIEW.md` - `docs/pr-reviews/pr-2300-review/PR-REVIEW.md` - `docs/pr-reviews/pr-2313-review/PR-REVIEW.md` - `docs/pr-reviews/pr-2320-review/PR-REVIEW.md` - `docs/pr-reviews/pr-2363-review/PR-REVIEW.md` - `docs/issues/open/2347-2003-triage-post-merge-review-findings/ISSUE.md` - `docs/issues/open/2347-2003-triage-post-merge-review-findings/manual-verification-evidence.md` **Validation** - Pre-commit profile on the compute hub at this head, base `develop` `bc90cde1b`: `pre-commit.sh --format=json` status `pass`, exit 0, 74 s; `clippy-allow-reasons --base-ref bc90cde` exit 0; worktree unchanged after the run (2026-09-28 17:41 UTC). - `frontmatter-validator --all` at this head: exit 1 with exactly the counts `develop` has (35 `legacy-shape` errors and 4 warnings on unrelated closed specs) and no record for the #2347 folder or any audit this PR edits. - `validate-audit-record.py`, run offline against thread captures of 2026-09-28 17:19 UTC: #2290 exit 0 (7 rows), #2293 exit 0 (8), #2300 exit 0 (12), #2313 exit 0 (10), #2320 exit 0 (29); #2363 parsed 15 rows and reported only F15's resolution reference, which is this PR's own commit subject and resolves on this branch. The source-review check needs review ids the captures do not carry, so the maintainer's run with `gh` is the one of record. - M2 (GraphQL `reviewThreads`, 2026-09-28 17:19 UTC): #2290 10 threads, 1 unresolved (F4, #2360); #2293 16, 2 (F1, #2361; F5, #2301); #2300 12, 1 (F10, #2278 order 8); #2313 10, 5 (F4, F5, F6, F7, F9, #2362); #2320 29, 0; #2363 15, 0. The unresolved set is exactly the 9 `FOLLOW_UP` threads. Related to #2347. Closing #2347 and archiving its spec follow as a separate step: `cleanup-completed-issues` archives only the spec of an issue that is closed. ACKs for top commit: da2ce7: ACK e233bf8 — the four close-out commits rebased onto develop at 693162b unchanged (range-diff four `=` against the previous tip, which was itself four `=` against the tip the maintainer ACKed), the six review threads answered and resolved, the one open thread (the commit-policy wording) answered as intentional Tree-SHA512: 6f407ef2bf216f52153a931c44642d8302399f06c88fc4a39982563357a2d66a94f9a677643048340c6f62b6a7333420c26263eb8600154e632a577d86142d9a

Summary
Validation
Closes #2308.
This is subissue 2 of EPIC #2278.