Repository navigation
Refuse world titles the Yard refuses, and keep older worlds openable - #23
Merged
Merged
Conversation
Builders now checks titles by the Yard's own rule: trimmed as the manager trims, not empty, at most 128 UTF-16 units and free of control characters. New titles are checked in the editor, the start screen, rename, MCP create_world, every save, every export and the package check. A world saved with a title the rule now refuses still opens unchanged; it asks for another title before its next save or export, and the last good save and any existing export are kept. 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.
WorldDoc.valid_title): trimmed as the manager trims, not empty, at most 128 UTF-16 units (an emoji counts as two) and free of control characters. Before, Builders saved and exported titles the Yard then refused on import: control characters inside, only Unicode spaces, or more than 128 UTF-16 units.create_world(refused, no world made), on every save, before every export (including the command line) and in--check.Verified locally with Godot 4.7.2: all five suites pass (run 1649, hardening 130, clearance_hardening 66, package_hardening 168, site_commands 9 of 9), and 34 of 34 titles get the same answer from Builders and from the manager's real import code.
🤖 Generated with Claude Code