Repository navigation
Read did-schema files by their did_v2_ names, falling back to V_eta_ - #252
Merged
Merged
Conversation
did-schema renames its registers in schemas/ from V_eta_* to did_v2_* and the corpus proof snapshot to did_v2_corpus_proof.* ([markdown cleanup and rename], Jess Haley, 2026-10-26, did-schema V_eta_go_forward_class_audit.md, part (6): "Siblings first"). Every DID-matlab reader accepts both names first, the new one preferred, so the rename breaks nothing: - tools/did_schema_names.py (new): the one place the two names and their order are kept. - tools/corpus_proven.py: the coverage ledger on disk, its mtime, the `git show HEAD:` baseline and the artifact copy. - tools/affected_corpora.py: the default --ledger (default_ledger()). - tools/check_carry_citations.py: the carry register. - test-corpus.yml: the snapshot copy takes did_v2_corpus_proof.json and docs/generated/did_v2_corpus_proof.md, else the V_eta_ files. Tests: each tool reads the old name alone, the new name alone, and the new name when both are present; corpus_proven counts a ledger written under the new name as rewritten. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
NDI-matlab V2 (4effe11e0, #1076; b729b8728) added ndi.migrate.internal.isOntologyLabelClass, called from ndi.migrate.local, so the cross-repo divergence gate failed on every DID-matlab branch: a pass on the NDI side only, with no row. It is a predicate (either spelling of the v1 ontology-label class), not a transform; the row says why it has no DID twin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
jesshaley
marked this pull request as ready for review
October 27, 2026 07:34
jesshaley
pushed a commit
that referenced
this pull request
Oct 27, 2026
Keeps phase 2's isOntologyLabelClass divergence row (ontologyLabel is now switched), dropping V2's interim text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf
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.
This builds DID-matlab's part of the decision by Jess Haley, 2026-10-26 [markdown cleanup and rename], recorded in did-schema
schemas/V_eta_go_forward_class_audit.md, part (6). did-schema will rename its JSON registers inschemas/fromV_eta_*todid_v2_*, and move its documents intodocs/underdid_v2_*names. Siblings change first: DID-matlab and NDI-matlab code that reads a renamed file must accept both names before the old ones go.What changes
Every reader of a renamed file now tries the
did_v2_name first and falls back to theV_eta_name:tools/did_schema_names.py(new) is the one place that holds the two names and their order.tools/corpus_proven.pyreads the coverage ledger this way.tools/affected_corpora.py: its--ledgerdefault.tools/check_carry_citations.pyreads the carry register this way..github/workflows/test-corpus.ymlcopies the corpus-proof snapshot under either name.There are tests for each tool: the old name alone, the new name alone, and the new name winning when both are present.
Also included: the
testBatchPassWiringdivergence row for NDI'sisOntologyLabelClass, cherry-picked fromclaude/phase2(25388d3). NDI-matlab V2 gained that function in #1076, so DID-matlab V2 failed this test against NDI V2 until the row lands. When phase 2 merges later, this commit makes no difference.Pairing
NDI-matlab #1077 has the matching NDI change. Its end-to-end run used this branch and passed: 510 passed, 0 failed.
CI on d629d2a
🤖 Generated with Claude Code
https://claude.ai/code/session_01FxKLA8Tbf9cpvDe7fuVeKf