Skip to content

docs(pr-reviews): [#2295] single-source the audit field roster - #2300

Merged
josecelano merged 6 commits into
torrust:developfrom
josecelano:2295-2278-single-source-audit-roster
Sep 22, 2026
Merged

josecelano merged 6 commits into
torrust:developfrom
josecelano:2295-2278-single-source-audit-roster

Conversation

@josecelano

@josecelano josecelano commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

Closes #2295.
This is subissue 1 of EPIC #2278.

Implements the approved #2295 specification:

  • Defines the 19-field audit roster once in process-pr-review, grouped by tracking row, detail heading, and detail entry; the skill is now the canonical roster source.
  • Makes PR-REVIEW-TEMPLATE.md link to that roster and marks each template section as either copied verbatim or instantiation guidance using local plain HTML comments.
  • Retargets the agent-review-report-contract literal pins invalidated by the roster rewrite without changing what that check reads or how it reports.
  • Records M1-M4 manual verification, the acceptance-criteria review, parent EPIC status, and the independent Task Reviewer PASS report.

No existing docs/pr-reviews/ audit record changes.

Validation:

  • cargo run --package agent-review-report-contract
  • cargo test --package agent-review-report-contract
  • linter all
  • TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.sh --format=text

Copilot AI lite review requested due to automatic review settings September 22, 2026 14:53
@josecelano
josecelano requested a review from a team as a code owner September 22, 2026 14:53
@josecelano josecelano self-assigned this Sep 22, 2026

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

Review effort: Lite
Findings: 4 Medium severity

Open (4)
What changed in this PR

This PR updates the PR review/audit documentation workflow to single-source the required audit-field roster in the process-pr-review skill, and ensures the template and contract checker reference that canonical list without duplicating it.

Changes:

  • Centralizes the 19 required audit fields in .github/skills/dev/pr-reviews/process-pr-review/SKILL.md and links to it from the PR review template.
  • Adds explicit “copied vs guidance” HTML markers to each template section.
  • Retargets agent-review-report-contract pins to match the rewritten roster section and records issue-local verification evidence/reports.
File Description
docs/​templates/​PR-REVIEW-TEMPLATE.md Replaces embedded roster text with a link to the canonical skill roster and adds section classification comments.
.github/​skills/​dev/​pr-reviews/​process-pr-review/​SKILL.md Defines the canonical 19-field roster grouped by tracking row / heading / detail fields.
contrib/​dev-tools/​checks/​agent-review-report-contract/​src/​main.rs Updates literal pins to align with the rewritten skill roster section.
docs/​issues/​open/​2295-2278-single-source-audit-roster/​manual-verification-evidence.md Adds manual verification evidence (M1–M4) for the change set.
docs/​issues/​open/​2295-2278-single-source-audit-roster/​agent-review-reports.md Adds an independent Task Reviewer report.
docs/​issues/​open/​2295-2278-single-source-audit-roster/​ISSUE.md Updates issue status/progress, acceptance criteria, and verification plan statuses.
docs/​issues/​open/​2278-2003-strengthen-pr-review-author-self-audit/​EPIC.md Updates EPIC tracking/progress entries for subissue #2295.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@josecelano
josecelano force-pushed the 2295-2278-single-source-audit-roster branch from de73383 to eee0f47 Compare September 22, 2026 16:12
@josecelano

Copy link
Copy Markdown
Member Author

ACK eee0f47

@josecelano
josecelano merged commit caa6c67 into torrust:develop Sep 22, 2026
20 checks passed
josecelano added a commit that referenced this pull request Sep 22, 2026
2faace7 docs(pr-reviews): audit PR #2304 feedback (Jose Celano)
e9e5a33 docs(issues): use UTC closure timestamps (Jose Celano)
9fd9323 chore(issues): archive closed issue #2295 spec (Jose Celano)

Pull request description:

  ## Summary

  - Archive the completed #2295 specification and its issue-local evidence under docs/issues/closed/.
  - Record PR #2300 closure evidence and update #2278 subissue tracking to DONE.

  ## Scope

  - docs/issues/closed/2295-2278-single-source-audit-roster/
  - docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md

  ## Validation

  - linter markdown
  - linter cspell
  - TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.sh --format=text

  Related to #2295.

ACKs for top commit:
  josecelano:
    ACK 2faace7

Tree-SHA512: 354fdbb97cba6f1b27ea6839e6359b8f6fcc69ac084c8b707ee052d5af8d481de361f379d6dde742de403c98582d99234259ede4fbbb21c723d7d2e1a6c675a9

@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 eee0f47e52b005706ec58dcd0c362ef644d763cb (round 1, post-merge). Recomputed from the bytes at this head.

Label: POST_MERGE_FINDINGS — this PR merged at 2026-09-22T16:51:06Z as caa6c674 before this review was written; nothing below asks for remediation, and process-pr-review § "Reviews Submitted After Merge" governs any follow-up.

The PR's own audit record has taken F1-F4, so this round's findings are numbered from F5 and written loop F<k>; record F<k> means a row of docs/pr-reviews/pr-2300-review/PR-REVIEW.md.

Six commits a1192ff7..eee0f47e, 8 files, +393/-59 (recomputed). The skill's Required Audit Fields becomes a grouped 19-field list (8 tracking + Summary + 10 detail), adding Concern and Solution that the old 17-item prose sentence omitted; the template drops its restatement for a link to that roster and gains six section-ownership comments; the contract check's pins move from the deleted sentence to the three group headings plus - Finding ID, - Summary, - PR number. Recomputed: the skill roster and the template skeleton are the same 19 names in the same order (M1/AC3 reproduce); docs/skills, docs/agents, .github/ and contrib/ contain no third restatement of the field list (AC2 holds); the four Copilot threads are each replied to on their own thread and resolved, Source review ID 5279983104 matches every source comment's pull_request_review_id, and the F2 reply is the prescribed Superseded by F1: … form; validate-audit-record.py --pr-number 2300 exits 0 (4 rows, 3 log entries, 0 failures). No existing audit record is broken by the roster change: Concern and Solution are already present in every detail entry of all 102 records.

ID Severity Live on develop? Recomputation
loop F5 Minor yes Processing Log says "15:13 UTC - Committed fixes for F1, F3, and F4" but c2a8ef57 is authored 15:20:35Z, and "15:15 UTC - Pushed … replied … resolved" precedes the four replies (15:23:23-15:23:29Z), the audit commit (15:24:57Z) and the recorded force-push (16:12:36Z).
loop F6 Minor yes AC6 "No file under docs/pr-reviews/ changes" is [x] with evidence M4/V4 "No output", but git diff --stat 3aeb62c5 eee0f47e -- docs/pr-reviews/ prints pr-2300-review/PR-REVIEW.md | 117 ++. The PR body's own wording ("No existing … record changes") is the true one.
loop F7 Minor yes V2's recorded grep -nF output pins 167:tracking row plus one matching…; at head that line is 168 (c2a8ef57 inserted a line above it). The spec's stated mitigation "M2 is repeated after every review round" was not run for that round: the evidence file's last commit is d6b884af, before c2a8ef57.
loop F8 Minor yes The mark this PR adds above ## Status Values says "Copied verbatim into each audit record", yet no record copies it verbatim: the OPEN prospective-application sentences are dropped by all 102 records including pr-2300-review. M3 compared ## headings only, so AC4 did not test the claim the mark makes.
loop F9 Minor yes agent-review-reports.md Inputs cite commits 1682aff5, b33e2807, 27a57e1b; all three are Not a valid object name at head after the 16:12:36Z force-push — the branch-SHA citation the Completion Rules forbid.
loop F12 Minor yes c2a8ef57 carries three independent fixes (skill text = F1, contract pins = F3, report wording = F4) and all four rows cite its subject docs(pr-reviews): clarify audit roster optional fields, which describes only F1, so the subject citation does not discriminate the F3 and F4 fixes.
loop F10 Suggestion yes The check pins one item per group (3 of 19 names) and 2 of the template's 10 detail bullets; the skill's "must match its field names and order exactly" is machine-enforced only for the template's 8-column header line. Renaming or reordering Concern/Solution in the skill leaves both the check and validate-audit-record.py green.
loop F11 Suggestion yes d6b884af also edits the historical 06:59 UTC EPIC progress entry (drops "; the GitHub label changes from task to epic when this specification merges"), beyond the issue's In Scope for the EPIC ("Update the parent EPIC's Subissues row and AC2 evidence").

Merged-tree-wrong test: loop F5 (log entry dated before its event), F6 and F7 (evidence lines that do not reproduce at this head) and F8, F9 (claims false at this head) meet it; loop F12 does not.

Checked, no finding: M1/AC3 (19 names, same order, mechanical diff empty); AC1, AC2, AC5 (contract check green at head and at develop); M3/AC4 heading comparison against pr-2288, pr-2296, pr-2300 (all empty, 3 guidance markers); record field roster and order for all four rows; Reviewer finding ID: N/A (Copilot supplied no IDs); reply-to-thread mapping (in_reply_to_id 4073210083/150/208/260); all four threads isResolved: true at evidence capture 2026-09-22T20:44Z with their described fixes present at head; Superseded by F1: exact form; the Copilot review body carries no request outside the four inline threads; Ownership and Completion Rules are byte-verbatim from the template; the template's roster link resolves; EPIC subissue row TODO→IN_PROGRESS and AC2 evidence; Conventional subjects on all six commits; attribution-trailer scan clean; no banned token in the eight changed files.

CI at this head (orchestrator's step, read after the merge): 20 check-runs — 17 success, 3 skipped by design (Docker E2E on the pull_request event and both Publish jobs); all five workflow runs at this sha concluded success (Testing, Generate Coverage Reports (PR), Container, OS Compatibility, Docs Lint). No startup_failure or action_required conclusion. Orchestrator gate on a server worktree at this head: pre-commit.sh --format=json exit 0 (40 s) and clippy-allow-reasons --base-ref 3aeb62c5 exit 0, tree clean afterwards.

Comment thread docs/templates/PR-REVIEW-TEMPLATE.md Resolved
"author class, finding ID, review finding reference, severity, category, summary,",
"### Tracking Row Fields",
),
(".github/skills/dev/pr-reviews/process-pr-review/SKILL.md", "- Finding ID"),

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.

[Suggestion][loop F10] The new pins cover 3 of the 19 roster names, so the skill's "must match … exactly" rule stays largely unenforced.

This PR pins each group heading plus its first item (- Finding ID, - Summary, - PR number), which answers Copilot's request literally. Recomputed over the whole check at this head: the only place the roster's ordering is machine-checked is the template's 8-column header line in REQUIRED_TEXT; on the skill side exactly three of the nineteen names are pinned, and of the template's ten detail bullets only Current-tree verification and Resolution reference are. Concrete drift that survives: rename Concern → Reported concern (or swap Concern and Solution) in the skill roster and leave the template alone — the check still prints "Agent review report contract check passed" and validate-audit-record.py still exits 0, while the skill's own normative claim ("the skeleton in PR-REVIEW-TEMPLATE.md must match its field names and order exactly") is false.

Pinning the roster as one normalized block on each side would make the rule self-enforcing without adding a pin per field. #2278 subissue 7 owns validator work, so this is a note for that issue rather than a request here. Post-merge: no action requested.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Post-merge finding (loop F10). This PR had already merged when it was posted, so it is tracked for triage in #2347 under the process-pr-review post-merge workflow. Its disposition is not yet decided and is pending the maintainer review that #2347 defines; this thread stays open until then.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Follow-up: tracked by EPIC #2278 order 8 ("Extend the audit validator to the adopted invariants", register F58), whose row now names this finding: pin the whole roster on both sides, so that a rename or reorder fails (approval: #2347 (comment)). #2349 is not the owner, because it excludes changing what the pins require, other than their granularity. Audit: review-finding:pr-2300-f10. This thread stays open until order 8's fix merges.

josecelano added a commit that referenced this pull request Sep 25, 2026
…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
josecelano added a commit that referenced this pull request Sep 27, 2026
…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
josecelano added a commit that referenced this pull request Sep 27, 2026
…evidence boundary

f47addb docs(pr-reviews): record PR #2350 thread resolution (Jose Celano)
1c57bcc docs(pr-reviews): add PR #2350 review audit (Jose Celano)
0f4882f docs(issues): link write-unit-test and qualify audit paths in the #2349 spec (Jose Celano)
8ad6355 docs(issues): link subissue #2349 and record order 5-7 decisions in EPIC #2278 (Jose Celano)
e22287d docs(issues): add issue specification for #2349 (Jose Celano)

Pull request description:

  ## Summary

  Spec-only PR for #2349, EPIC #2278 order 6: make `agent-review-report-contract` state what it reads, so a passing run is never cited as audit evidence (friction items F56, false-evidence part, and F57).

  At `develop` the checker reads 15 workflow documents and no audit record, but no hook, workflow, skill, agent, or template mentions it; the PR #2271, #2279, and #2300 audits nonetheless cite it as current-tree verification. It prints plain text, is unclassified in the CLI output-contract ADR, and pins template fields at mixed granularity.

  The specification plans: one pin-granularity rule (label first; placeholder only when it states an admissible-value rule, with a comment); module docs naming the checked files and the audit-record boundary; migration to `no-stdout-result` (NDJSON failures on stderr, and one stderr pass record listing the checked files), approved by the maintainer under the ADR's migrate-when-touched rule; tests for that record and empty stdout; and one `process-pr-review` sentence. CI or pre-commit invocation, audit validation, and historical audit edits are out of scope.

  The EPIC #2278 update also records the maintainer's ordering decision (order 6 now, order 5 after PR #2344 and #2347 triage) and the three approved decisions for the order 7 validator port.

  ## Files touched

  - `docs/issues/open/2349-2278-contract-checker-evidence-boundary/ISSUE.md`: new specification.
  - `docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md`: order 6 row linked to #2349 and a progress-log entry.
  - `docs/pr-reviews/pr-2350-review/PR-REVIEW.md`: audit for review round 1.

  ## Review Round 1

  Copilot review 5326193009 (2 findings; audit `docs/pr-reviews/pr-2350-review/PR-REVIEW.md`):

  - `docs(issues): link write-unit-test and qualify audit paths in the #2349 spec` (audit F1, F2). `write-unit-test` is added to `skill-links`; no inline `process-pr-review` marker is added, because the semantic skill-link convention makes frontmatter canonical.
  - `docs(pr-reviews): add PR #2350 review audit`
  - `docs(pr-reviews): record PR #2350 thread resolution`

  ## Notes for reviewers

  - Rebased onto `develop` after PRs #2344 and #2348 merged. The one conflict, in the EPIC #2278 progress log, was resolved by keeping both entries in chronological order, with the later `last-updated-utc`.

  ## Validation

  - The pre-commit hook (including `linter all`) passed on both commits; the pre-push hook passed.
  - GitHub: #2349 created with label `task`; `parent_issue_url` confirms it is linked under #2278.

  Related to #2349
  Related to #2278

ACKs for top commit:
  josecelano:
    ACK f47addb

Tree-SHA512: a775bc0988220c2c5106ba31a5f64da8e3397cfcf18b07e1acf7a47b384af06e9d9fc3fb1d988dcfe1852e03670ec5e1b5f63996cad1c4d69bc2776e96f8e7e4
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit that referenced this pull request Sep 28, 2026
…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
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Sep 28, 2026
…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.
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 6, 2026
…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.
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 6, 2026
…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.
da2ce7 added a commit that referenced this pull request Oct 6, 2026
…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

This branch was previously deployed

1 inactive deployment
coverage — eee0f47e Deployed Sep 22, 2026 by josecelano via Generate Coverage Report #2261
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.

Single-source the audit field roster and mark copied template sections

3 participants