Repository navigation
feat(edit): add native and standalone pure mutations - #3
Merged
Merged
Conversation
Implement insertion, removal and literal key renaming with textual and segment paths, preserving source ranges and verifying intended semantic trees. Preserve empty ancestors, root trivia, comments, Unicode and source EOL/EOF. Add ABI 2 mutation bindings, source-first transport diagnostics, exception-safe buffer ownership, native/pure regressions and generated EN/RU/ZH documentation. Pin the verified Rust core without changing package versions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restore legacy replacement transport validation without requiring a native artifact, while keeping source-first validation for new mutation APIs. Normalize unsupported edit types to structured Message errors and match Rust UTF-8 wording without changing raw spans. Keep the documented PHP value mapping, correct invalid ArrayObject success fixtures and strengthen native/pure transport regressions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PHPCraftdream
marked this pull request as ready for review
October 27, 2026 13:44
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
try/finallyand free through the producing library.8b6b45ffbd9e50e1588e8ab6b1ae5d422bbe8910; update source/generated EN/RU/ZH documentation.Validation
Exact head:
8ee9af10448e1fb56036233f29cec58e6f3f8678.GitHub CI 40485596787 passed 24/24 jobs: native and no-Rust pure matrices on Linux/macOS/Windows with PHP 7.4/8.2/8.3, packaged pure without FFI/mbstring, cycle diagnostics, debug ABI, Rust lint, and generated documentation.
The actual implementation and independent regression oracles were reviewed. Locked polydoc 0.1.0 generation/check passed. Documentation repair preserved backups. Product builds, runtime tests, and PHP lint were not run locally by the parent. Actual failures were fixed without weakening existing tests or corpus guards.
Scope
Preparation for 0.9, not a published 0.8.1 feature. ABI remains 2; no package versions, tags, or releases changed. The pre-existing local spec checkout change is excluded. Unsupported source shapes fail closed. This PR remains draft; no merge or release is requested.
🤖 Generated with Claude Code