편집 프로토콜의 정확성과 독립 구현 적합성을 보강한다 - #708
Merged
Merged
Conversation
Owner
Author
Self-review 완료사용자의 명시적 요청 “self review하고 merge해 그러면”에 따른 구현자 self-review입니다. 독립 전문 리뷰로 표시하지 않습니다. 리뷰 조건 변경의 범위와 한계는 #707의 승인 기록에 남겼습니다. 판정candidate 확인한 위험과 근거
정본 모듈·복잡성 감사감사 분모는 이번 PR의 36개 변경 파일과 변경된 runtime의 직접 호출 관계입니다. 전체 생태계를 전수 감사했다는 주장은 아닙니다.
이번 self-review에서 재실행한 검증
유지되는 한계많은 actor·긴 history-control 이력의 full replay 비용, JSON-equal 전환의 무통지, root replacement 시 자손 추적 해제는 문서에 명시한 경계입니다. 외부 팀의 채택 증거를 얻었다는 주장은 하지 않습니다. #704/#587/#589는 기존 base 충돌로 combined runtime을 실행하지 못했으며 이 PR에서 흡수하지 않습니다. 결론: 사용자가 승인한 self-review 조건과 객관적 검증을 충족했습니다. 정확한 candidate를 일반 병합 절차로 반영합니다. |
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.
목적
Closes #707
편집 프로토콜 리뷰에서 재현된 정확성·구현체 교체·협업 지속 편집·적합성 증거의 공백을 정본 owner에서 해결합니다.
JSONDocument의 여섯 member, ordered atomic JSON Patch, wire/checkpoint 형식은 유지합니다.변경과 완료 근거
add, 연속 배열 삭제, 삽입 후 replace, root add, 여러 경로의 historyGroup round trip을 검증했습니다. 새 Editing 회귀는 수정 전 6개 실패했습니다.trackPointer(pointer, applied, before?)가 중간 상태의 컨테이너를 구분합니다. 기존 두 인자 호출의 legacy 의미를 유지합니다. Collaboration 통지는 visible tree member identity로 move/add/remove를 컴파일하며 객체 rename/swap, 배열 삽입·삭제·재정렬, 컨테이너 간 이동, root 이동, 이동 후 편집 및 동시 편집을 검증합니다. 첫 구조 이동 회귀 8개는 수정 전 모두 실패했습니다.jsonpath-js@0.3.1의 public parser/evaluator와 독립 RFC 9535 함수 타입 검사로 전체 CTS를 통과합니다. reference/private import 방지도 독립 구현 디렉터리 전체로 확장했습니다.trackPointer정본 source registration을 함께 갱신했습니다.검증
환경: Node 24.16.0, 이 worktree에서 설치한 lockfile 의존성.
npm run verify:libraries: 28개 library의 typecheck·test·build, Core layer/package smoke 통과.npm run test:projects: 129 files, 1,175 passed / 4 skipped. 마지막 source registration assertion은 같은 test를 좁게 재실행하여 통과했습니다.npm run standard:check: 345 passed / 4 skipped. reference와 독립 구현 각각 JSONPath 703개, RFC 6902 실행 대상 110개를 검사합니다. skip은 각 구현에서 JSON object parsing 이후 표현할 수 없는 원본 중복opfixture 2개이며 추가 예외는 없습니다.npm run test:collaboration:soak: 24×96 steps 통과.workspace:check,docs:evaluate,docs:api:check, 사이트 typecheck 및site:verify:pages통과./items/2→/items/1→/items/2), 텍스트 편집 → undo, 표시되는 버튼 문구를 확인했습니다. 이 흐름의 browser error/rejection은 0건입니다.지속 편집 측정
scalar 문서, 3 rounds / 1 warmup.
benchmarks/runtime.mjs에 ingest 이후 새 actor commit 측정을 추가했습니다.전체 이력 비용이 상수 시간이 되었다는 주장은 아닙니다. 많은 actor, history control, 큰 문서는 별도의 비용을 유지합니다.
기준과 병렬 변경
2bd2b053bd4192539aece9c15872c222f69bd25b688a889439ec20b510ae46c1a17b4be271dd2c027d3f97d39415670dcdc8ec2ff05edaf515810806ea9642bb(편집/소비자/Pointer),e78c035d(협업),688a8894(적합성/문서/Usage)eba5017a, Database saved-view와 편집 표현 책임을 정본화한다 #587f0d0b097, refactor(annotation): 선택·gesture·출력의 정본 경계 통합 #5894c89fbc7는 이 작업의 predecessor가 아닙니다. 모두 이 변경 전부터 main과 충돌합니다.git merge-tree로 base와 candidate 각각을 대조했으며 충돌 경로 집합은 동일했습니다(각각 3/8/20개). 실행 가능한 combined tree가 없어 결합 runtime 검증은 하지 못했습니다. 해당 PR을 갱신·병합할 때 재검증해야 하며 이 PR에서 다른 브랜치의 충돌을 해결하지 않습니다.한계와 merge 전 확인
local inverse history와 actor-local selective history는 기존 구분을 유지합니다. 새로운 범용 history/selection protocol이나 외부 팀의 채택 실험은 포함하지 않습니다. 저장소 내부의 두 구현 적합성 통과가 생태계 표준 채택의 증거는 아닙니다.
Collaboration 변경은 merge 전 인과 순서·identity 통지에 대한 전문 리뷰가 필요합니다. 이 PR은 구현·검증 후 리뷰를 위한 상태이며 merge/publish는 수행하지 않았습니다.