From 0bbf668c3a31df575cc8b7e1ac47d69f604510f2 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 13:24:37 +0000 Subject: [PATCH 1/5] docs(templates): quote last-updated-utc in the evidence and refactor-plan templates The issue and EPIC templates already write the stamp as a double-quoted string, which the frontmatter validator requires for those specs. The manual verification evidence and refactor plan templates still wrote it unquoted, which YAML tooling can read as a date. Raised by a review of PR #2942. Co-Authored-By: Claude Opus 5.5 --- docs/templates/MANUAL-VERIFICATION-EVIDENCE.md | 2 +- docs/templates/REFACTOR-PLAN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/templates/MANUAL-VERIFICATION-EVIDENCE.md b/docs/templates/MANUAL-VERIFICATION-EVIDENCE.md index 71b4a5cd71..0f1920376e 100644 --- a/docs/templates/MANUAL-VERIFICATION-EVIDENCE.md +++ b/docs/templates/MANUAL-VERIFICATION-EVIDENCE.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/{number}-{short-description}/ISSUE.md -last-updated-utc: YYYY-MM-DD HH:MM +last-updated-utc: "YYYY-MM-DD HH:MM" --- # Manual Verification Evidence diff --git a/docs/templates/REFACTOR-PLAN.md b/docs/templates/REFACTOR-PLAN.md index c05b711006..bcb7f0ae07 100644 --- a/docs/templates/REFACTOR-PLAN.md +++ b/docs/templates/REFACTOR-PLAN.md @@ -3,7 +3,7 @@ doc-type: refactor-plan status: draft related-issue: null spec-path: docs/refactor-plans/drafts/{short-description}/REFACTOR-PLAN.md -last-updated-utc: YYYY-MM-DD HH:MM +last-updated-utc: "YYYY-MM-DD HH:MM" semantic-links: skill-links: - create-refactor-plan From 2fefd9672d457292c8d73746d7580d3c42b1631e Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 13:25:11 +0000 Subject: [PATCH 2/5] docs(issues): quote last-updated-utc in the open manual verification evidence files Six open evidence files copied the unquoted stamp from the template. The values are unchanged; only the quoting is added. Co-Authored-By: Claude Opus 5.5 --- .../manual-verification-evidence.md | 2 +- .../manual-verification-evidence.md | 2 +- .../manual-verification-evidence.md | 2 +- .../manual-verification-evidence.md | 2 +- .../manual-verification-evidence.md | 2 +- .../2769-2758-e2e-runners-json/manual-verification-evidence.md | 2 +- .../manual-verification-evidence.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/issues/open/2361-1347-package-coverage-summary-discovery-failure/manual-verification-evidence.md b/docs/issues/open/2361-1347-package-coverage-summary-discovery-failure/manual-verification-evidence.md index 2765ef4e17..3790395f9a 100644 --- a/docs/issues/open/2361-1347-package-coverage-summary-discovery-failure/manual-verification-evidence.md +++ b/docs/issues/open/2361-1347-package-coverage-summary-discovery-failure/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2361-1347-package-coverage-summary-discovery-failure/ISSUE.md -last-updated-utc: 2026-09-28 10:00 +last-updated-utc: "2026-09-28 10:00" --- # Manual Verification Evidence diff --git a/docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/manual-verification-evidence.md b/docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/manual-verification-evidence.md index 52996c4fe4..5a59be3af6 100644 --- a/docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/manual-verification-evidence.md +++ b/docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2499-stabilize-trivy-code-scanning-alert-identity/ISSUE.md -last-updated-utc: 2026-10-08 18:58 +last-updated-utc: "2026-10-08 18:58" --- diff --git a/docs/issues/open/2763-2758-dev-tool-checks-ndjson/manual-verification-evidence.md b/docs/issues/open/2763-2758-dev-tool-checks-ndjson/manual-verification-evidence.md index 863822956a..6cf475ab4b 100644 --- a/docs/issues/open/2763-2758-dev-tool-checks-ndjson/manual-verification-evidence.md +++ b/docs/issues/open/2763-2758-dev-tool-checks-ndjson/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2763-2758-dev-tool-checks-ndjson/ISSUE.md -last-updated-utc: 2026-11-09 12:12 +last-updated-utc: "2026-11-09 12:12" --- # Manual Verification Evidence diff --git a/docs/issues/open/2766-2758-daemon-json-logging/manual-verification-evidence.md b/docs/issues/open/2766-2758-daemon-json-logging/manual-verification-evidence.md index 411948b855..5b9625cd6b 100644 --- a/docs/issues/open/2766-2758-daemon-json-logging/manual-verification-evidence.md +++ b/docs/issues/open/2766-2758-daemon-json-logging/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2766-2758-daemon-json-logging/ISSUE.md -last-updated-utc: 2026-11-09 12:12 +last-updated-utc: "2026-11-09 12:12" --- # Manual Verification Evidence diff --git a/docs/issues/open/2768-2758-tracker-client-json-only/manual-verification-evidence.md b/docs/issues/open/2768-2758-tracker-client-json-only/manual-verification-evidence.md index 1a2a70e452..a6585f06f8 100644 --- a/docs/issues/open/2768-2758-tracker-client-json-only/manual-verification-evidence.md +++ b/docs/issues/open/2768-2758-tracker-client-json-only/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2768-2758-tracker-client-json-only/ISSUE.md -last-updated-utc: 2026-11-09 13:21 +last-updated-utc: "2026-11-09 13:21" --- # Manual Verification Evidence diff --git a/docs/issues/open/2769-2758-e2e-runners-json/manual-verification-evidence.md b/docs/issues/open/2769-2758-e2e-runners-json/manual-verification-evidence.md index 9e4ed6f6f8..a5ede489bb 100644 --- a/docs/issues/open/2769-2758-e2e-runners-json/manual-verification-evidence.md +++ b/docs/issues/open/2769-2758-e2e-runners-json/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2769-2758-e2e-runners-json/ISSUE.md -last-updated-utc: 2026-11-09 12:12 +last-updated-utc: "2026-11-09 12:12" --- # Manual Verification Evidence diff --git a/docs/issues/open/2798-peer-ord-inconsistent-with-eq/manual-verification-evidence.md b/docs/issues/open/2798-peer-ord-inconsistent-with-eq/manual-verification-evidence.md index f9a9c37950..140b900c4d 100644 --- a/docs/issues/open/2798-peer-ord-inconsistent-with-eq/manual-verification-evidence.md +++ b/docs/issues/open/2798-peer-ord-inconsistent-with-eq/manual-verification-evidence.md @@ -1,7 +1,7 @@ --- doc-type: manual-verification-evidence issue-spec: docs/issues/open/2798-peer-ord-inconsistent-with-eq/ISSUE.md -last-updated-utc: 2026-11-10 17:46 +last-updated-utc: "2026-11-10 17:46" --- # Manual Verification Evidence From 78a8e7af96ac98780981d127374b39cf6d0842c8 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 14:09:09 +0000 Subject: [PATCH 3/5] docs(pr-reviews): record round 1 in the review audit of PR #2945 Creates the audit record of this pull request with da2ce7's three findings: F1 declined (no history rewrite), F2 and F3 fixed in the description. Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2945-review/PR-REVIEW.md | 120 ++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 docs/pr-reviews/pr-2945-review/PR-REVIEW.md diff --git a/docs/pr-reviews/pr-2945-review/PR-REVIEW.md b/docs/pr-reviews/pr-2945-review/PR-REVIEW.md new file mode 100644 index 0000000000..60fa3b6747 --- /dev/null +++ b/docs/pr-reviews/pr-2945-review/PR-REVIEW.md @@ -0,0 +1,120 @@ +--- +pr-number: 2945 +pr-url: https://github.com/torrust/torrust-tracker/pull/2945 +last-updated-utc: "2026-11-18 14:08" +--- + + + +# PR #2945 Review Audit + +Source: pull-request reviews and inline review threads for https://github.com/torrust/torrust-tracker/pull/2945. + + + +## 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 + +Round 1 is the approving review `5958194168` of `da2ce7` (F1 to F3, reviewer-provided IDs) on the first head; Copilot's +review `5957852837` on the same head recommends approval with no findings and has no row. + +| Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | +| ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | +| F1 | `review-finding:pr-2945-f1` | Human | Minor | documentation | ORIGINAL | NO_ACTION | SUPERSEDED | +| F2 | `review-finding:pr-2945-f2` | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F3 | `review-finding:pr-2945-f3` | Human | Nit | correctness | ORIGINAL | FIXED | RESOLVED | + +## Finding Details + +### F1 - The body of the second commit says six files; the commit changes seven + +- PR number: 2945 +- Source review ID: 5958194168 +- Reviewer finding ID: F1 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615228599 +- Concern: The body of `docs(issues): quote last-updated-utc in the open manual verification evidence files` says six open evidence files; its diff changes seven. +- Solution: No change. Rewording it would rewrite a pushed commit, and the repository keeps intermediate commits unchanged; the reviewer says the rewording is allowed, not required. The description already gives the right count, and the merge commit copies the description. +- Current-tree verification: `git show --stat` on that commit lists seven `manual-verification-evidence.md` files; the description says seven and names the wrong count in the commit body. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615258194 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615258194 + +### F2 - The not-changed list of the description is stale after pull request 2942 merged + +- PR number: 2945 +- Source review ID: 5958194168 +- Reviewer finding ID: F2 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615228621 +- Concern: The description said the evidence file of #2904 was not merged yet and that the validation grep lists three files; #2942 has merged, so on the merged tree the grep lists two. +- Solution: The description now says #2942 quoted that file and merged, and the Validation line says what the grep prints on `develop` at `4497837e6` and which two files remain after the merge. +- Current-tree verification: `git grep -n "^last-updated-utc: [0-9Y]" torrust/develop -- docs/templates docs/issues/open` at `4497837e6` prints the nine files this pull request changes and the #269 spec and #1347 guidelines page. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2945#issuecomment-6980964067 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615258794 + +### F3 - The YAML-date reason does not hold for the `HH:MM` form + +- PR number: 2945 +- Source review ID: 5958194168 +- Reviewer finding ID: F3 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615228637 +- Concern: A YAML 1.1 timestamp needs seconds and the YAML 1.2 core schema has no timestamp type, so `2026-09-28 10:00` parses as the same string with or without quotes; only a date-only value becomes a date. +- Solution: The description drops the date reason, gives the remaining one (one form across the templates, the form the validator requires for issue and EPIC specs), and says the commit bodies give the wrong reason; the commits are not rewritten. +- Current-tree verification: PyYAML `safe_load` reads `2026-09-28 10:00` as `str`, `2026-09-28 10:00:00` as `datetime` and `2026-09-14` as `date`. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2945#issuecomment-6980964067 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615259371 + +## Processing Log + +- 2026-11-18 14:08 UTC - Started audit, before the replies of round 1. +- 2026-11-18 14:08 UTC - Round 1: the approving review `5958194168` of `da2ce7` (submitted 14:06:06Z, forge `submitted_at`) with three findings. No commit was needed: F1 is `NO_ACTION` (no history rewrite), and F2 and F3 are fixed in the description. The conversation response for F2 and F3 and the three replies were posted between 14:08:11Z and 14:08:18Z (forge `created_at`). `validate-audit-record.py --pr-number 2945 --base torrust/develop`, with its `gh` calls made through `gh-bot`, exited 0 (3 rows, 0 failures) at 14:08:33Z (`date -u`); the three threads were then resolved by their thread IDs by 14:08:43Z. + + + +## 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. From 3166721e2191f870d2765a93666236d002564fbe Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 14:28:25 +0000 Subject: [PATCH 4/5] docs(pr-reviews): say which commit body gives the date reason in the review audit of PR #2945 Only the first commit's body gives the YAML-date reason; the Solution of F3 said the commit bodies. Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2945-review/PR-REVIEW.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pr-reviews/pr-2945-review/PR-REVIEW.md b/docs/pr-reviews/pr-2945-review/PR-REVIEW.md index 60fa3b6747..6a795eec79 100644 --- a/docs/pr-reviews/pr-2945-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2945-review/PR-REVIEW.md @@ -1,7 +1,7 @@ --- pr-number: 2945 pr-url: https://github.com/torrust/torrust-tracker/pull/2945 -last-updated-utc: "2026-11-18 14:08" +last-updated-utc: "2026-11-18 14:28" --- @@ -87,7 +87,7 @@ review `5957852837` on the same head recommends approval with no findings and ha - Reviewer finding ID: F3 - Source URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615228637 - Concern: A YAML 1.1 timestamp needs seconds and the YAML 1.2 core schema has no timestamp type, so `2026-09-28 10:00` parses as the same string with or without quotes; only a date-only value becomes a date. -- Solution: The description drops the date reason, gives the remaining one (one form across the templates, the form the validator requires for issue and EPIC specs), and says the commit bodies give the wrong reason; the commits are not rewritten. +- Solution: The description drops the date reason, gives the remaining one (one form across the templates, the form the validator requires for issue and EPIC specs), and says the body of the first commit gives the wrong reason; the commits are not rewritten. - Current-tree verification: PyYAML `safe_load` reads `2026-09-28 10:00` as `str`, `2026-09-28 10:00:00` as `datetime` and `2026-09-14` as `date`. - Resolution reference: https://github.com/torrust/torrust-tracker/pull/2945#issuecomment-6980964067 - Follow-up PR URL: N/A From aedeb35e4aa6b568055003bbfe7bd5b5d38d9d7f Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Wed, 18 Nov 2026 14:35:40 +0000 Subject: [PATCH 5/5] docs(pr-reviews): record round 2 in the review audit of PR #2945 Records da2ce7's nit F7, its fix, the rejected first push, the reply, validation and resolution. Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2945-review/PR-REVIEW.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2945-review/PR-REVIEW.md b/docs/pr-reviews/pr-2945-review/PR-REVIEW.md index 6a795eec79..9e34f74b63 100644 --- a/docs/pr-reviews/pr-2945-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2945-review/PR-REVIEW.md @@ -1,7 +1,7 @@ --- pr-number: 2945 pr-url: https://github.com/torrust/torrust-tracker/pull/2945 -last-updated-utc: "2026-11-18 14:28" +last-updated-utc: "2026-11-18 14:35" --- @@ -45,12 +45,15 @@ deliver findings through GitHub and have no repository-artifact obligation. Round 1 is the approving review `5958194168` of `da2ce7` (F1 to F3, reviewer-provided IDs) on the first head; Copilot's review `5957852837` on the same head recommends approval with no findings and has no row. +Round 2 is the approving review `5958423982` of `da2ce7` (F7, reviewer-provided ID) on the head that carried the round 1 +audit. | Finding ID | Review finding reference | Author class | Severity | Category | Relationship | Disposition | Thread state | | ---------- | ------------------------ | ------------ | -------- | -------- | ------------ | ----------- | ------------ | | F1 | `review-finding:pr-2945-f1` | Human | Minor | documentation | ORIGINAL | NO_ACTION | SUPERSEDED | | F2 | `review-finding:pr-2945-f2` | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | | F3 | `review-finding:pr-2945-f3` | Human | Nit | correctness | ORIGINAL | FIXED | RESOLVED | +| F7 | `review-finding:pr-2945-f7` | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | ## Finding Details @@ -93,10 +96,24 @@ review `5957852837` on the same head recommends approval with no findings and ha - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615259371 +### F7 - Only the first commit's body gives the date reason + +- PR number: 2945 +- Source review ID: 5958423982 +- Reviewer finding ID: F7 +- Source URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615425134 +- Concern: The Solution of F3 and the description said "the commit bodies" give the date reason; only the body of `docs(templates): quote last-updated-utc in the evidence and refactor-plan templates` does. +- Solution: Both now say the body of the first commit. +- Current-tree verification: `git log --format=%b` over the two commits shows the date reason only in the first; the description and the Solution of F3 say so. +- Resolution reference: `docs(pr-reviews): say which commit body gives the date reason in the review audit of PR #2945` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2945#discussion_r4615640781 + ## Processing Log - 2026-11-18 14:08 UTC - Started audit, before the replies of round 1. - 2026-11-18 14:08 UTC - Round 1: the approving review `5958194168` of `da2ce7` (submitted 14:06:06Z, forge `submitted_at`) with three findings. No commit was needed: F1 is `NO_ACTION` (no history rewrite), and F2 and F3 are fixed in the description. The conversation response for F2 and F3 and the three replies were posted between 14:08:11Z and 14:08:18Z (forge `created_at`). `validate-audit-record.py --pr-number 2945 --base torrust/develop`, with its `gh` calls made through `gh-bot`, exited 0 (3 rows, 0 failures) at 14:08:33Z (`date -u`); the three threads were then resolved by their thread IDs by 14:08:43Z. +- 2026-11-18 14:35 UTC - Round 2: the approving review `5958423982` of `da2ce7` (submitted 14:20:14Z, forge `submitted_at`) with one nit, recorded as F7. The description was edited, and the audit fix was committed at 14:28:25Z (`git log --format=%cI`, in UTC). The first push was rejected by the pre-push hook: the test `metrics-fixed-ports` could not bind its fixed UDP port (address in use), unrelated to this documentation change. The retry passed; `git ls-remote` showed the fork branch at the local head at 14:34:47Z (`date -u`). The reply was posted at 14:35:03Z (forge `created_at`), after the push. `validate-audit-record.py --pr-number 2945 --base torrust/develop`, with its `gh` calls made through `gh-bot`, exited 0 (4 rows, 0 failures) at 14:35:17Z; the thread of F7 was then resolved by its thread ID at 14:35:20Z.