Repository navigation
0.145.0: a share carries under elements/ and spatial/ only what the folder reader serves - #44
Merged
Merged
Conversation
…older reader serves; the reader reads names as written The folder format's rule for a share, as ruled on 2026-11-23: nothing under elements/ or the legacy spatial/ travels except a file read as an element with no hidden mark, and "read as an element" is the folder reader's own verdict. So write_world_file(include_hidden=False) now asks read_folder which files are elements. A file with another extension, deeper than a type folder, directly under elements/, in a folder that is no type, or without an id is left out and listed in unread_left_out; an id that two files hold travels in neither file. A copy never rewrites a file that was not read as an element. read_folder reads names as written: the extension is .json in lower case and a type folder is the type word in lower case, so M.JSON is skipped and listed and elements/Character/ lands in ignored_dirs. Held by tests/test_worldfile.py (26 unread files, together and one at a time), tests/test_reader.py and the Kanka door's case for text after the one JSON value; the shared author-fields fixture moves two expectations and its hash, the same bytes as the npm SDK's. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch was previously deployed
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.
The folder format's rule for a share, as ruled on 2026-11-23: nothing under
elements/or the legacyspatial/travels except a file read as an element with no hidden mark, and "read as an element" is the folder reader's own verdict.elements/, in a folder that is no type, or without an id is left out and named apart from the hidden..jsonand the type folder in lower case, ids compared as written.Each rule was taken out alone and the tests watched failing (13 of 13 in this package). The two packages give the same answer on 30 small folders, and the shared author-fields fixture holds the same bytes in both.
🤖 Generated with Claude Code