Repository navigation
The World's calendar and SDK 4.212.1 - #3
Merged
Merged
Conversation
The calendar profile's "Which calendar speaks": on a phone that never chose, calendarOf now asks the SDK's speakingCalendar with the World's keys (the record's extensions, from GET /world or a file's world.json). The World's named calendar speaks, also among several; a name that points at no calendar leaves the numbers, never the only calendar in its place; none named, the only one. A pick on this phone still wins. The cached calendar is keyed on the World's x_calendar, so a poll that brings a new name re-resolves it. calendarOf takes the World first, so no caller can leave it out. SDK 4.211.0 for speakingCalendar (on this branch until the next blessed pin, which also carries the calendar size bounds). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…json said as such The blessed SDK reads a calendar by the calendar profile's size bounds (standard serial 149), the same in every tool. Lantern's own bounds go, its 40,000-step year with them: that one guarded a cost the SDK no longer has (a label on a 200,000,000-day month measured under 0.1 ms on 4.212.1), and the profile asks every reader to refuse the same values. time.test.ts holds the profile's line for each count. A world file whose world.json is there and cannot be read (too deep, not JSON, a number too large) is said so in Lantern's words, from the SDK's worldFault, rather than the SDK's own message with its code mark. worldfile.test.ts: red without the mapping. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SDK 4.212.1's reader refuses a world file that holds world.json, elements/ or spatial/ only in other capitals (name_case), where the reader before opened it as a world with no elements. Lantern now says that in its own words instead of the SDK's message with its paths. worldfile.test.ts: red without the line. Co-Authored-By: Claude Opus 5.5 <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.
Lantern on SDK 4.212.1, in three commits:
x_calendar, the calendar profile's "Which calendar speaks"): on a phone that never chose, the World's named calendar speaks, also among several; a pick on this phone still wins.name_case).Unit: typecheck clean, vitest 654 passed locally. The calendar fixture of standard serial 149 through Lantern's own path: every case equal.
🤖 Generated with Claude Code