Skip to content

feat(edit): native/pure path editing и diagnostics 0.9 - #5

Merged
PHPCraftdream merged 8 commits into
mainfrom
source-edit09
Oct 25, 2026
Merged

PHPCraftdream merged 8 commits into
mainfrom
source-edit09

Conversation

@PHPCraftdream

Copy link
Copy Markdown
Contributor

Изменения

  • EditValue/EditValueSegments через C ABI 2 и самостоятельный pure backend.
  • Позиционный source splice, сохранение container forms/комментариев/BOM/EOL/EOF, минимальные layout transitions, no-op и immutable masked-tree semantic verification.
  • Source-first locations, raw UTF-8 offsets и native/pure corpus 0.9:412fixtures включая72diagnostic oracles.
  • Exact Rust layout regressions, typed numeric wire normalization, signed zero и order-independent object equality с линейным lookup.
  • Immutable core447a00bd012e8d3f347c7e1eb59c3f0d9a78332f в Cargo.toml/lock; speca45275688557dc9ecc24a82afb491dd46e615d4d; строгий ABI/provenance gate.
  • Source/generated README/changelog EN/RU/ZH и явный unreleased статус; package versions не повышены.

Проверка

Локально docgen/check и diff-check. Dotnet/native builds и runtime tests локально не запускались; host-language проверка — в CI PR. Все реальные причины failures исправляются без ослабления оракулов/guards.

Зависит от Rust PR21: сохранить immutable pin обычным merge, не squash. Без merge, тегов и публикаций до отдельного разрешения.

🤖 Generated with Claude Code

PHPCraftdream and others added 8 commits October 25, 2026 19:30
Добавить EditValue/EditValueSegments через C ABI 2 и самостоятельный позиционный pure engine. Сохранить формы/комментарии/no-op, корректно проверять immutable masked trees и numeric wire. Подключить корпус 0.9, exact-output/native-pure регрессии и EN/RU/ZH документацию без повышения версий пакетов.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Сохранить Exception.Message, убрать nullable tuple из SlotBody и конфликт pattern-переменных.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Заменить недоступные char overloads на индексные проверки. Открыть тип corpus fixture только внутри test assembly для public test methods.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Разрешить namespace Pure явно и приводить известные object roots к KtavObject перед Get.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Метод сверён с KtavValue.cs:119; product API не изменяется.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Использовать абсолютный colon offset, сохранять CRLF и длину expanded UTF-8 bytes. Различить String и Integer в дополнительных oracle tests, не меняя 22 Rust layout fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scanner fallback без memo возвращает абсолютную позицию: переходить к pos+1, а не прибавлять её к i. Закрепить разбиение nested compounds прямым тестом без memo; недоказанное изменение layout recursion не включать.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@PHPCraftdream
PHPCraftdream merged commit 4e3d59e into main Oct 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant