Skip to content

docs(issues): [#2503] add issue specification for #2503 - #2504

Merged
josecelano merged 5 commits into
torrust:developfrom
da2ce7:2503-2278-author-self-audit-gate-spec
Oct 13, 2026
Merged

josecelano merged 5 commits into
torrust:developfrom
da2ce7:2503-2278-author-self-audit-gate-spec

Conversation

@da2ce7

@da2ce7 da2ce7 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Related to #2503
Related to #2278

Summary

This spec-only PR opens EPIC #2278's order 5, "Add the author self-audit gate to process-pr-review", as issue #2503. The specification itself was drafted and reviewed in PR #2431, which merged into develop as c7aeaf46c. On that merge, on 2026-10-13, the maintainer asked for the next steps: create the issue, link it as a sub-issue of #2278, move the specification to docs/issues/open/ with its number, and link it from EPIC row 5. Issue #2503 was created and linked under #2278. This PR moves and numbers the specification, links EPIC row 5, and repoints the one frontmatter link the move broke; the specification's content is otherwise unchanged.

  • Move and number. docs/issues/drafts/2278-author-self-audit-gate/ becomes docs/issues/open/2503-2278-author-self-audit-gate/, which Git shows as a rename at 97% similarity. In the specification:

    • the frontmatter reads status: planned, github-issue: 2503, the moved spec-path, and branch: "2503-2278-author-self-audit-gate-spec";
    • the heading reads # Issue #2503 - …;
    • the three checkpoints that are now true are ticked: approval, issue created, and spec-only PR merged;
    • one Progress Log entry records the approval, the creation, the link and the move.

    The ticked "Folder-style spec drafted in docs/issues/drafts/…" checkpoint stays as written, because it records where the draft was written.

  • EPIC row 5. Row 5 names #2503 and the open path; its TODO status and notes are unchanged. One Progress Log entry records the creation and the move, and last-updated-utc matches it.

The PR #2431 audit record's related-artifacts entry now names the open path (see Review round 1); its body keeps the draft path in its historical verification lines.

Files Touched

  • docs/issues/drafts/2278-author-self-audit-gate/ISSUE.md → docs/issues/open/2503-2278-author-self-audit-gate/ISSUE.md: moved, with the number filled in, three checkpoints ticked and one Progress Log line.
  • docs/issues/open/2278-2003-strengthen-pr-review-author-self-audit/EPIC.md: row 5, one Progress Log line and the frontmatter stamp.
  • docs/pr-reviews/pr-2431-review/PR-REVIEW.md: the semantic-links.related-artifacts entry for the order 5 specification names its open path.
  • docs/pr-reviews/pr-2504-review/PR-REVIEW.md (new): the review audit record for this PR, round 1.

Review round 1

Review 5505346414 on head c1e8c7151 raised one Minor finding, F1 (review-finding:pr-2504-f1): the PR #2431 audit record still listed the deleted draft path under semantic-links.related-artifacts. docs(pr-reviews): [#2431] point the audit record at the moved order 5 specification repoints that entry to docs/issues/open/2503-2278-author-self-audit-gate/ISSUE.md, and the record's body keeps its git grep lines as historical verifications. A tree-wide search resolved every related-artifacts item and spec-path value in frontmatter under docs/ and .github/ against each commit's own tree. It finds 159 entries naming absent paths at c1e8c7151, and the same 158 at the new head as at the merge base 7614ae5f3, so F1's entry was the only one this PR broke. Of those 158, 24 sit in 20 earlier records under docs/pr-reviews/, mostly links to specifications that later moved from open/ to closed/; they predate this PR and are left for separate work. docs(pr-reviews): [#2503] add the PR #2504 review audit records the round, including an automated review that recommended approval with no open finding.

Validation

At this head:

In a Linux container with the workspace nightly toolchain, at the rebased head dd4b46866 (the move, the round-1 fix, its audit record and the recorded reply URL, rebased onto develop 1c5939c76 at the maintainer's request with all five commits unchanged in the range-diff), base develop 1c5939c76: pre-commit profile gate exit 0 (76 s); linter markdown, linter cspell, linter lychee exit 0; frontmatter-validator --all 19 errors / 4 warnings at the head and the same at develop re-measured; validate-audit-record.py --pr-number 2504 against the review comments captured after the reply: 1 rows, 6 log entries, 0 failures; git merge-tree against develop clean.

@da2ce7
da2ce7 requested review from josecelano and a balanced review from Copilot October 13, 2026 12:41
@josecelano josecelano self-assigned this Oct 13, 2026

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.

🟢 Approval recommended

The documentation updates are consistent with the repository workflow and verified GitHub issue relationship.

0 open findings

What changed in this PR

Moves the approved #2503 specification into its numbered open-issue location and links it from EPIC #2278.

Changes:

  • Updates #2503 metadata and workflow checkpoints.
  • Links EPIC order 5 to issue #2503.
  • Records issue creation, linkage, and specification movement.
File Description
docs/​issues/​open/​2503-2278-author-self-audit-gate/​ISSUE.md Numbers and opens the approved specification.
docs/​issues/​open/​2278-2003-strengthen-pr-review-author-self-audit/​EPIC.md Links and records subissue #2503.

🧠 Review effort: Balanced


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

@josecelano josecelano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review of head c1e8c7151: one Minor finding (F1, inline). Everything else checks out: the title follows the create-issue template, Related to linking is right, the -spec branch and frontmatter fields are consistent, EPIC row 5 is linked, #2503 has #2278 as its parent, both commits are verified, and the PR merges cleanly into current develop. Approval after F1 is fixed or justified.

da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 13, 2026
Review 5505346414 raised one Minor finding, F1: the PR torrust#2431 audit
record still linked the order 5 draft path that this pull request
deletes. The record tracks F1 as FIXED with its thread RESOLVED once
the reply is posted, names the fix commit as its resolution
reference, and keeps the reply URL placeholder until the reply
exists.

The record also notes the automated review that recommended approval
with no open finding, which creates no row, and records the tree-wide
frontmatter path search: the fix commit has the same absent entries
as the merge base, so the only entry this pull request broke is the
one the fix repoints.
da2ce7 added a commit to da2ce7/torrust-tracker that referenced this pull request Oct 13, 2026
@da2ce7
da2ce7 requested a review from josecelano October 13, 2026 15:08

@josecelano josecelano left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Round 2 on head 1c911d763: approved.

  • F1 is verified. docs/pr-reviews/pr-2431-review/PR-REVIEW.md now names docs/issues/open/2503-2278-author-self-audit-gate/ISSUE.md in related-artifacts. Its body's git grep verification lines keep the draft path as historical records. The thread is resolved.
  • The correction to my F1 comment is right. My claim that this was "the only related-artifacts entry under docs/pr-reviews/ that points to a missing file" was wrong. My check covered only part of the directory. I re-ran an independent scan of the spec-path and related-artifacts frontmatter under docs/ and .github/. It finds the same set of missing-path entries at this head and at the merge base 7614ae5f3, and the same 24 missing entries in 20 earlier records under docs/pr-reviews/. So this PR introduces none. My total is 136 rather than 158, which I put down to differences in how our scans parse paths; the comparison between the two commits still holds. Those older entries are separate work.
  • The three new commits are GPG-verified, the new pr-2504-review audit record is consistent with the thread (Reviewer finding ID: N/A is right, because the ID was not reassigned), and the PR still merges cleanly into current develop.

@josecelano

Copy link
Copy Markdown
Member

ACK 1c911d7

@josecelano

Copy link
Copy Markdown
Member

@da2ce7 this is approved and ready to merge, but the branch is 39 commits behind develop. GitHub's merge base is still 7614ae5f3, and develop is now at 1c5939c76. The maintainer merge tool (contrib/dev-tools/git/merge-pull-request.sh) refuses a merge whose base isn't the current develop tip.

Could you rebase 2503-2278-author-self-audit-gate-spec onto the latest develop and push? I'll merge once GitHub has recomputed the merge and Docs Lint passes. The PR had no conflicts with develop at my last check.

Issue torrust#2503 now exists and is linked under torrust#2278, so its specification
moves from docs/issues/drafts/ to docs/issues/open/ with the number
filled in: status, issue, path, branch and heading, the three
checkpoints that are now true, and a Progress Log entry for the
approval, the creation and the move.
Order 5 now has issue torrust#2503 and an open specification, so row 5 names
the issue and its path instead of placeholders, and the Progress Log
records the approval, the creation and the move.
…order 5 specification

The order 5 specification moved from its draft path to
docs/issues/open/2503-2278-author-self-audit-gate/ISSUE.md, but the
PR torrust#2431 audit record still listed the deleted draft path under
semantic-links.related-artifacts. Front matter links are live
references, so the entry now names the open specification. The
record's body keeps the draft path in its git grep verification
lines, because those lines describe the tree as it was when each
check ran.

A tree-wide search of related-artifacts and spec-path entries under
docs/ and .github/ found no other entry that names the former draft
path.

Addresses review-finding:pr-2504-f1.
Review 5505346414 raised one Minor finding, F1: the PR torrust#2431 audit
record still linked the order 5 draft path that this pull request
deletes. The record tracks F1 as FIXED with its thread RESOLVED once
the reply is posted, names the fix commit as its resolution
reference, and keeps the reply URL placeholder until the reply
exists.

The record also notes the automated review that recommended approval
with no open finding, which creates no row, and records the tree-wide
frontmatter path search: the fix commit has the same absent entries
as the merge base, so the only entry this pull request broke is the
one the fix repoints.
@da2ce7
da2ce7 force-pushed the 2503-2278-author-self-audit-gate-spec branch from 1c911d7 to dd4b468 Compare October 13, 2026 15:23
@da2ce7

da2ce7 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Rebased onto develop 1c5939c76 as asked: the new head is dd4b4686606b957c7461984c71675263f4d0e87c. No file conflicted, so the content of every commit is unchanged: git range-diff 7614ae5f3..1c911d763 1c5939c76..dd4b46866 shows all 5 commits equal. The gate at the new head is in the description's Validation section, whose run time also reads on one line again. The merge I leave to you.

@josecelano

Copy link
Copy Markdown
Member

ACK dd4b468

@josecelano
josecelano merged commit 48e1178 into torrust:develop Oct 13, 2026
1 check passed
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