Repository navigation
Conversation
Refs #686 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #686 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #686 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Refs #686 Approved intermediate baseline A. Strict identity remains RED only at records 390 and 392: false/true setPrefix throws a WASM memory-access RuntimeError but a native Error. The shared all-position TypeError validation fix follows in its own commit B; this baseline does not waive identity, actual Linux native coverage, JS coverage, packaging, release, matrix, WASM size or performance gates. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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.
Refs #686 (napi phase 1). 이 Draft는 #794 (
fix/portable-binding-state) 위에 쌓입니다. #794는 #752에 기존 디스크 상태 및 allocator-only 체크포인트 admission guard가 포함되기 전에 병합하면 안 됩니다. 두 PR 모두 Draft를 유지합니다.요약
libs/binding, WASM의 기계적 위임, 실제 N-API 백엔드, 25개 시나리오 원시 바이트 비교 하네스를 추가했습니다. 플러그인, plugin-utils 및 엔진 선택 옵션은 변경하지 않았습니다.setPrefix(false)/setPrefix(true)에서 WASM의 메모리 접근 RuntimeError와 native의 Error가 다릅니다. 이 두 실패를 제외하거나 정규화하지 않습니다. 승인된 별도 커밋 B에서 모든 인자 위치의 RED 테스트를 먼저 작성한 뒤 두 엔진에 동일한 TypeError 검증을 적용할 예정입니다.동작
createBinding(raw)는 29개 이름과 추출 함수 인자 8개를 유지하지만 공개 패키지 로더의 대체 증거는 아닙니다.새로 생기는 오류
중간 커밋 A는 기존 WASM의 동작을 변경하지 않습니다. 현재 native의 잘못된 prefix 인자 오류는 위의 알려진 RED이며 최종 정책이 아닙니다. 커밋 B에서는 잘못된 JS 타입에 대해 함수·인자·기대 타입을 명시한 동일한 TypeError를 두 엔진에서 상태 변경 전에 발생시키며, WASM의 잘못된 타입 메모리 trap이 TypeError로 바뀌는 변경을 명시적으로 검증합니다. 실제 extractor 위치 오류, 사용자 getter/iterator 예외 및 resolver callback 정책은 그대로 유지해야 합니다.
남는 한계
검증
2b1b6b043의 Linux push39476907124, PR39476914451은 모두 SUCCESS입니다. Node 음성 대조군 16/19(의도한 임계값 실패), 동일 이미지 양성 19/19(100%), Bun 실제 실행은 자연 종료 0입니다. 이는 스파이크의 증거입니다.ddc9ea601decc4a84d715d255a2a613c1cb9c99b는 전체 31개 경로의 동일한 treec30f21842fe66e9f0a17363d3fa2d05aff3a7dae를 한 번의 정상 훅으로 커밋하고 정상 push했습니다. 부분 스테이징, 훅 우회, amend, 강제 푸시는 없습니다. 훅의 Bun은 6,631개 통과·실패 0개·함수/줄 100%이며, Windows tarpaulin은 **96.66%(22,187/22,953줄)**입니다. 새 native 소스가 포함된 이 수치를 Linux 제품 100%로 주장하지 않습니다.101a803f634c564533bc4a594905d76686c79d545c261bbb786c6438c034e257를 실제 Node 26.12.0 / Bun 1.4.3에서 별도로 smoke 검증했습니다. 29개 ABI, arity 8, 인덱스 0/1/2147483648/4294967295 roundtrip, 실제 추출·스케일링, 의존성 배열 복사 및 해제 후 오류가 통과했습니다. 두 prefix RED도 그대로 기록했습니다.39527146351도 SUCCESS입니다. 아직 임시scratch-controls작업이므로 실제 제품 native Linux 100%, 전체 identity 또는 플랫폼 matrix의 통과를 뜻하지 않습니다.