feat: establish PR 9 full-JavaScript protection contract - #9
Draft
owengregson wants to merge 3 commits into
Draft
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
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
Qualification status
This is deliberately a draft and is not a claim of completed full-JavaScript protection. The public transform still calls the PR 8 source-region pipeline, and the no-native-lane gate correctly fails because nativeRegionCount is 1. There is no emitted general BPRF regional runtime yet.
The implementation and release contract is in docs/superpowers/specs/2026-07-25-pr9-full-javascript-protection-plan.md. Its kill criteria forbid relabeling the former VM, retaining native source, or turning a per-operation interpreter into Isogloss.
Final architecture benchmark
After language and protection qualification is complete, the release must publish versioned raw JSON and a reviewed report comparing native JavaScript, fully protected Isogloss, and the frozen pre-PR-6 VM. Categories include build phases, cold bootstrap, first and warm P50/P95/P99 execution, throughput, raw/gzip/Brotli artifact and package sizes, peak and retained memory, scaling, language/host workloads, custody costs, and attacker-amplification efficiency.
The release command is bun run bench:architectures:release. It excludes all native, hybrid, partial, unsupported, and uncertified rows from protected performance comparisons. Today it correctly rejects PR 8 because no emitted-artifact certificate exists; the diagnostic quick harness reports 0/9 qualified Isogloss workloads.
Validation
Security boundary requiring a product decision
A fully client-resident JavaScript artifact cannot provide absolute secrecy against an attacker with full artifact/runtime access. The local profile can target exact, non-bypassable Isogloss mediation and analysis amplification. Client incompleteness requires a mandatory custodied, private-function, threshold, or TEE trust domain with no local fallback. The draft does not invent that deployment choice or make a false absolute-security claim.