Repository navigation
Conversation
Adds docs/phases/phase-9.md and moves JIT compilation from the roadmap's non-goals to a proposed Phase 9. Safety comes from a tier 2 validator over an A64 spec; correctness from per-op refinement of Phase 7's bytecode semantics. The IR, back end, validator and enter stub carry no JS types, so a WebAssembly front end can reuse them. Item 9.0's decisions, including a change to CLAUDE.md rule 1 for entering generated code, are open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HKpuQzkKjH3XJ2ihASPMg
The baseline JIT becomes Phase 7's main path, with a thin interpreter loop over the shared op handlers. Targets Windows x86-64, Linux x86-64 and macOS arm64: clazel-x64 joins clazel-a64, with one validator theorem proven per instruction set. No indirect branches means x86-64 needs no NaCl-style bundles. On Windows and Linux the renderer never makes memory executable itself (decision J.0(b), option C2), so Arbitrary Code Guard stays on. The plan moves from phase-9.md to jit.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HKpuQzkKjH3XJ2ihASPMg
…lidator The maintainer took every J.0 recommendation (E1, C2, G1, SSE2 only). The rule 1 change lands with J.7's code, not before. Batching compiled functions to the code process becomes a design requirement, and J.6 and J.11 gain the validator benchmark and the break-even measurement. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HKpuQzkKjH3XJ2ihASPMg
Adds docs/phases/phase-7.md: the lexer and JSON at tier 2, the parser, RegExp, number conversions and heap at tier 1, the bytecode semantics as the Verus spec the JIT refines, built-ins and bindings at tier 0 with Test262 and WPT as evidence. The kernel gains script fetches, fetch() and XHR with CORS and ORB, same-origin URL updates and input-gated popups, each with a theorem. Fixes the shapes jit.md's J.1 asks for, and retires the Phase 2 line-script format. Item 7.0's decisions are open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HKpuQzkKjH3XJ2ihASPMg
Every recommendation is taken, each weighed against the roadmap's goals: the lexer and JSON at tier 2, the rest of the syntax at tier 1; the stated language scope; S1, keeping cookie noninterference as proven; no frames until 5.24's kernel design is built; no workers; a non-moving mark-and-sweep collector at tier 1; the host ends a stuck renderer on the user's word. The Wikipedia fixture is written here rather than vendored, to keep CC BY-SA text out of the MIT repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016HKpuQzkKjH3XJ2ihASPMg
An empty lib at tier 0, target tier 2, placed in the Renderer component. It holds the test data of item 7.1; the lexer's contracts come first, in item 7.2. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A hand-written reader of each test's frontmatter (flags, features, includes, negative) that emits a Rust table, with the tests outside 7.0(b)'s scope or newer than the edition as expected failures and the reason. The data is not vendored yet: see the pin file. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The spec text is not vendored (nothing reads it). Test262's data is held back: its scope is about 63 MB, over the 40 MB limit; the pin file has the measurements and a proposed 8.7 MB subset. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Parse, early and resolution negative tests of test/language and its lexical directories, their fixtures, harness/ and features.txt: 5,422 files, 8.7 MB. Stored without line-ending conversion. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The first copy was made from a Windows checkout that converted line endings, so every file differed from upstream. This one is read from the git objects at e91219cb, and the table's tree hash is regenerated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
atiernan
had a problem deploying
to
full-verification
November 16, 2026 11:59 — with
GitHub Actions
Error
The engine crates depend on no browser crate, and the browser reaches the engine only through clazel-js's public API. A Host trait carries ECMA-262's host hooks, plus the clock, time zone, randomness and locale. A second embedder, clazel-js-shell, runs Test262 through that API. A Runtime is Send with no global state. A Terminator stops a script in-process, which brings 7.0(g)'s interrupt check forward. The JIT asks a CodeMapper, so J.0(b)'s C2 is the browser's choice. The plan also states what it does not promise: Node itself is not a drop-in target, and the C API, SharedArrayBuffer across threads and a stable API are Phase 8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
atiernan
had a problem deploying
to
full-verification
November 16, 2026 12:24 — with
GitHub Actions
Error
This was referenced Nov 16, 2026
…cess Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
atiernan
temporarily deployed
to
full-verification
November 16, 2026 23:14 — with
GitHub Actions
Inactive
… changed packages)
atiernan
requested a deployment
to
full-verification
November 20, 2026 20:39 — with
GitHub Actions
Queued
This branch is being deployed
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.
Phase 7 item 7.1, inventory and test data: the suites and pins the JavaScript work tests against. There is no engine code yet.
This branch also carries the Phase 7 and JIT plan commits from
claude/js-jit-compiler-xzbjyc, which were not onmainyet. Those commits only touchdocs/phases/phase-7.md,docs/phases/jit.mdanddocs/ROADMAP.md.New crates
All four are empty, at tier 0, and placed in
PLACES(Renderer). Their target tiers follow phase-7.md's Crates table:clazel-js-lexerclazel-js-regexpclazel-webclazel-webidlVendored data
Each suite has a
SOURCE.mdand a licence file, and goes throughcargo xtask testdata.0248456c, incrates/clazel-js-lexer/SPEC-PIN.md. The text is not vendored, because nothing reads it yet.e91219cb, its last commit before that spec commit.harness/andfeatures.txt. That is 5,212 tests, 8.3 MB.10dd48f8, the newest WPT commit the repo already uses. It holds the directories in exit criterion 2 plustestharness.js, 2,229 files.1c0592d0. It covers DOM, HTML, Fetch, XHR, URL, Storage, UI Events and CSSOM.UnicodeData.txtandDerivedNormalizationProps.txtare identical toclazel-idna's copies.ff43b02e. It has the vanilla (javascript-es6), React and Vue versions, with the MIT licence.For WPT, WebIDL, Unicode and TodoMVC, the generated tables only list each file's path, size and SHA-256 for now. The items that use them will add real converters.
xtask changes to review
testdata.rsnow accepts tree suites (TREE_SUITES) andSHA-256: <hash> <file>lines inSOURCE.md.inventory.rs(new) writes the path, size and SHA-256 tables.test262.rs(new) has a hand-written front-matter reader.Deferred, on purpose
docs/DEPENDENCIES.md, and nothing uses them before 7.3.webidl,hr-time,streams,FileAPI) are left for 7.12./common/*,idlharness.js,testharnessreport.js) are left for 7.15.Verification
cargo xtask testdata: TEST DATA UP TO DATEcargo xtask check: STATIC CHECKS PASSEDcargo test -p xtask(123 passed) and the four new crates (no tests yet)cargo clippyon xtask and the new crates: cleancargo xtask verify --changedwas not run. The new crates changeCargo.lock, which would make it re-check every crate. CI's full verification is the check, and its proof jobs need approval from a reviewer of thefull-verificationenvironment.🤖 Generated with Claude Code