From 8e3f56f6d4226b1613ba916e33367be91d8532e7 Mon Sep 17 00:00:00 2001 From: Pieter Viljoen Date: Thu, 6 Aug 2026 09:06:43 -0700 Subject: [PATCH] Re-sort the two definition blocks #588 pushed out of order #586 named the collation for reference-definition sort order as the text inside the brackets, and #588 then inserted into two blocks without applying it. `CODESTYLE.md` appended the two `vscode-tasks` links after `ruff-link`, leaving `uv-link` stranded below them, and `docs/repo-config-carry.md` put `governance-hub-hosted-tooling` at the head of a group `#586` had itself just sorted. Both are the trap that rule records. A plain `sort -c` over either block compares the whole line and reports it ordered, so the defect survives a mechanical check and reaches review, which is where Copilot caught both. A sweep over every definition group in the tree, keyed on the bare label, reports these two and no others, and zero after this change. Refs #583 Co-Authored-By: Claude Opus 5 (1M context) --- CODESTYLE.md | 2 +- docs/repo-config-carry.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CODESTYLE.md b/CODESTYLE.md index 892d579d..5088aafd 100644 --- a/CODESTYLE.md +++ b/CODESTYLE.md @@ -511,6 +511,6 @@ Before pushing or opening a PR: [pep-0257-link]: https://peps.python.org/pep-0257/ [pyright-link]: https://microsoft.github.io/pyright/ [ruff-link]: https://docs.astral.sh/ruff/ +[uv-link]: https://docs.astral.sh/uv/ [vscode-tasks-link]: https://github.com/ptr727/ProjectTemplate/blob/main/catalog/snippets/configs/vscode-tasks.json [vscode-tasks-python-link]: https://github.com/ptr727/ProjectTemplate/blob/main/catalog/snippets/configs/vscode-tasks-python.json -[uv-link]: https://docs.astral.sh/uv/ diff --git a/docs/repo-config-carry.md b/docs/repo-config-carry.md index d4e0ef88..14934150 100644 --- a/docs/repo-config-carry.md +++ b/docs/repo-config-carry.md @@ -54,7 +54,7 @@ done [conformance-matrix]: ../reports/conformance-matrix.md -[governance-hub-hosted-tooling]: ../GOVERNANCE.md#hub-hosted-tooling [governance-documentation-style]: ../GOVERNANCE.md#documentation-style-conventions [governance-git-and-commit-rules]: ../GOVERNANCE.md#git-and-commit-rules +[governance-hub-hosted-tooling]: ../GOVERNANCE.md#hub-hosted-tooling [repo-config-readme]: ../repo-config/README.md