Repository navigation
feat(edit): add native and pure source mutations - #13
Merged
Merged
Conversation
Expose insertion, removal and key renaming through the PyO3 bridge and standalone pure backend, with textual and literal-segment paths. Preserve source-first diagnostics, lossless splice boundaries, empty ancestors and semantic verification. Add independent source-byte and semantic regressions, publish the collision exception consistently, pin the verified Rust core and update generated EN/RU/ZH documentation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sort imports and public exports, wrap long lines, remove unused bindings and split composite assertions. Preserve every distinct regression oracle and remove only an exact duplicate parameter case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PHPCraftdream
marked this pull request as ready for review
October 27, 2026 14:13
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.
Summary
insert_value,remove_value, andrename_key, with textual and decoded-segment variants, to the PyO3 bridge and standalone pure backend.KtavAlreadyExistsError. Remove existing values/subtrees/Array elements without pruning empty ancestors. Rename literal keys while preserving value, order, and same-name no-op bytes.8b6b45ffbd9e50e1588e8ab6b1ae5d422bbe8910; update source/generated EN/RU/ZH documentation.Validation
Exact head:
96b27990c8631040f0204a2b1d1ddb32d36cfc61.GitHub CI 40495403343 passed 17/17 jobs: native Python 3.9/3.11/3.13 across Linux/macOS/Windows, pure without native on Python 3.9/3.13, test summary, Ruff and mypy, Rust formatting/clippy, and generated documentation.
The actual implementation and independent regression oracles were reviewed. Locked polydoc 0.1.0 check passed. Product builds, runtime tests, and typechecks were not run locally by the parent. Earlier delegated
pytestfailed withModuleNotFoundError: No module named 'ktav'; an earlier delegatedpy_compilealso violated the local-execution constraint. Both were disclosed, neither was repeated by the parent, and neither is validation. Acceptance comes from exact-head host-language CI above.Scope
Preparation for 0.9, not a published 0.8.1 change. No package versions, tags, or releases changed. Scratch files/backups were retained outside the product tree; the pre-existing local spec checkout change is excluded. Unsupported source shapes fail explicitly. This PR remains draft; no merge or release is requested.
🤖 Generated with Claude Code