docs(catalog): adopt legacy.defining_adr; re-vendor agent-ways #133 doclint#536
Merged
Conversation
agent-ways #133 un-hardcodes the retired-range scan's defining-ADR exemption, moving it from a baked-in `ADR-900-` prefix to `adr.yaml` config. Adopt the config and re-vendor the tool together so the backport is clean. - adr.yaml: add `legacy.defining_adr: ADR-900` — the ADR that vacated 1–99 and thus names retired numbers legitimately is exempt; everything else stays policed - re-vendor docs/scripts/{doclint.py,doc} verbatim from canonical (#133). The canonical tools are now ADR-number-agnostic, so our prior local citation patch on `doc` is gone — zero local delta, both byte-identical to canonical - ADR-908: refresh the "Upstream" note — tools no longer hardcode an ADR number; document the defining_adr exemption - documentation way: note the defining-ADR exemption Behavioral test: an in-range ref injected into ADR-900 is exempt; the same ref in a non-defining ADR is flagged. Lint 0/0 (docs + ADRs enforced).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports agent-ways #133, which un-hardcodes the retired-range scan's
defining-ADR exemption (was a baked-in
ADR-900-prefix, nowadr.yamlconfig).KGS is a vacating repo, so it must declare its defining ADR before re-vendoring —
this adopts the config and the tool together.
legacy.defining_adr: ADR-900— the ADR that vacated the 1–99 range names retired numbers legitimately, so it's exempt; every other doc/ADR/source stays policed.docs/scripts/{doclint.py,doc}verbatim from canonical (bug: search results not clickable in web UI after z-index fix #133). The canonical tools are now ADR-number-agnostic ("your project's documentation-catalog ADR"), which retires our earlier local citation patch — zero local delta, both byte-identical to canonical.defining_adrexemption.Verified
doclint.py --check --enforce-adrs→ 0/0 (49 catalog pages + 120 ADRs).ADR-042injected into ADR-900 (defining) → exempt; the same ref in ADR-908 (non-defining) → flagged. The config is load-bearing.Closes the convergence-backport tail. Coordinated with the agent-ways session (Tamsin) that owns #133.