Repository navigation
0.159.0: the collision rule compares file names by the folder format's fold - #84
Merged
Merged
Conversation
… fold resolve_filenames bucketed short file names (slug and id tail) by str.lower(). It now buckets them by _fold_name, NFC then simple case folding at Unicode 15.1, the fold the archive reader compares names by and the refusal of two names that fold to one already uses: one fold for folder spec 3.2. A name changes only for an id whose lowercase and fold differ, all of them beyond ASCII: two elements named Bob with ids a1234567<final sigma> and b1234567<sigma> kept two short names that the refusal joined, and are now written, the higher id under its full id. No ASCII id and no UUID changes. The shared cases add that pair and one with the Kelvin sign in a tail, each with its two file names (tests/fixtures/case-collide.cases.json, the same bytes as the npm SDK's; the sha256 pin moves). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s fold Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully 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.
Changed: the collision rule compares file names by the folder format's fold. Two elements whose short file names would land on one path are now compared after NFC and simple case folding (the fold the archive reader uses), where before the language's own lowercase was used. A file name changes only for an id whose lowercase and fold differ, such as a
ςagainst aσin the tail: the higher id now takes its full-id name and both are written, where before they were refused. No ASCII id and no UUID changes; a differential over every committed fixture and recorded export found no name that differs. Two written cases join the shared file, each with its two file names.🤖 Generated with Claude Code