Repository navigation
docs(issues): [#2264] define semantic-link conventions EPIC - #2269
josecelano merged 11 commits into
Conversation
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.
Pull request overview
Adds planning documentation for EPIC #2264 (semantic-link/frontmatter conventions) and sub-issues #2265/#2266, while introducing a pinned, licensed external snapshot (OKF v0.2) and updating lint/link-check configs to treat those snapshots as immutable evidence.
Changes:
- Adds EPIC #2264 plus implementation-ready issue specs #2265 (inventory/contract) and #2266 (Rust model/validator).
- Introduces
docs/external-snapshots/with pinned OKF v0.2 spec, license, and provenance/update policy; links it from docs and specs. - Updates lychee/cspell/markdownlint configuration (and adds
.gitattributes) to avoid rewriting or linting upstream snapshot bytes.
Reviewed changes
Copilot reviewed 21 out of 22 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| project-words.txt | Adds spellchecker dictionary entries used in the new docs. |
| lychee.toml | Excludes external snapshot files and closed issues from link checking. |
| docs/issues/open/2266-2264-implement-rust-frontmatter-model-and-validator/ISSUE.md | New issue spec for Rust frontmatter model + validator work. |
| docs/issues/open/2265-2264-inventory-markdown-frontmatter-contracts/ISSUE.md | New issue spec for frontmatter inventory/contract definition. |
| docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md | New child EPIC defining the semantic-link/frontmatter plan. |
| docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md | Links and scopes the new child EPIC under #2003. |
| docs/issues/drafts/refactor-semantic-link-conventions/EPIC.md | Removes the draft EPIC now promoted to open/2264-*. |
| docs/issues/closed/2233-2003-tune-unified-pr-review-process/implementation-retrospective.md | Updates references from the draft EPIC to the promoted EPIC. |
| docs/issues/closed/2233-2003-tune-unified-pr-review-process/ISSUE.md | Updates references from the draft EPIC to the promoted EPIC. |
| docs/issues/closed/2185-2003-triage-advisory-external-link-check-findings/external-link-baseline.md | Updates references to residual failures under the promoted EPIC path. |
| docs/issues/closed/2185-2003-triage-advisory-external-link-check-findings/agent-review-reports.md | Updates references to the promoted EPIC and residual failures doc. |
| docs/issues/closed/2185-2003-triage-advisory-external-link-check-findings/ISSUE.md | Updates references to the promoted EPIC and residual failures doc. |
| docs/index.md | Adds navigation section for external source snapshots. |
| docs/external-snapshots/open-knowledge-format/0.2/SPEC.md | Adds pinned OKF v0.2 spec snapshot (external evidence). |
| docs/external-snapshots/open-knowledge-format/0.2/PROVENANCE.md | Records provenance, hashes, and snapshot update policy. |
| docs/external-snapshots/open-knowledge-format/0.2/LICENSE.md | Adds upstream Apache-2.0 license snapshot. |
| docs/external-snapshots/README.md | Documents snapshot admission rules and update policy. |
| docs/AGENTS.md | Documents the new docs/external-snapshots/ directory for agents. |
| cspell.json | Excludes external snapshot LICENSE/SPEC files from cspell. |
| .markdownlintignore | Excludes external snapshot LICENSE/SPEC files from markdownlint. |
| .gitattributes | Attempts to preserve snapshot whitespace behavior via attributes. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2269 +/- ##
========================================
Coverage 84.71% 84.71%
========================================
Files 354 354
Lines 31832 31832
Branches 31832 31832
========================================
+ Hits 26966 26968 +2
+ Misses 4484 4481 -3
- Partials 382 383 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
29a520c to
abd831e
Compare
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved findings remain for validator delimiter handling and hosted Lychee snapshot exclusions.
Get a fresh assessment by requesting another Copilot review.
Review details
Suppressed comments (12)
docs/issues/closed/2185-2003-triage-advisory-external-link-check-findings/agent-review-reports.md:6
- [Minor][F13] Use
issue #2264for this parent-EPIC relationship. Review-report history is durable, while the repository convention says issue-spec paths should not be used for long-lived cross-issue links because the spec can move toclosed/.
- docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md
docs/issues/closed/2233-2003-tune-unified-pr-review-process/implementation-retrospective.md:9
- [Minor][F11] Use
issue #2264instead of the parent EPIC's current filesystem path. This retrospective can outlive the EPIC'sopen/location, and the semantic-link convention requires stable issue references for such cross-issue relationships.
- docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md
docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md:181
- [Minor][F3] Refresh the parent EPIC metadata for this new content. This hunk adds the #2264 ownership boundary and candidate row, but
docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.mdstill haslast-updated-utc: 2026-09-18 14:40, earlier than the 15:25 update recorded by the promoted child specifications. Leaving it stale makes the parent record's update metadata inaccurate.
- Coordinate the child EPIC to refactor semantic-link and frontmatter conventions. That child owns
document metadata and reference semantics, typed profiles, accepted and rejected examples,
compatibility policy, and validation behavior. This EPIC retains ownership of shared automation
architecture, final binary and package placement, command and event contracts, policy composition,
caching, and local/CI/agent integration.
docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md:337
- [Minor][F5] This column is labeled
Draft subissue, but #2265 and #2266 have already been created and promoted todocs/issues/open/. Calling them simplySubissue(orSubissue specification) keeps the current lifecycle state accurate.
| Order | Phase | Draft subissue | Expected output | Status |
docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md:366
- [Minor][F14] Keep the GNU timeout cases provisional. The preserved report labels them first-observed and says the rerun-first policy requires a second run before classifying a timeout as persistent, but this handoff states that all four timeouts cannot be removed. That overstates the evidence and could skip the required rerun in the follow-up.
closed with seven errors and four timeouts that no cleanup step can remove. Those cases are
docs/issues/open/2265-2264-inventory-markdown-frontmatter-contracts/ISSUE.md:101
- [Minor][F6] The parent EPIC is already the numbered open specification at
docs/issues/open/2264-2003-refactor-semantic-link-conventions/; referring to adraft EPICwould direct the inventory work toward a path/state that no longer exists. Refer to the parent EPIC instead.
- Update the draft EPIC when inventory findings alter its subissue boundaries or dependencies.
docs/issues/open/2265-2264-inventory-markdown-frontmatter-contracts/ISSUE.md:200
- [Minor][F12] The successor issue #2266 has already been created and its specification is under
docs/issues/open/, sosuccessor draftis no longer the repository lifecycle term. Refer to the successor specification to keep this acceptance criterion aligned with the promoted documents.
- [ ] AC8: The parent EPIC and successor draft are reconciled with the approved findings.
docs/issues/open/2265-2264-inventory-markdown-frontmatter-contracts/ISSUE.md:17
- [Minor][F6] Use the stable parent issue reference here.
#2264is an issue/EPIC spec that can later move fromopen/toclosed/, and the semantic-link convention requiresissue #NNNNfor this relationship rather than a path.
- docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md
docs/issues/open/2266-2264-implement-rust-frontmatter-model-and-validator/ISSUE.md:4
- [Minor][F4] Mark #2266 as blocked in frontmatter. The spec declares
Blocked by: #2265, its T1 task isBLOCKED, and the parent EPIC table also marks itBLOCKED; the repository convention explicitly includesblockedas a valid issue status (docs/skills/semantic-skill-link-convention.md:139-157). Keepingplannedmakes metadata consumers treat this successor as unblocked.
status: planned
docs/issues/open/2266-2264-implement-rust-frontmatter-model-and-validator/ISSUE.md:18
- [Minor][F7] Use stable issue references for these cross-issue links. Both the parent EPIC and predecessor spec can move lifecycle directories, so the convention calls for
issue #2264andissue #2265instead of paths inrelated-artifacts.
- docs/issues/open/2264-2003-refactor-semantic-link-conventions/EPIC.md
- docs/issues/open/2265-2264-inventory-markdown-frontmatter-contracts/ISSUE.md
docs/issues/open/2266-2264-implement-rust-frontmatter-model-and-validator/ISSUE.md:23
- [Minor][F15] Replace the parent automation EPIC path with
issue #2003. This cross-issue link is in a durable issue specification, and the repository convention requires stable issue references when the target spec can move between lifecycle directories.
- docs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.md
docs/issues/open/2266-2264-implement-rust-frontmatter-model-and-validator/ISSUE.md:156
- [Major][F2] Do not treat missing frontmatter delimiters as an error in the whole-tree scan. The issue explicitly says it will not require frontmatter on every Markdown document, and AC7 limits validation to present blocks, so this task wording would make the validator reject otherwise valid frontmatter-less documents. Restrict this diagnostic to malformed delimiters in a block that is present or to a profile that explicitly requires frontmatter.
| T3 | TODO | Implement extraction and universal envelope | Parse present frontmatter and report absent delimiters, malformed YAML, invalid envelope fields, and scalar errors. |
- Files reviewed: 22/23 changed files
- Comments generated: 6
- Review effort level: Lite
fede257 to
ce541e5
Compare
|
ACK 7fcd76e |
da2ce7
left a comment
There was a problem hiding this comment.
Reviewed at 7fcd76e8e9c7dd3346a85f5dc5930e7fa32c6ee2. Recomputed from the bytes at this head.
Round 1 verdict: request changes. One Major, five Minor, two Suggestions (F12-F19). The blocker is the audit record rather than the specifications: docs/pr-reviews/pr-2269-review/PR-REVIEW.md maps all seven inline threads correctly but omits the twelve findings delivered in review 5250123822's body, one of which the reviewer marked [Major] and named in its own verdict line. Six of those twelve are still live in the tree; four stand on their own and are raised separately.
What was recomputed and holds:
- Snapshot integrity.
sha256sumat this head returns26aa5da0...0101forSPEC.mdand8c6db340...3dacforLICENSE.md, byte-for-byte the values inPROVENANCE.md.git hash-objectreturnsc06e3eed...95acand6b0b1270...b1e1, equal to the upstream blob IDs recorded there, so the byte-identity claim is internally consistent. The upstream commit itself is not reachable from this review environment. - Redistribution.
LICENSE.mdis the unmodified Apache-2.0 text. The snapshot ships the license beside the work, neither file is modified,SPEC.mdcarries no notices to retain, andPROVENANCE.mdrecords that noNOTICEexisted at the pinned commit. The README's admission rule is satisfied. - Attributes and line endings.
git check-attr -areportstext: unsetandwhitespace: unsetforSPEC.mdandLICENSE.mdonly;PROVENANCE.md,docs/external-snapshots/README.mdanddocs/index.mdcarry no attributes.git ls-files --eolreportsi/lf w/lf attr/-textfor both files andgit diff --check develop HEADis clean, which is exactly what the-whitespacerule is for: the upstreamSPEC.mddoes carry trailing whitespace. - Linter exemptions are load-bearing and snapshot-scoped. Copying the same bytes to non-excluded paths turns
linter markdownandlinter cspellfrom exit 0 into exit 1 (MD009, MD012, MD036 plus spelling), and every failure line names a copy: noexternal-snapshotspath appears in the output. All four configs (.markdownlintignore,cspell.json,lychee.toml,.github/lychee-online.toml) nameLICENSE.mdandSPEC.mdonly, so the repository-authored README and provenance stay checked, as their own policy promises. - The F4 fix in config.
.github/workflows/external-link-check.yaml:41-44does passdocs/**/*.mdwith.github/lychee-online.toml, and that config now carries the snapshot exclusion. Its behaviour on a hosted run is not corroborated here. - Renames. Both are pure:
git diff -U0 develop:<old> HEAD:<new>is empty fordocs/pr-reviews/pr-2259-review.mdtopr-2259-review/PR-REVIEW.md, and for the handoff report moving with its own folder fromdrafts/toopen/2264-....README.mdis the only flat file left indocs/pr-reviews/, which the folder-style ADR intends, and no reference to the old audit path survives anywhere in the tree. - Specs against their issues. A normalized comparison of each spec body with its GitHub issue body shows agreement on goal, scope, non-goals, subissue list and every acceptance criterion. The differences are the progress sections (spec-only by design), the References lines raised in F18, and the #2264 body's subissue table still lacking the
#2265/#2266numbers the spec now carries. - Ownership boundary. What #2264 claims #2003 owns, and the early-validator permission it relies on, match the
+13/-1hunk indocs/issues/open/2003-overhaul-guardrails-and-automation/EPIC.mdclause for clause. - Mechanics. Eleven Conventional Commit subjects with no attribution trailers; no byte-empty file; the five-character angle-bracket token appears nowhere in the changed tree;
git merge-tree --write-tree develop <head>produces a tree with no conflict; everyrelated-artifactsvalue and every relative link in the changed documents resolves, with one pre-existing exception noted below.
Two checklist notes that are not findings: the PR description's "Commit Structure" section lists 2 of the 11 commits; and docs/issues/closed/2233-2003-tune-unified-pr-review-process/ISSUE.md:30 points at contrib/dev-tools/checks/tests/test-agent-review-report-contract.sh, which #2267 deleted. That one is pre-existing on develop and untouched here, and Lychee cannot see it because it sits in frontmatter rather than in a link, which is a fair advertisement for what #2265 and #2266 propose to build.
|
Timing note: this review was submitted at 07:59:00Z, twenty-eight seconds after the merge at 07:58:32Z, so it lands on a merged pull request. The findings were recomputed at |
3be8806 docs(pr-reviews): defer PR #2271 retrospective issues (Jose Celano) 152140c docs(pr-reviews): log PR #2271 retrospective commits (Jose Celano) 21ff83c docs(pr-reviews): add PR #2271 review retrospective (Jose Celano) 8e63b19 docs(templates): add PR review retrospective template (Jose Celano) 996c004 docs(pr-reviews): record PR #2271 round seven reply (Jose Celano) 5db4237 docs(pr-reviews): address PR #2271 review round seven (Jose Celano) 8357d84 docs(pr-reviews): record PR #2271 round six replies (Jose Celano) 96b97de docs(pr-reviews): address PR #2271 review round six (Jose Celano) 04b1a35 fix(docs): normalize AGENTS indentation and PR #2269 audit fields (Jose Celano) 608fe6c docs(pr-reviews): record PR #2271 review replies (Jose Celano) 96b0dee docs(pr-reviews): address PR #2271 review round five (Jose Celano) 79498bc fix(docs): address PR #2271 review contract findings (Jose Celano) f08553c docs(pr-reviews): update PR #2271 audit reply URLs after posting (Jose Celano) 955883d docs(pr-reviews): fix PR #2271 audit defects from fourth review (Jose Celano) a4f625e docs(pr-reviews): complete PR #2271 review audit (Jose Celano) aa30089 fix(docs): complete post-merge audit contract (Jose Celano) f226a2c docs(pr-reviews): record PR #2271 findings (Jose Celano) ecbf3fb docs(pr-reviews): extend post-merge audit contract (Jose Celano) 7d8fb3f fix(checks): keep review contract tests after helpers (Jose Celano) 4091210 fix(docs): address PR #2271 third review (Jose Celano) 9813b2e fix(docs): address PR #2271 second review (Jose Celano) 0a4dbb1 fix(docs): address PR #2271 Copilot findings (Jose Celano) 44c4843 docs(pr-reviews): link PR #2269 follow-up (Jose Celano) d5a207d docs(pr-reviews): record approved post-merge follow-up (Jose Celano) f1bcba1 docs(agents): define post-merge review workflow (Jose Celano) e4a24f0 docs(pr-reviews): complete PR #2269 late review audit (Jose Celano) 878d0b3 fix(docs): address late PR #2269 findings (Jose Celano) Pull request description: ## Summary - Address post-merge review findings from PR #2269, including lifecycle metadata, stable references, validator delimiter semantics, historical path accuracy, and evidence timestamps. - Define the repository's first approval-gated post-merge review workflow across AGENTS.md, skills, custom agents, templates, and orchestration guidance. - Complete the PR #2269 and PR #2271 review audits with collision-safe finding IDs, durable approval/follow-up evidence, and all reply URLs. - Add focused unit coverage for review-contract whitespace normalization. - Correct round-four through round-seven audit structure, status, chronology, and field-contract findings. - Add a PR review retrospective template and the PR #2271 retrospective recording why the review was costly and what to change. ## Commit Structure - `fix(docs): address late PR #2269 findings` - `docs(pr-reviews): complete PR #2269 late review audit` - `docs(agents): define post-merge review workflow` - `docs(pr-reviews): record approved post-merge follow-up` - `docs(pr-reviews): link PR #2269 follow-up` - `fix(docs): address PR #2271 Copilot findings` - `fix(docs): address PR #2271 second review` - `fix(docs): address PR #2271 third review` - `fix(checks): keep review contract tests after helpers` - `docs(pr-reviews): extend post-merge audit contract` - `docs(pr-reviews): record PR #2271 findings` - `fix(docs): complete post-merge audit contract` - `docs(pr-reviews): complete PR #2271 review audit` - `docs(pr-reviews): fix PR #2271 audit defects from fourth review` - `docs(pr-reviews): update PR #2271 audit reply URLs after posting` - `fix(docs): address PR #2271 review contract findings` - `docs(pr-reviews): address PR #2271 review round five` - `docs(pr-reviews): record PR #2271 review replies` - `fix(docs): normalize AGENTS indentation and PR #2269 audit fields` - `docs(pr-reviews): address PR #2271 review round six` - `docs(pr-reviews): record PR #2271 round six replies` - `docs(pr-reviews): address PR #2271 review round seven` - `docs(pr-reviews): record PR #2271 round seven reply` - `docs(templates): add PR review retrospective template` - `docs(pr-reviews): add PR #2271 review retrospective` - `docs(pr-reviews): log PR #2271 retrospective commits` - `docs(pr-reviews): defer PR #2271 retrospective issues` ## Validation - `cargo fmt --all -- --check` - `cargo test --package agent-review-report-contract` (2 tests passed) - `cargo run --quiet --package agent-review-report-contract` - Audit finding-order and alignment checks - Mermaid validation and preview for updated orchestration diagrams - Mandatory pre-commit hook passed for every commit - Mandatory pre-push hook passed, including nightly checks and the full test suite Follow-up to #2269 Related to #2264 Related to #2265 Related to #2266 ACKs for top commit: josecelano: ACK 3be8806 Tree-SHA512: a96f2e7038254dba2ed8a0ad51806594c71c4f95d10db5c1471a77e8b66c8c68d5d55feb8f956f511e6d9b23ab4639ef7e528f92cd936b1e3164d18efedad472
9246cd1 docs(pr-reviews): audit PR #2276 Copilot review (Jose Celano) 0f41fa2 docs(pr-reviews): correct PR #2269 closure accounting (Jose Celano) 5de27f2 docs(pr-reviews): close PR #2269 audit after PR #2271 merge (Jose Celano) Pull request description: ## Summary - Close the PR #2269 review audit now that its approved post-merge follow-up, PR #2271, merged into `develop` at commit `9fb7bb9f`. - Change the 17 `FOLLOW_UP` findings to `FIXED`: seven suppressed body findings with no thread (F5, F6, F15, F16, F18, F20, F21) and nine findings with real GitHub threads (F22-F30). - Reply to and resolve the eight remaining open threads on PR #2269 with the merge evidence. - Record the closure in the audit's Processing Log. ## Validation - `cargo run --package agent-review-report-contract` passes. - `linter markdown` passes. - GraphQL confirms zero unresolved review threads on PR #2269. - Mandatory pre-commit and pre-push hooks passed. Follow-up to #2269 Related to #2271 ACKs for top commit: josecelano: ACK 9246cd1 Tree-SHA512: c431d6be34b78aac6a042927b2e483eb49e497f37d780bc1fa11d404437386e362eaa2b7a1888ae882131bfac30ee4dcdefda860cda21910ecfc08f771055241
1268bef docs(pr-reviews): record PR #2353 thread resolution (Jose Celano) 3bbb970 docs(pr-reviews): add PR #2353 review audit (Jose Celano) b010702 docs(pr-reviews): close PR #2339 audit after PR #2344 merge (Jose Celano) Pull request description: ## Summary Closes the PR #2339 audit after its post-merge follow-up, PR #2344, merged into `develop` at `fcde51db`. This follows the PR #2276 precedent, which closed the PR #2269 audit after PR #2271 merged. - F1-F3 in `docs/pr-reviews/pr-2339-review/PR-REVIEW.md` move from `FOLLOW_UP`/`OPEN` to `FIXED`/`RESOLVED`. Their resolution references are the merged fix commits, `test(dev-tools): pin review-thread query fields and explicit nulls` (F1, F2) and `docs(issues): record the exact #2333 evidence commands` (F3). - Each `Reply URL` is now the final reply on its thread, which cites the merge. The earlier follow-up replies remain on the threads. - A Processing Log entry records the merge, the re-derivation of each fix at `develop`, and the resolution. GitHub-side actions already taken, as the approval record allows (<#2339 (comment)>): each of the three PR #2339 threads received a final reply citing `fcde51db` and was resolved. GraphQL shows 3 threads, 0 unresolved. ## Files touched - `docs/pr-reviews/pr-2339-review/PR-REVIEW.md` - `docs/pr-reviews/pr-2353-review/PR-REVIEW.md`: audit for this PR's review round 1. ## Review Round 1 Copilot review 5329114076 raised one concern on three lines: use SHA permalinks instead of commit subjects in the `FIXED` resolution references. Recorded as F1, with F2 and F3 as re-raises, all `NO_ACTION`/`SUPERSEDED`. `process-pr-review` requires unique commit subjects and forbids branch SHAs, the EPIC #2278 Decision Record keeps that form, each cited subject matches exactly one commit, and each row already links PR #2344. Replied with the prescribed `Superseded by F1:` form and resolved. - `docs(pr-reviews): add PR #2353 review audit` - `docs(pr-reviews): record PR #2353 thread resolution` Rebased onto `develop` `6a7f1db5` (after PR #2350) before processing, and again onto `41e7938c` (after PR #2346) before merge; both rebases were clean. ## Validation - `validate-audit-record.py --pr-number 2339 --base a20e8f3` exits `0` (3 rows, 3 log entries). The base is the PR #2339 merge, so the merged fix commits are in range; the default base `develop` already contains them. - At `develop`, `cargo test --package github-review-threads` passes 15 unit and 7 CLI tests. - The pre-commit hook (including `linter all`) and the pre-push hook passed. Related to #2333 Related to #2278 ACKs for top commit: josecelano: ACK 1268bef Tree-SHA512: b175303681549518fdf713273ba82e564ac6ad56fa415fc131b8fa4b5fdebce671976ce5e1480e5bbc69bb9be8827c413c7d5d08def2f17fb623dc5a81d7523d
Summary
Commit Structure
docs(external-snapshots): add pinned OKF specificationdocs(issues): add semantic-link conventions EPIC #2264Validation
torrust/develop.Related to #2264
Related to #2265
Related to #2266
Related to #2003