Repository navigation
Carry distance_metadata and global-clock oneepoch whole as v1 - #296
Merged
Merged
Conversation
[reshaped retire classes carried] (Jess Haley, 2026-10-29, did-schema V_eta_go_forward_class_audit.md, "B"): v1 distance_metadata and oneepoch are carried whole as v1 for now, not reshaped into their retire classes. - +migrators_j/oneepoch.m: a oneepoch on a global clock, which kept the class with its element_epoch block folded on, is carried as the untouched v1 source citing carry-148 (awaiting_home). The carry-126 (device-local) and carry-100 branches are unchanged; the fold code is removed. - +migrators_j/distance_metadata.m: every document the reshape reached is carried citing carry-147 (awaiting_home); carry-100/carry-049 unchanged; the endpoint-reshape helpers are removed. - The two round-trip inverses are kept, noted as reached by no migrator output (as position_metadata's). Contents.m roster regenerated. Tests inverted, not deleted: testMigratorsJ (distance_metadata and the four oneepoch tests), testRawV1RoundTripOneEpoch, testRawV1RoundTripPosition. Needs did-schema #238 (register rows carry-147, carry-148) on main. 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.
Decision
Decided by Jess Haley, 2026-10-29 [reshaped retire classes carried] (did-schema
schemas/V_eta_go_forward_class_audit.md, her answer "B"): v1distance_metadataandoneepochdocuments are carried whole as v1 for now. They are no longer reshaped into their retire classes. The reshape waits until their V2 homes exist. The register rows are carry-147 (distance_metadata) and carry-148 (oneepochon a global clock), bothawaiting_home, in did-schema #238.What changed
+migrators_j/oneepoch.m: until now, a oneepoch whose clocks include a global one kept the classoneepoch, with itselement_epochblock folded onto it. It is now carried as the untouched v1 source, with acarried_as_v1note[carry-148] awaiting_home: ...and a% carry-register: carry-148marker. The carry-126 branch (device-local) and the carry-100 / carry-049 branches are unchanged. The fold code is removed and the header (BUILT HERE / NOT BUILT YET) is updated.+migrators_j/distance_metadata.m: every document the endpoint reshape reached is now carried with[carry-147] awaiting_home: ...and a% carry-register: carry-147marker. The carry-100 / carry-049 carries and themissingBlockerror are unchanged. The reshape helpers are removed; the header keeps the old field mapping as a record of what was replaced.+roundtrip/distance_metadata.mand+roundtrip/oneepoch.mare kept. Their headers now say that no migrator output reaches them, the same wayposition_metadata's inverse is handled.+migrators_j/Contents.mroster was regenerated (check_migrator_roster.py --write). Narrative comments are updated in+migrators/Contents.mand+migrators_j/element_epoch.m.Tests inverted (not deleted, none skipped)
testMigratorsJ:testDistanceMetadataReshapesFlatEndpointsbecomestestDistanceMetadataIsCarriedWholeAsV1.testOneEpochFoldsItsInheritedBlockAndKeepsItsClassbecomestestOneEpochOnAGlobalClockIsCarriedWholeAsV1.testOneEpochCarriesTheClocksTheBaseMigratorBuiltbecomestestOneEpochCarryKeepsBothClocksAsV1WroteThem.testOneEpochKeepsTheSourceEpochIdsAndTheElementEdgebecomestestOneEpochCarryKeepsTheSourceEpochIdsAndTheElementEdge.testOneEpochValidatesAgainstItsNewTombstonebecomestestOneEpochOnAGlobalClockIsCarriedUnderValidation.testRawV1RoundTripOneEpoch:testWriterShapesRoundTrip, the two-clock fixture is now expected to be carried.testADeviceLocalOneEpochIsCarriedbecomes the newtestAGlobalClockOneEpochIsCarried, which expects carry-148 and not carry-126.testADifferentSourceIsReportedLostnow reads the carry.testRawV1RoundTripPosition:testCarriesCiteTheirRowsnow expects carry-147. Next to its carried element, the document is now carried first by its own migrator, so the old carry-064 note (fromcarryDependents, which follows only converted documents) no longer appears.testTheConvertedDocumentsValidatebecomestestTheCarriedDistancesPassValidation.testABrokenEmissionIsReportedLostnow changes the carried body.testFixtureCorpus(fx_distance_metadata),testMigrators,testResolveEpochProbemap.testEpochMint(epochStringsreadsepochidwhatever the stamp),testEpochIndex(it reads the schema, which is unchanged),testTimeReferenceCollapse,testConvertV1ToV2,testMigratorsJClockAlignment(only history comments mention these classes there).Checks run locally
python3 tools/check_carry_citations.py --did-schema <did-schema at #238's branch>: OK.python3 tools/check_migrator_roster.py: OK.Not run locally: there is no MATLAB here, so CI is the first run of the MATLAB tests.
Merge order
This needs did-schema #238 merged first. DID-matlab CI reads the carry register from did-schema
main; the quick tests read a did-schema branch with the same name, elsemain. Without #238,check_carry_citationsfails R1 on carry-147 and carry-148.Generated by Claude Code