Skip to content

docs(issues): [#2446] add issue specification for #2446 - #2447

Merged
josecelano merged 10 commits into
torrust:developfrom
josecelano:2446-1669-establish-baseline-analysis-spec
Oct 6, 2026
Merged

josecelano merged 10 commits into
torrust:developfrom
josecelano:2446-1669-establish-baseline-analysis-spec

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

Spec-only PR for #2446 (SI-01 of EPIC #1669): promote the baseline-analysis draft to an open issue spec. No code changes.

Related to #2446

Changes

Validation

Copilot AI balanced review requested due to automatic review settings October 6, 2026 10:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The specification lacks required completion evidence and has an ambiguous README-audit scope.

Review effort: Balanced
Findings: 5 Low severity

Open (5)
What changed in this PR

Promotes #2446’s baseline-analysis draft into an open issue specification and links it from EPIC #1669.

Changes:

  • Records completed historical work and plans the baseline refresh.
  • Updates EPIC links and tracking for SI-01.
  • Removes the superseded draft specification.
File Description
docs/​issues/​open/​2446-1669-establish-baseline-analysis/​ISSUE.md Adds the promoted and expanded specification.
docs/​issues/​open/​1669-overhaul-packages/​EPIC.md Links and tracks issue #2446.
docs/​issues/​drafts/​1669-01-establish-baseline-analysis/​ISSUE.md Removes the former draft location.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@josecelano josecelano self-assigned this Oct 6, 2026
@josecelano
josecelano requested a review from da2ce7 October 6, 2026 11:17

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed at 2244ecc63da2b5f88f365946e1a32b56424885b4 (round 1). Recomputed from the bytes at this head, against develop at d0c97baef.

This PR promotes the EPIC #1669 baseline-analysis draft, which had no issue, to the open spec for #2446 (SI-01). The spec records the May–June work as T1–T8 DONE, plans T9–T13 to refresh the outputs, and links the issue from the EPIC. Copilot's review left five open threads, each owed a reply: SPEC-001 (Commit Points), SPEC-002 (manual-verification status/evidence), SPEC-003 (Acceptance Verification and Implementation Completion Review), SPEC-004 (README-audit package set) and SPEC-005 ("Symfony").

Promotion and frontmatter. Git pairs the draft and the spec only at 45% similarity, so I compared them by hand. The draft recorded nothing as done (T1–T8 TODO, no checkpoint ticked), so no done record is lost. Carried over verbatim: the T1–T8 rows (now DONE), the item-level rationale, the T8 tables and both 2026-05-18 log entries. The tool description was rewritten and matches src/main.rs:5-7,344-346 and the syn dependency. Dropped: the draft's SI-02/SI-03 Background (F7) and its fixed counts in the ACs. Frontmatter: epic, github-issue, spec-path and the stamp (= the last log entry) are right, branch equals the PR head ref, and related-pr: null is correct until cleanup (cleanup-completed-issues/SKILL.md:105). All seven related artifacts and every relative link resolve. SI-01 is free: besides the new rows it appears only in EPIC.md:891's existing mention of the baseline subissue.

Spec vs template. create-issue/SKILL.md:115-135 lists the sections to initialize "Before presenting the draft for review", with no status condition. :321-334 requires status/evidence fields "before implementation starts". Every recent planned task spec on develop has them (2435, 2349, 2413–2418 among others). SPEC-001, SPEC-002 and SPEC-003 hold as Major (F1–F3). SPEC-004 holds as Major and is wider than stated (F4). SPEC-005 holds as a Nit with no loop finding: "Symphony" misspells Symfony, the component-based PHP framework, so the comparison means what it says. That line is verbatim from the draft's historical T8 section. The Background misdates two packages (F5), and T2/T4 claim "27 packages" outputs the artifacts contradict (F6). DEC-07/08/09/17, SI-26 (#1907), SI-27 (#1908), the ADR, both reports, readme-audit.md, the diagram and tests/parse_imports.rs all exist, and the 2026-06-10 Observations placeholder is real.

EPIC edit. The quick-list line (665), the Details row (685, TODO, link resolves), the Specs Index line (732), the checkpoint (915) and the 10:37 log entry match the diff, and the stamp equals the entry. The PR title and body cite the issue number, but the issue's existence and its subissue link cannot be checked offline. For the maintainer: the orchestrator's git merge-tree of this head against the open #2445 conflicts in EPIC.md, because both bump the stamp and append to the Progress Log. Whichever PR merges second needs a rebase; #2444 and the loop's open PRs merge cleanly with this one.

Hygiene. One commit on d0c97baef with a Conventional subject carrying [#2446]; author = committer; no trailer; docs only, no manifest change; no banned token. The body has Summary/Changes/Validation and uses Related to #2446, the spec-only form (create-issue/SKILL.md:298-302, open-pull-request/SKILL.md:124-128). Its hook claims are reported as stated, not recomputed.

Findings

  • F1 [Major] No Commit Points (same as SPEC-001)
  • F2 [Major] MV table has no status/evidence and no manual-verification-evidence.md (same as SPEC-002)
  • F3 [Major] No Acceptance Verification / Implementation Completion Review (same as SPEC-003)
  • F4 [Major] README-audit package set undefined, both what to include and what to remove (same as SPEC-004, widened)
  • F5 [Minor] Background says e2e-tools/persistence-benchmark arrived after June
  • F6 [Minor] T2/T4 marked DONE against "27 packages" outputs the artifacts contradict
  • F7 [Nit] SI-02/SI-03 can no longer be resolved from the spec

F1–F4 block. F5 and F6 each make a spec statement wrong, so they belong in the same push.

Checked, no finding

  • Related to #2446: a spec PR must not close the issue
  • branch, related-pr, stamp, spec-path, related artifacts, links
  • T1, T3, T5–T8 evidence; the DEC and SI cross-references
  • Tool description vs main.rs
  • EPIC: SI-01 slot, first-cycle exit criteria (EPIC.md:770), AC1 row (EPIC.md:960)
  • priority: p2 (the draft had p1; the maintainer's call)
  • Risks and Trade-offs absent: not in create-issue/SKILL.md:115-131's list, and several merged planned specs omit it

Checks

On the loop's compute hub at this head, base develop d0c97baef (receipt server-gates-krkavec-80): pre-commit profile gate exit 0 (75 s), tree clean after the gate; linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 20 errors / 4 warnings at this head against 21 / 4 at develop d0c97baef re-measured in the same run, so the PR removes one pre-existing error (the deleted draft's) and adds none. GitHub checks at this head at posting time: completed/success Docs Lint. At posting, this head merges cleanly onto develop; it conflicts with the open #2445 in EPIC.md.

Promote the EPIC torrust#1669 baseline-analysis draft (SI-01): record tasks T1 to T8 as done with evidence, add T9 to T13 to refresh the coupling report, README audit and dependency diagram for the post-torrust#1938 workspace, and link torrust#2446 from the EPIC.
…dence

Give MV1 to MV4 command, status and evidence columns and require issue-local manual-verification-evidence.md.
…on review

Number the remaining acceptance criteria, add the post-implementation re-review and manual-evidence criteria, map them to evidence rows, add the Implementation Completion Review section and the post-implementation checkpoints.
Audit the 25 tracker packages (root crate, console/tracker-client and packages/*) with a missing rating, put the contrib/dev-tools members out of scope, and list the seven stale rows T10 removes. Goal, scope, T10, AC4 and MV4 now use the same set.
…enchmark appeared

Both packages are already in the 2026-06-10 report and the diagram; only the older README audit (2026-05-18 workspace) lacks them.
Record the 29-package report and the 26-row README audit as deviations from the draft's 27-package outputs, and have T10 fix the audit's mismatched Summary table.
Also bump last-updated-utc and log the round-1 review fixes.
Record Copilot SPEC-001 to SPEC-005 and da2ce7 F1 to F7 (F1 to F4 re-raise SPEC-001 to SPEC-004) as fixed, with their reply URLs.
da2ce7
da2ce7 previously approved these changes Oct 6, 2026

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed at 34a36ea3c75d0c00f3f04df33adcedcc287de141 (round 2). Recomputed from the bytes at this head, against its merge base d0c97baef on develop.

This head is the round-1 tip plus eight docs(issues): [#2446] commits that answer F1–F7 and Copilot's SPEC-005. The spec changes by +120/−29 lines and project-words.txt by +1.

F1–F7 and SPEC-005 at the bytes. Each fix does what its reply says.

  • F1: ## Commit Points (line 244) maps each of T9–T13 to one commit. T12 records "none found" without an empty commit, as create-issue/SKILL.md:115-124 and template ISSUE.md:107-118 require.
  • F2: ### Manual Verification Scenarios now has command/steps, Status (TODO) and Evidence columns, and its notes require an issue-local manual-verification-evidence.md with the toolchain recorded. At planned, naming the file is enough: the template creates it "when executing these scenarios" (ISSUE.md:194-197), and 20 of the 24 planned specs on develop have no evidence file yet.
  • F3: the remaining criteria are AC1–AC10, with AC9 for manual evidence and AC10 for the re-review. ### Acceptance Verification maps all ten, and ## Implementation Completion Review follows the template. Checkpoints at lines 276-284 add the post-implementation steps.
  • F4: Goal item 2 fixes the audited set at 25 packages (the root crate, console/tracker-client and the 23 packages/* members), with a missing rating. That is exactly the EPIC's Package Inventory (EPIC.md:94-118) and my round-1 recount. The dev-tools are out of scope, and T10 names all seven stale rows: 26 rows − 7 + 6 additions = 25. In Scope, AC4 and MV4 use the same set.
  • F5: the Background now puts both packages in the 2026-06-10 report and the diagram, and dates the audit to the 2026-05-18 workspace.
  • F6: the evidence list states the real numbers: 29 packages (8 + 21) in the May report, and 26 audit rows with the 2/9/16 vs 2/10/14 summary mismatch. readme-audit.md itself is unchanged and is described as it is, and T10 must fix its Summary.
  • F7: T5 cites SI-02 (#1790) and SI-03 (#1793), and its evidence bullet defines both, consistent with the EPIC's Details rows.
  • SPEC-005: both cells read "Symfony". The added project-words.txt entry Symfony is needed for cspell: "Symphony" is an English dictionary word, the framework name is not.

The spec as a whole.

  • last-updated-utc 11:51 equals the new 11:51 Progress Log entry, whose text matches the delta.
  • All 18 relative links and the seven related artifacts resolve.
  • branch, related-pr: null, status and spec-path are unchanged.
  • The added sections sit in the template's positions: Commit Points after the Implementation Plan, Acceptance Verification closing the Verification Plan, and Implementation Completion Review before References.

EPIC overlap. EPIC.md is unchanged since round 1. Against develop at 29ef7cb80, two of its six hunks collide:

  • the stamp at line 9 (develop has 10:40);
  • the Progress Log tail, where both append after the 09:12 entry, so develop's 10:40 entry would come before this PR's 10:37 one.

The quick-list, Details, Specs Index and checkpoint hunks apply cleanly. Resolving the collision is the maintainer's rebase, not a finding.

Carried forward. The round-1 rulings on the promotion, the EPIC edit and hygiene stand. Across nine commits:

  • the eight new subjects are Conventional and carry [#2446];
  • author = committer;
  • author times ascend from 11:37Z to 11:52Z, after 10:40Z;
  • no trailers;
  • only docs and the dictionary change, and no banned token.

Threads. F1–F7 are fixed as replied, so the loop's seven threads can be resolved. Copilot's five threads are the author's.

Verdict: APPROVE. The ACK binds to this head. GitHub reports it dirty against develop, and the rebase will need a fresh round. The review record owed after approval does not block.

Findings

None.

Checked, no finding

  • Checkpoint 276 ("Spec-only PR merged into develop before implementation") sits after the T9–T13 checkpoints; its own text states the intended order.
  • The 11:51 log entry does not mention the SPEC-005 spelling fix.
  • The missing rating is unused today, because all 25 audited packages have a README.

Checks

On the loop's compute hub at this head, against its merge base d0c97baef (receipt server-gates-krkavec-87): pre-commit profile gate exit 0 (74 s), tree clean after the gate; linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 20 errors / 4 warnings at this head against 21 / 4 at the merge base re-measured in the same run. GitHub checks at this head at posting time: completed/success Docs Lint. At posting, develop is 29ef7cb80 (the merge of #2445, which edits the same EPIC #1669 file) and GitHub reports this head dirty against it: a rebase is the maintainer's step, the approval and ACK bind to this head, and a rebased head gets a fresh round.

@da2ce7

da2ce7 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

ACK 34a36ea — the seven round-1 fixes verified at this head: Commit Points for T9–T13, MV status and evidence columns, Acceptance Verification and Implementation Completion Review, the 25-package README-audit set with its seven stale rows, the Background dating, the T2/T4 counts and the SI-02/SI-03 mapping

@josecelano

Copy link
Copy Markdown
Member Author

ACK 7b4d3dc

@da2ce7 da2ce7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed at 7b4d3dcbf5cea5f90c68b98a0eac1ee5c52968f4 (round 3). Recomputed from the bytes at this head, against develop at 29ef7cb80.

This head is the round-2 commits rebased onto the merged #2445, plus the audit record. A rebase gets its own round because it re-resolves EPIC.md against new upstream text, and the round-2 ACK bound only to the earlier bytes.

The rebase. git range-diff shows eight = and one !; the spec and project-words.txt are byte-identical to the round-2 tip. The ! is the first commit's EPIC.md hunk:

  • It no longer edits last-updated-utc, so develop's "2026-10-06 10:40" stays.
  • Its 10:37 entry now sits before #2445's 10:40 entry rather than before ## Acceptance Criteria.

git diff -U0 29ef7cb80 on EPIC.md is +6/−4 and deletes no upstream line. The four replaced lines are the PR's own targets (quick list 666, Details 686, Specs Index 733, checkpoint 927), and the two added lines are the 10:37 entry.

The stamp is right: 10:40 equals the last entry, and keeping the PR's 10:37 would have moved it backwards. The log reads 09:12 → 10:37 → 10:40 (EPIC.md:953-958), so it is in chronological order. The EPIC template asks only "Append one line per meaningful update" (docs/templates/EPIC.md:92). No finding.

The record. docs/pr-reviews/pr-2447-review/PR-REVIEW.md has twelve rows, not seven: SPEC-001…005 (Copilot, ORIGINAL) and F1–F7 (Human). Reviewer-provided IDs are kept (process-pr-review/SKILL.md:57-61). F1–F4 are RE_RAISE_OF:SPEC-001…004. That is the skill's value for "a later item requesting the same current-tree change", which has no same-reviewer condition and requires "its own tracking row and detail entry" (:64-69; template :51-54), so pointing at Copilot's IDs is correct.

Against review-comments.json and the branch, for all twelve rows:

  • every severity equals its bracket tag (:226);
  • categories are in the list;
  • each Source review ID owns its Source URL;
  • each Reply URL is the maintainer's 12:09-12:10Z reply on the same thread;
  • each Resolution reference is one of the eight fix subjects on the branch;
  • rows and details are in source order.

The verification sentences reproduce at this head: 23 packages/ folders; 5/4/0 grep -c lines; "Workspace packages: 29". The exception is F7's gh issue view, which cannot be run offline but agrees with the EPIC Details rows.

The Processing Log reads 11:04, 11:31, 12:14, in order. The 12:14 stamp precedes the record's 12:15:45Z authorship. "Pushed once" describes the fix push, and twelve findings in eight commits holds (five SPEC changes plus F5–F7). The "issue #2446" artifact follows the pr-2441 record's form.

Validator view. The validator checks all twelve rows; every thread has a row, so none is invisible to it.

Carried forward. The round-2 verification of the eight fixes stands on identical bytes. Across ten commits:

  • subjects are unchanged, plus docs(pr-reviews): [#2446] record PR #2447 review audit;
  • author times are unchanged (10:40Z … 11:52Z, the record at 12:15Z), and committer times are at the rebase (12:19Z);
  • author = committer;
  • no trailers, no manifest change, no banned token.

Threads. All twelve are resolved.

Owed, non-blocking. Processing Log entries for the round-2 approval 5428196848, the 12:21Z rebase push (which dismissed it), and this round.

Verdict: APPROVE. The ACK binds to this head.

Findings

None.

Checks

On the loop's compute hub at this head, base develop 29ef7cb80 (receipt server-gates-krkavec-88): pre-commit profile gate exit 0 (73 s), tree clean after the gate; linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all: 20 errors / 4 warnings at this head against 21 / 4 at develop re-measured in the same run; validate-audit-record.py --pr-number 2447 over the live review comments at this head: 12 rows, 3 log entries, 0 failures. GitHub checks at this head at posting time: completed/success Docs Lint. At posting, this head merges cleanly onto develop.

@da2ce7

da2ce7 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

ACK 7b4d3dc — rebase onto 29ef7cb verified (eight commits unchanged; the EPIC re-resolution deletes no upstream line, keeps develop's stamp and a chronological log) and the audit record's rows SPEC-001…005 and F1–F7 match the posted reviews, replies and fix subjects; Processing Log entries for the round-2 approval, the rebase push and this round are owed

josecelano added a commit that referenced this pull request Oct 7, 2026
…ssues/closed

3127250 chore(issues): archive closed issue #2446 spec to docs/issues/closed (Jose Celano)

Pull request description:

  Archives the spec for issue #2446 (closed as completed by #2462) from `docs/issues/open/` to `docs/issues/closed/`.

  Related to #2446
  Related to #1669

  - Verified issue #2446 is `CLOSED` on GitHub.
  - Moved `docs/issues/open/2446-1669-establish-baseline-analysis/` (spec and manual-verification evidence) to `docs/issues/closed/`.
  - Updated frontmatter: `status: done`, `spec-path`, `related-pr: 2462`, `last-updated-utc`, and the evidence file's `issue-spec`.
  - Ticked the three remaining workflow checkpoints and added a progress-log entry.
  - Fixed the spec's two sibling-relative links (`../1669-overhaul-packages/...`) that the move broke; checked every relative link in the moved files by hand, since the local link checker skips `docs/issues/closed/`.
  - EPIC #1669: the Details row and the Subissue Specs Index now link to the closed path; added a progress-log entry.
  - Kept as historical records: the PR #2447 and PR #2462 review audits, and a branch name in a draft's evidence.
  - Pre-commit and pre-push checks passed.

ACKs for top commit:
  josecelano:
    ACK 3127250

Tree-SHA512: d3ef07885069f825fb18ade27b2a980d65930923f0ad9041aae40c076f17442b6f4fc51f543a8cf71c6154cdac0443e253f6854b00661b69a56c8a551d02f687
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants