From 0c98ec642ec67f6d017d026ca7760bb999ff66a6 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 17:03:00 +0000 Subject: [PATCH 01/14] docs(issues): [#2912] add the EPIC and sub-issue specifications to remove source locations from errors Move the approved EPIC draft and its six sub-issue drafts from docs/issues/drafts/ to docs/issues/open/ with their GitHub numbers (#2912 to #2918), record the maintainer's decisions (remove the field, keep the title of #384, one session at a time, Opus 5.5 for sub-issue sessions), link #384 as SI-7, and repair the live references to the draft paths. Co-Authored-By: Claude Opus 5.5 --- .../ISSUE.md | 4 +- .../ISSUE.md | 2 +- .../EPIC.md | 55 ++++++++++++------- .../ISSUE.md | 23 ++++---- .../2914-2912-si-2-primitives}/ISSUE.md | 23 ++++---- .../ISSUE.md | 23 ++++---- .../2916-2912-si-4-tracker-core}/ISSUE.md | 23 ++++---- .../ISSUE.md | 30 +++++----- .../ISSUE.md | 23 ++++---- .../ISSUE.md | 11 ++-- 10 files changed, 114 insertions(+), 103 deletions(-) rename docs/issues/{drafts/remove-source-locations-from-errors => open/2912-remove-source-locations-from-errors}/EPIC.md (75%) rename docs/issues/{drafts/error-locations-si-1-adr-errors-do-not-record-source-locations => open/2913-2912-si-1-adr-errors-do-not-record-source-locations}/ISSUE.md (93%) rename docs/issues/{drafts/error-locations-si-2-primitives => open/2914-2912-si-2-primitives}/ISSUE.md (94%) rename docs/issues/{drafts/error-locations-si-3-http-tracker-request-errors => open/2915-2912-si-3-http-tracker-request-errors}/ISSUE.md (95%) rename docs/issues/{drafts/error-locations-si-4-tracker-core => open/2916-2912-si-4-tracker-core}/ISSUE.md (95%) rename docs/issues/{drafts/error-locations-si-5-startup-and-udp-server-errors => open/2917-2912-si-5-startup-and-udp-server-errors}/ISSUE.md (93%) rename docs/issues/{drafts/error-locations-si-6-drop-located-error-and-enforce-the-rule => open/2918-2912-si-6-drop-located-error-and-enforce-the-rule}/ISSUE.md (94%) diff --git a/docs/issues/closed/2850-non-negative-number-of-bytes/ISSUE.md b/docs/issues/closed/2850-non-negative-number-of-bytes/ISSUE.md index 0c42e00603..5c627cfef3 100644 --- a/docs/issues/closed/2850-non-negative-number-of-bytes/ISSUE.md +++ b/docs/issues/closed/2850-non-negative-number-of-bytes/ISSUE.md @@ -56,7 +56,7 @@ semantic-links: - docs/issues/closed/2454-1669-mark-public-error-enums-non-exhaustive/ISSUE.md - docs/issues/closed/2245-2243-review-numeric-protocol-wire-conversions/ISSUE.md - docs/issues/drafts/generalize-error-events/EPIC.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md --- @@ -538,7 +538,7 @@ The frontmatter keeps `epic: null`. - Hiding the wrapped errors of `UdpAnnounceError` behind an opaque source (D3). - An ADR for the maintainer's general rules on error exposure and propagation (D3, follow-up). - The `location` field of the error variants touched here; that is the EPIC drafted in - `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md`. + `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md`. - The console `tracker-client`. Its UDP commands build wire requests, whose type does not change, and its HTTP commands already pass a `u64` to the builder. diff --git a/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md b/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md index f630a0ee31..00d8cf0dba 100644 --- a/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md +++ b/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md @@ -217,7 +217,7 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. After T4 the maintainer proposed to remove source locations from errors altogether, instead of the options compared in `options.md`. The work is then larger than this issue and cuts across the workspace, so the fix tasks that this plan listed as T6 to T9 are not done here. They are planned in -the EPIC draft `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md`: +the EPIC draft `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md`: | Former task | Now in | | --- | --- | diff --git a/docs/issues/drafts/remove-source-locations-from-errors/EPIC.md b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md similarity index 75% rename from docs/issues/drafts/remove-source-locations-from-errors/EPIC.md rename to docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md index ab86cc21c5..eab1423ff3 100644 --- a/docs/issues/drafts/remove-source-locations-from-errors/EPIC.md +++ b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md @@ -1,12 +1,12 @@ --- schema-version: 1 doc-type: epic -status: draft +status: planned epic: null -github-issue: null -spec-path: docs/issues/drafts/remove-source-locations-from-errors/EPIC.md +github-issue: 2912 +spec-path: docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md epic-owner: null -last-updated-utc: "2026-11-11 17:04" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue @@ -21,7 +21,7 @@ semantic-links: -# EPIC #[To be assigned] - Remove source locations from errors +# EPIC #2912 - Remove source locations from errors ## Goal @@ -59,8 +59,24 @@ What the feature gives, a file and line for a developer, is available on the ser events, which record the file and line of the log call. The four options the audit compared are in `options.md`. This EPIC implements the removal of the -field (its option 4) together with the context-instead-of-location rule (option 3). That choice is -**proposed** here and is confirmed by the review of this specification and by the ADR of SI-1. +field (its option 4) together with the context-instead-of-location rule (option 3). The maintainer +chose option 4 over option 3 (keep the field, strip it from `Display` only) on 2026-11-17; the ADR of +SI-1 records the decision. + +## Maintainer Decisions + +Recorded 2026-11-17 by the EPIC coordinator session: + +1. **Remove the field (option 4).** Error types lose their `location` field, no non-test code calls + `Location::caller()`, and the workspace drops `torrust-located-error`. Stripping the location from + `Display` only (option 3) was rejected: the recorded value is wrong at every production site, so + keeping it keeps a misleading `Debug` and log value. +2. **#384 keeps its title.** It is linked as SI-7 and gets a comment that explains the new scope + (removal instead of an option); it closes after the recheck. +3. **One sub-issue session at a time.** SI-1, then SI-2, SI-3, SI-4, SI-5 and SI-6 in that order, + each started only after the maintainer's go. The parallel order in Delivery Strategy is what the + work allows, not the plan. +4. **Model for sub-issue sessions:** Claude Opus 5.5 at default effort. ## Scope @@ -91,18 +107,17 @@ field (its option 4) together with the context-instead-of-location rule (option Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. -No GitHub issue exists yet for SI-1 to SI-6; the maintainer creates them after this specification is -reviewed. Their drafts cannot carry the EPIC number, which does not exist yet, so they share the -`error-locations-si-` prefix instead. +SI-1 to SI-6 are issues #2913 to #2918, created by `josecelano-bot` on 2026-11-17. SI-7 is the +existing issue #384. | Order | Issue | Local Spec | Status | Notes | | --- | --- | --- | --- | --- | -| 1 | #[To be assigned] - SI-1 Record the decision that errors do not record source locations | `docs/issues/drafts/error-locations-si-1-adr-errors-do-not-record-source-locations/ISSUE.md` | TODO | First. Every code sub-issue waits for it | -| 2 | #[To be assigned] - SI-2 Remove source locations from the errors of `torrust-tracker-primitives` | `docs/issues/drafts/error-locations-si-2-primitives/ISSUE.md` | TODO | After SI-1. Closes finding F3 of the primitives test work (EPIC #1347). Must land before `primitives` 4.0.0 is published | -| 3 | #[To be assigned] - SI-3 Remove source locations from the HTTP tracker request errors | `docs/issues/drafts/error-locations-si-3-http-tracker-request-errors/ISSUE.md` | TODO | After SI-1. `http-protocol` and the `axum-http-server` extractors. Largest client-visible exposure | -| 4 | #[To be assigned] - SI-4 Remove source locations from the errors of `torrust-tracker-core` | `docs/issues/drafts/error-locations-si-4-tracker-core/ISSUE.md` | TODO | After SI-1; after SI-3 if not run in parallel, because both touch `http-core` tests. Largest diff | -| 5 | #[To be assigned] - SI-5 Remove source locations from the configuration, TLS and UDP server errors | `docs/issues/drafts/error-locations-si-5-startup-and-udp-server-errors/ISSUE.md` | TODO | After SI-1. Must land before `configuration` 4.0.0 is published | -| 6 | #[To be assigned] - SI-6 Drop `torrust-located-error` from the workspace and enforce the rule | `docs/issues/drafts/error-locations-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md` | TODO | After SI-2 to SI-5 | +| 1 | #2913 - SI-1 Record the decision that errors do not record source locations | `docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md` | TODO | First. Every code sub-issue waits for it | +| 2 | #2914 - SI-2 Remove source locations from the errors of `torrust-tracker-primitives` | `docs/issues/open/2914-2912-si-2-primitives/ISSUE.md` | TODO | After SI-1. Closes finding F3 of the primitives test work (EPIC #1347). Must land before `primitives` 4.0.0 is published | +| 3 | #2915 - SI-3 Remove source locations from the HTTP tracker request errors | `docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md` | TODO | After SI-1. `http-protocol` and the `axum-http-server` extractors. Largest client-visible exposure | +| 4 | #2916 - SI-4 Remove source locations from the errors of `torrust-tracker-core` | `docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md` | TODO | After SI-1; after SI-3 if not run in parallel, because both touch `http-core` tests. Largest diff | +| 5 | #2917 - SI-5 Remove source locations from the configuration, TLS and UDP server errors | `docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md` | TODO | After SI-1. Must land before `configuration` 4.0.0 is published | +| 6 | #2918 - SI-6 Drop `torrust-located-error` from the workspace and enforce the rule | `docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md` | TODO | After SI-2 to SI-5 | | 7 | #384 - Make Option to Strip Location from Errors sent to Clients | `docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md` | TODO | Existing issue. Its baseline reproduction can start at once; its recheck waits for SI-2 to SI-6 | ### External follow-ups (other repositories) @@ -158,9 +173,9 @@ For each subissue implementation in this EPIC, the default completion policy is: ### Workflow Checkpoints - [x] Epic spec drafted in `docs/issues/drafts/` -- [ ] Epic spec reviewed and approved by user/maintainer -- [ ] GitHub epic issue created and issue number added to this spec -- [ ] Subissues created and linked in this spec +- [x] Epic spec reviewed and approved by user/maintainer +- [x] GitHub epic issue created and issue number added to this spec +- [x] Subissues created and linked in this spec - [ ] Subissue statuses kept up to date in the `Subissues` table - [ ] For each implemented subissue: automatic checks completed and recorded - [ ] For each implemented subissue: manual verification completed and recorded @@ -176,6 +191,8 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:03 UTC - Claude Code (Fable 5.2) - Drafted the EPIC, six sub-issue drafts and the specification for #384 from the audit of issue #2804, after the maintainer proposed to remove the feature. Not approved; no GitHub issue created. +- 2026-11-17 16:45 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator recorded the maintainer's decisions (remove the field; keep #384's title; one session at a time; Opus 5.5 for sub-issue sessions). +- 2026-11-17 17:01 UTC - Claude Code (Claude Opus 5.5) - Maintainer approved the specification. Created EPIC #2912 and sub-issues #2913 to #2918 as `josecelano-bot`, commented on #384, and moved the specification and the six sub-issue specifications from `docs/issues/drafts/` to `docs/issues/open/`. GitHub sub-issue links wait for the maintainer (the bot account cannot add them). ## Acceptance Criteria diff --git a/docs/issues/drafts/error-locations-si-1-adr-errors-do-not-record-source-locations/ISSUE.md b/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md similarity index 93% rename from docs/issues/drafts/error-locations-si-1-adr-errors-do-not-record-source-locations/ISSUE.md rename to docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md index 3413ca2dff..fef4b1a7ef 100644 --- a/docs/issues/drafts/error-locations-si-1-adr-errors-do-not-record-source-locations/ISSUE.md +++ b/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md @@ -2,21 +2,21 @@ schema-version: 1 doc-type: issue issue-type: task -status: draft +status: planned priority: p1 -epic: null -github-issue: null -spec-path: docs/issues/drafts/error-locations-si-1-adr-errors-do-not-record-source-locations/ISSUE.md -branch: "{issue-number}-error-locations-si-1-adr-errors-do-not-record-source-locations" +epic: 2912 +github-issue: 2913 +spec-path: docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md +branch: "2913-adr-errors-do-not-record-source-locations" related-pr: null -last-updated-utc: "2026-11-11 17:39" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue related-artifacts: - .claude/skills/fix-bug/SKILL.md - .claude/skills/create-issue/SKILL.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md - docs/issues/open/2804-location-caller-track-caller-audit/inventory.md - .claude/skills/handle-errors-in-code/SKILL.md - .claude/skills/create-adr/SKILL.md @@ -24,10 +24,9 @@ semantic-links: -# Issue #[To be assigned] - Record the decision that errors do not record source locations +# Issue #2913 - Record the decision that errors do not record source locations -Parent EPIC: [Remove source locations from errors](../remove-source-locations-from-errors/EPIC.md) (draft, GitHub issue not -created yet, so `epic` is `null` and this folder carries no EPIC number). Sub-issue SI-1 of the EPIC. +Parent EPIC: [Remove source locations from errors](../2912-remove-source-locations-from-errors/EPIC.md) (#2912). Sub-issue SI-1 of the EPIC. ## Goal @@ -144,7 +143,7 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/drafts/error-locations-si-1-adr-errors-do-not-record-source-locations/ISSUE.md` +- [x] Folder-style spec drafted in `docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md` - [ ] Spec reviewed and approved by user/maintainer - [ ] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation @@ -264,6 +263,6 @@ findings, and reusable lessons. ## References -- Parent EPIC draft: `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md` +- Parent EPIC: #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` - Audit: `docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md`, `inventory.md`, `options.md`, `experiments.md` (issue #2804) - Related issues: #2804 (audit), #384 (external report), #2583 (first publish of the workspace crates) diff --git a/docs/issues/drafts/error-locations-si-2-primitives/ISSUE.md b/docs/issues/open/2914-2912-si-2-primitives/ISSUE.md similarity index 94% rename from docs/issues/drafts/error-locations-si-2-primitives/ISSUE.md rename to docs/issues/open/2914-2912-si-2-primitives/ISSUE.md index 7f0dac3a1f..162f2f94d5 100644 --- a/docs/issues/drafts/error-locations-si-2-primitives/ISSUE.md +++ b/docs/issues/open/2914-2912-si-2-primitives/ISSUE.md @@ -2,31 +2,30 @@ schema-version: 1 doc-type: issue issue-type: bug -status: draft +status: planned priority: p2 -epic: null -github-issue: null -spec-path: docs/issues/drafts/error-locations-si-2-primitives/ISSUE.md -branch: "{issue-number}-error-locations-si-2-primitives" +epic: 2912 +github-issue: 2914 +spec-path: docs/issues/open/2914-2912-si-2-primitives/ISSUE.md +branch: "2914-primitives" related-pr: null -last-updated-utc: "2026-11-15 21:07" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue related-artifacts: - .claude/skills/fix-bug/SKILL.md - .claude/skills/create-issue/SKILL.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md - docs/issues/open/2804-location-caller-track-caller-audit/inventory.md - packages/primitives/src/peer.rs --- -# Issue #[To be assigned] - Remove source locations from the errors of `torrust-tracker-primitives` +# Issue #2914 - Remove source locations from the errors of `torrust-tracker-primitives` -Parent EPIC: [Remove source locations from errors](../remove-source-locations-from-errors/EPIC.md) (draft, GitHub issue not -created yet, so `epic` is `null` and this folder carries no EPIC number). Sub-issue SI-2 of the EPIC. +Parent EPIC: [Remove source locations from errors](../2912-remove-source-locations-from-errors/EPIC.md) (#2912). Sub-issue SI-2 of the EPIC. ## Goal @@ -152,7 +151,7 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/drafts/error-locations-si-2-primitives/ISSUE.md` +- [x] Folder-style spec drafted in `docs/issues/open/2914-2912-si-2-primitives/ISSUE.md` - [ ] Spec reviewed and approved by user/maintainer - [ ] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation @@ -275,7 +274,7 @@ findings, and reusable lessons. ## References -- Parent EPIC draft: `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md` +- Parent EPIC: #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` - Audit: `docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md`, `inventory.md`, `options.md`, `experiments.md` (issue #2804) - Related issues: #2804 (audit), #384 (external report), #2583 (first publish of the workspace crates) - Reporting work: `docs/issues/closed/2824-1347-add-tests-primitives/` (EPIC #1347) diff --git a/docs/issues/drafts/error-locations-si-3-http-tracker-request-errors/ISSUE.md b/docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md similarity index 95% rename from docs/issues/drafts/error-locations-si-3-http-tracker-request-errors/ISSUE.md rename to docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md index bca5bd96d1..a169c16968 100644 --- a/docs/issues/drafts/error-locations-si-3-http-tracker-request-errors/ISSUE.md +++ b/docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md @@ -2,21 +2,21 @@ schema-version: 1 doc-type: issue issue-type: bug -status: draft +status: planned priority: p1 -epic: null -github-issue: null -spec-path: docs/issues/drafts/error-locations-si-3-http-tracker-request-errors/ISSUE.md -branch: "{issue-number}-error-locations-si-3-http-tracker-request-errors" +epic: 2912 +github-issue: 2915 +spec-path: docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md +branch: "2915-http-tracker-request-errors" related-pr: null -last-updated-utc: "2026-11-16 08:34" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue related-artifacts: - .claude/skills/fix-bug/SKILL.md - .claude/skills/create-issue/SKILL.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md - docs/issues/open/2804-location-caller-track-caller-audit/inventory.md - packages/http-protocol/src/v1/requests/announce.rs - packages/http-protocol/src/v1/requests/scrape.rs @@ -30,10 +30,9 @@ semantic-links: -# Issue #[To be assigned] - Remove source locations from the HTTP tracker request errors +# Issue #2915 - Remove source locations from the HTTP tracker request errors -Parent EPIC: [Remove source locations from errors](../remove-source-locations-from-errors/EPIC.md) (draft, GitHub issue not -created yet, so `epic` is `null` and this folder carries no EPIC number). Sub-issue SI-3 of the EPIC. +Parent EPIC: [Remove source locations from errors](../2912-remove-source-locations-from-errors/EPIC.md) (#2912). Sub-issue SI-3 of the EPIC. ## Goal @@ -186,7 +185,7 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/drafts/error-locations-si-3-http-tracker-request-errors/ISSUE.md` +- [x] Folder-style spec drafted in `docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md` - [ ] Spec reviewed and approved by user/maintainer - [ ] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation @@ -313,6 +312,6 @@ findings, and reusable lessons. ## References -- Parent EPIC draft: `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md` +- Parent EPIC: #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` - Audit: `docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md`, `inventory.md`, `options.md`, `experiments.md` (issue #2804) - Related issues: #2804 (audit), #384 (external report), #2583 (first publish of the workspace crates) diff --git a/docs/issues/drafts/error-locations-si-4-tracker-core/ISSUE.md b/docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md similarity index 95% rename from docs/issues/drafts/error-locations-si-4-tracker-core/ISSUE.md rename to docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md index 87906ab387..34908b1277 100644 --- a/docs/issues/drafts/error-locations-si-4-tracker-core/ISSUE.md +++ b/docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md @@ -2,21 +2,21 @@ schema-version: 1 doc-type: issue issue-type: bug -status: draft +status: planned priority: p1 -epic: null -github-issue: null -spec-path: docs/issues/drafts/error-locations-si-4-tracker-core/ISSUE.md -branch: "{issue-number}-error-locations-si-4-tracker-core" +epic: 2912 +github-issue: 2916 +spec-path: docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md +branch: "2916-tracker-core" related-pr: null -last-updated-utc: "2026-11-11 17:39" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue related-artifacts: - .claude/skills/fix-bug/SKILL.md - .claude/skills/create-issue/SKILL.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md - docs/issues/open/2804-location-caller-track-caller-audit/inventory.md - packages/tracker-core/src/error.rs - packages/tracker-core/src/databases/error.rs @@ -28,10 +28,9 @@ semantic-links: -# Issue #[To be assigned] - Remove source locations from the errors of `torrust-tracker-core` +# Issue #2916 - Remove source locations from the errors of `torrust-tracker-core` -Parent EPIC: [Remove source locations from errors](../remove-source-locations-from-errors/EPIC.md) (draft, GitHub issue not -created yet, so `epic` is `null` and this folder carries no EPIC number). Sub-issue SI-4 of the EPIC. +Parent EPIC: [Remove source locations from errors](../2912-remove-source-locations-from-errors/EPIC.md) (#2912). Sub-issue SI-4 of the EPIC. ## Goal @@ -189,7 +188,7 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/drafts/error-locations-si-4-tracker-core/ISSUE.md` +- [x] Folder-style spec drafted in `docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md` - [ ] Spec reviewed and approved by user/maintainer - [ ] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation @@ -317,6 +316,6 @@ findings, and reusable lessons. ## References -- Parent EPIC draft: `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md` +- Parent EPIC: #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` - Audit: `docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md`, `inventory.md`, `options.md`, `experiments.md` (issue #2804) - Related issues: #2804 (audit), #384 (external report), #2583 (first publish of the workspace crates) diff --git a/docs/issues/drafts/error-locations-si-5-startup-and-udp-server-errors/ISSUE.md b/docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md similarity index 93% rename from docs/issues/drafts/error-locations-si-5-startup-and-udp-server-errors/ISSUE.md rename to docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md index 7aa836b461..4e8f09dd35 100644 --- a/docs/issues/drafts/error-locations-si-5-startup-and-udp-server-errors/ISSUE.md +++ b/docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md @@ -2,21 +2,21 @@ schema-version: 1 doc-type: issue issue-type: bug -status: draft +status: planned priority: p2 -epic: null -github-issue: null -spec-path: docs/issues/drafts/error-locations-si-5-startup-and-udp-server-errors/ISSUE.md -branch: "{issue-number}-error-locations-si-5-startup-and-udp-server-errors" +epic: 2912 +github-issue: 2917 +spec-path: docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md +branch: "2917-startup-and-udp-server-errors" related-pr: null -last-updated-utc: "2026-11-11 17:39" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue related-artifacts: - .claude/skills/fix-bug/SKILL.md - .claude/skills/create-issue/SKILL.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md - docs/issues/open/2804-location-caller-track-caller-audit/inventory.md - packages/configuration/src/lib.rs - packages/axum-server/src/tls.rs @@ -25,10 +25,9 @@ semantic-links: -# Issue #[To be assigned] - Remove source locations from the configuration, TLS and UDP server errors +# Issue #2917 - Remove source locations from the configuration, TLS and UDP server errors -Parent EPIC: [Remove source locations from errors](../remove-source-locations-from-errors/EPIC.md) (draft, GitHub issue not -created yet, so `epic` is `null` and this folder carries no EPIC number). Sub-issue SI-5 of the EPIC. +Parent EPIC: [Remove source locations from errors](../2912-remove-source-locations-from-errors/EPIC.md) (#2912). Sub-issue SI-5 of the EPIC. ## Goal @@ -71,8 +70,9 @@ Release steps: `torrust-tracker-configuration` was published at 3.0.0 and the pu ### Out of Scope -- Removing the two test-only `udp-server` variants altogether: see the draft - `docs/issues/drafts/follow-up-si-19-remove-unused-error-variants/`. +- Removing the two test-only `udp-server` variants altogether: + a follow-up issue, not drafted yet (issue #2844 removed other unused `udp-server` variants, not + these two). - `packages/tracker-client`, which imports `torrust_located_error::DynError` (SI-6). - Changing configuration loading behavior or TLS setup. @@ -162,7 +162,7 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/drafts/error-locations-si-5-startup-and-udp-server-errors/ISSUE.md` +- [x] Folder-style spec drafted in `docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md` - [ ] Spec reviewed and approved by user/maintainer - [ ] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation @@ -287,7 +287,7 @@ findings, and reusable lessons. ## References -- Parent EPIC draft: `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md` +- Parent EPIC: #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` - Audit: `docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md`, `inventory.md`, `options.md`, `experiments.md` (issue #2804) - Related issues: #2804 (audit), #384 (external report), #2583 (first publish of the workspace crates) -- Related draft: `docs/issues/drafts/follow-up-si-19-remove-unused-error-variants/` +- Related issue: #2844 (removed other unused `udp-server` error variants) diff --git a/docs/issues/drafts/error-locations-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md b/docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md similarity index 94% rename from docs/issues/drafts/error-locations-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md rename to docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md index 40a29b58a0..7871f5d3c1 100644 --- a/docs/issues/drafts/error-locations-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md +++ b/docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md @@ -2,21 +2,21 @@ schema-version: 1 doc-type: issue issue-type: task -status: draft +status: planned priority: p2 -epic: null -github-issue: null -spec-path: docs/issues/drafts/error-locations-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md -branch: "{issue-number}-error-locations-si-6-drop-located-error-and-enforce-the-rule" +epic: 2912 +github-issue: 2918 +spec-path: docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md +branch: "2918-drop-located-error-and-enforce-the-rule" related-pr: null -last-updated-utc: "2026-11-11 17:39" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue related-artifacts: - .claude/skills/fix-bug/SKILL.md - .claude/skills/create-issue/SKILL.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md - docs/issues/open/2804-location-caller-track-caller-audit/inventory.md - packages/tracker-client/src/udp/mod.rs - contrib/dev-tools/checks @@ -24,10 +24,9 @@ semantic-links: -# Issue #[To be assigned] - Drop `torrust-located-error` from the workspace and enforce the rule +# Issue #2918 - Drop `torrust-located-error` from the workspace and enforce the rule -Parent EPIC: [Remove source locations from errors](../remove-source-locations-from-errors/EPIC.md) (draft, GitHub issue not -created yet, so `epic` is `null` and this folder carries no EPIC number). Sub-issue SI-6 of the EPIC. +Parent EPIC: [Remove source locations from errors](../2912-remove-source-locations-from-errors/EPIC.md) (#2912). Sub-issue SI-6 of the EPIC. ## Goal @@ -138,7 +137,7 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/drafts/error-locations-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md` +- [x] Folder-style spec drafted in `docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md` - [ ] Spec reviewed and approved by user/maintainer - [ ] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation @@ -264,7 +263,7 @@ findings, and reusable lessons. ## References -- Parent EPIC draft: `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md` +- Parent EPIC: #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` - Audit: `docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md`, `inventory.md`, `options.md`, `experiments.md` (issue #2804) - Related issues: #2804 (audit), #384 (external report), #2583 (first publish of the workspace crates) - Related: #2594 (extraction of `torrust-tracker-client`) diff --git a/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md b/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md index fc685e1613..7d958e0e86 100644 --- a/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md +++ b/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md @@ -4,19 +4,19 @@ doc-type: issue issue-type: bug status: planned priority: p1 -epic: null +epic: 2912 github-issue: 384 spec-path: docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md branch: "384-strip-location-from-errors-sent-to-clients" related-pr: null -last-updated-utc: "2026-11-11 17:39" +last-updated-utc: "2026-11-17 17:01" semantic-links: skill-links: - create-issue related-artifacts: - .claude/skills/fix-bug/SKILL.md - .claude/skills/create-issue/SKILL.md - - docs/issues/drafts/remove-source-locations-from-errors/EPIC.md + - docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md - docs/issues/open/2804-location-caller-track-caller-audit/inventory.md --- @@ -24,8 +24,7 @@ semantic-links: # Issue #384 - Make Option to Strip Location from Errors sent to Clients -Parent EPIC: [Remove source locations from errors](../../drafts/remove-source-locations-from-errors/EPIC.md) (draft, GitHub issue not -created yet, so `epic` is `null` and this folder carries no EPIC number). Sub-issue SI-7 (the last one) of the EPIC. +Parent EPIC: [Remove source locations from errors](../2912-remove-source-locations-from-errors/EPIC.md) (#2912). Sub-issue SI-7 (the last one) of the EPIC. ## Goal @@ -306,7 +305,7 @@ findings, and reusable lessons. ## References -- Parent EPIC draft: `docs/issues/drafts/remove-source-locations-from-errors/EPIC.md` +- Parent EPIC: #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` - Audit: `docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md`, `inventory.md`, `options.md`, `experiments.md` (issue #2804) - Related issues: #2804 (audit), #2583 (first publish of the workspace crates) - This issue on GitHub: From 280121c6ad90ef5c2de5749277828c08193b42f2 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 17:30:51 +0000 Subject: [PATCH 02/14] docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording - F1: tick the approval and issue-created checkpoints of the six sub-issue specs and of #384, and log the approval, the issue and the move. - F2: the #2804 audit spec now names EPIC #2912 and its issues instead of calling them drafts with no issue. - F3: the EPIC says option 4 keeps option 3's context wording and that only option 3 alone (keep the field) was rejected. Co-Authored-By: Claude Opus 5.5 --- .../2804-location-caller-track-caller-audit/ISSUE.md | 11 +++++------ .../2912-remove-source-locations-from-errors/EPIC.md | 12 ++++++------ .../ISSUE.md | 9 +++++---- docs/issues/open/2914-2912-si-2-primitives/ISSUE.md | 9 +++++---- .../ISSUE.md | 9 +++++---- .../issues/open/2916-2912-si-4-tracker-core/ISSUE.md | 9 +++++---- .../ISSUE.md | 9 +++++---- .../ISSUE.md | 9 +++++---- .../ISSUE.md | 5 +++-- 9 files changed, 44 insertions(+), 38 deletions(-) diff --git a/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md b/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md index 00d8cf0dba..6b30e12588 100644 --- a/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md +++ b/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2804 spec-path: docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md branch: "2804-location-caller-track-caller-audit-spec" related-pr: null -last-updated-utc: "2026-11-11 17:39" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -217,17 +217,16 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. After T4 the maintainer proposed to remove source locations from errors altogether, instead of the options compared in `options.md`. The work is then larger than this issue and cuts across the workspace, so the fix tasks that this plan listed as T6 to T9 are not done here. They are planned in -the EPIC draft `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md`: +EPIC #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md`: | Former task | Now in | | --- | --- | -| T6 Red regression tests per slice, T7 Fix slices, T8 Green and like-for-like recheck per slice | Sub-issue drafts SI-2 (`primitives`), SI-3 (HTTP tracker request errors), SI-4 (`tracker-core`), SI-5 (configuration, TLS and UDP server errors), each with its own red test, fix and recheck | +| T6 Red regression tests per slice, T7 Fix slices, T8 Green and like-for-like recheck per slice | Sub-issues SI-2 (`primitives`), SI-3 (HTTP tracker request errors), SI-4 (`tracker-core`), SI-5 (configuration, TLS and UDP server errors), each with its own red test, fix and recheck | | T9 Enforcement and docs | SI-1 (ADR and `handle-errors-in-code` skill) and SI-6 (drop `torrust-located-error`, repository check, upstream issue drafts) | | Manual scenarios M1 and M2 of this specification (HTTP and UDP replies); M3 (`parse`) is covered by SI-2 | `docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md` (SI-7) | -The EPIC and its sub-issues are drafts: no GitHub issue exists for them yet. This issue can be -closed when the maintainer creates the EPIC issue; until then it stays open as the record of the -audit. +The EPIC is issue #2912 and its sub-issues are #2913 to #2918 and #384, created on 2026-11-17, so +the closing condition of this issue is met; its close-out is done by its own session. ### Fix options to compare in T4 (research plan) diff --git a/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md index eab1423ff3..ba19fe7d5b 100644 --- a/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md +++ b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 2912 spec-path: docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md epic-owner: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -59,9 +59,9 @@ What the feature gives, a file and line for a developer, is available on the ser events, which record the file and line of the log call. The four options the audit compared are in `options.md`. This EPIC implements the removal of the -field (its option 4) together with the context-instead-of-location rule (option 3). The maintainer -chose option 4 over option 3 (keep the field, strip it from `Display` only) on 2026-11-17; the ADR of -SI-1 records the decision. +field (its option 4), which keeps option 3's context-instead-of-location wording and also removes +the field. Keeping the field and stripping it from `Display` only (option 3 alone) was rejected by the +maintainer on 2026-11-17; the ADR of SI-1 records the decision. ## Maintainer Decisions @@ -69,7 +69,7 @@ Recorded 2026-11-17 by the EPIC coordinator session: 1. **Remove the field (option 4).** Error types lose their `location` field, no non-test code calls `Location::caller()`, and the workspace drops `torrust-located-error`. Stripping the location from - `Display` only (option 3) was rejected: the recorded value is wrong at every production site, so + `Display` only (option 3 alone) was rejected: the recorded value is wrong at every production site, so keeping it keeps a misleading `Debug` and log value. 2. **#384 keeps its title.** It is linked as SI-7 and gets a comment that explains the new scope (removal instead of an option); it closes after the recheck. @@ -172,7 +172,7 @@ For each subissue implementation in this EPIC, the default completion policy is: ### Workflow Checkpoints -- [x] Epic spec drafted in `docs/issues/drafts/` +- [x] Epic spec drafted in `docs/issues/drafts/` and moved to `docs/issues/open/` - [x] Epic spec reviewed and approved by user/maintainer - [x] GitHub epic issue created and issue number added to this spec - [x] Subissues created and linked in this spec diff --git a/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md b/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md index fef4b1a7ef..939cb5d41e 100644 --- a/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md +++ b/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2913 spec-path: docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md branch: "2913-adr-errors-do-not-record-source-locations" related-pr: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -143,9 +143,9 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md` -- [ ] Spec reviewed and approved by user/maintainer -- [ ] GitHub issue created and issue number added to this spec +- [x] Folder-style spec drafted in `docs/issues/drafts/` and moved to `docs/issues/open/` +- [x] Spec reviewed and approved by user/maintainer +- [x] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation - [ ] Implementation completed - [ ] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) @@ -164,6 +164,7 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:05 UTC - Claude Code (Fable 5.2) - Drafted from the audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) as a sub-issue of the EPIC draft. Not yet approved; line numbers are those of `develop` at `4f0af379a` and must be re-checked before implementation. +- 2026-11-17 17:30 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator: the maintainer approved the specification on 2026-11-17; issue #2913 created as `josecelano-bot` and the specification moved from `docs/issues/drafts/` to `docs/issues/open/` (SI-1 of EPIC #2912). ## Acceptance Criteria diff --git a/docs/issues/open/2914-2912-si-2-primitives/ISSUE.md b/docs/issues/open/2914-2912-si-2-primitives/ISSUE.md index 162f2f94d5..14e9ee6236 100644 --- a/docs/issues/open/2914-2912-si-2-primitives/ISSUE.md +++ b/docs/issues/open/2914-2912-si-2-primitives/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2914 spec-path: docs/issues/open/2914-2912-si-2-primitives/ISSUE.md branch: "2914-primitives" related-pr: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -151,9 +151,9 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/open/2914-2912-si-2-primitives/ISSUE.md` -- [ ] Spec reviewed and approved by user/maintainer -- [ ] GitHub issue created and issue number added to this spec +- [x] Folder-style spec drafted in `docs/issues/drafts/` and moved to `docs/issues/open/` +- [x] Spec reviewed and approved by user/maintainer +- [x] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation - [ ] Implementation completed - [ ] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) @@ -172,6 +172,7 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:05 UTC - Claude Code (Fable 5.2) - Drafted from the audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) as a sub-issue of the EPIC draft. Not yet approved; line numbers are those of `develop` at `4f0af379a` and must be re-checked before implementation. +- 2026-11-17 17:30 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator: the maintainer approved the specification on 2026-11-17; issue #2914 created as `josecelano-bot` and the specification moved from `docs/issues/drafts/` to `docs/issues/open/` (SI-2 of EPIC #2912). ## Acceptance Criteria diff --git a/docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md b/docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md index a169c16968..22ba285e95 100644 --- a/docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md +++ b/docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2915 spec-path: docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md branch: "2915-http-tracker-request-errors" related-pr: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -185,9 +185,9 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/open/2915-2912-si-3-http-tracker-request-errors/ISSUE.md` -- [ ] Spec reviewed and approved by user/maintainer -- [ ] GitHub issue created and issue number added to this spec +- [x] Folder-style spec drafted in `docs/issues/drafts/` and moved to `docs/issues/open/` +- [x] Spec reviewed and approved by user/maintainer +- [x] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation - [ ] Implementation completed - [ ] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) @@ -206,6 +206,7 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:05 UTC - Claude Code (Fable 5.2) - Drafted from the audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) as a sub-issue of the EPIC draft. Not yet approved; line numbers are those of `develop` at `4f0af379a` and must be re-checked before implementation. +- 2026-11-17 17:30 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator: the maintainer approved the specification on 2026-11-17; issue #2915 created as `josecelano-bot` and the specification moved from `docs/issues/drafts/` to `docs/issues/open/` (SI-3 of EPIC #2912). ## Acceptance Criteria diff --git a/docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md b/docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md index 34908b1277..7fe23ee002 100644 --- a/docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md +++ b/docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2916 spec-path: docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md branch: "2916-tracker-core" related-pr: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -188,9 +188,9 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/open/2916-2912-si-4-tracker-core/ISSUE.md` -- [ ] Spec reviewed and approved by user/maintainer -- [ ] GitHub issue created and issue number added to this spec +- [x] Folder-style spec drafted in `docs/issues/drafts/` and moved to `docs/issues/open/` +- [x] Spec reviewed and approved by user/maintainer +- [x] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation - [ ] Implementation completed - [ ] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) @@ -209,6 +209,7 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:05 UTC - Claude Code (Fable 5.2) - Drafted from the audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) as a sub-issue of the EPIC draft. Not yet approved; line numbers are those of `develop` at `4f0af379a` and must be re-checked before implementation. +- 2026-11-17 17:30 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator: the maintainer approved the specification on 2026-11-17; issue #2916 created as `josecelano-bot` and the specification moved from `docs/issues/drafts/` to `docs/issues/open/` (SI-4 of EPIC #2912). ## Acceptance Criteria diff --git a/docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md b/docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md index 4e8f09dd35..cc56ae13cf 100644 --- a/docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md +++ b/docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2917 spec-path: docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md branch: "2917-startup-and-udp-server-errors" related-pr: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -162,9 +162,9 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/open/2917-2912-si-5-startup-and-udp-server-errors/ISSUE.md` -- [ ] Spec reviewed and approved by user/maintainer -- [ ] GitHub issue created and issue number added to this spec +- [x] Folder-style spec drafted in `docs/issues/drafts/` and moved to `docs/issues/open/` +- [x] Spec reviewed and approved by user/maintainer +- [x] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation - [ ] Implementation completed - [ ] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) @@ -183,6 +183,7 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:05 UTC - Claude Code (Fable 5.2) - Drafted from the audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) as a sub-issue of the EPIC draft. Not yet approved; line numbers are those of `develop` at `4f0af379a` and must be re-checked before implementation. +- 2026-11-17 17:30 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator: the maintainer approved the specification on 2026-11-17; issue #2917 created as `josecelano-bot` and the specification moved from `docs/issues/drafts/` to `docs/issues/open/` (SI-5 of EPIC #2912). ## Acceptance Criteria diff --git a/docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md b/docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md index 7871f5d3c1..c652baaff4 100644 --- a/docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md +++ b/docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2918 spec-path: docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md branch: "2918-drop-located-error-and-enforce-the-rule" related-pr: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -137,9 +137,9 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints -- [x] Folder-style spec drafted in `docs/issues/open/2918-2912-si-6-drop-located-error-and-enforce-the-rule/ISSUE.md` -- [ ] Spec reviewed and approved by user/maintainer -- [ ] GitHub issue created and issue number added to this spec +- [x] Folder-style spec drafted in `docs/issues/drafts/` and moved to `docs/issues/open/` +- [x] Spec reviewed and approved by user/maintainer +- [x] GitHub issue created and issue number added to this spec - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation - [ ] Implementation completed - [ ] Automatic verification completed (`linter all`, relevant tests, and any pre-push checks) @@ -158,6 +158,7 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:05 UTC - Claude Code (Fable 5.2) - Drafted from the audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) as a sub-issue of the EPIC draft. Not yet approved; line numbers are those of `develop` at `4f0af379a` and must be re-checked before implementation. +- 2026-11-17 17:30 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator: the maintainer approved the specification on 2026-11-17; issue #2918 created as `josecelano-bot` and the specification moved from `docs/issues/drafts/` to `docs/issues/open/` (SI-6 of EPIC #2912). ## Acceptance Criteria diff --git a/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md b/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md index 7d958e0e86..7c593c1ab0 100644 --- a/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md +++ b/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 384 spec-path: docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md branch: "384-strip-location-from-errors-sent-to-clients" related-pr: null -last-updated-utc: "2026-11-17 17:01" +last-updated-utc: "2026-11-17 17:30" semantic-links: skill-links: - create-issue @@ -179,7 +179,7 @@ with the narrow affected scope, and sign every commit with GPG. ### Workflow Checkpoints - [x] Folder-style spec written in `docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md` -- [ ] Spec reviewed and approved by user/maintainer +- [x] Spec reviewed and approved by user/maintainer - [x] GitHub issue created and issue number added to this spec (#384 already existed) - [ ] (Optional, recommended for complex issues) Spec-only PR merged into `develop` before implementation - [ ] Implementation completed @@ -199,6 +199,7 @@ agent, for example `GitHub Copilot (Claude Opus 5.5)`, so later reviews can rela the model that produced them. - 2026-11-11 17:05 UTC - Claude Code (Fable 5.2) - Drafted from the audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) as a sub-issue of the EPIC draft. Not yet approved; line numbers are those of `develop` at `4f0af379a` and must be re-checked before implementation. +- 2026-11-17 17:30 UTC - Claude Code (Claude Opus 5.5) - EPIC coordinator: the maintainer approved the specification on 2026-11-17; this issue keeps its title and is SI-7 of EPIC #2912 (comment posted on #384). ## Acceptance Criteria From 55fe2a50f1050e6fa097bf42678addd3d9e0e301 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 17:43:17 +0000 Subject: [PATCH 03/14] docs(issues): [#2912] date only the new sub-issues in the #2804 audit spec and name the EPIC in its heading Co-Authored-By: Claude Opus 5.5 --- .../open/2804-location-caller-track-caller-audit/ISSUE.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md b/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md index 6b30e12588..d7e494ee93 100644 --- a/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md +++ b/docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md @@ -212,7 +212,7 @@ Status values: `TODO`, `IN_PROGRESS`, `BLOCKED`, `DONE`. | T4 | DONE | Analyse fix options, recommend one | Recommendation in `options.md`: stop printing `{location}` in `Display` (option 3); option 1 fixes no production site (all 38 are reached through trait impls, closures, `TryFrom` or `async` code). Open for the maintainer: keep or remove the field, and the `LocatedError` decision. Awaiting approval before any fix. | | T5 | DONE | Write the ADR and the slicing plan | Slicing done as an EPIC draft with six sub-issue drafts and the specification for #384 (see below). The ADR moved to sub-issue SI-1 of that EPIC, because the maintainer proposed to remove the feature and that decision is still under review. | -### Tasks moved to the EPIC draft +### Tasks moved to EPIC #2912 After T4 the maintainer proposed to remove source locations from errors altogether, instead of the options compared in `options.md`. The work is then larger than this issue and cuts across the @@ -225,8 +225,9 @@ EPIC #2912, `docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md`: | T9 Enforcement and docs | SI-1 (ADR and `handle-errors-in-code` skill) and SI-6 (drop `torrust-located-error`, repository check, upstream issue drafts) | | Manual scenarios M1 and M2 of this specification (HTTP and UDP replies); M3 (`parse`) is covered by SI-2 | `docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md` (SI-7) | -The EPIC is issue #2912 and its sub-issues are #2913 to #2918 and #384, created on 2026-11-17, so -the closing condition of this issue is met; its close-out is done by its own session. +The EPIC is issue #2912 and its sub-issues are #2913 to #2918, created on 2026-11-17, and the +existing #384, so the closing condition of this issue is met; its close-out is done by its own +session. ### Fix options to compare in T4 (research plan) From a728bc17d7d90553500a7d9876d76118c741aca6 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 17:44:49 +0000 Subject: [PATCH 04/14] docs(pr-reviews): [#2912] record the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 141 ++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 docs/pr-reviews/pr-2919-review/PR-REVIEW.md diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md new file mode 100644 index 0000000000..17153461a6 --- /dev/null +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -0,0 +1,141 @@ +--- +semantic-links: + skill-links: + - process-pr-review + related-artifacts: + - .claude/skills/process-pr-review/SKILL.md +--- + + + +# PR #2919 Review Audit + +Source: pull-request reviews and inline review threads for https://github.com/torrust/torrust-tracker/pull/2919. + +## 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-2919-f1 | Human | Minor | metadata | ORIGINAL | FIXED | RESOLVED | +| F2 | review-finding:pr-2919-f2 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F3 | review-finding:pr-2919-f3 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F4 | review-finding:pr-2919-f4 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F5 | review-finding:pr-2919-f5 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | + +## Finding Details + +### F1 - The sub-issue specs still record themselves as unapproved and without an issue + +- PR number: 2919 +- Source review ID: 5943374190 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603304294 +- Concern: The six sub-issue specs carried `github-issue` and an `Issue #` heading but left "Spec reviewed and approved" and "GitHub issue created" unticked and logged only "Not yet approved"; the #384 spec left "Spec reviewed and approved" unticked; the "drafted in" checkpoint named the `open/` path while the EPIC named `drafts/`. +- Solution: Ticked both checkpoints in the six sub-issue specs and the approval checkpoint in the #384 spec (its issue checkpoint was already ticked), added one Progress Log line per spec for the approval, the issue and the move, and changed the "drafted in" checkpoint to name both folders, as the EPIC does. +- Current-tree verification: `grep -n 'Spec reviewed and approved\|GitHub issue created' docs/issues/open/29*-2912-si-*/ISSUE.md docs/issues/open/384-*/ISSUE.md` shows `[x]` on every line. +- Resolution reference: `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603382559 + +### F2 - The #2804 audit spec still calls the EPIC a draft with no issue + +- PR number: 2919 +- Source review ID: 5943374190 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603304297 +- Concern: The repaired sentence in the #2804 audit spec still said "EPIC draft", and the paragraph after the table said the EPIC and its sub-issues were drafts with no issue, which was false once #2912 to #2918 existed. +- Solution: The sentence names EPIC #2912, the table says "Sub-issues", and the paragraph says the issues exist, that the closing condition is met and that the issue's own session does the close-out. +- Current-tree verification: `grep -n 'EPIC #2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` finds the sentence, the paragraph and (after F5) the heading. +- Resolution reference: `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603383063 + +### F3 - Option 3 reads as both adopted and rejected + +- PR number: 2919 +- Source review ID: 5943374190 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603304307 +- Concern: The EPIC said it implements option 4 together with option 3 and, in the next sentence, that option 4 was chosen over option 3; decision 1 called option 3 rejected. +- Solution: Used the reviewer's wording: option 4 keeps option 3's context-instead-of-location wording and also removes the field; only option 3 alone (keeping the field) was rejected. Decision 1 says "option 3 alone" too. +- Current-tree verification: `grep -n 'option 3' docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` shows only the two new phrasings. +- Resolution reference: `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording` +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603383547 + +### F4 - No review audit record for the answered and resolved threads + +- PR number: 2919 +- Source review ID: 5943554323 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603450558 +- Concern: The round 1 threads were answered and resolved without the audit record that `process-pr-review` requires, and the replies cite the branch commit id `280121c6a` instead of a commit subject; the three fixes share one commit. +- Solution: Created this record from `docs/templates/PR-REVIEW-TEMPLATE.md`, logged the late start, and mapped the commit id cited in the round 1 replies to its subject. The three round 1 fixes were made in one commit; the log records that deviation from step 6. +- Current-tree verification: This file exists; `validate-audit-record.py --pr-number 2919 --base torrust/develop` run as the log states. +- Resolution reference: `docs(pr-reviews): [#2912] record the review audit of PR 2919` +- Follow-up PR URL: N/A +- Reply URL: N/A + +### F5 - The audit spec dates #384 to this week + +- PR number: 2919 +- Source review ID: 5943554323 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603450567 +- Concern: "its sub-issues are #2913 to #2918 and #384, created on 2026-11-17" reads as dating #384 (opened in 2023) to this week; the heading still said "Tasks moved to the EPIC draft". +- Solution: The sentence now reads "#2913 to #2918, created on 2026-11-17, and the existing #384", and the heading reads "Tasks moved to EPIC #2912". The acceptance-criteria labels that say "EPIC draft" stay: they record where the work moved at the time, as the reviewer noted. +- Current-tree verification: `grep -n 'existing #384\|### Tasks moved to EPIC #2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` finds both lines. +- Resolution reference: `docs(issues): [#2912] date only the new sub-issues in the #2804 audit spec and name the EPIC in its heading` +- Follow-up PR URL: N/A +- Reply URL: N/A + +## Processing Log + +- 2026-11-17 17:35 UTC - Replied to F1 to F3 (replies created from 17:35:15Z to 17:35:20Z) and resolved their threads after pushing the round 1 fixes, before this record existed: a late start of the audit. The replies cite the branch commit id `280121c6a`, which is the commit `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording`. The three independent fixes share that one commit instead of one commit each (step 6). The F1 reply says the #384 spec now ticks both checkpoints; only the approval checkpoint changed there, because its issue checkpoint was already ticked. +- 2026-11-17 17:44 UTC - Started audit: created this record from `docs/templates/PR-REVIEW-TEMPLATE.md` after da2ce7's round 2 review 5943554323 (F4 asked for it). Normalized round 1 (F1 to F3, review 5943374190) and round 2 (F4 and F5); committed the F5 fix (`docs(issues): [#2912] date only the new sub-issues in the #2804 audit spec and name the EPIC in its heading`) before this record. Copilot review 5943384927 is an overview with no actionable assertion, so it has no row. + +## 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 67acb52c09c69d7b32a395c0dc2dfd5a29a16553 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 17:48:59 +0000 Subject: [PATCH 05/14] docs(pr-reviews): [#2912] add the F4 and F5 reply URLs to the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index 17153461a6..031ecaf4cd 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -101,7 +101,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Current-tree verification: This file exists; `validate-audit-record.py --pr-number 2919 --base torrust/develop` run as the log states. - Resolution reference: `docs(pr-reviews): [#2912] record the review audit of PR 2919` - Follow-up PR URL: N/A -- Reply URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603525639 ### F5 - The audit spec dates #384 to this week @@ -114,12 +114,13 @@ deliver findings through GitHub and have no repository-artifact obligation. - Current-tree verification: `grep -n 'existing #384\|### Tasks moved to EPIC #2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` finds both lines. - Resolution reference: `docs(issues): [#2912] date only the new sub-issues in the #2804 audit spec and name the EPIC in its heading` - Follow-up PR URL: N/A -- Reply URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603526079 ## Processing Log - 2026-11-17 17:35 UTC - Replied to F1 to F3 (replies created from 17:35:15Z to 17:35:20Z) and resolved their threads after pushing the round 1 fixes, before this record existed: a late start of the audit. The replies cite the branch commit id `280121c6a`, which is the commit `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording`. The three independent fixes share that one commit instead of one commit each (step 6). The F1 reply says the #384 spec now ticks both checkpoints; only the approval checkpoint changed there, because its issue checkpoint was already ticked. - 2026-11-17 17:44 UTC - Started audit: created this record from `docs/templates/PR-REVIEW-TEMPLATE.md` after da2ce7's round 2 review 5943554323 (F4 asked for it). Normalized round 1 (F1 to F3, review 5943374190) and round 2 (F4 and F5); committed the F5 fix (`docs(issues): [#2912] date only the new sub-issues in the #2804 audit spec and name the EPIC in its heading`) before this record. Copilot review 5943384927 is an overview with no actionable assertion, so it has no row. +- 2026-11-17 17:48 UTC - Pushed the F5 fix and this record (head `a728bc17d`), then replied to F4 and F5 (replies created at 17:48:01Z and 17:48:04Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop`, run from a scratchpad copy whose `gh` calls go through `gh-bot`, reported 5 rows, 0 failures on this worktree record. ## Completion Rules From 3d435269cb1ef7b79d80e2927c017f0ca5ee72b5 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:03:08 +0000 Subject: [PATCH 06/14] docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 33 +++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index 031ecaf4cd..3459a8561e 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -48,6 +48,8 @@ deliver findings through GitHub and have no repository-artifact obligation. | F3 | review-finding:pr-2919-f3 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F4 | review-finding:pr-2919-f4 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | | F5 | review-finding:pr-2919-f5 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F6 | review-finding:pr-2919-f6 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F7 | review-finding:pr-2919-f7 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | ## Finding Details @@ -72,7 +74,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603304297 - Concern: The repaired sentence in the #2804 audit spec still said "EPIC draft", and the paragraph after the table said the EPIC and its sub-issues were drafts with no issue, which was false once #2912 to #2918 existed. - Solution: The sentence names EPIC #2912, the table says "Sub-issues", and the paragraph says the issues exist, that the closing condition is met and that the issue's own session does the close-out. -- Current-tree verification: `grep -n 'EPIC #2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` finds the sentence, the paragraph and (after F5) the heading. +- Current-tree verification: `grep -n '#2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` finds the heading (after F5, `EPIC #2912`), the sentence (`EPIC #2912`) and the paragraph (`issue #2912`). - Resolution reference: `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording` - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603383063 @@ -116,11 +118,38 @@ deliver findings through GitHub and have no repository-artifact obligation. - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603526079 +### F6 - The F2 verification claims a grep match it does not produce + +- PR number: 2919 +- Source review ID: 5943851942 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603665151 +- Concern: The F2 verification said `grep -n 'EPIC #2912'` finds the sentence, the paragraph and the heading, but it prints only the heading and the sentence; the paragraph says `issue #2912`. +- Solution: The F2 verification now uses `grep -n '#2912'` and names what each of the three matches says. +- Current-tree verification: `grep -n '#2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` prints lines 215, 220 and 228 (heading, sentence, paragraph), plus other lines that cite the EPIC. +- Resolution reference: `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919` +- Follow-up PR URL: N/A +- Reply URL: N/A + +### F7 - The Processing Log cites a branch commit id as its own reference + +- PR number: 2919 +- Source review ID: 5943851942 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603665136 +- Concern: The 17:48 Processing Log entry named the head by its branch commit id, which a rebase changes; `open-pull-request` forbids such ids in durable references, except where the record maps the id cited by uneditable replies. +- Solution: The entry now names that commit by its subject, and a correction entry at the end of the log records the change. +- Current-tree verification: the commit-id check of `open-pull-request` prints only `280121c6a`, the id the round 1 replies cite and the Processing Log maps to its subject. +- Resolution reference: `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919` +- Follow-up PR URL: N/A +- Reply URL: N/A + ## Processing Log - 2026-11-17 17:35 UTC - Replied to F1 to F3 (replies created from 17:35:15Z to 17:35:20Z) and resolved their threads after pushing the round 1 fixes, before this record existed: a late start of the audit. The replies cite the branch commit id `280121c6a`, which is the commit `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording`. The three independent fixes share that one commit instead of one commit each (step 6). The F1 reply says the #384 spec now ticks both checkpoints; only the approval checkpoint changed there, because its issue checkpoint was already ticked. - 2026-11-17 17:44 UTC - Started audit: created this record from `docs/templates/PR-REVIEW-TEMPLATE.md` after da2ce7's round 2 review 5943554323 (F4 asked for it). Normalized round 1 (F1 to F3, review 5943374190) and round 2 (F4 and F5); committed the F5 fix (`docs(issues): [#2912] date only the new sub-issues in the #2804 audit spec and name the EPIC in its heading`) before this record. Copilot review 5943384927 is an overview with no actionable assertion, so it has no row. -- 2026-11-17 17:48 UTC - Pushed the F5 fix and this record (head `a728bc17d`), then replied to F4 and F5 (replies created at 17:48:01Z and 17:48:04Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop`, run from a scratchpad copy whose `gh` calls go through `gh-bot`, reported 5 rows, 0 failures on this worktree record. +- 2026-11-17 17:48 UTC - Pushed the F5 fix and this record (head commit `docs(pr-reviews): [#2912] record the review audit of PR 2919`), then replied to F4 and F5 (replies created at 17:48:01Z and 17:48:04Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop`, run from a scratchpad copy whose `gh` calls go through `gh-bot`, reported 5 rows, 0 failures on this worktree record. +- 2026-11-17 18:02 UTC - Round 3: normalized da2ce7 review 5943851942 (APPROVED) with findings F6 and F7. Correction (F7) of the 2026-11-17 17:48 entry: its words naming the head by branch commit id were replaced in place by the commit subject `docs(pr-reviews): [#2912] record the review audit of PR 2919`; the rest of that entry is unchanged. F6 corrected the F2 verification line. ## Completion Rules From 926cec688f58843064eae2cb606d86264a303eb7 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:07:06 +0000 Subject: [PATCH 07/14] docs(pr-reviews): [#2912] add the F6 and F7 reply URLs to the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index 3459a8561e..22927ca6b3 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -129,7 +129,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Current-tree verification: `grep -n '#2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` prints lines 215, 220 and 228 (heading, sentence, paragraph), plus other lines that cite the EPIC. - Resolution reference: `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919` - Follow-up PR URL: N/A -- Reply URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603731183 ### F7 - The Processing Log cites a branch commit id as its own reference @@ -142,7 +142,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Current-tree verification: the commit-id check of `open-pull-request` prints only `280121c6a`, the id the round 1 replies cite and the Processing Log maps to its subject. - Resolution reference: `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919` - Follow-up PR URL: N/A -- Reply URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603731569 ## Processing Log @@ -150,6 +150,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - 2026-11-17 17:44 UTC - Started audit: created this record from `docs/templates/PR-REVIEW-TEMPLATE.md` after da2ce7's round 2 review 5943554323 (F4 asked for it). Normalized round 1 (F1 to F3, review 5943374190) and round 2 (F4 and F5); committed the F5 fix (`docs(issues): [#2912] date only the new sub-issues in the #2804 audit spec and name the EPIC in its heading`) before this record. Copilot review 5943384927 is an overview with no actionable assertion, so it has no row. - 2026-11-17 17:48 UTC - Pushed the F5 fix and this record (head commit `docs(pr-reviews): [#2912] record the review audit of PR 2919`), then replied to F4 and F5 (replies created at 17:48:01Z and 17:48:04Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop`, run from a scratchpad copy whose `gh` calls go through `gh-bot`, reported 5 rows, 0 failures on this worktree record. - 2026-11-17 18:02 UTC - Round 3: normalized da2ce7 review 5943851942 (APPROVED) with findings F6 and F7. Correction (F7) of the 2026-11-17 17:48 entry: its words naming the head by branch commit id were replaced in place by the commit subject `docs(pr-reviews): [#2912] record the review audit of PR 2919`; the rest of that entry is unchanged. F6 corrected the F2 verification line. +- 2026-11-17 18:06 UTC - Pushed the commit `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919`, then replied to F6 and F7 (replies created at 18:06:21Z and 18:06:23Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 7 rows, 0 failures. ## Completion Rules From 9770962e4bc7c3b9385dc358163538a55f905b9b Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:10:32 +0000 Subject: [PATCH 08/14] docs(issues): [#2912] separate the wrong direct captures from the correct LocatedError conversions in decision 1 Co-Authored-By: Claude Opus 5.5 --- .../2912-remove-source-locations-from-errors/EPIC.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md index ba19fe7d5b..42e32f2f10 100644 --- a/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md +++ b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 2912 spec-path: docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md epic-owner: null -last-updated-utc: "2026-11-17 17:30" +last-updated-utc: "2026-11-17 18:10" semantic-links: skill-links: - create-issue @@ -69,8 +69,11 @@ Recorded 2026-11-17 by the EPIC coordinator session: 1. **Remove the field (option 4).** Error types lose their `location` field, no non-test code calls `Location::caller()`, and the workspace drops `torrust-located-error`. Stripping the location from - `Display` only (option 3 alone) was rejected: the recorded value is wrong at every production site, so - keeping it keeps a misleading `Debug` and log value. + `Display` only (option 3 alone) was rejected: each of the 38 production `Location::caller()` sites + records a fixed library line, so keeping the field keeps a misleading `Debug` and log value. The + five `#[track_caller]` `From` conversions into `LocatedError` record a location that is correct + for their call chain (`inventory.md`, class C), and they are removed as well, because that + location is still an implementation path. 2. **#384 keeps its title.** It is linked as SI-7 and gets a comment that explains the new scope (removal instead of an option); it closes after the recheck. 3. **One sub-issue session at a time.** SI-1, then SI-2, SI-3, SI-4, SI-5 and SI-6 in that order, From 83137a02bca2bcf239ef7d1d161cb4e218fb2117 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:12:15 +0000 Subject: [PATCH 09/14] docs(pr-reviews): [#2912] record the Copilot round of the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index 22927ca6b3..bac5dbb5d5 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -50,6 +50,7 @@ deliver findings through GitHub and have no repository-artifact obligation. | F5 | review-finding:pr-2919-f5 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F6 | review-finding:pr-2919-f6 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F7 | review-finding:pr-2919-f7 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | +| F8 | review-finding:pr-2919-f8 | Copilot | Minor | correctness | ORIGINAL | FIXED | NON_RESOLVABLE | ## Finding Details @@ -144,6 +145,19 @@ deliver findings through GitHub and have no repository-artifact obligation. - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603731569 +### F8 - Decision 1 calls every production location wrong + +- PR number: 2919 +- Source review ID: 5943970292 +- Reviewer finding ID: F6 (reassigned: audit F6 is an earlier finding) +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#pullrequestreview-5943970292 +- Concern: Decision 1 of the EPIC said the recorded value is wrong at every production site, but the audit inventory classifies the five `#[track_caller]` `From` conversions into `LocatedError` as correct for their call chain (class C), so the rationale contradicts its evidence. The finding is in the review body (a "previously missed issue"), with no inline thread. +- Solution: Decision 1 now says that each of the 38 production `Location::caller()` sites records a fixed library line, and that the five class C conversions record a correct location but are removed as well, because that location is still an implementation path. +- Current-tree verification: `sed -n 70,76p docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` shows the new wording; `inventory.md` names the five class C conversions in its `LocatedError` conversions table. +- Resolution reference: `docs(issues): [#2912] separate the wrong direct captures from the correct LocatedError conversions in decision 1` +- Follow-up PR URL: N/A +- Reply URL: N/A + ## Processing Log - 2026-11-17 17:35 UTC - Replied to F1 to F3 (replies created from 17:35:15Z to 17:35:20Z) and resolved their threads after pushing the round 1 fixes, before this record existed: a late start of the audit. The replies cite the branch commit id `280121c6a`, which is the commit `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording`. The three independent fixes share that one commit instead of one commit each (step 6). The F1 reply says the #384 spec now ticks both checkpoints; only the approval checkpoint changed there, because its issue checkpoint was already ticked. @@ -151,6 +165,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - 2026-11-17 17:48 UTC - Pushed the F5 fix and this record (head commit `docs(pr-reviews): [#2912] record the review audit of PR 2919`), then replied to F4 and F5 (replies created at 17:48:01Z and 17:48:04Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop`, run from a scratchpad copy whose `gh` calls go through `gh-bot`, reported 5 rows, 0 failures on this worktree record. - 2026-11-17 18:02 UTC - Round 3: normalized da2ce7 review 5943851942 (APPROVED) with findings F6 and F7. Correction (F7) of the 2026-11-17 17:48 entry: its words naming the head by branch commit id were replaced in place by the commit subject `docs(pr-reviews): [#2912] record the review audit of PR 2919`; the rest of that entry is unchanged. F6 corrected the F2 verification line. - 2026-11-17 18:06 UTC - Pushed the commit `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919`, then replied to F6 and F7 (replies created at 18:06:21Z and 18:06:23Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 7 rows, 0 failures. +- 2026-11-17 18:11 UTC - Round 4: normalized Copilot review 5943970292, whose body reports one previously missed issue (Copilot's own ID F6) as audit finding F8, and committed its fix. It has no inline thread, so its row is `NON_RESOLVABLE` and its reply goes to the PR conversation. ## Completion Rules From 50683440054d8d88af29cc0aac25c894bd9f799b Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:15:31 +0000 Subject: [PATCH 10/14] docs(pr-reviews): [#2912] add the F8 reply URL to the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index bac5dbb5d5..4fb64f65b8 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -156,7 +156,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Current-tree verification: `sed -n 70,76p docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md` shows the new wording; `inventory.md` names the five class C conversions in its `LocatedError` conversions table. - Resolution reference: `docs(issues): [#2912] separate the wrong direct captures from the correct LocatedError conversions in decision 1` - Follow-up PR URL: N/A -- Reply URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#issuecomment-6956820638 ## Processing Log @@ -166,6 +166,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - 2026-11-17 18:02 UTC - Round 3: normalized da2ce7 review 5943851942 (APPROVED) with findings F6 and F7. Correction (F7) of the 2026-11-17 17:48 entry: its words naming the head by branch commit id were replaced in place by the commit subject `docs(pr-reviews): [#2912] record the review audit of PR 2919`; the rest of that entry is unchanged. F6 corrected the F2 verification line. - 2026-11-17 18:06 UTC - Pushed the commit `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919`, then replied to F6 and F7 (replies created at 18:06:21Z and 18:06:23Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 7 rows, 0 failures. - 2026-11-17 18:11 UTC - Round 4: normalized Copilot review 5943970292, whose body reports one previously missed issue (Copilot's own ID F6) as audit finding F8, and committed its fix. It has no inline thread, so its row is `NON_RESOLVABLE` and its reply goes to the PR conversation. +- 2026-11-17 18:14 UTC - Pushed the F8 fix and its row, then replied to F8 in the PR conversation (comment created at 18:14:51Z) and filled in its reply URL. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 8 rows, 0 failures. ## Completion Rules From 066946371864b9d71a9615e615950aa56be7dfbe Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:34:05 +0000 Subject: [PATCH 11/14] docs(issues): [#2912] count 37 production Location::caller() sites since #2850 in the EPIC, SI-1 and #384 specs Co-Authored-By: Claude Opus 5.5 --- .../open/2912-remove-source-locations-from-errors/EPIC.md | 6 +++--- .../ISSUE.md | 4 ++-- .../384-strip-location-from-errors-sent-to-clients/ISSUE.md | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md index 42e32f2f10..9647403fe0 100644 --- a/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md +++ b/docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md @@ -6,7 +6,7 @@ epic: null github-issue: 2912 spec-path: docs/issues/open/2912-remove-source-locations-from-errors/EPIC.md epic-owner: null -last-updated-utc: "2026-11-17 18:10" +last-updated-utc: "2026-11-17 18:33" semantic-links: skill-links: - create-issue @@ -38,7 +38,7 @@ The feature was meant to point a developer to the origin of an error. The audit (`docs/issues/open/2804-location-caller-track-caller-audit/`) shows that it does not do that, and that it has costs: -- **It is wrong by construction.** None of the 38 production `Location::caller()` sites is in a +- **It is wrong by construction.** None of the 38 production `Location::caller()` sites of the audit (37 since #2850) is in a `#[track_caller]` function, so each reports the fixed line where it is written. `#[track_caller]` cannot fix any of them: they are reached through `str::parse`, `try_into`, closures, `async fn` or `async` blocks (`options.md`, fact 6; `experiments.md`, E3 to E8). Through `str::parse` the @@ -69,7 +69,7 @@ Recorded 2026-11-17 by the EPIC coordinator session: 1. **Remove the field (option 4).** Error types lose their `location` field, no non-test code calls `Location::caller()`, and the workspace drops `torrust-located-error`. Stripping the location from - `Display` only (option 3 alone) was rejected: each of the 38 production `Location::caller()` sites + `Display` only (option 3 alone) was rejected: each of the 38 production `Location::caller()` sites of the audit (37 since #2850) records a fixed library line, so keeping the field keeps a misleading `Debug` and log value. The five `#[track_caller]` `From` conversions into `LocatedError` record a location that is correct for their call chain (`inventory.md`, class C), and they are removed as well, because that diff --git a/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md b/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md index 939cb5d41e..c7a9170000 100644 --- a/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md +++ b/docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 2913 spec-path: docs/issues/open/2913-2912-si-1-adr-errors-do-not-record-source-locations/ISSUE.md branch: "2913-adr-errors-do-not-record-source-locations" related-pr: null -last-updated-utc: "2026-11-17 17:30" +last-updated-utc: "2026-11-17 18:33" semantic-links: skill-links: - create-issue @@ -37,7 +37,7 @@ change the `handle-errors-in-code` skill so that it gives that rule instead of r ## Background The audit of issue #2804 found that the source location recorded in errors is never the caller's -(`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`): none of the 38 production `Location::caller()` sites is in a +(`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`): none of the 38 production `Location::caller()` sites of the audit (37 since #2850) is in a `#[track_caller]` function, and `#[track_caller]` cannot fix any of them, because they are reached through `str::parse`, `try_into`, closures, `async fn` or `async` blocks (`options.md`, fact 6). The location is a fixed library line, and 23 `Display` formats print it into text that reaches HTTP, UDP diff --git a/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md b/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md index 7c593c1ab0..9f1087c974 100644 --- a/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md +++ b/docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md @@ -9,7 +9,7 @@ github-issue: 384 spec-path: docs/issues/open/384-strip-location-from-errors-sent-to-clients/ISSUE.md branch: "384-strip-location-from-errors-sent-to-clients" related-pr: null -last-updated-utc: "2026-11-17 17:30" +last-updated-utc: "2026-11-17 18:33" semantic-links: skill-links: - create-issue @@ -52,7 +52,7 @@ turn it off. The audit of issue #2804 (`docs/issues/open/2804-location-caller-track-caller-audit/inventory.md`, `options.md`) measured the feature: -- None of the 38 production `Location::caller()` sites reports a caller. Each reports a fixed +- None of the 38 production `Location::caller()` sites of the audit (37 since #2850) reports a caller. Each reports a fixed library line, and `#[track_caller]` cannot fix any of them. - 23 `Display` formats print the location, and `LocatedError` prints its own. The text reaches HTTP tracker clients (`failure reason`), UDP tracker clients (error message), REST API clients, event From e54643ad265af34f1a57996b958cfb84e2094556 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:35:18 +0000 Subject: [PATCH 12/14] docs(pr-reviews): [#2912] record round 5 of the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 31 ++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index 4fb64f65b8..a1843d3e80 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -51,6 +51,8 @@ deliver findings through GitHub and have no repository-artifact obligation. | F6 | review-finding:pr-2919-f6 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | | F7 | review-finding:pr-2919-f7 | Human | Minor | documentation | ORIGINAL | FIXED | RESOLVED | | F8 | review-finding:pr-2919-f8 | Copilot | Minor | correctness | ORIGINAL | FIXED | NON_RESOLVABLE | +| F9 | review-finding:pr-2919-f9 | Human | Minor | correctness | ORIGINAL | FIXED | RESOLVED | +| F10 | review-finding:pr-2919-f10 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | ## Finding Details @@ -127,7 +129,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603665151 - Concern: The F2 verification said `grep -n 'EPIC #2912'` finds the sentence, the paragraph and the heading, but it prints only the heading and the sentence; the paragraph says `issue #2912`. - Solution: The F2 verification now uses `grep -n '#2912'` and names what each of the three matches says. -- Current-tree verification: `grep -n '#2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` prints lines 215, 220 and 228 (heading, sentence, paragraph), plus other lines that cite the EPIC. +- Current-tree verification: `grep -n '#2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` prints lines 215, 220 and 228 (heading, sentence, paragraph). - Resolution reference: `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919` - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4603731183 @@ -158,6 +160,32 @@ deliver findings through GitHub and have no repository-artifact obligation. - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#issuecomment-6956820638 +### F9 - Decision 1 counts 38 direct captures where the tree has 37 + +- PR number: 2919 +- Source review ID: 5944340783 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4604013534 +- Concern: Decision 1 and the "wrong by construction" line of the EPIC say 38 production `Location::caller()` sites, but #2850 removed one from `http-protocol/src/v1/requests/announce.rs` after the inventory was taken, so the merge base and this head have 37. +- Solution: The EPIC (both lines), the SI-1 spec and the #384 spec now say "the 38 production `Location::caller()` sites of the audit (37 since #2850)"; the same sentence in the EPIC issue body on GitHub was edited the same way. `inventory.md` and `options.md` keep 38, because they are dated to their commit. +- Current-tree verification: `grep -rn '37 since #2850' docs/issues/open` prints four lines (EPIC lines 41 and 72, SI-1 line 40, #384 line 55); `grep -rn 'the 38 production' docs/issues/open/29*-2912-* docs/issues/open/2912-* docs/issues/open/384-*` finds no line without that qualifier. +- Resolution reference: `docs(issues): [#2912] count 37 production Location::caller() sites since #2850 in the EPIC, SI-1 and #384 specs` +- Follow-up PR URL: N/A +- Reply URL: N/A + +### F10 - The F6 verification claims extra grep matches + +- PR number: 2919 +- Source review ID: 5944340783 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4604013542 +- Concern: The F6 verification ended "plus other lines that cite the EPIC", but `grep -n '#2912'` on the #2804 audit spec prints only lines 215, 220 and 228. +- Solution: Dropped the clause. +- Current-tree verification: `grep -n '#2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` prints lines 215, 220 and 228 only. +- Resolution reference: `docs(pr-reviews): [#2912] record round 5 of the review audit of PR 2919` +- Follow-up PR URL: N/A +- Reply URL: N/A + ## Processing Log - 2026-11-17 17:35 UTC - Replied to F1 to F3 (replies created from 17:35:15Z to 17:35:20Z) and resolved their threads after pushing the round 1 fixes, before this record existed: a late start of the audit. The replies cite the branch commit id `280121c6a`, which is the commit `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording`. The three independent fixes share that one commit instead of one commit each (step 6). The F1 reply says the #384 spec now ticks both checkpoints; only the approval checkpoint changed there, because its issue checkpoint was already ticked. @@ -167,6 +195,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - 2026-11-17 18:06 UTC - Pushed the commit `docs(pr-reviews): [#2912] correct the F2 verification and drop a branch commit id from the review audit of PR 2919`, then replied to F6 and F7 (replies created at 18:06:21Z and 18:06:23Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 7 rows, 0 failures. - 2026-11-17 18:11 UTC - Round 4: normalized Copilot review 5943970292, whose body reports one previously missed issue (Copilot's own ID F6) as audit finding F8, and committed its fix. It has no inline thread, so its row is `NON_RESOLVABLE` and its reply goes to the PR conversation. - 2026-11-17 18:14 UTC - Pushed the F8 fix and its row, then replied to F8 in the PR conversation (comment created at 18:14:51Z) and filled in its reply URL. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 8 rows, 0 failures. +- 2026-11-17 18:34 UTC - Round 5: normalized da2ce7 review 5944340783 (APPROVED) with findings F9 and F10, committed the F9 fix, edited the EPIC issue body on GitHub for F9, and fixed F10 in this record. ## Completion Rules From acf159313fbd4278f67af871e9d182c78f8c5078 Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 18:39:45 +0000 Subject: [PATCH 13/14] docs(pr-reviews): [#2912] add the F9 and F10 reply URLs to the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index a1843d3e80..c527508024 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -171,7 +171,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Current-tree verification: `grep -rn '37 since #2850' docs/issues/open` prints four lines (EPIC lines 41 and 72, SI-1 line 40, #384 line 55); `grep -rn 'the 38 production' docs/issues/open/29*-2912-* docs/issues/open/2912-* docs/issues/open/384-*` finds no line without that qualifier. - Resolution reference: `docs(issues): [#2912] count 37 production Location::caller() sites since #2850 in the EPIC, SI-1 and #384 specs` - Follow-up PR URL: N/A -- Reply URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4604092002 ### F10 - The F6 verification claims extra grep matches @@ -184,7 +184,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - Current-tree verification: `grep -n '#2912' docs/issues/open/2804-location-caller-track-caller-audit/ISSUE.md` prints lines 215, 220 and 228 only. - Resolution reference: `docs(pr-reviews): [#2912] record round 5 of the review audit of PR 2919` - Follow-up PR URL: N/A -- Reply URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4604092428 ## Processing Log @@ -196,6 +196,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - 2026-11-17 18:11 UTC - Round 4: normalized Copilot review 5943970292, whose body reports one previously missed issue (Copilot's own ID F6) as audit finding F8, and committed its fix. It has no inline thread, so its row is `NON_RESOLVABLE` and its reply goes to the PR conversation. - 2026-11-17 18:14 UTC - Pushed the F8 fix and its row, then replied to F8 in the PR conversation (comment created at 18:14:51Z) and filled in its reply URL. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 8 rows, 0 failures. - 2026-11-17 18:34 UTC - Round 5: normalized da2ce7 review 5944340783 (APPROVED) with findings F9 and F10, committed the F9 fix, edited the EPIC issue body on GitHub for F9, and fixed F10 in this record. +- 2026-11-17 18:39 UTC - Pushed the round 5 commits, then replied to F9 and F10 (replies created at 18:38:56Z and 18:38:58Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 10 rows, 0 failures. ## Completion Rules From 2a16f4cf8327dd1d148a6f816f3b7634ad6d63bd Mon Sep 17 00:00:00 2001 From: josecelano-bot Date: Tue, 17 Nov 2026 20:55:12 +0000 Subject: [PATCH 14/14] docs(pr-reviews): [#2912] record the no-change Copilot finding F11 in the review audit of PR 2919 Co-Authored-By: Claude Opus 5.5 --- docs/pr-reviews/pr-2919-review/PR-REVIEW.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md index c527508024..dcd4232854 100644 --- a/docs/pr-reviews/pr-2919-review/PR-REVIEW.md +++ b/docs/pr-reviews/pr-2919-review/PR-REVIEW.md @@ -53,6 +53,7 @@ deliver findings through GitHub and have no repository-artifact obligation. | F8 | review-finding:pr-2919-f8 | Copilot | Minor | correctness | ORIGINAL | FIXED | NON_RESOLVABLE | | F9 | review-finding:pr-2919-f9 | Human | Minor | correctness | ORIGINAL | FIXED | RESOLVED | | F10 | review-finding:pr-2919-f10 | Human | Nit | documentation | ORIGINAL | FIXED | RESOLVED | +| F11 | review-finding:pr-2919-f11 | Copilot | Minor (inferred) | metadata | ORIGINAL | NO_ACTION | SUPERSEDED | ## Finding Details @@ -186,6 +187,19 @@ deliver findings through GitHub and have no repository-artifact obligation. - Follow-up PR URL: N/A - Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4604092428 +### F11 - The EPIC frontmatter keeps `epic: null` + +- PR number: 2919 +- Source review ID: 5944681077 +- Reviewer finding ID: N/A +- Source URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4604286890 +- Concern: The EPIC spec sets `github-issue: 2912` but keeps `epic: null`, which the reviewer read as inconsistent with the sub-issue specs that use `epic: 2912`. +- Solution: No change. `epic` names the parent EPIC. A top-level EPIC has none, so `docs/templates/EPIC.md` and the open top-level EPIC specs (#1347, #1669, #2003, #2758) keep `epic: null`; only nested EPICs (#2264, #2278) set it. The EPIC's own number is in `github-issue`. The maintainer chose to record this row in the PR after the fifth fix round. +- Current-tree verification: `for f in docs/issues/open/*/EPIC.md; do grep -m1 '^epic:' $f; done` prints `epic: null` for every top-level EPIC and `epic: 2003` for the two nested ones; `docs/templates/EPIC.md` has `epic: null`. +- Resolution reference: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4605659875 +- Follow-up PR URL: N/A +- Reply URL: https://github.com/torrust/torrust-tracker/pull/2919#discussion_r4605659875 + ## Processing Log - 2026-11-17 17:35 UTC - Replied to F1 to F3 (replies created from 17:35:15Z to 17:35:20Z) and resolved their threads after pushing the round 1 fixes, before this record existed: a late start of the audit. The replies cite the branch commit id `280121c6a`, which is the commit `docs(issues): [#2912] address review of PR 2919: approval checkpoints, audit status and option wording`. The three independent fixes share that one commit instead of one commit each (step 6). The F1 reply says the #384 spec now ticks both checkpoints; only the approval checkpoint changed there, because its issue checkpoint was already ticked. @@ -197,6 +211,7 @@ deliver findings through GitHub and have no repository-artifact obligation. - 2026-11-17 18:14 UTC - Pushed the F8 fix and its row, then replied to F8 in the PR conversation (comment created at 18:14:51Z) and filled in its reply URL. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 8 rows, 0 failures. - 2026-11-17 18:34 UTC - Round 5: normalized da2ce7 review 5944340783 (APPROVED) with findings F9 and F10, committed the F9 fix, edited the EPIC issue body on GitHub for F9, and fixed F10 in this record. - 2026-11-17 18:39 UTC - Pushed the round 5 commits, then replied to F9 and F10 (replies created at 18:38:56Z and 18:38:58Z) and filled in their reply URLs. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 10 rows, 0 failures. +- 2026-11-17 20:54 UTC - Round 6: normalized Copilot review 5944681077 (posted after da2ce7's approval of the round 5 head) as F11, a no-change finding. The maintainer chose to record it in this PR rather than after the merge. Replied at 20:54:12Z with the `Superseded by F11` form. `validate-audit-record.py --pr-number 2919 --base torrust/develop` (scratchpad copy, `gh` calls through `gh-bot`) on this worktree record reported 11 rows, 0 failures. ## Completion Rules