Skip to content

fix(udp-server): [#2314] preserve scrape response order - #2320

Merged
josecelano merged 20 commits into
torrust:developfrom
josecelano:2314-preserve-udp-scrape-response-order
Sep 24, 2026
Merged

josecelano merged 20 commits into
torrust:developfrom
josecelano:2314-preserve-udp-scrape-response-order

Conversation

@josecelano

Copy link
Copy Markdown
Member

Closes #2314

Summary

Preserves BEP 15 UDP scrape response positions by iterating the requested info hashes in the UDP response builder, looking up keyed swarm metadata for each entry, and retaining duplicate requested hashes.

Changes

  • Adds duplicate-hash and eight-hash request-order regressions plus a missing-key zeroed fallback test.
  • Adds a handler-level Criterion benchmark for a 74-hash scrape request and records pre/post measurements.
  • Documents the keyed, unordered ScrapeData contract and records V1/V2 real-wire verification evidence.

Validation

  • cargo test -p torrust-tracker-udp-server
  • cargo test -p torrust-tracker-primitives --doc
  • cargo test -p torrust-tracker-http-core
  • cargo test -p torrust-tracker-axum-http-server
  • cargo +nightly fmt --all -- --check
  • linter all
  • Pre-push: nightly format, workspace check, documentation build, and full test suite.

Performance

The P2 handler benchmark median was 6.6745 us versus 6.1391 us pre-fix (+0.5354 us). Aquatic E2E scrape-throughput median was 1495.37/s versus 1547.45/s pre-fix (-3.37%), within the 5% acceptance threshold. Full data is in docs/issues/open/2314-preserve-udp-scrape-response-order/scrape-benchmark-evidence.md.

Copilot AI lite review requested due to automatic review settings September 23, 2026 12:51
@josecelano josecelano self-assigned this Sep 23, 2026
@josecelano
josecelano force-pushed the 2314-preserve-udp-scrape-response-order branch from 9898416 to f0e11e1 Compare September 23, 2026 13:06
@josecelano
josecelano requested a review from a team as a code owner September 23, 2026 13:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

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

Copilot review overview

Review effort: Lite
Findings: 2 Medium severity · 2 Low severity

Open (4)
What changed in this PR

Fixes UDP scrape responses to preserve BEP 15 positional semantics (request order + duplicates) by building torrent_stats by iterating the request hashes and performing keyed lookups into ScrapeData.

Changes:

  • Update UDP scrape response builder to iterate request.info_hashes and fall back to zeroed stats for missing keys.
  • Add regression tests for duplicate requested hashes, request-order preservation, and missing-key behavior.
  • Add a Criterion benchmark for handle_scrape with a 74-hash request and document performance/manual verification evidence.
File Description
packages/​udp-server/​src/​handlers/​scrape.rs Build response in request order and add regression tests for duplicates/order/missing keys
packages/​udp-server/​benches/​udp_tracker_server_benchmark.rs Add Criterion benchmark for handler-level scrape path
packages/​udp-server/​Cargo.toml Add Criterion dev-dependency and register bench target
packages/​primitives/​src/​scrape.rs Document ScrapeData as keyed/unordered to guide positional adapters
docs/​issues/​open/​2314-preserve-udp-scrape-response-order/​scrape-benchmark-evidence.md Record benchmark environment and results for P1/P2
docs/​issues/​open/​2314-preserve-udp-scrape-response-order/​manual-verification-evidence.md Record real-wire verification steps/results for V2 and regression design
docs/​issues/​open/​2314-preserve-udp-scrape-response-order/​ISSUE.md Update spec progress, acceptance criteria status, and progress log
.github/​skills/​dev/​maintenance/​setup-dev-environment/​SKILL.md Document common CLI tools used by manual verification skills

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

@josecelano

Copy link
Copy Markdown
Member Author

ACK d8c82be

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

Six commits on top of ef234623 (the current develop tip, so the branch is up to date), 10 files, +650/-95. b6619256 adds a Criterion bench for the UDP scrape handler, d38c1d2c is the fix plus three regression tests and the ScrapeData doc comment, 28e43c89 and f0e11e16 add verification evidence and a ride-along skill note, 6e292284 answers Copilot's four threads, and d8c82bec adds the cargo-chef stub for the new bench target. The fix replaces for file in &scrape_data.files in build_response with a loop over request.info_hashes that converts each wire hash, reads scrape_data.files.get(&info_hash).copied().unwrap_or_default(), and preallocates the response vector.

ScrapeData::files is a HashMap<InfoHash, SwarmMetadata> (packages/primitives/src/scrape.rs:15), so the old loop emitted one entry per distinct map key in bucket order under a per-instance RandomState seed: the wrong count for duplicated hashes, no entry at all for a hash missing from the map, and an arbitrary order otherwise. The new loop emits exactly request.info_hashes.len() entries in request order. The lookup key is built by the same InfoHash::from([u8; 20]) conversion the producer uses (packages/udp-core/src/services/scrape.rs:112), so every present hash hits; SwarmMetadata derives Default over u32/NumberOfDownloads = u32 fields, so unwrap_or_default() is exactly SwarmMetadata::zeroed(). Upstream, ScrapeHandler::handle_scrape already inserts an entry for every requested hash - zeroed for unknown torrents and for hashes the whitelist rejects - so the map is complete today and the zeroed fallback is defensive; a non-whitelisted hash still reports zeros, only now at its requested position. The three new tests pin the behaviour and each fails on the old loop: the duplicate test deterministically (the map holds one key for [A, A]), the direct build_response test deterministically (empty map, no entries), and the eight-hash order test unless the map's bucket order happens to reproduce 8, 3, 6, 1, 7, 2, 5, 4. HTTP is untouched by construction: axum-http-server converts the same domain map into a BTreeMap-backed bencoded dictionary keyed by info-hash, where position carries no meaning.

Findings

  • [Minor][F1] scrape-benchmark-evidence.md:51 - the P1 commit is the #2315 spec merge and carries no packages/udp-server/benches/, so the microbenchmark cannot have run there.
  • [Minor][F2] manual-verification-evidence.md:161 - the V2 artifact commit is not reachable from the PR head, develop, or any of the six PR commits.
  • [Minor][F3] packages/udp-server/Cargo.toml:50 - criterion 0.5.1 added while 0.8.2 is already in the lock, with no version rationale recorded.
  • [Minor][F4] scrape-benchmark-evidence.md:137 - the end-to-end run used the generic docs/benchmarking.md mix, not the scrape-heavy 74-hash mix the spec mandates; deviation unrecorded.
  • [Suggestion][F5] scrape-benchmark-evidence.md:52 - both P1 and P2 results land in the pre-fix commit b6619256, against the spec's own Commit Points ordering.
  • [Nit][F6] manual-verification-evidence.md:265 - "at most 1/8!" overstates what HashMap iteration order guarantees.
  • [Nit][F7] ISSUE.md:403 - the templated checkpoint was narrowed to check it, rather than left intact.

F1 and F2 block: both are false or unresolvable at the head they ship in, in the evidence backing AC5 and AC7. F3 and F4 do not block. Nothing in the production change or its tests is in question.

Checked, no finding

  • build_response at head: conversion is total ([u8; 20] to InfoHash, both sides identical), .copied() is sound (SwarmMetadata: Copy), Vec::with_capacity matches the emitted count, counter saturation untouched.
  • Producer path: ScrapeHandler::handle_scrape inserts one entry per requested hash; whitelist rejection yields SwarmMetadata::zeroed(); duplicates collapse in the map and are re-expanded by the new loop.
  • HTTP scrape: BTreeMap-keyed bencoded dictionary, unchanged by this PR; duplicates collapse there harmlessly because the key identifies the entry.
  • Tests: add_seeders builds distinct peer ids and addresses per torrent; with_bytes_left_to_download(0) satisfies is_seeder() (left <= 0 && event != Stopped).
  • Bench: -- scrape_once matches the group id udp_tracker/handle_scrape_once/74_torrents; harness = false plus criterion_main! is consistent; the widened cookie window is inert for timing (check is two float comparisons), and Strict validation with a 24 h range is right for a benchmark.
  • Containerfile: the new bench dir and stub file match every other [[bench]] target in the workspace (http-core, torrent-repository-benchmarking, udp-core x2), in the same list positions.
  • Arithmetic: 6.6745 - 6.1391 = 0.5354 (+8.72%); (1495.37 - 1547.45) / 1547.45 = -3.3655% (-3.37%); every median in both tables is the true median of its row set.
  • 5% threshold: defined in ISSUE.md ("P2 end-to-end median within 5% of P1 passes AC7") and in AC7, not undefined.
  • V1/V2 wire records: 3 swapped of 10 for [A, B], 7 of 10 for [B, A] (10 of 20); every recorded pair is one of the two permutations and every OK/SWAPPED label matches its request order; the red-run [3,1,8,6,7,2,4,5] is a permutation of the requested [8,3,6,1,7,2,5,4].
  • Skill edit: both named skills exist and use those tools, .github/workflows/copilot-setup-steps.yml exists at that path and installs none of them, and the ride-along is its own docs(skills) commit, which AGENTS.md allows.
  • Copilot: all four threads resolved and all four fixes landed in 6e292284.
  • Hygiene: Conventional subjects on all six commits, author/committer times ordered, no attribution trailers, git merge-tree --write-tree clean, [[bench]] and inline-array style match the taplo config and the sibling manifests.

CI at this head (orchestrator's step): 23 check-runs at d8c82bec — 20 success, 3 skipped, none failed. Orchestrator gate on the head (pre-commit: cargo machete, linter all, doc tests; plus clippy-allow-reasons against ef234623): rc 0 in 53 s, tree clean; cargo test -p torrust-tracker-udp-server green in 34 s; cargo bench -p torrust-tracker-udp-server --no-run builds in 153 s; a mutant with only the build_response loop reverted to the base's four lines fails exactly the three new tests (7 passed; 3 failed) and no other. F1 and F2 were recomputed independently: git ls-tree -r e03b22f7 -- packages/udp-server/benches is empty, and aef07ca4a72939f67f5d047559da15be72033a23 resolves in neither torrust/torrust-tracker nor josecelano/torrust-tracker.

Comment thread packages/udp-server/Cargo.toml Resolved
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 23, 2026
Name the published commits for the P1/P2 and V2 artifacts, record the load-test mix deviation and P2 reset procedure, soften the 1/8! claim, restore the templated checkpoint text, and document the criterion version pin.

@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 ae66bb69572d4e8a0cf2b0483affd4d46bce4b35 (round 2, delta from d8c82bec). Recomputed from the bytes at this head.

One fast-forward commit, ae66bb69 docs(issues): address #2320 review findings on scrape evidence: 4 files, +25/-6, touching the three evidence documents and one comment line in packages/udp-server/Cargo.toml. git diff --stat d8c82bec ae66bb69 over packages/udp-server/{src,benches,tests}, packages/primitives/src, packages/udp-core, packages/tracker-core, Cargo.lock and Containerfile is empty, so the fix, its three regression tests, the benchmark, the lock and the container stub are byte-identical to the head round 1 verified. Everything round 1 recorded under "Checked, no finding" therefore still holds; the full range is now +669/-95, which reconciles exactly (650 + 25 - 6). git merge-tree --write-tree ef234623 ae66bb69 is clean, the commit body accurately enumerates the five changes, and there is no attribution trailer and no banned token.

# Round 1 asked Addressed?
F1 P1 row names a commit with no bench yes - row now reads "e03b22f7… plus the then-uncommitted P0 microbenchmark" and names b6619256, which I confirm carries the bench and the old for file in &scrape_data.files loop and is an ancestor of this head
F2 V2 artifact sha unresolvable yes - now "a pre-rebase local commit (aef07ca4, since orphaned by the rebase onto develop); the published commit carrying the same fix is d38c1d2c". Unambiguous, and d38c1d2c does carry the new loop and is an ancestor
F3 non-latest criterion, no rationale yes - # Pinned to match the http-core and udp-core benches; upgrade all three together. directly above the entry. Accurate (both siblings pin 0.5.1 with the same features) and it satisfies Engineering Policy 1's "document why"
F4 E2E mix deviation unrecorded yes - new Anomalies bullet states the deviation, quotes the spec's weight_scrape = 80 / scrape_max_torrents = 74 / duration = 30 against the actual weight_scrape = 1 and 10 hashes, says the delta sits inside the P1 spread 1427.59 to 1608.74, and explains why the 74-hash microbenchmark is the load-bearing instrument. Every quoted number matches the file. A second bullet confirms the P2 reset procedure and why the P2 raw blocks are abbreviated
F5 P1/P2 committed before the fix yes - recorded in Anomalies ("committed together in b6619256… the fix itself is in d38c1d2c. The history is kept as is"), and the P2 row now names a published commit. Keeping the history rather than rewriting it is what AGENTS.md asks
F6 "at most 1/8!" overstated yes - now "about", with "HashMap iteration order is unspecified, not a uniform permutation, so this is a heuristic rather than a bound", plus the note that the two sibling regressions are deterministic. Accurate
F7 checkpoint wording narrowed yes - line 403 is byte-identical to ef234623's parenthetical, checked rather than rewritten

Each of the seven thread replies describes its change accurately; none of the seven was resolved by the author, which leaves resolution to the reviewer as it should.

Findings

  • [Nit][F8] scrape-benchmark-evidence.md:51 - "the same code state" is exact for the microbenchmark but not for the tree; the phrase came out of my own F1 text, which called the gap docs-only. It is not, though nothing measured changes. Advisory only.

Checked, no finding: every sha cited in the three evidence documents (60a4a160, e03b22f7…, b6619256, d38c1d2c) resolves and is an ancestor of this head, the only exception being aef07ca4, which the text itself labels orphaned; the remaining hex tokens are the rustc build hash, the external aquatic commit and the two test info-hashes. No new Copilot review since 13:09:22Z, and its four threads stay resolved with their fixes in place.

CI at this head (orchestrator's step): 19 check-runs at ae66bb69 at 16:00Z — 14 success, 1 skipped (Docker E2E), 3 still in progress (Security Scan, Test (Docker) (release), Unit (stable)); none failed and no run is in startup_failure or action_required. Orchestrator gate on the head (pre-commit: cargo machete, linter all, doc tests; clippy-allow-reasons against ef234623): rc 0 in 42 s, tree clean; cargo test -p torrust-tracker-udp-server green in 13 s; cargo bench -p torrust-tracker-udp-server --no-run builds in 86 s. The round-1 mutant result stands unchanged: git diff --stat d8c82bec ae66bb69 -- packages/udp-server/src is empty, so the handler whose reverted loop failed exactly the three new tests is byte-identical at this head. Recomputed independently: the delta is 4 files, +25/-6, none under packages/*/src, benches, tests, Cargo.lock or Containerfile; b6619256 and d38c1d2c are ancestors of ae66bb69; and the criterion comment sits on line 50 of packages/udp-server/Cargo.toml directly above the entry.

@da2ce7

da2ce7 commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

ACK ae66bb6 — round 2: the seven round-1 findings addressed in one docs commit (evidence rows now name published commits b661925/d38c1d2c, criterion pin rationale recorded, E2E mix deviation recorded); fix and tests unchanged since d8c82be, which the gate, the package tests and the old-loop mutant already pinned

@josecelano
josecelano force-pushed the 2314-preserve-udp-scrape-response-order branch from ae66bb6 to 305ddce Compare September 23, 2026 17:09

@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 305ddce1be48e6c49aa785a823fdf1324f863327 (round 3, rebase of the approved ae66bb69 onto a110200d). Recomputed from the bytes at this head.

The rebase is pure. git range-diff ef234623..ae66bb69 a110200d..305ddce1 marks all seven patches =, so every patch is byte-identical to the one approved at ae66bb69; git diff ae66bb69 305ddce1 --stat and git diff ef234623 a110200d --stat are the same 5 files and the same +11/-8, meaning the only content change is the base advance itself. merge-base a110200d 305ddce1 is a110200d, merge-tree against it is clean, and the full range is still 10 files +669/-95. The base moved by one merge, #2321 chore(issues): archive closed issue #2309 spec: four renames of docs/issues/open/2309-…/* into docs/issues/closed/ plus one edit to docs/issues/open/1488-overhaul-tracker-shutdown/ISSUE.md — documentation for a different issue, touching no Rust source, no manifest, no lockfile, no Containerfile, and none of this PR's files; git ls-tree -r 305ddce1 docs/issues/open/2314-preserve-udp-scrape-response-order still lists all three evidence documents.

What the rebase did break is the PR's own commit ids, which the round-2 fixes wrote into the evidence.

Cited sha Resolves? Ancestor of head? What the text claims Holds?
60a4a160 yes yes the develop state V1 ran against yes
e03b22f7… yes yes the commit P1 was based on yes — it is a develop merge commit, permanently reachable
b6619256 only in a clone that kept the pre-rebase branch no "The published commit with the same code state" no — rewritten to a2e99d36
d38c1d2c only in a clone that kept the pre-rebase branch no "the published commit carrying the same fix" no — rewritten to dc3c85f1
aef07ca4 no n/a "a pre-rebase local commit … since orphaned" yes — the text labels it
48a229cea, 822a801c…, aaaa…, bbbb… n/a n/a rustc build hash, external aquatic commit, two test info-hashes not repository shas

Findings

  • [Minor][F9] scrape-benchmark-evidence.md:52 (also :51, :214, :215 and manual-verification-evidence.md:162) — five lines name b6619256/d38c1d2c as "the published commit", and this rebase rewrote both. Blocking under the same test round 1 applied to F1 and F2: a reader cannot resolve them from the published history, and the merged tree would carry the claim permanently. One line fixes it durably — see the thread.

This is the one substantive point; nothing else changed. The remedy I proposed in round 1 is what made the text fragile, so the ask is to stop depending on ids rather than to swap in new ones.

Checked, no finding: seven Conventional subjects unchanged by the rebase, author dates preserved and committer dates all at the 17:08Z rebase, no attribution trailer, no banned token; no new Copilot review since 13:09:22Z and its four threads still resolved with their fixes in place; the F8 Nit thread is unanswered and unresolved, which is the author's call and settles nothing here.

CI at this head (orchestrator's step): 19 check-runs at 305ddce1 at 17:23Z — 16 success, 1 skipped (Docker E2E), 2 still in progress (Security Scan, Test (Docker) (release)); none failed, none in startup_failure or action_required. Orchestrator gate on the head (pre-commit: cargo machete, linter all, doc tests; clippy-allow-reasons against a110200d): rc 0 in 69 s, tree clean; cargo test -p torrust-tracker-udp-server green in 24 s (171 + 11 + 1 passed); cargo bench -p torrust-tracker-udp-server --no-run builds in 90 s; the mutant with only the build_response loop reverted to the base's four lines fails exactly the three new tests and no other (16 passed; 3 failed), rerun at this head in 5 s. Recomputed independently: git merge-base --is-ancestor is false for b6619256 and d38c1d2c against 305ddce1 and true for their rewritten forms a2e99d36 and dc3c85f1; the five lines are scrape-benchmark-evidence.md:51-52,214-215 and manual-verification-evidence.md:162. One nuance for the record: at posting time both old objects are still retrievable by URL in torrust/torrust-tracker and josecelano/torrust-tracker (unreachable from any branch), so the ids fail as history references — a clone of develop after the merge will not carry them — rather than as URLs today; the durable fix in the thread settles both readings.

@josecelano
josecelano requested a review from da2ce7 September 23, 2026 17:48
Rebases onto develop rewrite PR-branch commit ids, so the published P1/P2 and V2 references now use Conventional Commit subjects. Also narrows the P1/P2 claim to the scrape-path code state.
josecelano added a commit that referenced this pull request Sep 25, 2026
…resolution evidence

143b0f6 docs(issues): record #2333 verification and completion evidence (Jose Celano)
94fe6c8 docs(pr-reviews): collect all review threads as self-audit evidence (Jose Celano)
2f4bd80 feat(dev-tools): return all review threads with resolution evidence (Jose Celano)

Pull request description:

  ## Summary

  Implements EPIC #2278 subissue 4 (#2333), friction-register items F17, F18, and F32: the author's review-thread evidence view now includes resolved and outdated threads with who resolved them and where, while reply and resolution actions keep an explicit unresolved-only view.

  - `github-review-threads` requests each thread's `line` and `resolvedBy { login }`. The raw JSON file is a superset of the previous one, so `resolve-all-unresolved-threads.sh` reads it unchanged.
  - `list` and `show` return every thread by default and add `isResolved`, `resolvedBy`, and `line`; `--unresolved-only` selects the threads still awaiting a reply or resolution. `reply-status` is unchanged and still checks unresolved threads only, because it guards resolution.
  - The `fetch-review-threads` skill now collects every thread as evidence, names `resolvedBy`, `path`, and `line` as self-audit evidence (nulls are recorded as unknown, never inferred), and limits unresolved-only filtering to actions. Its inline `gh api graphql` fallback now requests exactly the tool's fields.

  The change extends the existing crate in place; it adds no new script or binary and does not decide the unified AI-harness placement, which stays with EPIC #2003.

  ## Commits

  - `feat(dev-tools): return all review threads with resolution evidence`: query, `ThreadSelection`, `--unresolved-only`, fixture tests, and spec/EPIC tracking for T1-T2.
  - `docs(pr-reviews): collect all review threads as self-audit evidence`: skill contract (T3).
  - `docs(issues): record #2333 verification and completion evidence`: manual evidence, acceptance review, EPIC AC2 (T4).

  ## Files touched

  - `contrib/dev-tools/github/github-review-threads/src/lib.rs`, `src/main.rs`, `tests/cli.rs`
  - `contrib/dev-tools/github/github-review-threads/tests/fixtures/thread-states.json` (new; one thread per state). The retired-script fixture `review-threads.json` is unchanged because its README pins it to the parity captures; it now also shows that files fetched before this change still parse, with null `resolvedBy` and `line`.
  - `.github/skills/dev/pr-reviews/fetch-review-threads/SKILL.md`
  - `docs/issues/open/2333-2278-fetch-all-review-threads/ISSUE.md` and `manual-verification-evidence.md`
  - `docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md`

  ## Validation

  - `cargo test --package github-review-threads`: 13 unit and 7 CLI tests pass (stable Rust 1.98.1). Temporarily reverting the selection filter to unresolved-only in the working tree failed 5 unit tests; the filter was restored before committing.
  - `cargo clippy --package github-review-threads --all-targets -- -D warnings` and `cargo +nightly fmt --all -- --check` are clean.
  - The pre-commit hook (including `linter all`) passed on every commit; `pre-push.sh` passed all 4 steps.
  - Manual scenarios M1-M4 were run read-only against merged PR #2320 (29 threads: 27 resolved, 2 unresolved, 21 outdated): all threads listed by default, resolver and line shown with explicit nulls on outdated threads, only the 2 unresolved threads in `--unresolved-only` and `reply-status`, and the bulk resolver's `--dry-run` still lists them. The fallback query returned the same data as the tool on PR #2322.

  ## Notes for reviewers

  - The skill no longer lists `canResolve` as a collected field; neither the tool's query nor the previous fallback query ever requested it.
  - The manual-capture survey found merged PRs that still hold unresolved threads (#2290, #2293, #2300, #2313, #2320). They were only read and are left for a maintainer decision under the post-merge review rule.

  Closes #2333
  Related to #2278

ACKs for top commit:
  josecelano:
    ACK 143b0f6

Tree-SHA512: a37f3d9b46c4d1c92c4df242324cf81b52b441af65ab4e9522cebf77dcd75dd1c632bd69781263ef4deca01ae710e9f3d97675464456b4f7cc2530e103e743f7
josecelano added a commit that referenced this pull request Sep 27, 2026
…ings

3e89461 docs(pr-reviews): record PR #2344 round 2 thread resolution (Jose Celano)
b20eb55 docs(pr-reviews): record PR #2344 review round 2 (Jose Celano)
740f6ed docs(pr-reviews): make PR #2344 audit verifications reproducible at head (Jose Celano)
6123dea test(dev-tools): require exactly one skill fallback query block (Jose Celano)
5213cf1 docs(pr-reviews): bump process-pr-review to 1.4 for the post-merge changes (Jose Celano)
b785bad docs(pr-reviews): record PR #2344 thread resolution (Jose Celano)
fbd7c64 docs(pr-reviews): add PR #2344 review audit (Jose Celano)
ddbe1ef docs(pr-reviews): use N/A for unreassigned reviewer IDs in PR #2339 audit (Jose Celano)
c84e05b docs(issues): cite the #2333 evidence correction by its finding reference (Jose Celano)
5f3a7f3 docs(pr-reviews): point PR #2334 audit to the archived #2333 spec (Jose Celano)
b56c04e docs(pr-reviews): cover post-merge follow-ups for PRs without an audit (Jose Celano)
777faf7 test(dev-tools): document fallback-query extraction and evidence-window intent (Jose Celano)
75fa474 docs(pr-reviews): add PR #2339 post-merge review audit (Jose Celano)
c92d5b3 chore(issues): archive closed issue #2333 spec to docs/issues/closed (Jose Celano)
67496cd docs(pr-reviews): apply the post-merge workflow to findings unprocessed at merge (Jose Celano)
70e8821 docs(issues): record the exact #2333 evidence commands (Jose Celano)
79e827e test(dev-tools): pin review-thread query fields and explicit nulls (Jose Celano)

Pull request description:

  ## Summary

  Post-merge follow-up for PR #2339 (#2333, EPIC #2278 order 4). PR #2339 merged with three non-blocking inline findings from review 5310586223 still unprocessed. The maintainer approved handling them here: <#2339 (comment)>.

  - **F1** (Suggestion): no test pinned that the live query requests `line` and `resolvedBy`, so a dropped field would read back as `null`, indistinguishable from GitHub's "unknown". A new test requires both fields at thread level next to `path`, and a second test requires the `fetch-review-threads` skill's fallback query to match the tool's query token for token, so AC1's parity no longer holds only by hand.
  - **F2** (Suggestion): the two explicit-null tests indexed a `serde_json::Value`, which also yields `Null` for a missing key. They now use `Value::get(...) == Some(&Value::Null)`.
  - **F3** (Nit): evidence steps V1-V4 omitted the pipes and `jq` filters that produced their observed blocks. They now record the commands exactly as run, with a dated correction note.

  Also in this PR:

  - `process-pr-review` (version 1.4; `develop` meanwhile used 1.3 for PR #2335's changes) now states that findings submitted before merge but unprocessed when the pull request merged follow the post-merge workflow. This PR is the first case of it.
  - #2333 closure bookkeeping: its spec is archived under `docs/issues/closed/`, and EPIC #2278 marks order 4 and AC2 `DONE`, completing Phase 1.
  - The PR #2339 audit record (`docs/pr-reviews/pr-2339-review/PR-REVIEW.md`) was added after the three #2339 threads received their follow-up replies, because its rows cite those reply URLs.

  ## Commits

  - `test(dev-tools): pin review-thread query fields and explicit nulls` (F1, F2)
  - `docs(issues): record the exact #2333 evidence commands` (F3)
  - `docs(pr-reviews): apply the post-merge workflow to findings unprocessed at merge`
  - `chore(issues): archive closed issue #2333 spec to docs/issues/closed`
  - `docs(pr-reviews): add PR #2339 post-merge review audit`

  Review round 1 of this PR (Copilot review 5325624421 and da2ce7 review 5325898273; audit `docs/pr-reviews/pr-2344-review/PR-REVIEW.md`):

  - `test(dev-tools): document fallback-query extraction and evidence-window intent` (audit F1, F2)
  - `docs(pr-reviews): cover post-merge follow-ups for PRs without an audit` (audit F3)
  - `docs(pr-reviews): point PR #2334 audit to the archived #2333 spec` (audit F4)
  - `docs(issues): cite the #2333 evidence correction by its finding reference` (audit F5)
  - `docs(pr-reviews): use N/A for unreassigned reviewer IDs in PR #2339 audit` (audit F6)
  - `docs(pr-reviews): add PR #2344 review audit`
  - `docs(pr-reviews): record PR #2344 thread resolution`

  After rebasing onto `develop` with PR #2335:

  - `docs(pr-reviews): bump process-pr-review to 1.4 for the post-merge changes`

  Review round 2 of this PR (da2ce7 reviews 5326065019 and 5326267066; audit F7-F9):

  - `test(dev-tools): require exactly one skill fallback query block` (audit F7)
  - `docs(pr-reviews): make PR #2344 audit verifications reproducible at head` (audit F8, F9)
  - `docs(pr-reviews): record PR #2344 review round 2`
  - `docs(pr-reviews): record PR #2344 round 2 thread resolution`

  ## Validation

  - `cargo test --package github-review-threads`: 15 unit (was 13) and 7 CLI tests pass on stable Rust 1.98.1; clippy with `-D warnings` and nightly `rustfmt --check` are clean.
  - Mutants run in the working tree and restored before committing: dropping `line` from the tool query fails the query-field and parity tests; dropping it from the skill fallback fails the parity test; adding `skip_serializing_if` to `ShownThread`'s `resolved_by` and `line` fails both explicit-null tests.
  - The corrected V1-V4 evidence steps, re-run verbatim against PR #2320, reproduced every recorded block.
  - The pre-commit hook (including `linter all`) passed on every commit; the pre-push hook passed.

  ## After merge

  The three PR #2339 threads stay open until this PR merges, then receive replies citing the merge and are resolved, and the PR #2339 audit rows move to `FIXED`.

  Related to #2333
  Related to #2278

ACKs for top commit:
  josecelano:
    ACK 3e89461

Tree-SHA512: 4bfbcf39ca8b0af0c49dbec57f84e11350233bbd06f321aceb7c8c225c5e2caebc2ff6ccfd4dc3e635f9dae4b740f16800ecd734d88bda1d57b9326f48ab1013
josecelano added a commit that referenced this pull request Sep 27, 2026
…eview findings

b3205e4 docs(pr-reviews): record PR #2348 thread resolution (Jose Celano)
f6d0bb9 docs(pr-reviews): add PR #2348 review audit (Jose Celano)
27ac0ec docs(issues): keep #2347 follow-up threads open and time approval for new audits (Jose Celano)
ac2c914 docs(issues): use the UTC minute format for EPIC #2003 last-updated (Jose Celano)
2db2f3d docs(issues): link subissue #2347 in EPIC #2003 (Jose Celano)
530f17a docs(issues): add issue specification for #2347 (Jose Celano)

Pull request description:

  ## Summary

  Spec-only PR for #2347, a new subissue of EPIC #2003 (order 12). It tracks the 32 review findings that da2ce7 posted after PRs #2290, #2293, #2300, #2313, and #2320 merged. Each review body labels them post-merge findings, none had a reply, and nothing in the repository tracked them.

  The specification lists all 32 threads (the summary is each thread's first line), notes that the #2320 findings reuse audit IDs F24 and F25 and so need new audit-local IDs, and plans the work under `process-pr-review` "Reviews Submitted After Merge": triage against `develop`, maintainer-approved dispositions, audits for all five PRs, documentation-only fixes, and a close-out PR after merge (the PR #2276 precedent). Workflow, CI, and Rust changes become their own issues.

  T1 is already done, as the maintainer approved: the approval record is on #2347 (<#2347 (comment)>), and each of the 32 threads has one reply naming #2347 with its disposition pending. All threads stay unresolved.

  ## Files touched

  - `docs/issues/open/2347-2003-triage-post-merge-review-findings/ISSUE.md`: new specification.
  - `docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md`: #2347 added as order 12 of the approved subissues, plus a progress-log entry.

  - `docs/pr-reviews/pr-2348-review/PR-REVIEW.md`: audit for review round 1 (Copilot review 5325942058, three findings, all fixed and resolved).

  ## Review Round 1

  - `docs(issues): use the UTC minute format for EPIC #2003 last-updated` (audit F1)
  - `docs(issues): keep #2347 follow-up threads open and time approval for new audits` (audit F2, F3): `FOLLOW_UP` threads stay open until their owning fix merges, and the approval URL goes into the #2290 and #2293 audits when they are created.
  - `docs(pr-reviews): add PR #2348 review audit`
  - `docs(pr-reviews): record PR #2348 thread resolution`

  ## Validation

  - The pre-commit hook (including `linter all`) passed on both commits; the pre-push hook passed.
  - GitHub: #2347 was created with label `task`, and `parent_issue_url` confirms it is linked under #2003. A GraphQL refetch shows all 32 threads unresolved, each with the #2347 reply.

  Related to #2347
  Related to #2003

ACKs for top commit:
  josecelano:
    ACK b3205e4

Tree-SHA512: 97c895d52fc04dc6cf8d3a53c5335658ae5f5c6d0b7d99c11275d15741ba046bd42437bb38066d5a83aaa63a3a7eab77c5540be1c6294f006831c9092243c9e3
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 28, 2026
josecelano added a commit that referenced this pull request Sep 28, 2026
…ngs on five merged PRs

30f7419 docs(pr-reviews): [#2347] record PR #2363 review rounds 4 and 5 (Jose Celano)
d5bb52f docs(pr-reviews): [#2347] record Copilot's severity labels in the PR #2363 audit (Jose Celano)
f102d70 docs(pr-reviews): [#2347] record PR #2363 review round 2 (Jose Celano)
068a018 docs(issues): [#2347] map the pre-PR task review finding IDs (Jose Celano)
76aab89 docs(issues): [#2347] count five retrospective improvement candidates (Jose Celano)
bc3eb6b docs(issues): [#2347] name all three findings triage found dead (Jose Celano)
217df51 docs(issues): [#2347] count the three #2320 citations the F29 note moved (Jose Celano)
c8676f7 docs(issues): [#2347] record the approval-timing deviation acceptance (Jose Celano)
1ec319d docs(pr-reviews): [#2347] add PR #2363 review audit (Jose Celano)
f004145 docs(pr-reviews): [#2347] keep the #2320 head-id note at two lines (Jose Celano)
9c99bf5 docs(issues): [#2347] correct stamps and stale claims found by the pre-PR review (Jose Celano)
9f994a4 docs(issues): [#2347] record the pre-PR task review (Jose Celano)
52fccfc docs(issues): [#2347] record verification evidence and retrospective (Jose Celano)
42ae122 docs(pr-reviews): [#2347] record PR #2320 post-merge findings (Jose Celano)
f3e6716 docs(pr-reviews): [#2347] record PR #2313 post-merge findings (Jose Celano)
f20c229 docs(pr-reviews): [#2347] record PR #2300 post-merge findings (Jose Celano)
71c6757 docs(pr-reviews): [#2347] add PR #2293 post-merge review audit (Jose Celano)
7e65e92 docs(pr-reviews): [#2347] add PR #2290 post-merge review audit (Jose Celano)
4fc38fd docs(issues): [#2347] record the rebase and the upstream F3 fix (Jose Celano)
17e7e60 docs(issues): [#2347] restore the #2222 plan stamp after the upstream indentation fix (Jose Celano)
24d4364 docs(issues): [#2347] record the follow-up issues (Jose Celano)
d0ee94a docs(issues): [#2347] route the PR #2293 hosted-evidence finding to #2301 (Jose Celano)
cfcc79c docs(issues): [#2347] route the PR #2300 roster-pin finding to #2278 order 8 (Jose Celano)
1c1b8bb docs(issues): add issue specification for #2362 (Jose Celano)
ba18b32 docs(issues): add issue specification for #2361 (Jose Celano)
c290c2c docs(issues): [#2347] record the T3 routing amendment (Jose Celano)
bb94947 docs(issues): add issue specification for #2360 (Jose Celano)
b170b70 docs(issues): [#2347] record the approved order of work (Jose Celano)
5d8ee9f docs(issues): [#2347] refresh stamps on #2222 and #2261 docs edited by fixes (Jose Celano)
6d53267 docs(pr-reviews): [#2347] correct the #2320 retrospective head-id note (Jose Celano)
01baa61 docs(issues): [#2347] make the #2308 V1 command reproduce its result (Jose Celano)
96beca7 docs(issues): [#2347] cite #2295 review inputs by commit subject (Jose Celano)
de9c790 docs(issues): [#2347] correct #2295 AC6 after the PR audit landed (Jose Celano)
4c422f9 docs(pr-reviews): [#2347] correct PR #2300 audit log stamps (Jose Celano)
8fc2435 docs(skills): [#2347] link implement-workflow to its workflow artifacts (Jose Celano)
f721dab docs(issues): [#2347] map #2222 evidence commits to merged subjects (Jose Celano)
84e3242 docs(testing): [#2347] name the PR coverage workflow correctly (Jose Celano)
61dd5c0 docs(issues): [#2347] name all four #2261 empty_enums modules (Jose Celano)
d984271 docs(issues): [#2347] describe the #2261 parser test action codes (Jose Celano)
f780ad2 docs(issues): [#2347] correct the #2261 M1 result for retained A159 (Jose Celano)
b5f217a docs(issues): [#2347] cite #2261 evidence commits by subject (Jose Celano)
2c7c731 docs(issues): [#2347] record T3 disposition decisions (Jose Celano)
3a95952 docs(issues): [#2347] record T2 triage of post-merge findings (Jose Celano)
da8ac1f docs(issues): [#2347] mark spec in progress on implementation branch (Jose Celano)

Pull request description:

  ## Summary

  Implements #2347 (EPIC #2003, order 12): it processes the 32 review findings that da2ce7 posted after PRs #2290, #2293, #2300, #2313, and #2320 had merged. The maintainer approved every disposition before any fix. Approval record: <#2347 (comment)>. Amendments: <#2347 (comment)> and <#2347 (comment)>.

  The order of work followed the PR #2339 / PR #2344 precedent. First the fixes and follow-up issues were committed and this PR was opened as a draft. Then each of the 32 threads got a disposition reply, and finally one audit commit per merged PR cites those replies. The rationale is in the spec's "Disposition Decisions (T3)" section.

  | Disposition | Count | Findings |
  | ----------- | ----- | -------- |
  | FIXED | 14 | #2290 F1, F2, F3, F5 (the audit itself), F6; #2293 F2, F4, F7; #2300 F5, F6, F9; #2313 F8; #2320 F29 (reviewer F25); #2293 F3, fixed upstream by PR #2357 |
  | NO_ACTION | 9 | #2290 F7; #2293 F6, F8; #2300 F7, F8, F11, F12; #2313 F10; #2320 F28 (reviewer F24) |
  | FOLLOW_UP | 9 | #2290 F4 → #2360; #2293 F1 → #2361; #2293 F5 → #2301; #2300 F10 → #2278 order 8; #2313 F4, F5, F6, F7, F9 → #2362 |

  Following `process-pr-review` "Reviews Submitted After Merge", the 13 fixes in this PR are recorded as `FOLLOW_UP`/`OPEN` until it merges. A close-out PR (T7) then changes them to `FIXED`, replies, and resolves the fixed and declined threads. #2293 F3 was already fixed on `develop`, so its row is `FIXED`/`RESOLVED` and its thread is resolved. FOLLOW_UP threads stay open until their owning issue's fix merges.

  ## Changes

  - Documentation fixes, one signed commit per finding. Most are appended, dated corrections. Two are in-place edits to closed text: the #2261 retrospective's Evidence list now cites commit subjects instead of unreachable ids, and the #2320 retrospective's head-id note is corrected, with the edit recorded in that audit's Processing Log.
    - #2261 folder (PR #2290): the evidence commits are cited by subject, the M1 result is corrected for the retained A159 allowance, the parser test's action codes are described accurately, and all four `empty_enums` modules are named.
    - `docs/testing.md` names the PR coverage workflow correctly.
    - #2222 folder (PR #2293): unreachable evidence commits are mapped to merged subjects.
    - `implement-workflow` skill: `skill-link` markers and a `Skill Links` section. The workflow file gets one comment line.
    - #2300 audit: a Processing Log stamp correction. #2295 folder: an AC6 correction and a review-input citation correction.
    - #2308 folder (PR #2313): the V1 command now reproduces its result.
  - Audits: new `docs/pr-reviews/pr-2290-review/` and `pr-2293-review/`; appended rows in `pr-2300-review` (F5-F12), `pr-2313-review` (F4-F10), and `pr-2320-review` (F28-F29). The approval URL is in each Ownership section. This PR's own review audit is `docs/pr-reviews/pr-2363-review/`.
  - New follow-up issue specs: #2360 (UDP protocol `empty_enums` allowance scope, #2003), #2361 (bug: the coverage summary fails when discovery fails, #1347), and #2362 (remaining audit-contract rules, #2278). The parent EPIC rows are updated, and pointers are added for the existing owners #2301 and #2278 order 8.
  - The #2347 spec with `triage.md` (per-finding live checks), `manual-verification-evidence.md` (M1, M3), `implementation-retrospective.md`, and `agent-review-reports.md`.

  ## Validation

  - `validate-audit-record.py` exits `0` for every audit, with the first parent of each PR's merge commit as `--base`: #2290 (7 rows), #2293 (8), #2300 (12), #2313 (10), and #2320 (29). It also exits `0` for this PR's own audit, `pr-2363-review`, with `--base` set to `develop`.
  - M1 (a GraphQL refetch of all five PRs): all 32 threads carry the #2347 tracking and disposition replies, and only #2293 F3 is resolved. M3 (three seeded random spot checks, one per disposition kind) reproduces the recorded results.
  - `TORRUST_GIT_HOOKS_LOG_DIR=.tmp ./contrib/dev-tools/git/hooks/pre-commit.sh` passed on every commit (stable Rust toolchain; includes `linter all` and the staged frontmatter check). The pre-push hook passed: `cargo +nightly check`, `cargo +nightly doc`, and `cargo +stable test --tests --benches --examples --workspace --all-targets --all-features`.
  - An independent pre-PR task review found documentation defects only: stale stamps, log stamps out of order, and stale claims. They are corrected in `docs(issues): [#2347] correct stamps and stale claims found by the pre-PR review`, and the report is in `agent-review-reports.md`.
  - Temporary working-tree experiments (removing or narrowing the `empty_enums` allowance, and running Clippy) were restored with `git checkout` and are not part of this PR.

  Related to #2347. The issue stays open for the T7 close-out.

ACKs for top commit:
  da2ce7:
    ACK 30f7419 — the commit records review rounds 4 and 5 in the PR #2363 audit (the F14 row and detail, the Round 4/5 paragraph, three log entries) and the #2347 spec, each checked against the posted reviews and replies
  josecelano:
    ACK 30f7419

Tree-SHA512: d545a11e29defea38b63cd5b4596f323a758c9a42adf1499421827a3af79789006021172abe46ea4b804257182135e019e4bd069d059c1017a0a5cffbb79ba24
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Sep 28, 2026
…th the close-out

The close-out changed the F5, F6, F9 (PR torrust#2300), F8, F10 (PR torrust#2313) and F28, F29 (PR torrust#2320) rows to their resolved states, but the narrative paragraph under each table still described the pre-merge state, saying the fixed findings stay FOLLOW_UP/OPEN until PR torrust#2363 merges. Each paragraph now states the recorded state: PR torrust#2363 merged on 2026-09-28, the fixed findings are FIXED/RESOLVED, the NO_ACTION threads are resolved in the close-out, and the remaining FOLLOW_UP items keep their owners.

Copilot review on the close-out pull request, threads on the three audits.
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Sep 28, 2026
…ing log and fix three log entries

The PR torrust#2363 audit logged round 7 inside the 17:00 merge entry, after the 16:53 entry, although its review and ACK were posted at 16:50, and it had no entry for the dismissal of the four CHANGES_REQUESTED reviews at 16:54 that cleared the last blocking reviews before the merge. Round 7 now has its own 16:50 entry, a 16:54 entry records the dismissals, the 17:00 entry keeps only the merge, and the Round 6 paragraph and the F15 detail follow the same order, so the log is chronological through the close-out.

Three close-out log entries in the PR torrust#2293, torrust#2313 and torrust#2320 audits lose a stray comma and a plural that described a single finding.

Maintainer review on the close-out pull request, findings F2, F3 and F4.
josecelano added a commit that referenced this pull request Sep 30, 2026
2fe98ae chore(issues): [#2298] archive closed issue spec (Jose Celano)

Pull request description:

  Archives the spec for issue #2298 (closed by PR #2385) from `docs/issues/open/` to `docs/issues/closed/`, and completes its close-out.

  - Verified issue #2298 is `CLOSED` on GitHub (closed by the PR #2385 merge).
  - Updated frontmatter: `status: done`, `spec-path`, `related-pr: 2385`, `last-updated-utc`.
  - M4 done: recorded the hosted Container workflow runs (PR run 36710654492 on the self-hosted runner, and the `develop` run) as evidence V6.
  - M2 done: the maintainer accepted the probe run's target-inclusion evidence plus V6's clean full container suite, without another local Docker run.
  - Reconciled acceptance criteria AC1-AC9 with evidence, ticked the workflow checkpoints, and recorded the implementation completion review (no separate retrospective needed).
  - Restored the evidence file's opening frontmatter `---`, which an edit in PR #2385 dropped.
  - Updated live references to the old path: the EPIC #2003 harness-workspace draft, the PR #2385 audit, and the PR #2320 review retrospective.
  - Pre-commit and pre-push hooks passed.

  Related to #2298.

ACKs for top commit:
  josecelano:
    ACK 2fe98ae

Tree-SHA512: 179aa3760fa7ff13c1c542bb4d56fba1332c3e5961b2f4bd770310f7a4b4f78165e2e93c925bfba258da8ffcca35b7049a240e78a6262082b71d80343a78295a
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 6, 2026
…th the close-out

The close-out changed the F5, F6, F9 (PR torrust#2300), F8, F10 (PR torrust#2313) and F28, F29 (PR torrust#2320) rows to their resolved states, but the narrative paragraph under each table still described the pre-merge state, saying the fixed findings stay FOLLOW_UP/OPEN until PR torrust#2363 merges. Each paragraph now states the recorded state: PR torrust#2363 merged on 2026-09-28, the fixed findings are FIXED/RESOLVED, the NO_ACTION threads are resolved in the close-out, and the remaining FOLLOW_UP items keep their owners.

Copilot review on the close-out pull request, threads on the three audits.
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 6, 2026
…ing log and fix three log entries

The PR torrust#2363 audit logged round 7 inside the 17:00 merge entry, after the 16:53 entry, although its review and ACK were posted at 16:50, and it had no entry for the dismissal of the four CHANGES_REQUESTED reviews at 16:54 that cleared the last blocking reviews before the merge. Round 7 now has its own 16:50 entry, a 16:54 entry records the dismissals, the 17:00 entry keeps only the merge, and the Round 6 paragraph and the F15 detail follow the same order, so the log is chronological through the close-out.

Three close-out log entries in the PR torrust#2293, torrust#2313 and torrust#2320 audits lose a stray comma and a plural that described a single finding.

Maintainer review on the close-out pull request, findings F2, F3 and F4.
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 6, 2026
…th the close-out

The close-out changed the F5, F6, F9 (PR torrust#2300), F8, F10 (PR torrust#2313) and F28, F29 (PR torrust#2320) rows to their resolved states, but the narrative paragraph under each table still described the pre-merge state, saying the fixed findings stay FOLLOW_UP/OPEN until PR torrust#2363 merges. Each paragraph now states the recorded state: PR torrust#2363 merged on 2026-09-28, the fixed findings are FIXED/RESOLVED, the NO_ACTION threads are resolved in the close-out, and the remaining FOLLOW_UP items keep their owners.

Copilot review on the close-out pull request, threads on the three audits.
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 6, 2026
…ing log and fix three log entries

The PR torrust#2363 audit logged round 7 inside the 17:00 merge entry, after the 16:53 entry, although its review and ACK were posted at 16:50, and it had no entry for the dismissal of the four CHANGES_REQUESTED reviews at 16:54 that cleared the last blocking reviews before the merge. Round 7 now has its own 16:50 entry, a 16:54 entry records the dismissals, the 17:00 entry keeps only the merge, and the Round 6 paragraph and the F15 detail follow the same order, so the log is chronological through the close-out.

Three close-out log entries in the PR torrust#2293, torrust#2313 and torrust#2320 audits lose a stray comma and a plural that described a single finding.

Maintainer review on the close-out pull request, findings F2, F3 and F4.
da2ce7 added a commit that referenced this pull request Oct 6, 2026
…e of five merged PRs

e233bf8 docs(pr-reviews): [#2347] complete the PR #2363 processing log and fix three log entries (Cameron Garnham)
bfbcf13 docs(pr-reviews): [#2347] align three post-merge narratives with the close-out (Cameron Garnham)
5c6aae4 docs(pr-reviews): [#2347] record the close-out pull request in the PR #2363 audit (Cameron Garnham)
663aad9 docs(pr-reviews): [#2347] close out the post-merge triage of five merged PRs (Cameron Garnham)

Pull request description:

  Closes the loop on the 32 findings posted after PRs #2290, #2293, #2300, #2313, and #2320 merged, now that their follow-up PR #2363 is on `develop`, and records the last review rounds of PR #2363.

  The thread replies and resolutions were the maintainer's (josecelano, 17:07 UTC, and 16:53 UTC for PR #2363 F15); this PR records them.

  **Summary**

  - The 13 findings that PR #2363 fixed are `FIXED`/`RESOLVED` in their audits. Each cites its fixing commit subject, and its Reply URL is the maintainer's T7 reply.
  - The 9 `NO_ACTION` findings are `RESOLVED`, keeping their disposition replies.
  - The 9 `FOLLOW_UP` findings stay `FOLLOW_UP`/`OPEN`. Their disposition replies name the owners: #2360, #2361, #2301, #2278 order 8, and #2362.
  - The PR #2363 audit gains:
    - F15, which this commit fixes, with the maintainer's reply as its Reply URL;
    - the Round 6 paragraph;
    - Processing Log entries for rounds 6-7, the merge and this close-out;
    - the maintainer's post-merge approval for recording F15 (#2347 (comment)) as its approval reference.
  - The #2347 spec marks T6 and T7 `DONE` and AC4 `DONE`, and records M2.

  **Files touched**

  - `docs/pr-reviews/pr-2290-review/PR-REVIEW.md`
  - `docs/pr-reviews/pr-2293-review/PR-REVIEW.md`
  - `docs/pr-reviews/pr-2300-review/PR-REVIEW.md`
  - `docs/pr-reviews/pr-2313-review/PR-REVIEW.md`
  - `docs/pr-reviews/pr-2320-review/PR-REVIEW.md`
  - `docs/pr-reviews/pr-2363-review/PR-REVIEW.md`
  - `docs/issues/open/2347-2003-triage-post-merge-review-findings/ISSUE.md`
  - `docs/issues/open/2347-2003-triage-post-merge-review-findings/manual-verification-evidence.md`

  **Validation**

  - Pre-commit profile on the compute hub at this head, base `develop` `bc90cde1b`: `pre-commit.sh --format=json` status `pass`, exit 0, 74 s; `clippy-allow-reasons --base-ref bc90cde` exit 0; worktree unchanged after the run (2026-09-28 17:41 UTC).
  - `frontmatter-validator --all` at this head: exit 1 with exactly the counts `develop` has (35 `legacy-shape` errors and 4 warnings on unrelated closed specs) and no record for the #2347 folder or any audit this PR edits.
  - `validate-audit-record.py`, run offline against thread captures of 2026-09-28 17:19 UTC: #2290 exit 0 (7 rows), #2293 exit 0 (8), #2300 exit 0 (12), #2313 exit 0 (10), #2320 exit 0 (29); #2363 parsed 15 rows and reported only F15's resolution reference, which is this PR's own commit subject and resolves on this branch. The source-review check needs review ids the captures do not carry, so the maintainer's run with `gh` is the one of record.
  - M2 (GraphQL `reviewThreads`, 2026-09-28 17:19 UTC): #2290 10 threads, 1 unresolved (F4, #2360); #2293 16, 2 (F1, #2361; F5, #2301); #2300 12, 1 (F10, #2278 order 8); #2313 10, 5 (F4, F5, F6, F7, F9, #2362); #2320 29, 0; #2363 15, 0. The unresolved set is exactly the 9 `FOLLOW_UP` threads.

  Related to #2347. Closing #2347 and archiving its spec follow as a separate step: `cleanup-completed-issues` archives only the spec of an issue that is closed.

ACKs for top commit:
  da2ce7:
    ACK e233bf8 — the four close-out commits rebased onto develop at 693162b unchanged (range-diff four `=` against the previous tip, which was itself four `=` against the tip the maintainer ACKed), the six review threads answered and resolved, the one open thread (the commit-policy wording) answered as intentional

Tree-SHA512: 6f407ef2bf216f52153a931c44642d8302399f06c88fc4a39982563357a2d66a94f9a677643048340c6f62b6a7333420c26263eb8600154e632a577d86142d9a
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Oct 8, 2026
…rule exists

No skill or template derives log stamps from events; the torrust#2320 retrospective proposed it for audits (item 10) and it was not adopted.
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Oct 8, 2026
…rule exists

No skill or template derives log stamps from events; the torrust#2320 retrospective proposed it for audits (item 10) and it was not adopted.
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.

This branch was previously deployed

1 inactive deployment
coverage — 5dca9410 Deployed Sep 24, 2026 by josecelano via Generate Coverage Report #2297
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.

Preserve request order in UDP scrape responses (BEP 15)

3 participants