Repository navigation
chore(issues): [#2281] archive closed issue spec - #2364
Conversation
|
ACK 9bd559f |
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Archives the completed specification for issue #2281 and updates documentation/workflow guidance to prevent closing or archiving EPICs while draft subissues still exist.
Changes:
- Updated issue/EPIC/docs references to point to
docs/issues/closed/...for #2281. - Marked #2281 as done and updated progress log / checklist.
- Strengthened the cleanup skill guide with a mandatory draft-subissue safeguard step.
| File | Description |
|---|---|
| docs/issues/open/2281-2264-frontmatter-validator-command/manual-verification-evidence.md | Updates issue-spec pointer + timestamp to closed-path |
| docs/issues/open/2281-2264-frontmatter-validator-command/implementation-retrospective.md | Updates related-artifact links to closed-path |
| docs/issues/open/2281-2264-frontmatter-validator-command/ISSUE.md | Marks status DONE, updates spec-path, checklist, and progress log |
| docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md | Updates #2281 row to closed-path and DONE |
| contrib/dev-tools/checks/frontmatter-validator/README.md | Updates issue #2281 link to closed-path |
| .github/skills/dev/planning/cleanup-completed-issues/SKILL.md | Adds mandatory “draft subissues remain” gate and bumps version |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| ```bash | ||
| EPIC_NUMBER=1669 | ||
| { | ||
| find docs/issues/drafts -maxdepth 1 -mindepth 1 -type d -printf '%p\n' | rg "/${EPIC_NUMBER}(-|$)" |
da2ce7
left a comment
There was a problem hiding this comment.
Reviewed at 9bd559fa6334e8970e7ca93ce029345b396bfa46 (round 1, post-merge: merged as 0462d00cf at 2026-09-28T11:18:40Z before the requested round could start). Recomputed from the bytes at this head.
The PR adds two commits over develop ef6a4048d: f1aacc82c (the archive) and 9bd559fa6 (the skill change). It touches 8 files: five renames of the #2281 folder into docs/issues/closed/, row 2.2 of the #2264 EPIC, the validator README link, and a new mandatory Step 0.7 in cleanup-completed-issues. It archives the spec of #2281, which was closed at 2026-09-28T10:09:35Z. It also makes an EPIC stay open while draft subissues remain. The tree of 0462d00cf is identical to this head's tree, so every finding below is live on develop.
Verification:
- Skill walk: Steps 0.6 and 1 to 5 are done for #2281: closure checked, folder moved,
status: done, closedspec-path, quotedlast-updated-utcinISSUE.md, the evidence file and the EPIC, two checkpoints ticked, and row 2.2 set toDONEwith a../../closed/link. Step 0.7 was not due, because #2264 is not being closed. - Reference sweep:
issues/open/2281has 12 hits atef6a4048dand 6 at the head. All 6 are retained history: four recorded transcript lines in the evidence file, and the #2337 review record, which Step 4 exempts. All 26 relative links in the changed files resolve. - Safeguard (
rgtranslated togrep -E): 1669 → 3 dirs + 3ISSUE.md; 1488 → 12 dirs; 2264 → empty. The PR body's #1488/#1669 claim holds. - Version:
1.7→1.9breaks no rule, becauseadd-new-skillsets only"1.0"at creation. - Frontmatter: the moved
ISSUE.mdis v1 withdone, the value the validator's closed-location rule requires, and itsspec-pathequals its path.
Verdict had the PR been open: APPROVE. There is no Blocker or Major, and the two Minors leave no path or claim wrong.
Findings (post-merge, live on develop at 0462d00cf):
- F1 Minor: the archive progress-log entry is prepended, not appended.
- F2 Minor:
test-design-review.mdlacks the minimal frontmatter block Step 3 asks for. - F3 Suggestion: the Step 0.7 content pattern misses common declaration forms.
- F4 Suggestion: Step 0.7 cannot see planned rows that exist only in the EPIC table (#2264 now).
- F5 Suggestion: the skill description does not surface the EPIC-closure guard.
- F6 Nit: the title carries
[#2281]for an already-closed issue, and the body has noRelated to #2281.
Checked, no finding:
- The merge base is
ef6a4048dandmerge-treeis clean. - 8 files, matching the PR's file list.
- Both subjects are Conventional Commits. The archive subject matches Step 6's pattern word for word. There are no trailers, and the commit times are in order.
git diff --checkis clean.- Step 0.6: every draft carries
github-issue: null. - The skill change rides in its own
docs(skills)commit, whichAGENTS.mdpermits. rgis already used by Step 4 of this skill and bymanual-torrent-cleanup-e2e.- No
1.8exists in the history. - Every
related-artifactspath in the moved files exists. agent-review-reports.mdholds no path to repair.
Orchestrator's server checks (head 9bd559fa6, nightly rustc 1.100.0-nightly (1303417c4 2026-09-21)). Gate (the pre-commit profile: cargo machete --with-metadata, cargo deny check bans, nightly fmt --check, linter all, hadolint, cargo test --doc --workspace): every step pass, wall 105 s, worktree unchanged after the run. frontmatter-validator --all from this head: exit 1, nothing on stdout, the same 35 error legacy-shape and 4 closed-spec warnings as develop before the merge, and no record for any file under docs/issues/closed/2281-… — the archived spec passes the v1 schema and the repository checks in closed/. Reference sweep recomputed independently: git grep -n 'issues/open/2281' at this head returns six lines, four recorded transcript lines in the moved evidence file and two in docs/pr-reviews/pr-2337-review/PR-REVIEW.md (lines 7 and 91), matching the review's count. Posted after the merge at 2026-09-28T11:18:40Z, seven minutes after the review request; a merged pull request gets no approval and no ACK, so this is a comment review and its findings are post-merge findings.
|
|
||
| ### Progress Log | ||
|
|
||
| - 2026-09-28 10:53 UTC - GitHub Copilot - Verified GitHub issue #2281 is closed and archived this |
There was a problem hiding this comment.
[Minor][F1] The archive progress-log entry is prepended, not appended
docs/templates/ISSUE.md:152 says "Append one line per meaningful update." This log is otherwise chronological, from 2026-09-24 16:01 to 2026-09-28 10:02 (line 596). The 10:53 entry now sits first, ahead of the 2026-09-24 entries, so the log reads out of order. The entry itself is accurate, so no claim is false and this does not block.
Post-merge fix: move lines 367-369 after the 10:02 entry (after line 607).
Step 3 of the cleanup skill says only "Add a progress log entry documenting the archival action" and not where. Closed specs place it both ways, so the position is worth stating in the skill.
| - docs/issues/open/2281-2264-frontmatter-validator-command/test-design-review.md | ||
| - docs/issues/open/2281-2264-frontmatter-validator-command/manual-verification-evidence.md | ||
| - docs/issues/closed/2281-2264-frontmatter-validator-command/ISSUE.md | ||
| - docs/issues/closed/2281-2264-frontmatter-validator-command/test-design-review.md |
There was a problem hiding this comment.
[Minor][F2] test-design-review.md was archived without the minimal frontmatter block Step 3 asks for
This comment is anchored on the line that names the file, because the file itself is a pure rename with no hunk. cleanup-completed-issues/SKILL.md:188-190 says: "For supplementary docs without existing frontmatter, add a minimal block with spec-path, last-updated-utc, and a semantic-links section linking back to the parent issue spec." At this head, docs/issues/closed/2281-2264-frontmatter-validator-command/test-design-review.md opens with # Issue #2281 Test-Design Review and has no frontmatter.
This does not block, because Step 3 is not one of the steps the skill marks Mandatory and no path goes stale. The same rule was also skipped in the #2280, #2323, #2342 and #2345 folders: 78 supplementary docs under docs/issues/closed/ have no frontmatter. Either the rule or the practice should change.
| EPIC_NUMBER=1669 | ||
| { | ||
| find docs/issues/drafts -maxdepth 1 -mindepth 1 -type d -printf '%p\n' | rg "/${EPIC_NUMBER}(-|$)" | ||
| rg -l -i "(^epic: ${EPIC_NUMBER}$|epic.*\\[#${EPIC_NUMBER}\\]|\\[#${EPIC_NUMBER}\\].*epic)" \ |
There was a problem hiding this comment.
[Suggestion][F3] The Step 0.7 content pattern misses common declaration forms and flags unrelated prose
Run at this head with rg translated to grep -E / grep -rliE --include='*.md', the check finds every real draft: for 1669, three dirs plus their ISSUE.md; for 1488, twelve dirs by name only.
Synthetic drafts with EPIC_NUMBER=1669 show the edge cases:
- Missed:
epic: "1669"epic: 1669 # parent- a trailing space or CRLF after
epic: 1669 Subissue of EPIC #1669, the plain form draft 144 uses on its line 27[#1669 - Title](...), the link form of the EPIC subissue tables- a single-file
drafts/1669-x.md - a numbered dir nested below
drafts/with no markers
- Wrongly matched: a draft under another EPIC whose prose says
Unlike the EPIC [#1669] work. - Correctly not matched:
16690-....
None of these cases matches a real draft at this head, so this is a Suggestion. Three changes would close most of the misses:
- use
^epic:[[:space:]]*"?N"?[[:space:]]*(#.*)?$for the field; - use
#N([^0-9]|$)next toepicfor links; - drop
-type dfrom thefindso single-file drafts are covered too.
| } | sort -u | ||
| ``` | ||
|
|
||
| If it finds any draft specifications, the EPIC remains open. Do not close its GitHub issue or move |
There was a problem hiding this comment.
[Suggestion][F4] Step 0.7 looks only at drafts, so #2264 now passes it while eight subissues are still unplanned
The step's premise (lines 112-113) is that closed GitHub children alone do not make an EPIC closable. #2264 is exactly that case after this PR:
- GitHub reports 4 of 4 sub-issues completed.
- The check returns nothing: there is no
2264-*draft and noepic: 2264. - Rows 3 to 10 of its subissue table (
EPIC.md:344-351) areTODOand have neither an issue nor a draft.
Step 0.7 was not due in this PR, because #2264 is not being closed. But the next reader who runs it to ask whether #2264 can close gets an empty result.
Suggestion: add to the same step that the EPIC's own subissue table has no row other than DONE.
| metadata: | ||
| author: torrust | ||
| version: "1.7" | ||
| version: "1.9" |
There was a problem hiding this comment.
[Suggestion][F5] The skill description does not surface the new EPIC-closure guard
add-new-skill/SKILL.md:25 says only name and description load at startup, and :112 asks the description to cover WHAT and WHEN. The description on line 3 covers archiving closed specs, and its triggers are archive phrases. An agent asked to close EPIC #1669 or #1488 therefore never loads the step that says not to close it.
Suggestion: name EPIC closure in the description, for example "blocks EPIC closure while draft subissues remain", and add a trigger such as "close epic".
This comment is anchored on the version line, the nearest changed line to line 3.
|
|
||
| - 2026-09-28 10:53 UTC - GitHub Copilot - Verified GitHub issue #2281 is closed and archived this | ||
| specification in `docs/issues/closed/`; updated the parent EPIC and live documentation references - | ||
| https://github.com/torrust/torrust-tracker/issues/2281 |
There was a problem hiding this comment.
[Nit][F6] The title carries [#2281], but the PR neither implements nor closes #2281
This comment is anchored on the new log entry's issue link, because the PR title is outside the diff. AGENTS.md:381 says: "Include an issue reference [#<issue>] only for the issue the PR implements or closes, so the merge commit links that issue; a merely related or already-closed issue belongs in the PR body (Related to #N)."
#2281 was closed at 10:09:35Z. The title's [#2281] is now permanent in the subject of 0462d00cf, and the body has no Related to #2281 line.
Three sources of guidance disagree:
- the cleanup skill's Step 7 title template (line 283) uses
#${N}without brackets; open-pull-request/SKILL.md:98says to include an issue reference;- chore(issues): [#2266] archive closed issue spec #2292, chore(issues): [#2261] archive closed issue spec #2294 and chore(issues): [#2295] archive completed issue spec #2304 used this same title form.
So this is recorded as a guidance conflict rather than an author error.

Archives the completed specification for issue #2281 from docs/issues/open to docs/issues/closed.
Also strengthens the completed-issue cleanup workflow: an EPIC cannot be closed or archived while draft subissues remain, whether identified by its number-prefixed draft folder or by an explicit parent relationship.
Validation: