diff --git a/docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md b/docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md index 3b7f2d89fd..16c312d297 100644 --- a/docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md +++ b/docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md @@ -14,7 +14,7 @@ semantic-links: - "issue #2582" - "issue #2618" - "issue #2876" - - docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md + - docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md --- @@ -69,7 +69,7 @@ semantic-links: > plural module names such as `fixtures`. Trait impls inside such a module (here `Default`) are gated with it, > so they leave production builds too. The ownership map has a row for it. The maintainer decided this on > 2026-11-16 (the answers to Q2, Q5 and Q7 in the -> [#2876 spec](../issues/open/2876-1347-peer-id-test-helper/ISSUE.md)). +> [#2876 spec](../issues/closed/2876-1347-peer-id-test-helper/ISSUE.md)). ## Scope @@ -359,5 +359,5 @@ so it is not an example of public test infrastructure. DEC-18 in the - #2582, the packaging failure caused by a self dev-dependency with a `version` - [Independent package versioning](20260629000000_adopt_independent_package_versioning.md) - [`deny.toml`](../../deny.toml), the layer boundary rules referenced by rule B -- [#2876 spec](../issues/open/2876-1347-peer-id-test-helper/ISSUE.md), which moved `peer::fixture` +- [#2876 spec](../issues/closed/2876-1347-peer-id-test-helper/ISSUE.md), which moved `peer::fixture` behind the `testing` feature of `primitives` (amendment of 2026-11-16) diff --git a/docs/issues/closed/2824-1347-add-tests-primitives/ISSUE.md b/docs/issues/closed/2824-1347-add-tests-primitives/ISSUE.md index 4e72a8ca5b..19dacedb9c 100644 --- a/docs/issues/closed/2824-1347-add-tests-primitives/ISSUE.md +++ b/docs/issues/closed/2824-1347-add-tests-primitives/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2824 spec-path: docs/issues/closed/2824-1347-add-tests-primitives/ISSUE.md branch: "2824-1347-add-tests-primitives-final" related-pr: 2864 -last-updated-utc: "2026-11-16 09:55" +last-updated-utc: "2026-11-17 07:45" semantic-links: skill-links: - create-issue @@ -200,7 +200,7 @@ maintainer decides to fix in this issue are not handed off: they go to the T2a s | F1 | `peer::Peer` derives `Eq`/`Hash` over all fields but implements `Ord` by `peer_id` only, so two unequal peers compare `Ordering::Equal` (violates the `Ord`/`Eq` contract). No production collection orders peers today (the swarm keys by `PeerId`), so the impact is latent. | Throwaway test, 2026-11-10: a seeder and a copy with `left = 5` give `a == b` false and `a.cmp(&b) == Equal`. | Handled by a separate bug issue and session, not fixed here (maintainer decision, 2026-11-10). Bug issue: #2798, spec PR #2800. Fixed by PR #2811 (merged 2026-11-11): `Ord` and `PartialOrd` removed from `Peer` (option A, maintainer's choice), guarded by a `compile_fail` doctest in `peer.rs`. | FIXED (upstream) | | F3 | `ParsePeerRoleError::InvalidPeerRole` records `Location::caller()` inside `PeerRole::from_str`, which has no `#[track_caller]`, so every error reports the same line inside `peer.rs` (`peer.rs:73:27`) instead of the caller's. Adding `#[track_caller]` fixes only a direct `from_str` call: through `str::parse` the location is a line in Rust's standard library. The pattern is wider than this type: `Location::caller()` appears 65 times across the packages and `#[track_caller]` 3 times, and the located error may reach production output. | Throwaway test, 2026-11-10: `"x".parse::()` reports `peer.rs:73:27`; with `#[track_caller]`, `parse` reports `core/src/str/mod.rs:2783:9` and a direct `from_str` call reports the caller's line. | Handed off to a follow-up issue that audits every use of `Location::caller()` (maintainer decision, 2026-11-10). Follow-up issue: #2804 (spec PR #2805). Nothing is fixed in this issue. | HANDED OFF | | F4 | `AggregateActiveSwarmMetadata::add_assign` uses plain `+=` on four `u64` fields (panic in debug, wrap in release on overflow; practically unreachable). The registry and `torrent-repository-benchmarking` sum the fields by hand, so the impl may be dead code. | Code reading, 2026-11-11. | Handed off to a follow-up issue/session `aggregate-addassign` (maintainer decision, 2026-11-11): check whether the impl is used (remove it and run all tests, check git history); delete it if unused, otherwise make overflow explicit (`checked_add` + panic, test, comment). Follow-up issue: #2823. Outcome (maintainer approved, 2026-11-11): the unused `AddAssign` impl was deleted by PR #2827 (merged 2026-11-11), so `swarm_metadata.rs` has no `AddAssign` lines to test. Nothing is fixed in this issue. | HANDED OFF | -| F5 | `peer::Id::new` (public, in a production crate) builds a 20-byte id from a little-endian `i128` (4 zero bytes + 16 bytes). Behavior is correct and lossless, including negatives (two's complement). But it is a test-only helper: the only callers found are `torrent-repository-benchmarking` tests, and its ids look like no real client (`get_client_name()` is `None`). It has no doc comment and no tests. | Code reading and caller search, 2026-11-11 (not a behavior defect; a design problem). | Handed off to a follow-up issue/session `peer-id-test-helper` (maintainer decision, 2026-11-11): prove it is unused in production, move it to a testing helper that generates realistic ids, decide with it whether `peer::fixture` (and `Id::new`) move behind a `testing` feature, as the ADR on shared test support asks (EPIC #2482 is closed and did not reorganize `peer::fixture`). Draft spec merged through PR #2865 (opened 2026-11-15, after review finding F1 of #2864); filed on 2026-11-16 as #2876, spec `docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md`; the maintainer answers its open design questions before implementation. The `Id::new` tests in `peer.rs` wait on its outcome. | HANDED OFF | +| F5 | `peer::Id::new` (public, in a production crate) builds a 20-byte id from a little-endian `i128` (4 zero bytes + 16 bytes). Behavior is correct and lossless, including negatives (two's complement). But it is a test-only helper: the only callers found are `torrent-repository-benchmarking` tests, and its ids look like no real client (`get_client_name()` is `None`). It has no doc comment and no tests. | Code reading and caller search, 2026-11-11 (not a behavior defect; a design problem). | Handed off to a follow-up issue/session `peer-id-test-helper` (maintainer decision, 2026-11-11): prove it is unused in production, move it to a testing helper that generates realistic ids, decide with it whether `peer::fixture` (and `Id::new`) move behind a `testing` feature, as the ADR on shared test support asks (EPIC #2482 is closed and did not reorganize `peer::fixture`). Draft spec merged through PR #2865 (opened 2026-11-15, after review finding F1 of #2864); filed on 2026-11-16 as #2876, spec `docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md`; the maintainer answered its design questions on 2026-11-16, and #2888 implemented the outcome (`Id::new` removed, its replacement tested in `peer.rs`). | HANDED OFF | | F2 | `PeerRole` derives `Serialize` with `#[serde(rename_all_fields = "lowercase")]`, which does not apply to unit variants, so it serializes as `"Seeder"` and `"Leecher"` while `Display` and the `peer_role` metric label use `seeder` and `leecher`. No production code serializes `PeerRole` today. | Throwaway test, 2026-11-10: `serde_json::to_string(&PeerRole::Seeder)` gives `"Seeder"`. | Fixed in this issue, in slice S1 (maintainer decision, 2026-11-10): `rename_all = "lowercase"` plus a regression test, in its own `fix` commit. | FIXED through #2834 | | F6 | `Peer::is_seeder` classifies a negative `left` as a seeder because `NumberOfBytes` is signed; the UDP announce accepts a negative `left` while HTTP rejects it. | Found writing the `peer.rs` tests (S2), 2026-11-12. | Handed off to issue #2838; its fix PR #2839 was closed unmerged, and #2850 (non-negative number of bytes by construction, spec PR #2851) will remove the case. The S2 test pins the classification of the signed domain value and is removed by the #2850 implementation. | HANDED OFF | diff --git a/docs/issues/closed/2824-1347-add-tests-primitives/lessons.md b/docs/issues/closed/2824-1347-add-tests-primitives/lessons.md index 05f4fe6cc6..82bc4fa877 100644 --- a/docs/issues/closed/2824-1347-add-tests-primitives/lessons.md +++ b/docs/issues/closed/2824-1347-add-tests-primitives/lessons.md @@ -20,7 +20,7 @@ Candidate lessons collected while working on Issue #2824. Promoting any of them | [Findings register](ISSUE.md#findings-register) (F1) | None left: `Peer` lost `Ord` and `PartialOrd`. | Bug #2798, fixed by #2811 (merged 2026-11-11). | | [Findings register](ISSUE.md#findings-register) (F3) | Audit every `Location::caller()` in the packages (65 uses, 3 `#[track_caller]`). | Follow-up issue #2804 (spec PR #2805). | | [Findings register](ISSUE.md#findings-register) (F4) | None left: the unused `AddAssign` of `AggregateActiveSwarmMetadata` was deleted. | Follow-up issue #2823. | -| [Findings register](ISSUE.md#findings-register) (F5) | Move `peer::Id::new` and `peer::fixture` to test support behind a `testing` feature, with realistic ids. | Handed off by the maintainer's decision (2026-11-11) as `peer-id-test-helper`; draft spec PR #2865 (opened 2026-11-15); filed on 2026-11-16 as #2876 (`docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md`). The only uncovered lines of the package are its. | +| [Findings register](ISSUE.md#findings-register) (F5) | Move `peer::Id::new` and `peer::fixture` to test support behind a `testing` feature, with realistic ids. | Handed off by the maintainer's decision (2026-11-11) as `peer-id-test-helper`; draft spec PR #2865 (opened 2026-11-15); filed on 2026-11-16 as #2876 (`docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md`). The only uncovered lines of the package are its. | | [Findings register](ISSUE.md#findings-register) (F6) | Make the number of bytes non-negative by construction, so a negative `left` cannot reach `is_seeder`. | #2838 (fix PR #2839 closed unmerged), superseded by #2850 (spec PR #2851). | | [Issue spec](ISSUE.md#out-of-scope) (Out of Scope) | Audit the implicit lowercase and snake_case convention of enum serialization (the F2 `PeerRole` defect came from a `rename_all_fields` that does not apply to unit variants) in a separate issue, under `create-adr`. | `PeerRole` serialized as `"Seeder"` while `Display` and the metric label use `seeder`; fixed in S1 (#2834). | diff --git a/docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md b/docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md similarity index 98% rename from docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md rename to docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md index 1434e939b1..adad63cfd7 100644 --- a/docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md +++ b/docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md @@ -2,14 +2,14 @@ schema-version: 1 doc-type: issue issue-type: task -status: in-progress +status: done priority: p2 epic: 1347 github-issue: 2876 -spec-path: docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md +spec-path: docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md branch: "2876-peer-id-test-helper" -related-pr: null -last-updated-utc: "2026-11-16 17:55" +related-pr: 2888 +last-updated-utc: "2026-11-16 21:52" semantic-links: skill-links: - create-issue @@ -393,7 +393,7 @@ with the narrow affected scope, and sign every commit with GPG. - [ ] Reviewer validated acceptance criteria and updated checkboxes - [ ] Independent reviewer reports recorded in issue-local `agent-review-reports.md` when reviewers received this folder-style specification - [x] Committer verified spec progress is up to date before commit -- [ ] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/` +- [x] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/` ### Progress Log @@ -475,6 +475,9 @@ with the narrow affected scope, and sign every commit with GPG. - 2026-11-16 17:55 UTC - Claude Code (Opus 5.5) - Review round 3 of PR #2888 (da2ce7, approved, F5 Minor): the audit's round-1 log entry is restored and the F4 time correction is appended as a new entry, because the log is append-only. +- 2026-11-16 21:52 UTC - Claude Code (Opus 5.5) - PR #2888 merged (2026-11-16 21:49 UTC, after + the maintainer's and da2ce7's ACK of `c4def2469`); #2876 closed. Spec archived to + `docs/issues/closed/`; the parent EPIC row and the ADR links point to the new path. ## Acceptance Criteria diff --git a/docs/issues/open/2876-1347-peer-id-test-helper/coverage-evidence.md b/docs/issues/closed/2876-1347-peer-id-test-helper/coverage-evidence.md similarity index 100% rename from docs/issues/open/2876-1347-peer-id-test-helper/coverage-evidence.md rename to docs/issues/closed/2876-1347-peer-id-test-helper/coverage-evidence.md diff --git a/docs/issues/open/2876-1347-peer-id-test-helper/implementation-retrospective.md b/docs/issues/closed/2876-1347-peer-id-test-helper/implementation-retrospective.md similarity index 98% rename from docs/issues/open/2876-1347-peer-id-test-helper/implementation-retrospective.md rename to docs/issues/closed/2876-1347-peer-id-test-helper/implementation-retrospective.md index dad12996d8..09926d131f 100644 --- a/docs/issues/open/2876-1347-peer-id-test-helper/implementation-retrospective.md +++ b/docs/issues/closed/2876-1347-peer-id-test-helper/implementation-retrospective.md @@ -3,7 +3,7 @@ semantic-links: skill-links: - write-markdown-docs related-artifacts: - - docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md + - docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md - docs/adrs/20261021190318_share_workspace_test_support_through_testing_features.md --- diff --git a/docs/issues/open/2876-1347-peer-id-test-helper/manual-verification-evidence.md b/docs/issues/closed/2876-1347-peer-id-test-helper/manual-verification-evidence.md similarity index 98% rename from docs/issues/open/2876-1347-peer-id-test-helper/manual-verification-evidence.md rename to docs/issues/closed/2876-1347-peer-id-test-helper/manual-verification-evidence.md index e6861f7ffe..1aebe3a982 100644 --- a/docs/issues/open/2876-1347-peer-id-test-helper/manual-verification-evidence.md +++ b/docs/issues/closed/2876-1347-peer-id-test-helper/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence -issue-spec: docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md -last-updated-utc: 2026-11-16 16:29 +issue-spec: docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md +last-updated-utc: 2026-11-16 21:52 --- # Manual Verification Evidence diff --git a/docs/issues/open/2876-1347-peer-id-test-helper/test-plans/qbittorrent-peer-id.md b/docs/issues/closed/2876-1347-peer-id-test-helper/test-plans/qbittorrent-peer-id.md similarity index 100% rename from docs/issues/open/2876-1347-peer-id-test-helper/test-plans/qbittorrent-peer-id.md rename to docs/issues/closed/2876-1347-peer-id-test-helper/test-plans/qbittorrent-peer-id.md diff --git a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md index c271db7a76..ca96dab7c0 100644 --- a/docs/issues/open/1347-overhaul-packages-testing/EPIC.md +++ b/docs/issues/open/1347-overhaul-packages-testing/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 1347 spec-path: docs/issues/open/1347-overhaul-packages-testing/EPIC.md epic-owner: josecelano -last-updated-utc: "2026-11-16 14:07" +last-updated-utc: "2026-11-17 07:45" semantic-links: skill-links: - create-issue @@ -98,7 +98,7 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. | 10 | #2637 - Add tests to the axum-rest-api-server package | `docs/issues/closed/2637-1347-add-tests-axum-rest-api-server/ISSUE.md` | DONE | S0 (spec and T1 baseline) merged through #2638; S1 (authentication and shared responses) merged through #2667; S2 (routes) merged through #2687; S3 (auth-key and whitelist contexts) merged through #2702; S4 (torrent and stats contexts) merged through #2718; S5 (server lifecycle) merged through #2744; S6 (crate root, wiring and final tasks) merged through #2772; the issue is closed. Replaces the former draft that was misfiled under #1349. | | 11 | #2824 - Add tests to the primitives package | `docs/issues/closed/2824-1347-add-tests-primitives/ISSUE.md` | DONE | S0 (the spec, #2828), S1 (the `PeerRole` JSON casing fix, #2834), S2 (the `peer.rs` tests, #2841), S3 (the configuration defaults and bounded values, #2852) and S4 (`swarm_metadata.rs`, the no-change files, the mutation run, the manual checks, #2864) are merged; the issue is closed. Unit-only lines 60.56% → 94.07%. Findings F1 (fixed through #2811), F2 (fixed in S1), F3 (#2804), F4 (#2823), F6 (#2838, #2850) and F5 (#2876, drafted through #2865) have owners. | | 12 | #2838 - UDP tracker accepts announces with a negative left, uploaded or downloaded | `docs/issues/closed/2838-1347-udp-reject-negative-announce-bytes/ISSUE.md` | DONE | Bug found by the #2824 primitives tests work. Fixed by the standalone issue #2850 (`docs/issues/closed/2850-non-negative-number-of-bytes/ISSUE.md`): its implementation PR #2872 merged on 2026-11-16 and closed this issue. The patch of PR #2839 was not merged; its tests were taken over by PR #2872. | -| 13 | #2876 - Move `peer::Id::new` to a realistic test helper and decide whether `peer::fixture` goes behind a `testing` feature | `docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md` | TODO | Finding F5 of #2824. Spec-only PR first; the maintainer answers the design questions Q1-Q7 before implementation. | +| 13 | #2876 - Move `peer::Id::new` to a realistic test helper and decide whether `peer::fixture` goes behind a `testing` feature | `docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md` | DONE | Finding F5 of #2824. Spec through #2878, implementation through #2888: `Id::new` removed, `qbittorrent_peer_id` helper, `peer::fixture` behind the new `testing` feature of `primitives`, test-support ADR amended. Breaking for the published `primitives` 3.0.0; adds to the 4.0.0 it owes (#2583). | | 14 | Additional package-testing subissues | Create a folder-style spec when a concrete package need is identified | TODO | Permitted but not required upfront; retain scope in this EPIC. | ## Package Coverage Tracking @@ -354,6 +354,7 @@ For each subissue implementation, the completion policy is: - 2026-11-15 21:07 UTC - Claude Code - #2824 closed by #2864 (merged 2026-11-15 21:05 UTC); row 11 set to `DONE` and the spec archived to `docs/issues/closed/2824-1347-add-tests-primitives/`. - 2026-11-15 21:22 UTC - Claude Code (Opus 5.5) - Row 12 (#2838): the fix is the implementation of the standalone issue #2850, PR #2872 (open), which closes #2838 on merge. It removes the `primitives` test that pinned a negative `left` as a seeder (finding F6 of #2824) and the `-1` rows of the role table. - 2026-11-16 14:07 UTC - Claude Code (Opus 5.5) - #2838 closed by PR #2872 (merged 2026-11-16 14:05 UTC); row 12 set to `DONE` and the specifications of #2838 and #2850 archived to `docs/issues/closed/`. +- 2026-11-16 21:52 UTC - Claude Code (Opus 5.5) - #2876 closed by PR #2888 (merged 2026-11-16 21:49 UTC); row 13 set to `DONE` and the spec archived to `docs/issues/closed/2876-1347-peer-id-test-helper/`. ## Acceptance Criteria diff --git a/docs/pr-reviews/pr-2895-review/PR-REVIEW.md b/docs/pr-reviews/pr-2895-review/PR-REVIEW.md new file mode 100644 index 0000000000..82acdaa518 --- /dev/null +++ b/docs/pr-reviews/pr-2895-review/PR-REVIEW.md @@ -0,0 +1,194 @@ +--- +semantic-links: + skill-links: + - process-pr-review + related-artifacts: + - .claude/skills/process-pr-review/SKILL.md + - .claude/skills/cleanup-completed-issues/SKILL.md +--- + + + +# PR #2895 Review Audit + +Source: pull-request reviews and inline review threads for https://github.com/torrust/torrust-tracker/pull/2895. + +## Ownership + +The PR author owns this tracked audit record. Reviewers, including repository review agents, +deliver findings through GitHub and have no repository-artifact obligation. + +- Post-merge workflow approval: N/A + +## Status Values + +- Relationship: `ORIGINAL`, `RE_RAISE_OF:` +- Disposition: `FIXED`, `NO_ACTION`, `SUPERSEDED`, `FOLLOW_UP` +- Thread state: `OPEN`, `RESOLVED`, `NON_RESOLVABLE`, `SUPERSEDED`. `OPEN` applies prospectively + to audits created or updated for approved follow-up work; historical audits remain valid without + bulk migration. +- Severity: `Blocker`, `Major`, `Minor`, `Nit`, `Suggestion`; append `(inferred)` when derived + from free prose. +- Author class: `Copilot`, `Human`, `Unknown` +- Category: `link-integrity`, `formatting`, `metadata`, `testing`, `correctness`, + `documentation`, `maintainability`, `security`, `other` +- An outdated thread whose concern was fixed is `FIXED`/`RESOLVED`, even when GitHub marks the + original thread outdated after the push. For in-PR feedback, use `NO_ACTION`/`SUPERSEDED` only + for a duplicate, superseded, or no-change concern. A post-merge `NO_ACTION` requires maintainer + approval to decline the follow-up work. +- When the current identity cannot resolve a thread (`viewerCanResolve` is `false`), keep the + disposition established from the current tree and record `Thread state=OPEN`. The reviewer or PR + author resolves it; permission says nothing about whether the concern was fixed. + +## Findings + +| Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | +| ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | +| F1 | review-finding:pr-2895-f1 | Human | Minor | link-integrity | ORIGINAL | FIXED | RESOLVED | +| F2 | review-finding:pr-2895-f2 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F3 | review-finding:pr-2895-f3 | Human | Nit | other | ORIGINAL | NO_ACTION | RESOLVED | +| F4 | review-finding:pr-2895-f4 | Copilot | Minor | link-integrity | RE_RAISE_OF:F1 | NO_ACTION | SUPERSEDED | +| F6 | review-finding:pr-2895-f6 | Human | Minor | metadata | ORIGINAL | FIXED | RESOLVED | +| F7 | review-finding:pr-2895-f7 | Human | Nit | link-integrity | ORIGINAL | FIXED | RESOLVED | +| F8 | review-finding:pr-2895-f8 | Human | Suggestion | documentation | ORIGINAL | FIXED | RESOLVED | + +## Finding Details + +### F1 - The closed #2824 spec still points the F5 owner at the removed open path + +- PR number: 2895 +- Source review ID: 5934509844 +- Reviewer finding ID: F1 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596538727 +- Concern: The F5 owner cell of the #2824 Findings Register and the F5 row of its `lessons.md` + name `docs/issues/open/2876-1347-peer-id-test-helper/ISSUE.md`, which this PR removes. The + audit of #2878 (F3) classified these two cells as live owner pointers, so step 4 of + `cleanup-completed-issues` asks for them to follow the move; the PR description had filed them + as historical records. +- Solution: Both cells now name `docs/issues/closed/2876-1347-peer-id-test-helper/ISSUE.md`, and + the #2824 spec's `last-updated-utc` is bumped. The PR description no longer lists them as + historical. +- Current-tree verification: `git grep -n 'open/2876' -- ':!docs/pr-reviews'` finds only the + #2876 progress-log entry that records the path the spec had when it was filed. +- Resolution reference: docs(issues): [#2876] point the #2824 F5 owner cells at the archived spec +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596697112 + +### F2 - "Breaking for `primitives` 3.0.0" reads against the in-tree 3.1.0 + +- PR number: 2895 +- Source review ID: 5934509844 +- Reviewer finding ID: F2 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596538751 +- Concern: `packages/primitives/Cargo.toml` is at 3.1.0; 3.0.0 is the published version, so row + 13 of the EPIC should say so. +- Solution: Row 13 now reads "Breaking for the published `primitives` 3.0.0". +- Current-tree verification: `grep -n 'published .primitives. 3.0.0' docs/issues/open/1347-overhaul-packages-testing/EPIC.md` + finds row 13. +- Resolution reference: docs(issues): [#2876] point the #2824 F5 owner cells at the archived spec +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596697425 + +### F3 - The folded commit-message scan matches `closed #2876` + +- PR number: 2895 +- Source review ID: 5934509844 +- Reviewer finding ID: F3 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596538762 +- Concern: Folding the commit message joins the subject's last word (`docs/issues/closed`) with + the body's first reference (`#2876`), which the closing-keyword scan reads as a closing keyword. +- Solution: No change, as the reviewer suggests: #2876 is already closed and this PR is its + close-out, so the match closes nothing. Rewording would need a force push of an approved commit. +- Current-tree verification: `gh-bot issue view 2876 --repo torrust/torrust-tracker --json state` + prints `CLOSED`. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596697701 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596697701 + +### F4 - Copilot: update the stale F5 owner links to the closed path + +- PR number: 2895 +- Source review ID: 5934524992 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596550546 +- Concern: The same two cells as F1. +- Solution: Fixed with F1. +- Current-tree verification: as F1. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596698017 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596698017 + +### F6 - The audit validator fails on F3's `Resolution reference: N/A` + +- PR number: 2895 +- Source review ID: 5934845195 +- Reviewer finding ID: F6 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596803972 +- Concern: `validate-audit-record.py` checks `N/A` as a commit subject and fails; the skill asks for + the durable reply URL on a `NO_ACTION` row, which applies to F3 and F4. +- Solution: F3 and F4 give their own Reply URL as the resolution reference. +- Current-tree verification: `python3 .claude/skills/process-pr-review/scripts/validate-audit-record.py --pr-number 2895` + exits 0. +- Resolution reference: docs(issues): [#2876] address review round 2 of PR 2895 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596817256 + +### F7 - The audit's `related-artifacts` name the old-path redirect stubs + +- PR number: 2895 +- Source review ID: 5934845195 +- Reviewer finding ID: F7 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596803980 +- Concern: The two skill paths in the frontmatter are the "Moved" stubs under `.github/skills/`; + the template names the skills' current location. +- Solution: The frontmatter names `.claude/skills/process-pr-review/SKILL.md` and + `.claude/skills/cleanup-completed-issues/SKILL.md`. +- Current-tree verification: `head -8 docs/pr-reviews/pr-2895-review/PR-REVIEW.md` +- Resolution reference: docs(issues): [#2876] address review round 2 of PR 2895 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596817649 + +### F8 - The #2824 F5 owner cell still says the design questions are open + +- PR number: 2895 +- Source review ID: 5934845195 +- Reviewer finding ID: F8 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596803984 +- Concern: The cell is a live pointer but still says the maintainer answers the design questions + before implementation, which #2888 has done. +- Solution: The cell says the questions were answered on 2026-11-16 and #2888 implemented the + outcome; the status column stays HANDED OFF. +- Current-tree verification: `grep -n 'implemented the outcome' docs/issues/closed/2824-1347-add-tests-primitives/ISSUE.md` +- Resolution reference: docs(issues): [#2876] address review round 2 of PR 2895 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2895#discussion_r4596818003 + +## Processing Log + +- 2026-11-17 07:47 UTC - Started audit for review round 1: review 5934509844 (da2ce7, APPROVED, + one Minor F1 and two Nits F2 and F3, none blocking) and review 5934524992 (Copilot, COMMENTED, + one comment, the same concern as F1). F1 and F2 fixed by commit; F3 needs no change; the Copilot + comment is recorded as F4, superseded by F1. The four thread replies posted at 07:45 UTC, before the + push of the fix commit. +- 2026-11-17 08:02 UTC - Review round 2: review 5934845195 (da2ce7, COMMENTED, one Minor F6, one + Nit F7 and one Suggestion F8; APPROVE withheld only because the validator failed). All three fixed + by commit; the three thread replies posted at 08:01 UTC, before the push. + +## Completion Rules + +- Re-derive the reply claim against the current tree before replying or resolving a thread. +- Reply on every resolvable thread before resolving it. +- For an outdated thread whose concern was fixed, record `Disposition=FIXED` and + `Thread state=RESOLVED`, even if GitHub marks the thread outdated after the push. For a + duplicate, superseded, or no-change in-PR thread, reply exactly + `Superseded by : .`, record `Disposition=NO_ACTION` and + `Thread state=SUPERSEDED`, then resolve it. A post-merge `NO_ACTION` requires maintainer + approval to decline the follow-up work. When the current identity cannot resolve a thread + (`viewerCanResolve` is `false`), still reply, keep the disposition established from the current + tree, and record `Thread state=OPEN`; the reviewer or PR author resolves it. +- A consolidated PR conversation response may cover multiple review rounds only when it names + every review ID and every finding ID with its disposition and resolution reference. Record its + durable URL in each related row. +- Cite a fix by its unique Conventional Commit subject or durable reply URL, never by a branch SHA + that can change after a rebase. +- Refresh review threads using GraphQL and confirm that no unresolved actionable thread remains.