Skip to content

test(adr): Fail on a citation of a superseded record - #5810

Merged
dan-petty merged 2 commits into
mainfrom
test/5238-cite-no-superseded-adr
Nov 15, 2026
Merged

dan-petty merged 2 commits into
mainfrom
test/5238-cite-no-superseded-adr

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

ADR 0003, ADR 0011 and ADR 0012 are superseded, and code, tests and workflows still cited them. A new invariant test reads the status from the front matter of each docs/adr record and fails on an ADR number of a superseded record in src, tests or .github; archived changes, CHANGELOG.md and docs/adr stay out as history. The citations moved to the record in force: ADR 0003 to ADR 0017 or ADR 0021, ADR 0012 to AGENTS.md rule 1, ADR 0004 or ADR 0021, and ADR 0002 to ADR 0016, its successor for the job record and the rule against reverting a person's change.

Closes #5238

Change: openspec/changes/archive/2026-11-15-5238-cite-no-superseded-adr/

@dan-petty dan-petty added type/test Type test: a new or changed test scope/adr The architecture decision records and their rules labels Nov 15, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 09:01
@dan-petty
dan-petty merged commit 4cf3d97 into main Nov 15, 2026
24 checks passed
@dan-petty
dan-petty deleted the test/5238-cite-no-superseded-adr branch November 15, 2026 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/adr The architecture decision records and their rules type/test Type test: a new or changed test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(adr): fail on a citation of a superseded record

1 participant