feat(oxc-reference): record TS7 boundary evidence - #38
Merged
Conversation
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 #20
Evidence
Runs the real TypeScript 7 Go
tsfactsproducer over all six representative corpus cases, consumes schema-v1 JSON Lines through the internal Rust boundary, attaches TypeFacts to OXC nodes with response-global fact indices, and performs bounded graph inspection.The checked macOS arm64 spike record reports:
These timings are spike evidence, not general performance or warm-project-reuse claims.
Changes
ADR-0016 approves mechanical porting of occurrence identity and attachment plumbing behind the Go oracle. It approves no semantic checker category for replacement. Primitive/literal construction is only the next proposed independent Rust candidate; project loading, resolution, binding, symbols, inference, contextual typing, widening, overload/generic instantiation, narrowing, and recovery remain Go-authoritative.
The producer protocol is unchanged.
Validation
./internal/oxc_reference/run-evidence.sh --output /tmp/ts7-oxc-evidence-final.json— passed all six cases; the JSON gate for repeated stability, ambiguity, and transport mismatches passed.cargo fmt --check --manifest-path internal/oxc_reference/Cargo.toml— passed.cargo clippy --locked --manifest-path internal/oxc_reference/Cargo.toml --all-targets -- -D warnings— passed.cargo test --locked --manifest-path internal/oxc_reference/Cargo.toml— passed: 10 tests, 0 failed.go test ./internal/tsfacts ./internal/occurrencemap ./internal/semanticfacts ./cmd/tsfacts— passed.npx hereby build— passed.npx hereby lint— passed: 0 issues in the main module and_tools.npx hereby format— passed.npx hereby test— passed across all Go packages. The sandboxed macOS run could not start FSEvents streams; the required unsandboxed rerun passed, includinginternal/fswatchandinternal/lsp/lspwatcher.