audit: repair canonical document ID collisions #204

Closed
nsaspy wants to merge 4 commits from fix/canonical-document-id-integrity into main
Owner

What this does

  • adds repository-wide canonical document-ID uniqueness validation on top of the existing Org :ID: audit
  • checks filename/title canonical-ID agreement
  • makes canonical-ID collisions a global changed-document gate so legacy collisions cannot remain hidden outside the current diff
  • preserves the existing validator implementation as validate-docs-core.py and keeps the public scripts/validate-docs.py interface stable

Why

STAR-RESEARCH-042 was assigned to both the existing Bixby OAuth research and the new runtime component-handles research. A broader audit also found other reused human-facing IDs. This PR intentionally starts red so the validator enumerates the complete collision set; the follow-up commits on this same branch will renumber the non-canonical claimants while preserving stable Org :ID: values and approval history.

## What this does - adds repository-wide canonical document-ID uniqueness validation on top of the existing Org `:ID:` audit - checks filename/title canonical-ID agreement - makes canonical-ID collisions a global changed-document gate so legacy collisions cannot remain hidden outside the current diff - preserves the existing validator implementation as `validate-docs-core.py` and keeps the public `scripts/validate-docs.py` interface stable ## Why `STAR-RESEARCH-042` was assigned to both the existing Bixby OAuth research and the new runtime component-handles research. A broader audit also found other reused human-facing IDs. This PR intentionally starts red so the validator enumerates the complete collision set; the follow-up commits on this same branch will renumber the non-canonical claimants while preserving stable Org `:ID:` values and approval history.
test: cover anchored repair of partial approval base
Some checks failed
Org-roam Pages / build (pull_request) Failing after 10s
Star-Lang Common Lisp Research / validate-research-boundary (pull_request) Successful in 7s
Child Identity Firewall / test (pull_request) Successful in 4m27s
Kindle EPUB / build (pull_request) Failing after 4m21s
Government Data Design / validate (pull_request) Successful in 4m25s
Org-roam Pages / deploy (pull_request) Has been skipped
bb2212c8de
nsaspy closed this pull request 2026-09-04 22:36:24 +00:00
Some checks failed
Org-roam Pages / build (pull_request) Failing after 10s
Star-Lang Common Lisp Research / validate-research-boundary (pull_request) Successful in 7s
Child Identity Firewall / test (pull_request) Successful in 4m27s
Kindle EPUB / build (pull_request) Failing after 4m21s
Government Data Design / validate (pull_request) Successful in 4m25s
Org-roam Pages / deploy (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No description provided.