ci(docs): add spec citation hygiene check (WOR-528)#177
Merged
Conversation
`scripts/check-spec-citations.sh` greps the docs trees for the four spec-citation regressions called out in the 2026-05-15 Public RFCs audit: - "April 2026 MCP" / "2026-04 MCP" -> the actual spec revision is MCP 2025-11-25. - "Coinbase x402" outside the "Coinbase-hosted reference facilitator" exemption -> x402 moved to a Linux Foundation project on 2026-04-02; cite "x402 (Linux Foundation)" instead. The check is wired into the existing `docs-ci` workflow as a fourth step after the lychee + rust-script blocks. Source files under `crates/` are intentionally out of scope: `CIMD` identifiers in the auth gateway are tracked separately for rename under WOR-518, and the docs trees today contain no banned strings, so adding the check is a pure guardrail against regression. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Summary
Partially closes WOR-528 (CI guardrail piece). The `docs/AIGOVERNANCE.md` x402-line rewrite is still held back behind unrelated docs-tree in-flight work.
Test plan