Skip to content

fix(docs): [#2264] address post-merge review findings - #2271

Merged
josecelano merged 27 commits into
torrust:developfrom
josecelano:2264-address-post-merge-review
Sep 21, 2026
Merged

josecelano merged 27 commits into
torrust:developfrom
josecelano:2264-address-post-merge-review

Conversation

@josecelano

@josecelano josecelano commented Sep 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Commit Structure

  • fix(docs): address late PR #2269 findings
  • docs(pr-reviews): complete PR #2269 late review audit
  • docs(agents): define post-merge review workflow
  • docs(pr-reviews): record approved post-merge follow-up
  • docs(pr-reviews): link PR #2269 follow-up
  • fix(docs): address PR #2271 Copilot findings
  • fix(docs): address PR #2271 second review
  • fix(docs): address PR #2271 third review
  • fix(checks): keep review contract tests after helpers
  • docs(pr-reviews): extend post-merge audit contract
  • docs(pr-reviews): record PR #2271 findings
  • fix(docs): complete post-merge audit contract
  • docs(pr-reviews): complete PR #2271 review audit
  • docs(pr-reviews): fix PR #2271 audit defects from fourth review
  • docs(pr-reviews): update PR #2271 audit reply URLs after posting
  • fix(docs): address PR #2271 review contract findings
  • docs(pr-reviews): address PR #2271 review round five
  • docs(pr-reviews): record PR #2271 review replies
  • fix(docs): normalize AGENTS indentation and PR #2269 audit fields
  • docs(pr-reviews): address PR #2271 review round six
  • docs(pr-reviews): record PR #2271 round six replies
  • docs(pr-reviews): address PR #2271 review round seven
  • docs(pr-reviews): record PR #2271 round seven reply
  • docs(templates): add PR review retrospective template
  • docs(pr-reviews): add PR #2271 review retrospective
  • docs(pr-reviews): log PR #2271 retrospective commits
  • docs(pr-reviews): defer PR #2271 retrospective issues

Validation

  • cargo fmt --all -- --check
  • cargo test --package agent-review-report-contract (2 tests passed)
  • cargo run --quiet --package agent-review-report-contract
  • Audit finding-order and alignment checks
  • Mermaid validation and preview for updated orchestration diagrams
  • Mandatory pre-commit hook passed for every commit
  • Mandatory pre-push hook passed, including nightly checks and the full test suite

Follow-up to #2269
Related to #2264
Related to #2265
Related to #2266

Copilot AI lite review requested due to automatic review settings September 19, 2026 11:26
@josecelano
josecelano requested a review from a team as a code owner September 19, 2026 11:26
@josecelano josecelano self-assigned this Sep 19, 2026
@josecelano
josecelano requested a review from da2ce7 September 19, 2026 11:38

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.

Copilot review overview

🟡 Changes recommended

The updated documentation introduces a few concrete consistency issues (misreferenced review ID, ambiguous duplicate table labels, and partial schema synchronization) that should be corrected before merge.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 4 Low severity

Open (4)
What changed in this PR

This PR updates the repository’s documentation and agent workflows to support handling review feedback that arrives after a PR has already merged, including recording those findings in the unified docs/pr-reviews/ audit while gating any remediation work on explicit maintainer approval.

Changes:

  • Extend PR review audit vocabulary and guidance (notably Thread state=OPEN) to support post-merge follow-up tracking.
  • Complete/expand the PR #2269 audit record with additional Copilot body findings and late human findings, plus updated processing-log entries.
  • Document the post-merge review workflow across skills, agents, and orchestration guidance, and update related EPIC/subissue specs with corrected lifecycle metadata and stable references.
File Description
docs/​templates/​PR-REVIEW-TEMPLATE.md Updates PR-review audit status vocabulary (adds OPEN thread state).
docs/​pr-reviews/​pr-2269-review/​PR-REVIEW.md Expands the PR #2269 audit table/details and processing log to cover late findings and follow-up tracking.
docs/​issues/​open/​2266-2264-implement-rust-frontmatter-model-and-validator/​ISSUE.md Updates issue lifecycle state/metadata and clarifies frontmatter validation scope and references.
docs/​issues/​open/​2265-2264-inventory-markdown-frontmatter-contracts/​ISSUE.md Updates metadata/timestamps and clarifies terminology and inventory scope items.
docs/​issues/​open/​2264-2003-refactor-semantic-link-conventions/​EPIC.md Updates metadata, terminology, and clarifies external-link findings classification and progress log.
docs/​issues/​closed/​2233-2003-tune-unified-pr-review-process/​ISSUE.md Restores historically accurate paths with a stable cross-reference note.
docs/​agents/​orchestration.md Adds explicit post-merge triage + maintainer approval gate to orchestration diagrams and tables.
AGENTS.md Adds a documented rule requiring explicit maintainer approval before inventing undocumented workflows or taking mutating actions.
.github/​skills/​dev/​pr-reviews/​process-pr-review/​SKILL.md Documents the post-merge review handling workflow and adds completion checks for approval gating.
.github/​agents/​pr-reviewer.agent.md Adds a POST_MERGE_FINDINGS outcome and constraints for merged PR reviews.
.github/​agents/​copilot-suggestions-handler.agent.md Extends scope to maintainer-approved post-merge feedback and reinforces “read-only until approval”.

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

Comment thread docs/agents/orchestration.md Resolved
Comment thread docs/templates/PR-REVIEW-TEMPLATE.md Resolved

@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 251476b2b22f0ae242e7482e106185e369532237. Recomputed from the bytes at this head.

Round 1 verdict: request changes. One Major, five Minor, three Nits (F1-F9). The Major is one edge in the second orchestration diagram: push_update --> follow_up_pr_detail makes follow_up_pr_detail[Follow-up pull request] reachable from the ordinary pre-merge loop without ever passing maintainer_approval_detail{Explicit maintainer approval?}, so the diagram draws a way around the gate this PR exists to establish. Everything else is small, and none of it disturbs the main result below.

The eight findings from the #2269 round all reproduce as fixed. Each verdict below was recomputed against this head tree, not read from this PR's audit record.

#2269 finding Claim Verdict Evidence at this head
F12 (Major) The audit omits the twelve findings delivered in review 5250123822's body FIXED Twelve tracking rows and twelve matching detail entries added (audit F5, F6, F12-F21); all twelve extracted independently from the review body map 1:1, in source order
F13 (Minor) status: planned contradicts the blocked state stated three other ways FIXED 2266/ISSUE.md:4 is status: blocked (develop: planned); agrees with :30 **Blocked by:** #2265, T1 :154, checkpoint :183, and 2264/EPIC.md:340
F14 (Minor) The stable-reference pass converted every cross-issue reference except the two to #2003 FIXED 2264/EPIC.md:14 and 2266/ISSUE.md:23 both read issue #2003
F15 (Minor) A dated 2026-09-16 entry was rewritten to a path that did not exist then FIXED 2233/ISSUE.md:174 restores docs/issues/drafts/refactor-semantic-link-conventions/EPIC.md with (now EPIC #2264); git log --diff-filter=AD puts that path's creation on 2026-09-16 and the first open/2264- path on 2026-09-18
F16 (Minor) The handoff calls the four GNU timeouts unremovable; the cited report calls them first-observed FIXED 2264/EPIC.md:365-366 now reads "seven persistent errors that no cleanup step can remove and four first-observed timeouts that still require a confirming rerun", matching external-link-check-residual-failures-2026-09-18.md:27. The #2264 issue body carries the same corrected sentence
F17 (Minor) Two retired lifecycle terms survive in a promoted spec FIXED 2265/ISSUE.md:103 "parent EPIC"; AC8 at :204 and its evidence row at :244 "successor specification". Remaining draft hits in the three specs are historical checkpoints, progress-log prose, and document-class names
F18 (Suggestion) References sections use open/ spec paths FIXED 2265/ISSUE.md:270,272 and 2266/ISSUE.md:304,306 now read #2264, #2266, #2265
F19 (Suggestion) epic: on an EPIC profile is undocumented - record it as a known variation FIXED 2265/ISSUE.md:81-82 records it in the inventory scope, naming both observed meanings (#2264 parent, closed EPIC #1938 self-reference) and the documented profile's omission

8 FIXED / 0 STILL OPEN / 0 PARTIAL / 0 NOT ADDRESSED.

The twelve body findings: 12 of 12 mapped, 0 dispositions contradicted. Extracting the Suppressed comments (12) block from review 5250123822 independently gives twelve entries whose reviewer IDs are F13, F11, F3, F5, F14, F6, F12, F6, F4, F7, F15, F2 - note the reviewer reused F6 for two different findings, and five of the twelve collide with audit IDs already in use. The record allocates F13, F12, F14, F5, F15, F6, F16, F17, F18, F19, F20, F21, keeping the reviewer's ID where it was free and taking the next free ordinal where it was not, with the reviewer's own ID carried in the detail entry in all six re-allocated cases. Recomputing each stated disposition:

  • The five rows marked FIXED (F13, F12, F14, F17, F19) are all true on develop already - the #2185 report and #2233 retrospective frontmatter carry issue #2264, EPIC #2003 carries last-updated-utc: 2026-09-18 17:05 (later than the 15:25 child update the reviewer complained about), and the #2265/#2266 frontmatter carry the stable parent and predecessor references.
  • The seven rows marked FOLLOW_UP are all fixed in this head tree and correctly not claimed FIXED, which is what the new step 5 requires while the follow-up is open. Their Thread state=NON_RESOLVABLE is also right: a suppressed body finding has no thread.

What else was recomputed and holds:

  • Diagrams. Both changed Mermaid blocks parse: every edge endpoint has a labelled declaration, every declared node appears in at least one edge, and all seven new nodes are connected in both directions. No Mermaid tool exists on the build host (mmdc, mermaid, mermaid-cli all absent), so this was reconciled by hand. Structural validity is exactly why F1 survives: a renderer will draw that edge happily.
  • Contract crate. cargo run --quiet --package agent-review-report-contract exits 0 with Agent review report contract check passed. It validates rather than merely printing - it accumulates failures and returns ExitCode::FAILURE - and it does assert exact substrings inside process-pr-review/SKILL.md, including the author-class and category sentences. The reflow in step 3 of that skill does not cross any asserted substring.
  • Links and paths. 229 link and path references across the eleven changed files; 194 resolve, 13 are stable issue #NNNN references, 11 are skill names, 11 do not resolve. Exactly one of the eleven sits on a line this PR adds - the restored docs/issues/drafts/... path in 2233/ISSUE.md:174 - and it is deliberately non-resolving, which is the whole point of F15 and is what cleanup-completed-issues/SKILL.md means by "deliberately retained historical records". The other ten are pre-existing: planned docs/conventions/*.md artifacts the EPIC proposes, historical drafts/ checkpoints, and a retired test script.
  • The closed-spec edit is in bounds. cleanup-completed-issues/SKILL.md says "Do not rewrite immutable historical records ... merely because they accurately record the path that existed at the time. Update them only when they function as a live navigational reference." The edit to 2233/ISSUE.md reverses a rewrite that rule forbade, and create-issue/SKILL.md step 3 says the same from the other side.
  • Path stability. Every remaining docs/issues/open/ or docs/issues/closed/ string in the changed files is a spec-path: self-reference, an evidence-file path (which the #2269 audit deliberately kept concrete), a lifecycle checkpoint, or the navigable body link at 2264/EPIC.md:314 - consistent with this PR's own F18/F29 disposition, which was about non-linking code-span paths only.
  • Reply URLs. All nine #discussion_r reply ids in the late-finding rows exist, are the PR author's, and reply on exactly the thread each row describes. 4053067227 appears twice, in F27 and F28, and that is correct: both are halves of the single F17 thread, and the record says so.
  • Mechanics. Five Conventional Commit subjects, no attribution trailers, no byte-empty file, the six-character angle-bracket token appears nowhere in the eleven changed files, and git merge-tree --write-tree develop 251476b2 produces a tree with no conflict.

Copilot's four open threads on this PR, adjudicated from the bytes:

  • process-pr-review/SKILL.md:104 ("still-open PR" is contradictory after merge) - agreed, raised as F7.
  • orchestration.md:209 (two rows labelled "PR Reviewer") - disagreed. The table is "Optional and Event-Driven Paths" and its second column is the trigger; two trigger rows for one agent is what that shape is for. This PR applies the same pattern to Copilot Suggestions Handler, so if it were a defect it would be two, and nothing in the tree references the table or its rows by agent name.
  • PR-REVIEW.md:49 (findings table lists F13 before F12) - disagreed, and acting on it would introduce a defect. The twelve new rows are in the reviewer's own body order (2185:6, 2233:9, 2003:181, 2264:337, 2264:366, 2265:101, 2265:200, 2265:17, 2266:4, 2266:18, 2266:23, 2266:156), which is exactly what step 3 prescribes: "assign F<ordinal> in source-review and source-order order". F13 precedes F12 only because the reviewer's free ID was kept for the first and a new ordinal taken for the second. Sorting the rows numerically would break source order, and no ordering rule in the template asks for numeric order.
  • PR-REVIEW-TEMPLATE.md:27 (OPEN documented but existing audits lack it) - disagreed. Of 93 audit records, 87 carry no Status Values enum at all and 5 carry the three-value list; the template already answers the compatibility half of the ask twice - "Historical records predate this schema and remain unchanged" and "This convention applies to new audits only. Historical audit records remain unchanged".

On the description's Validation list: the contract-crate run is corroborated by my own run above. "Mandatory pre-commit hook passed for every commit" is corroborated only for this head, by the gate run that carries pre-commit.sh --format=json green in 185s. Mermaid "validation and preview" and "pre-push ... including nightly checks and the full test suite" are corroborated by nothing in the tree or in the checks recorded at this head; this PR changes no Rust, so a test-suite run would leave no artifact either way.

Pre-commit gate (8 steps including linter all and cargo test --doc) and the documented-Clippy-allows check against 092de794 pass at this head (185 s). CI at 251476b2: Docs Lint=success; only Docs Lint runs for this change set because every changed file is Markdown.

Comment thread docs/agents/orchestration.md Resolved
Comment thread .github/agents/pr-reviewer.agent.md Resolved
Comment thread docs/templates/PR-REVIEW-TEMPLATE.md Resolved
Comment thread AGENTS.md Resolved
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 19, 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 06cf213c24ff21caa849d2a9d1372edb50f4ef9d (round 2). Recomputed from the bytes at this head.

This push is a single commit, fix(docs): address PR #2271 Copilot findings, touching four files (+40/−38). It acts on all four of Copilot's threads — including the two round 1 refused (the duplicated PR Reviewer rows; the findings-table order) and the one round 1 called already-answered (OPEN compatibility) — and on exactly one of the nine findings round 1 raised, F7. The other eight are untouched, F1 among them, so the verdict stands. At the 13:51Z snapshot no thread had been answered; at 13:59Z the author replied FIXED on each of Copilot's four threads (they remain unresolved), and the nine threads from round 1 still carry no reply.

Round-1 findings at this head

ID Severity State Recomputation
F1 Major STILL OPEN docs/agents/orchestration.md:179 still reads push_update --> follow_up_pr_detail. The only hunk this commit makes in that file is @@ -205,8 +205,7 @@ — the table. The diagram block (lines 138–181) is byte-identical to round 1.
F2 Minor STILL OPEN PR-REVIEW.md:479 still stamps 2026-09-19 09:12 UTC on "Opened follow-up PR #2271 ...", while this PR's created_at is 2026-09-19T11:26:41Z — the entry remains about 2h14m early. Line unchanged by this push.
F3 Minor STILL OPEN docs/templates/AGENT-REVIEW-REPORTS.md:24 is still - Verdict: {AUDIT PASSED|AUDIT WARNED|AUDIT FAILED|REVIEW PASSED|REVIEW FAILED|APPROVE|REQUEST_CHANGES|COMMENT}. That file is not in this PR's diff at all.
F4 Minor STILL OPEN PR-REVIEW.md:474-476 unchanged, and no locus for a recorded approval was added to the skill, the template, or the record.
F5 Minor STILL OPEN grep -c 'PR #2271 (open follow-up)' over the record returns 9, unchanged; the two governing field definitions were not widened.
F6 Minor STILL OPEN The template gained a Compatibility bullet, not a Reviewer finding ID field: grep -rn 'Reviewer finding ID' docs/templates/ .../process-pr-review/SKILL.md returns nothing, while the record uses the field on 18 detail entries.
F7 Nit FIXED SKILL.md:103 now reads "A pre-merge review-processing request does not authorize post-merge remediation."; grep -rn 'still-open|still open' over the skill returns nothing.
F8 Nit STILL OPEN AGENTS.md:236 continuation lines still use three spaces; the neighbouring bullet still wraps at two ( staged-versus-unstaged mismatches, ...).
F9 Nit STILL OPEN, widened ## Commit Structure still lists four commits; git rev-list develop..06cf213c now returns six. The description omits both docs(pr-reviews): link PR #2269 follow-up and this round's commit.

The audit re-sort: correct, and round 1's stated reason for refusing it was wrong

Round 1 refused Copilot's thread (c) on the ground that renumbering the findings table into numeric order would break the source-order rule step 3 prescribes. Recomputing that from the bytes at this head, it does not, and I withdraw the reason.

Step 3 of process-pr-review/SKILL.md at this head, verbatim and complete on the point:

Use a reviewer-provided finding ID when present and it does not collide with an existing audit finding ID. When a later review reuses an existing ID for a different finding, assign the next audit-local F<ordinal> and record the reviewer's original ID in the detail entry. Otherwise assign F<ordinal> in source-review and source-order order.

That governs which ordinal is assigned to which finding. It says nothing about the order rows are listed in, and sorting the rows changes no assignment. grep -n 'order\|Order' over the whole skill returns that one line and nothing else, and the skill's text is otherwise untouched by this push (--numstat = 1 1, the F7 line). The only presentation-order rule in either governing document is PR-REVIEW-TEMPLATE.md:67, "Create one entry per tracking row, in the same order" — satisfied before (both in source order) and satisfied now (both numeric, F1→F30).

I re-derived the source order from Copilot's review 5250123822 rather than from round 1. Its Suppressed comments (12) block runs 2185…agent-review-reports.md:6, 2233…implementation-retrospective.md:9, 2003…EPIC.md:181, 2264…EPIC.md:337, 2264…EPIC.md:366, 2265…ISSUE.md:101, 2265…ISSUE.md:200, 2265…ISSUE.md:17, 2266…ISSUE.md:4, 2266…ISSUE.md:18, 2266…ISSUE.md:23, 2266…ISSUE.md:156, carrying reviewer IDs F13, F11, F3, F5, F14, F6, F12, F6, F4, F7, F15, F2. Mapping each by content onto the twelve entries that record "suppressed body finding had no thread" gives audit IDs F13, F12, F14, F5, F15, F6, F16, F17, F18, F19, F20, F21 — the allocation step 3 requires, given that F5 and F6 were free and the other nine reviewer IDs collided.

That allocation is still fully evidenced after the sort, which is the substantive point: each of those nine reassignments carries its Reviewer finding ID line, and the nine lines read F11, F3, F14, F12, F6, F4, F7, F15, F2 down the file in numeric-ID order — exactly the reviewer IDs my source-order mapping predicts for audit F12, F14, F15, F16, F17, F18, F19, F20, F21. The source order is therefore reconstructible from the record itself; it was never carried only by row position.

On the F12/F13 pair specifically: the two entries were swapped whole, not spliced. At this head ### F12 is the #2233 retrospective, with Reviewer finding ID: F11, a #2233 Concern, and a verification against the retrospective frontmatter; ### F13 is the #2185 review report, with no reviewer-ID line (correct — reviewer F13 did not collide), a #2185 Concern, and a verification against the #2185 report. Both entries are internally consistent and the reassignment line sits on the entry it is true of. Nothing is misattributed. Checked, no finding.

Also checked, no finding

  • Both Mermaid diagrams: skipped deliberately. This commit's only hunk in orchestration.md is at 205–210; all three mermaid blocks (29–96, 104–128, 138–181) are byte-identical to round 1, so the hand-parse from round 1 still holds and re-running it would prove nothing new.
  • Commit hygiene: subject is Conventional and correctly scoped; body empty (permitted); no AI-attribution trailer (a case-insensitive scan of every develop..HEAD commit body for the usual co-authorship and generator trailers returns nothing); git merge-tree --write-tree develop refs/quarantine/pr-2271-r2 returns tree e2b04778 with exit 0 — clean. The subject says "Copilot findings" while the commit also closes F7, which this review raised; harmless, but the subject undersells what landed.
  • The banned six-character token appears nowhere in this PR's changed files.

Still open

F1 (Major) blocks. F2, F3, F4, F5, F6 (Minor) and F8, F9 (Nit) do not block. Each thread is open and not outdated, so I have added no new comment on any of them; the recomputation for each is in the table above.

Fixed

F7. Its thread is outdated and the replacement wording matches the phrasing its own adapter already uses.

New findings

F10 and F11 are Minor and do not block — neither makes the merged tree wrong. F12 is a Nit. All three are inline.

Pre-commit gate (8 steps including linter all and cargo test --doc) and the documented-Clippy-allows check against 092de794 pass at this head (119 s). CI at 06cf213c: Docs Lint=success; only Docs Lint runs for this Markdown-only change set.

Comment thread docs/agents/orchestration.md Resolved
Comment thread docs/templates/PR-REVIEW-TEMPLATE.md Resolved
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 19, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 19, 2026
@codecov

codecov Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.73%. Comparing base (f15090a) to head (3be8806).

Files with missing lines Patch % Lines
...ls/checks/agent-review-report-contract/src/main.rs 77.77% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2271   +/-   ##
========================================
  Coverage    84.73%   84.73%           
========================================
  Files          354      354           
  Lines        31832    31838    +6     
  Branches     31832    31838    +6     
========================================
+ Hits         26972    26979    +7     
  Misses        4478     4478           
+ Partials       382      381    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@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 073379afbe337efad3823d5630b203702f5d7520 (round 3, re-based onto the 17:04Z push). Recomputed from the bytes at this head.

This round was prepared against 2c8367ef and re-based when the head moved. The new commit, fix(docs): address PR #2271 third review, is four files, +12/−12, and it answers the three round-2 findings that had gone two rounds without a reply. F10 and F11 are now fixed; F12 is fixed for the two instances that were reported to the author and still open for a third he was never told about. All 16 threads are now resolved, each after a reply, which is the order process-pr-review step 5 and 6 prescribe. The verdict does not change: F15 still stands untouched, and everything else the previous head carried carries forward. One new thing to weigh, because it is the first Rust in this PR: the commit changes the contract crate's matching primitive from "ignore newlines" to "ignore every whitespace run", which is what makes the re-wrap in F12 verifiable at all — I judge it correct and necessary, with a narrow masking consequence and no test, recorded as F16 (Suggestion).

Disposition at this head

✔ = re-verified against an empty git diff 2c8367ef 073379af -- <file>, so the 2c8367ef finding carries forward unchanged. ↻ = the file changed, so the row is re-derived from the bytes.

ID Sev State Recomputation
F1 Major FIXED ↻ orchestration.md changed, but the delta is one table hunk at @@ -204,9 +204,8 @@; a scan of that diff for flowchart, --> and -.-> returns 0, so the diagram block is byte-identical and round 3's in-edge enumeration stands: follow_up_pr_detail ← follow_up_branch ← maintainer_approval_detail, each in-degree 1.
F2 Minor STILL OPEN ✔ PR-REVIEW.md untouched by this push. :484 still stamps 11:56 UTC on comment 5743268485, whose created_at and updated_at are both 2026-09-19T15:56:06Z; the log is still out of order at :476/:479.
F3 Minor FIXED ↻ AGENT-REVIEW-REPORTS.md and pr-reviewer.agent.md are both untouched, so the three enumeration sites still carry POST_MERGE_FINDINGS. Re-run at the new head because the crate itself changed: cargo run --quiet --package agent-review-report-contract exits 0, Agent review report contract check passed.
F4 Minor PARTIAL ✔ Record untouched. Locus closed; the timing half is F13.
F5 Minor PARTIAL ↻ Both halves re-checked at their new line numbers. The skill still admits "durable follow-up PR URLs"; PR-REVIEW-TEMPLATE.md:80 is still - Resolution reference: <UNIQUE_COMMIT_SUBJECT_OR_REPLY_URL> and :97 still names two forms. The crate still pins :80 verbatim through plain require, which is byte-exact — the new whitespace-insensitive path does not touch it.
F6 Minor FIXED ↻ Template changed, but - Reviewer finding ID: survives at :75; the skill's roster sentence is untouched; the record still uses the label on 18 entries.
F7 Nit FIXED ↻ Skill changed, but grep -rn 'still-open|still open' still returns nothing.
F8 Nit STILL OPEN ✔ AGENTS.md untouched by this push; the :236 bullet still indents its six continuation lines three spaces against its neighbour's two.
F9 Nit STILL OPEN, widened ↻ Re-derived from the 17:17Z pr.json: "commits": 8, and ## Commit Structure still lists the original four. The gap is now four commits, not three.
F10 Minor FIXED ↻ All three clauses restored into the consolidated PR Reviewer row, and the convention inconsistency settled by merging the Copilot rows too. Loss test on the Copilot merge below — it passes.
F11 Minor FIXED ↻ grep -rn '^- Compatibility:' over the tree returns nothing; the rule is now the tail of the Thread state bullet at :28-30, which is one of the two remedies the finding itself proposed, and ## Status Values is a field/value list again.
F12 Nit PARTIAL ↻ :56 and the checklist item are re-wrapped; awk 'length > 100' over the skill now returns :3 (frontmatter) and :131 (125 characters). :131 is the third instance — the Required Audit Fields sentence that 2c8367ef unwrapped. It was named only in the round-3 review, which was never posted, so this is a finding you have not seen rather than a fix you missed.
F13 Minor STILL OPEN ✔ Skill step 2 unchanged in substance; only its line numbers moved (:105-107). The approval comment is still 15:56:06Z, still 7 h 46 m after the branch's first mutating commit.
F14 Minor STILL OPEN ↻ Template changed, but - Follow-up PR URL: is still at :81 with no rule attached: still absent from the skill's Required Audit Fields roster, and grep -c 'Follow-up PR URL' over the record still returns 0.
F15 Minor STILL OPEN ✔, blocks PR-REVIEW.md untouched. :356 still gives F22 the subject fix(docs): address late PR #2269 findings, whose four files do not include the audit; F22's fix is docs(pr-reviews): complete PR #2269 late review audit, which added 21 detail entries to this file and nothing else.
F16 Suggestion NEW The widened matching primitive lands with no doc comment and no test. Inline.

F10: the loss test on the Copilot merge

Round 2 raised F10 because merging the two PR Reviewer rows dropped text develop carried. This push restores all three items — "and its actual diff/check context" is back in the Trigger, "Review is read-only" is back unqualified at the head of the Boundary, and "thread publication, or required re-review after fixes" are back beside "does not own remediation" — and then applies one-row-per-agent to the Copilot Suggestions Handler, which settles the inconsistency the finding also named. So I applied the same loss test to the new merged Copilot row, against develop's row at orchestration.md:189.

Four things in develop's row are not in the merged row. All four are restored elsewhere:

Dropped from the row Where it survives
"Unresolved" Copilot review threads both diagrams: pull_request -. open Copilot threads .-> suggestions_handler (:79), existing_pr -. open Copilot threads .-> copilot_handler_detail (:163), and the node refetch_threads[Fetch unresolved Copilot threads again] (:150)
the unified "docs/pr-reviews/" audit path ## Artifact Ownership at :217, docs/pr-reviews/pr-<number>-review/PR-REVIEW.md; and the handler profile's own line 14
"It handles Copilot threads only" the handler profile: its name, its description ("Processes Copilot-authored pull-request review findings"), and "Process the requested Copilot-authored pull-request review findings" at line 12
"An action fix is validated and committed through Committer" both diagrams (suggestions_handler -. action fixes .-> committer, action_decision -. action fix .-> committer_detail) and the handler profile line 18-19, which routes all commits through the Committer agent

That is the difference from the PR Reviewer case: the clauses dropped there were profile gaps recorded nowhere else, which is why their loss mattered. These four are all recorded elsewhere, and the guide states at :18-21 that it is a model derived from the agent profiles, which remain authoritative. The merged row also drops "not the merged PR head" from the post-merge branch rule, but that phrasing entered with this PR rather than from develop, and the canonical skill still carries it verbatim in step 4. Loss test passes — F10 is fixed and the merge introduces no new finding.

The Rust change

git diff 2c8367ef 073379af -- contrib/dev-tools/checks/agent-review-report-contract/src/main.rs is three lines: one require becomes require_wrapped, its needle grows from "order. Assign the immutable repository reference" to "source-review and source-order order. Assign the immutable repository reference", and normalize_whitespace changes from value.replace('\n', " ") to value.split_whitespace().collect::<Vec<_>>().join(" ").

It is necessary, not cosmetic. require_wrapped routes through contains_normalized, which normalises both the file and the needle. Under the old body, a newline became exactly one space and any indentation on the continuation line survived, so the check only tolerated a wrap where the next line started at column 0 — a plain paragraph. The F12 fix re-wrapped a sentence inside numbered list item 3, whose continuation lines carry a three-space indent, so "order.\n Assign" normalised to "order. Assign" and no single-spaced needle could ever match it. Without the new body the re-wrap would have failed the contract. The name require_wrapped only now describes what the function does.

The needle got stronger, not weaker. It gained "source-review and source-order", so the assertion pins more of the sentence than it did before.

Can it mask a real content change? Yes, in one narrow way, and the brief's question is the right one. split_whitespace() flattens the entire file to a single space-separated token stream, so any whitespace run — a newline, an indent, a tab, a double space, a blank line — is now indistinguishable from one space. The words themselves, their order, and their punctuation are still asserted exactly, and any change that introduces a non-whitespace token between them still fails: a list marker, a table pipe, a heading #, a code fence. What now slips through is a change of block structure that introduces no characters — principally a blank line. If a later edit split step 3 so that "Assign the immutable repository reference…" began a new paragraph, the rendered document would change from one paragraph to two and this check would still pass; under the old body it would have failed, for the accidental reason that it failed on any indentation. The same widening applies to every require_wrapped call site (21 of them) and to the WRAPPED_TEXT table, not only to the line it was made for. I think that is the right trade for a contract whose stated job is content rather than formatting — it is the reply's own framing and I agree with it — but it is a deliberate loosening of 22 assertions made in passing, which is why F16 asks for it to be written down.

Does it still assert the same enum members? Yes, unchanged. verify_audit_schema still pins the template's Author class bullet with its three values and both Category lines, and the matching three author-class and three category lines in the skill, all through plain require, which compares raw bytes and is untouched by this change. All six are intact at this head (template :33, :34-35). The severity, relationship, disposition and thread-state enums were never asserted and still are not — which is why folding the compatibility sentence onto the Thread state bullet (F11) needed no crate change. AGENT-REVIEW-REPORTS.md is still asserted only by the marker - Verdict:, so the verdict enum remains unguarded, exactly as round 1 found.

What the change is not covered by. The crate has no tests: its directory is Cargo.toml plus src/main.rs, and grep -n '#\[test\]\|mod tests' returns nothing. The gate's own log at this head records running 0 tests ... 0 passed. So a change to a comparison primitive shared by 22 assertions ships with nothing pinning its new semantics.

Threads

delta-r4/evidence/review-threads.json: 16 threads, 16 resolved, 12 outdated. Every thread carries exactly one reply and was resolved after it, which is the order step 5 and step 6 prescribe — worth saying plainly, because it is the part of the workflow this PR is about and it was followed. The three 17:04Z replies (F10, F11, F12) are accurate about what they did; F12's says the wrapping and the checklist item were restored and the primitive updated, and all three are true.

Three earlier replies remain inaccurate at this head and I am not re-raising them as findings, only noting that their threads are now resolved on claims the bytes do not support: F7's cites fix(docs): address PR #2271 second review when git log -S'still-open PR' shows 06cf213c removed the phrase; F8's says the indentation was normalized when AGENTS.md has not been touched since; F9's defers the description refresh, which has still not happened.

Because every thread is resolved, a still-open finding whose thread is also outdated needs a fresh comment to be visible at all: that is F2, F5, F9 and now F12, whose thread went outdated when :56 was re-wrapped. F4 and F8 sit on resolved-but-current threads (PR-REVIEW.md:476, AGENTS.md:236), so they are in this body only.

Still open

F2, F8, F9 and F12 (partial), plus F4, F5 (partial) and F13, F14 from round 3. F15 blocks, for the reason given at 2c8367ef and unchanged here: the audit exists so a reader can follow a resolution reference to the change that made the fix, and F22's now leads to a commit that does not contain it, replacing a line that was accurate. Without F15 this round would be COMMENT.

Fixed

  • F1, F3, F6, F7 — carried from 2c8367ef, each re-verified above.
  • F10 — three clauses restored, one-row-per-agent applied, Copilot loss test passed.
  • F11 — - Compatibility: gone from the tree; the rule folded onto the bullet whose values it qualifies.

Checked, no finding

  • The Mermaid blocks. Unchanged by this push (the orchestration delta contains no edge or flowchart line), so round 3's full hand-parse of the third block and round 1's of the first both stand.
  • The merged Copilot row against develop — the loss table above.
  • The crate's enum assertions — unchanged, as set out above.
  • Commit hygiene. fix(docs): address PR #2271 third review is Conventional and correctly scoped; empty body, permitted; the attribution and generator trailer scan over all eight develop..HEAD messages still returns only the word Copilot inside the subject of 06cf213c. git merge-tree --write-tree develop refs/quarantine/pr-2271-r4 exits 0, tree 5e1d71d5. The banned six-character token appears in none of the 13 changed files and nowhere in the diff against develop — including the new Rust file, where the collect is written Vec<_>.
  • CI has changed character. At 2c8367ef the change set was Markdown-only and Docs Lint was the single check. This commit touches a .rs file, so the full matrix is triggered: 14 checks at this head, of which Docs Lint and Documented Clippy Allows are success, Docker E2E is skipped, and 11 builds, unit runs and coverage were still in_progress at the 17:08Z capture. CI is the orchestrator's step; I note only that "only Docs Lint runs" is no longer true of this PR.

The orchestrator's gate at this head: GATE_RC=0 GATE_WALL_SECONDS=41, ALLOW_RC=0, CLIPPY_RC=0 (1 s), TEST_RC=0 (running 0 tests), CONTRACT_RC=0 (1 s), DIFF_CHECK_OK.

CI at this head (read at 17:32Z): the change set now includes Rust, so the full matrix ran. Docs Lint, Documented Clippy Allows, Layer Boundary Bans, the six builds, Unit (nightly/stable), Generate Coverage Report and codecov/project are green; Docker E2E is skipped by its develop-target guard; Test (Docker) (release) is still in progress; codecov/patch reports failure, which is the same fact F16 records from the other side: the three changed Rust lines are covered by no test.

Comment thread docs/templates/PR-REVIEW-TEMPLATE.md Resolved
Comment thread docs/templates/AGENT-REVIEW-REPORTS.md Resolved
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 20, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 20, 2026
@josecelano
josecelano requested a review from da2ce7 September 20, 2026 09:30

@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 99de26b0f6813bb438b41ba6a76d706cca0ef8af (round 4, re-based onto the 09:27Z push). Recomputed from the bytes at this head.

Finding IDs in this review are the loop's numbering. The record's own rows are its own namespace, so every reference below says which is meant: "record F17 = loop F15" reads "row F17 of the audit record, which is my finding F15".

The new commit, docs(pr-reviews): complete PR #2271 review audit (99de26b0), is one file, +107/−0: eight table rows F17-F24 and eight detail entries for review 5256752506 — the review the record omitted. grep -c 5256752506 now returns 8, so loop F17's omission is closed and I have downgraded that finding from Major to Minor for what is left of it. The eight new rows pass every mechanical check I ran on the original sixteen: reviewer finding IDs match their source comments' brackets exactly (F15, F2, F5, F14, F13, F12, F16, F9), severities match (Minor ×5, Nit ×2, Suggestion for the tests finding), all eight reply URLs exist, are yours, and have in_reply_to_id equal to their source comment, and all 24 detail entries still carry the exact template field set in template order. What they do not pass is the checks about meaning: every one of the eight RE_RAISE_OF targets is the reviewer's finding ID rather than the record's, so each resolves to a real but unrelated row (loop F24, new); six of the eight cite fix(docs): complete post-merge audit contract as the resolution reference for fixes that live in two other commits, which moves loop F18 from the replies into the durable record; and record F22's Current-tree verification claims "The only remaining long line is the required YAML description" while awk 'length > 100' over the skill at this head still returns :3 and :133 at 200 characters. The other five files this PR touches have an empty delta diff, so every other disposition carries, with one improvement: the PR description now lists all thirteen commits, so loop F9 is fixed.

Disposition at this head

= = the finding's file has an empty git diff 18c03ed3 99de26b0, so the round-6 recomputation carries verbatim.

ID Sev State Recomputation
loop F2 Minor FIXED = #2269 record :493 stamps 15:56, matching comment 5743268485 (created_at = updated_at = 2026-09-19T15:56:06Z); the log ascends throughout.
loop F4 Minor FIXED = Locus closed earlier; timing closed with loop F13.
loop F5 Minor PARTIAL = Skill :147-148 still reads "Resolution references are unique Conventional Commit subjects, durable reply URLs, and/or durable follow-up PR URLs", contradicting :133 where the same URL is a separate field. Record F19 (= loop F5) now asserts "the skill, template, and checker now agree" — the skill does not. Inline.
loop F8 Nit STILL OPEN = AGENTS.md:237 still indents three spaces. Body only; its thread is current.
loop F9 Nit FIXED git log --format=%s --reverse develop..HEAD is thirteen subjects; ## Commit Structure in pr.json (09:31Z) lists thirteen, identical in order and wording. "commits": 13. ## Validation names the fmt, test (2 tests passed) and run commands. Record F24's verification of this is accurate.
loop F12 Nit STILL OPEN = awk 'length > 100' over the skill at this head: :3 (323) and :133 (200). Unchanged by the delta, and now contradicted by record F22's verification. Inline.
loop F13 Minor FIXED = Clause at skill :107-109 inside step 2; the #2269 log states 09:06 and 15:56.
loop F14 Minor FIXED = Skill :133 requires "follow-up PR URL when applicable"; nine #2269 entries use the field.
loop F15 Minor FIXED = #2269 record :356 cites docs(pr-reviews): complete PR #2269 late review audit = 3afbd1e0, whose sole file is that record.
loop F16 Suggestion FIXED = Comment plus two tests; running 2 tests at both heads, and the round-6 mutation proved they can fail.
loop F17 Major Minor PARTIAL Rows present (grep -c → 8), which closes the omission. Residue: the ## Processing Log is byte-identical — no entry for review 5256752506 (17:33:18Z), none for the 09:13-09:14Z replies and resolutions, none for this commit — and the eight detail entries are prepended before ### F1 while the table appends them, so details and table disagree on order. Inline.
loop F18 Major STILL OPEN, worse The six replies that cited the wrong commit are now joined by six record entries citing the same wrong commit, and record F24 cites a Rust-only commit for a PR-description fix. Inline.
loop F19 Major STILL OPEN, extended Record F22's verification is false at this head; record F19's Solution is false; record F12's (= loop F8) is still false. One instance improved: record F13's "Pending" text is now stale rather than wrong, because the description is refreshed. Inline.
loop F20 Minor, blocks STILL OPEN = #2269 record :144 still cites the audit-only commit for the EPIC column rename that fix(docs): address late PR #2269 findings made. Inline.
loop F21 Minor STILL OPEN grep -rn 'Post-merge approval URL' docs/ .github/ still returns only PR-REVIEW-TEMPLATE.md:82. The eight new entries omit it too, so the roster now requires per finding a field that 24 of 24 entries do not carry. Inline.
loop F22 Minor STILL OPEN = The log is unchanged: 16:15 still covers four replies made at 13:59:21-25Z, 16:26 still stamps replies that review-comments.json dates 17:04:10-13Z and claims every thread resolved before three of them existed. Inline.
loop F23 Minor STILL OPEN, extended Now 24 of 24 entries omit both _OR_NA fields while all 24 carry Reviewer finding ID — twenty with a real value, four (Copilot's) with N/A. Inline.
loop F24 Major NEW All eight RE_RAISE_OF targets use the reviewer's IDs, not the record's. Inline.

The eight new rows

Mechanically clean. Reviewer finding ID against each Source URL's comment first line: record F17←[Minor][F15], F18←[Minor][F2], F19←[Minor][F5], F20←[Minor][F14], F21←[Minor][F13], F22←[Nit][F12], F23←[Suggestion][F16], F24←[Nit][F9] — eight for eight, severities included. Source review ID is 5256752506 on all eight and matches each comment's pull_request_review_id. Reply URLs 4056596902, 4056596958, 4056597026, 4056597978, 4056597105, 4056598038, 4056598082, 4056597208 all exist, are yours, and reply to their own source comment. All 24 entries carry the nine template fields in template order. Categories are defensible. Nothing to report on any of that.

Relationship (loop F24). Inline, and the core of this round.

Resolution references (loop F18). Inline.

Verification claims. Recomputed one by one at this head: record F17 "the cited commit is the audit-only commit that added F22" — true; F18 "processing log order and timestamp now match GitHub evidence" — true of the #2269 log; F19 "All nine follow-up rows use separate fields" — true (grep -c → 9), though its Solution sentence is not; F20 "The audit contains nine Follow-up PR URL fields" — true; F21 "The skill and PR #2269 audit document both timestamps" — true; F22 "The only remaining long line is the required YAML description" — false, :133 is 200 characters; F23 "cargo test --package agent-review-report-contract runs 2 tests" — true, and the gate at this head prints running 2 tests; F24 "The description lists all commits through the final audit commit" — true, thirteen for thirteen.

Still open

Loop numbering throughout. loop F18, loop F19 and loop F24 are Major; loop F20 is Minor and blocks for the reason loop F15 did. Then loop F5 (partial), loop F12, loop F17 (partial), loop F21, loop F22, loop F23, and loop F8 in this body only.

Fixed

  • loop F9 — new at this head: the description lists all thirteen commits.
  • loop F15, loop F2, loop F13, loop F14, loop F16, loop F4 — carried from 18c03ed3, each re-verified against an empty delta diff.
  • The omission itself — the eight rows exist; what is left of loop F17 is the log and the ordering.

Checked, no finding

  • The eight new rows' reviewer IDs, severities, source metadata, reply URLs and field sets — the sweep above, eight for eight and 24 for 24.
  • The other five changed files — git diff 18c03ed3 99de26b0 -- <each> is empty for the skill, the template, main.rs, the #2269 record, AGENTS.md, AGENT-REVIEW-REPORTS.md, orchestration.md and the EPIC, so nothing there needed re-deriving beyond the line numbers.
  • Hygiene — docs(pr-reviews): complete PR #2271 review audit is a Conventional subject with an empty body, matching the other twelve; no attribution trailer anywhere on the branch; the banned token appears nowhere in git diff develop refs/quarantine/pr-2271-r7; git merge-tree --write-tree develop refs/quarantine/pr-2271-r7 returns f0e4dfd7 with no conflict.
  • Thread state — delta-r7/evidence/review-threads.json: 24 threads, 24 resolved, no replies added since 09:14:02Z. The record's Thread state=RESOLVED on all 24 rows is accurate.

Gate at this head (orchestrator, server worktree of 99de26b0 on 092de794): pre-commit hooks GATE_RC=0 in 64 s, clippy-allow-reasons ALLOW_RC=0, cargo clippy -p agent-review-report-contract --all-targets --all-features -D warnings 0, cargo test -p agent-review-report-contract 0 (running 2 tests), cargo run -p agent-review-report-contract 0, working tree clean after the run, batch total 66 s. CI at 99de26b0 when this was written: 16 check-runs, 13 success, Docker E2E skipped by its guard, codecov/patch reported failure, Test (Docker) (release) still in progress — the patch-coverage status is codecov's reading of the new crate lines, not a build or test failure.

Comment thread docs/templates/PR-REVIEW-TEMPLATE.md Resolved
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 20, 2026
- Correct RE_RAISE_OF mappings: all 8 rows now reference audit record finding IDs
- Fix false current-tree verifications: F12 acknowledges AGENTS.md line 237 unchanged,
  F19 acknowledges skill still allows follow-up PR URLs
- Update Processing Log: add review 5256752506 and complete chronological event trail
- Reorder findings: move F17-F24 from prepended position to F1-F24 sequential order
- Fix disposition/thread state: mark F17-F24 as FOLLOW_UP/OPEN per defective status
- Remove trailing blank lines: pass markdown linting (MD012)
- Restore resolution references: F17-F21 cite correct implementation commits
- Validate via contract checker and pre-commit gates (all pass)
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 20, 2026
- Update F17-F24 reply URLs to match newly posted comment threads
- All eight fourth-review findings now have verified reply URLs
- Contract checker passes
- Ready for thread resolution

@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 7db14c459a1db683a7e34974586f0031bc20b5f7 (round 5, re-based onto the 10:47Z push). Recomputed from the bytes at this head.

Finding IDs in this review are the loop's numbering. The record's own rows are its own namespace, so every reference below says which is meant: "record F17 = loop F15" reads "row F17 of the audit record, which is my finding F15". One numbering note to avoid a false alarm: the record counts Copilot's review as the first, so what it calls the "fourth review" is 5256752506, which I call round 3. Both are right in their own frame and I have not treated the record's wording as an error anywhere below.

Two commits since the review at 99de26b0. docs(pr-reviews): fix PR #2271 audit defects from fourth review (59a33647, 10:33:06Z) is the substantive one — one file, +141/−116 — and docs(pr-reviews): update PR #2271 audit reply URLs after posting (7db14c45, 10:47:42Z) is one file, +8/−8, eight Reply URL substitutions in place. git range-diff shows the first fourteen commits unchanged and the record is still 398 lines, so every line number I cite is current.

The reply-URL repoint is correct, eight for eight. Each new value is a comment by the PR author whose in_reply_to_id equals that row's own Source URL comment — I checked all eight in review-comments.json rather than trusting the ordering, which matters here because GitHub did not assign these IDs in thread order and a positional pairing would have produced eight plausible-looking mismatches. It did not: the mapping is by thread, and it is right.

The two Major findings about meaning are closed, and the two new Majors are structural. All eight RE_RAISE_OF targets now name this record's rows, four of them correctly becoming ORIGINAL (loop F24 fixed); the six misattributed resolution references now cite commits whose diffs actually contain the fixes (loop F18 fixed). Against that: the reorder in 59a33647 left the record with two ## Processing Log and two ## Completion Rules sections whose contents disagree, the second omitting the 17:33 entry that commit added, with ### F17-### F24 nested under ## Completion Rules instead of ## Finding Details (loop F25); and eight rows read FOLLOW_UP | OPEN against threads resolved since 09:14:02Z, using the pair the skill reserves for a merged PR awaiting an unmerged follow-up (loop F26). This head sharpens the second: those eight rows now link to replies that open "This entry's defect has been corrected", so row, reply and thread state disagree three ways.

"Ready for thread resolution" is not the state of the PR. The eight threads this commit repoints to have been resolved since 09:14:02Z and were not reopened by the 10:38Z replies, so there is nothing to resolve there. The ten threads from review 5260313082 each still carry exactly one comment, none has a reply, and none is resolved — and step 7 requires a reply before resolving. grep -c 5260313082 over the record returns 0: the review these last two commits exist to answer has no rows, no detail entries, and no correct log line. timeline.json carries no re-review request after 09:30:35Z.

The commit bodies' claims

7db14c45 (four bullets):

# Claim Verdict Recomputation
1 Update F17-F24 reply URLs to match newly posted comment threads HOLDS Eight substitutions, eight threads, verified by in_reply_to_id.
2 All eight fourth-review findings now have verified reply URLs HOLDS Each cited comment exists, is the author's, and is the last comment on its thread.
3 Contract checker passes HOLDS CONTRACT_RC=0 in the gate at this head.
4 Ready for thread resolution FALSE The eight threads named are already resolved; the ten that are open have no reply, which step 7 requires first.

59a33647 (eight bullets), carried from my recomputation at that head and unaffected by the delta: claims 1 (RE_RAISE_OF), 6 (MD012), 7 (resolution references) and 8 (validation) HOLD; claims 2 (false verifications — the acknowledgement landed on record F9, not record F19), 3 (Processing Log "complete") and 4 (reorder) are PARTIAL; claim 5 (FOLLOW_UP/OPEN "per defective status") is FALSE.

The eight reply URLs at this head

Row Source comment Reply URL at head in_reply_to_id Author Thread state Comments
record F17 r4054023768 r4056745109 4054023768 ✓ author resolved 3
record F18 r4054023772 r4056745047 4054023772 ✓ author resolved 3
record F19 r4054023774 r4056745014 4054023774 ✓ author resolved 3
record F20 r4054023777 r4056744975 4054023777 ✓ author resolved 3
record F21 r4054023781 r4056745073 4054023781 ✓ author resolved 3
record F22 r4054023788 r4056744948 4054023788 ✓ author resolved 3
record F23 r4054023793 r4056745117 4054023793 ✓ author resolved 3
record F24 r4054023798 r4056744910 4054023798 ✓ author resolved 3

Zero mismatches. Worth saying plainly because the ordering invites the opposite conclusion: the IDs run 745109, 745047, 745014, 744975, 745073, 744948, 745117, 744910 down the rows, which looks shuffled and is not — GitHub allocated them out of thread order across two seconds, and each row got the one addressed to its own thread.

Disposition at this head

= = the finding's file has an empty git diff 59a33647 7db14c45; git diff --name-only for that range returns the #2271 record alone, and for every other file I checked --numstat per path and got zero hunks.

ID Sev State Recomputation
loop F18 Major FIXED Each cited commit's diff checked at 59a33647: 08299815 contains the F22 subject change, the 11:56→15:56 correction with the log reordering, and the nine-way field split; 8ee6eef0 contains the roster sentence and the retrospective-approval clause; 93048487 is the +16-line test commit. Records F22 and F24 now say N/A with a reason, which for F24 is one of the two forms I named.
loop F24 Major FIXED ORIGINAL on F17, F20, F21, F23; RE_RAISE_OF:F6, :F9, :F16, :F13 on F18, F19, F22, F24. Confirmed from the source comments: the four re-raises are exactly the four whose first lines open "Still open", and each target is the row carrying that same Reviewer finding ID.
loop F2 Minor FIXED = Comment 5743268485 is 2026-09-19T15:56:06Z; #2269 record untouched by both commits.
loop F4 Minor FIXED = Empty delta for its file.
loop F13 Minor FIXED = Skill :107-109 clause present.
loop F14 Minor FIXED = Skill :133 requires the field; nine #2269 entries use it.
loop F15 Minor FIXED = #2269 record :356 cites 3afbd1e0, one file, +279, which adds ### F22.
loop F16 Suggestion FIXED = Gate at this head: running 2 tests, TEST_RC=0.
loop F25 Major OPEN (raised at 59a33647) grep -n '^## ' returns ## Processing Log at :261 and :381, ## Completion Rules at :274 and :393; ### F17-### F24 sit at :281-380, outside ## Finding Details. diff of the two logs is 8d7 — the second lacks the 17:33 entry. Unchanged by this head. Inline.
loop F26 Major OPEN, sharper Eight rows FOLLOW_UP/OPEN; eight threads resolved 09:14:02Z with three comments each; and this head links each row to a reply that says the defect is corrected. Inline.
loop F19 Major PARTIAL, residue blocks Record F22's and record F12's verifications are fixed. Still false: record F19's Solution ("the skill, template, and checker now agree"), record F12's Solution ("Matched the surrounding two-space style") under FIXED, and record F13's "all thirteen commits" — now two out, the branch carrying fifteen. Inline.
loop F17 Minor PARTIAL, extended The log gained the three review/reply events. It records no commit at all on the 20th — 99de26b0 (09:27:04Z), 59a33647 (10:33:06Z), 7db14c45 (10:47:42Z) — and grep -c 5260313082 returns 0, so the review the last two commits answer has no rows. Inline.
loop F20 Minor, blocks STILL OPEN = #2269 record :144 still reads docs(pr-reviews): complete PR #2269 late review audit for the EPIC column rename.
loop F21 Minor STILL OPEN = grep -rn 'Post-merge approval URL' docs/ .github/ returns PR-REVIEW-TEMPLATE.md:82 alone; 0 of 24 here, 0 of 30 in the #2269 record.
loop F22 Minor, blocks STILL OPEN The 16:15 and 16:26 entries are unchanged. The 10:00 entry still names review 5256752506, which reviews.json dates 2026-09-19T17:33:18Z; the review at 2026-09-20T10:00:37Z is 5260313082. Inline.
loop F23 Minor STILL OPEN, sharper 0 of 24 entries carry Follow-up PR URL or Post-merge approval URL; N/A appears twice in Resolution reference, the one field with no _OR_NA form. 7db14c45 rewrote eight field lines in those entries without adding either. Inline.
loop F5 Minor STILL OPEN in part = Skill :147-148 verbatim: "…and/or durable follow-up PR URLs, never branch SHAs."
loop F8 Nit STILL OPEN = AGENTS.md:237 still indents three spaces. Body only.
loop F9 Nit RE-OPENED, worse ## Commit Structure lists thirteen subjects; the branch is fifteen and pr.json reads "commits": 15. Body only.
loop F12 Nit STILL OPEN = awk 'length > 100' over the skill returns :3 (323) and :133 (200).

Still open

Loop numbering throughout. loop F25, loop F26 and the residue of loop F19 are Major. loop F20 is Minor and blocks for the reason loop F15 did; loop F22 is Minor and blocks on the wrong review ID, because a durable log entry naming the wrong review is wrong in the merged tree rather than merely untidy. Then loop F17 (partial, and now the coverage half again), loop F21, loop F23, and — in this body only, on unchanged files or on the PR itself — loop F5 (partial), loop F8, loop F9 (re-opened), loop F12.

Fixed

  • loop F18 — the six misattributed resolution references cite the commits that contain their fixes, each verified against that commit's diff.
  • loop F24 — all eight RE_RAISE_OF targets are this record's rows, and the four that were never re-raises are ORIGINAL.
  • loop F2, loop F4, loop F13, loop F14, loop F15, loop F16 — carried, each re-verified against an empty delta diff for its file.

Checked, no finding

  • The eight reply URLs. The table above: eight for eight by in_reply_to_id, all the author's, each the last comment on its own resolved thread. This is the cleanest thing in the last two pushes and it is worth saying so.
  • The five other changed files. git diff --numstat 59a33647 7db14c45 -- <path> is empty for the skill, the template, AGENTS.md, the #2269 record and main.rs, so every disposition on them carries with its existing line numbers, which I re-read at this head rather than assuming.
  • The record's "fourth review" wording. It counts Copilot's review as the first, so 5256752506 is its fourth. Consistent with itself and not a defect.
  • The 10:38Z replies naming 59a33647. A reply that cites the commit current when it was posted is not stale reporting; this head simply post-dates it.
  • Hygiene. Conventional subject; a four-bullet body; no attribution trailer on any of the fifteen commits; the banned token appears nowhere in git diff develop refs/quarantine/pr-2271-r9; git merge-tree --write-tree develop refs/quarantine/pr-2271-r9 returns 73c00707 with no conflict; git range-diff shows commits 1-14 =.

Gate at this head (orchestrator, server worktree of 7db14c45 on 092de794): pre-commit hooks GATE_RC=0 in 127 s, clippy-allow-reasons ALLOW_RC=0, cargo clippy -p agent-review-report-contract --all-targets --all-features -D warnings 0, cargo test -p agent-review-report-contract 0 (running 2 tests), cargo run -p agent-review-report-contract 0, working tree clean after the run, batch total 129 s. CI at 7db14c45: 16 check-runs, 13 success, skipped: Docker E2E, still in progress: Test (Docker) (release), other: codecov/patch: failure — the full matrix runs because the PR diff touches Rust.

josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 20, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 20, 2026
@josecelano

Copy link
Copy Markdown
Member Author

ACK 3be8806

@josecelano
josecelano dismissed da2ce7’s stale review September 21, 2026 15:47

Review is taking too long

@josecelano
josecelano merged commit 9fb7bb9 into torrust:develop Sep 21, 2026
18 of 19 checks passed
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 21, 2026
josecelano added a commit that referenced this pull request Sep 21, 2026
9246cd1 docs(pr-reviews): audit PR #2276 Copilot review (Jose Celano)
0f41fa2 docs(pr-reviews): correct PR #2269 closure accounting (Jose Celano)
5de27f2 docs(pr-reviews): close PR #2269 audit after PR #2271 merge (Jose Celano)

Pull request description:

  ## Summary

  - Close the PR #2269 review audit now that its approved post-merge follow-up, PR #2271, merged
    into `develop` at commit `9fb7bb9f`.
  - Change the 17 `FOLLOW_UP` findings to `FIXED`: seven suppressed body findings with no thread
    (F5, F6, F15, F16, F18, F20, F21) and nine findings with real GitHub threads (F22-F30).
  - Reply to and resolve the eight remaining open threads on PR #2269 with the merge evidence.
  - Record the closure in the audit's Processing Log.

  ## Validation

  - `cargo run --package agent-review-report-contract` passes.
  - `linter markdown` passes.
  - GraphQL confirms zero unresolved review threads on PR #2269.
  - Mandatory pre-commit and pre-push hooks passed.

  Follow-up to #2269
  Related to #2271

ACKs for top commit:
  josecelano:
    ACK 9246cd1

Tree-SHA512: c431d6be34b78aac6a042927b2e483eb49e497f37d780bc1fa11d404437386e362eaa2b7a1888ae882131bfac30ee4dcdefda860cda21910ecfc08f771055241
josecelano added a commit that referenced this pull request Sep 22, 2026
…to a child EPIC

8cc7bac docs(pr-reviews): audit PR 2288 Copilot review (Jose Celano)
26b4b8f docs(issues): state validator fallback in issue 2278 matrix (Jose Celano)
8fed125 docs(issues): convert issue 2278 into a child EPIC (Jose Celano)
8c6b24c docs(issues): add issue 2278 improvement matrix (Jose Celano)

Pull request description:

  ## Summary

  Records the approved decision matrix for #2278 and converts the issue from a task into a child EPIC of #2003, split into nine one-PR subissues.

  ## Changes

  - Adds `retrospective-improvement-matrix.md`: every proposal from the PR #2270, #2271, and #2272 review retrospectives, plus the author-side items of the EPIC #2003 friction register (comment 5767266486), mapped to `Adopt`, `Defer`, `Reject`, or `Out of scope` with owner and rationale. Records the boundaries with EPIC #2264 and #2266 (audit body only; frontmatter and `review-finding:` target existence stay with #2264; validator placement follows #2266).
  - Replaces `ISSUE.md` with `EPIC.md` in the same folder, following `docs/templates/EPIC.md`, with the subissue table, dependency order, four delivery phases, and EPIC-level acceptance criteria.
  - Repoints row 11 of the #2003 EPIC to the new `EPIC.md`.

  The GitHub label for #2278 changes from `task` to `epic` after this merges. Subissue specs will be drafted one at a time under `docs/issues/drafts/2278-*/` following `create-issue`.

  ## Validation

  - `linter markdown`, `linter cspell`, `git diff --check`
  - Required pre-commit gate (all eight steps) on each commit

  Related to #2278

ACKs for top commit:
  josecelano:
    ACK 8cc7bac

Tree-SHA512: d9930f91209ecefd35b992610348d8bd9cd349e6a30e0cc803a3350f405a6649e58e0c8fc994b08ec815fc8d4de9e9bb47eaaafe3ac911a697a78fa4ef1d94c5
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 that referenced this pull request Sep 27, 2026
1268bef docs(pr-reviews): record PR #2353 thread resolution (Jose Celano)
3bbb970 docs(pr-reviews): add PR #2353 review audit (Jose Celano)
b010702 docs(pr-reviews): close PR #2339 audit after PR #2344 merge (Jose Celano)

Pull request description:

  ## Summary

  Closes the PR #2339 audit after its post-merge follow-up, PR #2344, merged into `develop` at `fcde51db`. This follows the PR #2276 precedent, which closed the PR #2269 audit after PR #2271 merged.

  - F1-F3 in `docs/pr-reviews/pr-2339-review/PR-REVIEW.md` move from `FOLLOW_UP`/`OPEN` to `FIXED`/`RESOLVED`. Their resolution references are the merged fix commits, `test(dev-tools): pin review-thread query fields and explicit nulls` (F1, F2) and `docs(issues): record the exact #2333 evidence commands` (F3).
  - Each `Reply URL` is now the final reply on its thread, which cites the merge. The earlier follow-up replies remain on the threads.
  - A Processing Log entry records the merge, the re-derivation of each fix at `develop`, and the resolution.

  GitHub-side actions already taken, as the approval record allows (<#2339 (comment)>): each of the three PR #2339 threads received a final reply citing `fcde51db` and was resolved. GraphQL shows 3 threads, 0 unresolved.

  ## Files touched

  - `docs/pr-reviews/pr-2339-review/PR-REVIEW.md`
  - `docs/pr-reviews/pr-2353-review/PR-REVIEW.md`: audit for this PR's review round 1.

  ## Review Round 1

  Copilot review 5329114076 raised one concern on three lines: use SHA permalinks instead of commit subjects in the `FIXED` resolution references. Recorded as F1, with F2 and F3 as re-raises, all `NO_ACTION`/`SUPERSEDED`. `process-pr-review` requires unique commit subjects and forbids branch SHAs, the EPIC #2278 Decision Record keeps that form, each cited subject matches exactly one commit, and each row already links PR #2344. Replied with the prescribed `Superseded by F1:` form and resolved.

  - `docs(pr-reviews): add PR #2353 review audit`
  - `docs(pr-reviews): record PR #2353 thread resolution`

  Rebased onto `develop` `6a7f1db5` (after PR #2350) before processing, and again onto `41e7938c` (after PR #2346) before merge; both rebases were clean.

  ## Validation

  - `validate-audit-record.py --pr-number 2339 --base a20e8f3` exits `0` (3 rows, 3 log entries). The base is the PR #2339 merge, so the merged fix commits are in range; the default base `develop` already contains them.
  - At `develop`, `cargo test --package github-review-threads` passes 15 unit and 7 CLI tests.
  - The pre-commit hook (including `linter all`) and the pre-push hook passed.

  Related to #2333
  Related to #2278

ACKs for top commit:
  josecelano:
    ACK 1268bef

Tree-SHA512: b175303681549518fdf713273ba82e564ac6ad56fa415fc131b8fa4b5fdebce671976ce5e1480e5bbc69bb9be8827c413c7d5d08def2f17fb623dc5a81d7523d
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Oct 8, 2026
…ent-derived log stamps

The torrust#2320 proposal was adopted in torrust#2278's improvement matrix (the PR torrust#2271 row), though no skill or template states it yet.
@da2ce7

da2ce7 commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Post-merge note: this pull request requested a review from this account and was closed without one at its final head. A post-merge review will not be done: This account reviewed it five times; after the last review only review records, templates and guidance documents changed, and its one code change predates that review.

This branch was previously deployed

1 inactive deployment
coverage — 3be88065 Deployed Sep 21, 2026 by josecelano via Generate Coverage Report #2227
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.

3 participants