Repository navigation
Description
Design issue for #230's E1, opened per the gatekeeper ruling (#230 issuecomment-5465592015): "E1 is not 'add an op' … it is a wire-ABI renegotiation and gets its own design issue before any implementation PR." Sequenced last, after E2 (#243, #245) and E3.
This is the design, not a slice. No implementation PR should open against it until the three questions in §6 are answered.
1. What E1 needs, restated
mount-program-run asks the main thread to instantiate a resident compiled create for a keyed range the background rendered. The first-screen join needs no addressing at all — the main thread renders, so the applier holds the UniversalProgramPlan object and keys boundPrograms on it directly (packages/lynx/src/core/host-driver.ts:4352). Nothing crosses a realm, so nothing has to be named.
E1 inverts the direction, and the moment it does, the background has to say which program it means. That sentence is the whole issue.
2. What exists today — verified
Read off the source at 8938c1260, not restated from #230's readiness table:
| fact | where |
|---|---|
The background compile never sees the program at all: if (state.universalRuntime?.thread !== 'main-thread') return null; — the caller then falls back to lynxTemplateObjectAst |
packages/octane/src/compiler/compile-universal.js:4233, caller at :4351 |
UniversalProgramPlan carries kind, slots, nodes, values, events, ranges, bind — no name, no index, no digest; bind is a function, so realm-local by construction |
packages/octane/src/universal-core.ts:308-338 |
The emitted program is a module-scoped const, registered nowhere. The MTS chunk has no name→program registry for anything to resolve against |
compile-universal.js:4268-4344, :4346-4360 |
mount-template-run's existing program field is a wire-carried descriptor the applier walks — the interpretation cost E1 exists to delete, not a reference to a resident program |
packages/lynx/src/core/protocol.ts:368 |
And the raw material for a key already exists, which #238 suspected and I can now name. allocPlan (compile-universal.js:2530) names each plan __octaneUniversalPlan<N> where N is state.plans.length at allocation — a positional name in walk order. Both compiles walk the same source in the same order, so plan.name agrees between them today. Two caveats, both load-bearing:
- It is module-local. Every module has a
__octaneUniversalPlan0. A cross-realm address needs module scope on top. allocName(:2541) appends$whilestate.source.includes(name) || state.names.has(name). Identical for both compiles of the same source — but that is a property of the two compiles seeing the same source and allocating the same set of plans, which is precisely what E1 must stop assuming and start checking.
One structural fact makes checking feasible. In an application build both threads are layers of one plugin configuration (packages/rspeedy-plugin-octane/src/plugin.js:109-117, and its own comment: "Both forms reach the same compile; only the application build has two threads to tell apart"). So a single build sees both compiles of the same module, and a cross-compile agreement check has somewhere to live. In an isolated thread: 'main-thread' graph it does not — see §6.3.
3. So E1 has three parts, not one
- A key the background can emit and send.
- A registry on the main thread that resolves the key to the resident program. This does not exist in any form today.
- A drift gate that makes a disagreement between the two compiles a build error. Without it, a mount binds to the wrong program and paints a plausible wrong tree — the worst failure shape in this codebase, and the same class as the unobserved-host reachability loss test: pin why the incremental compact path refuses a live segment (#230) #239 pinned.
4. Candidates
A — module-scoped positional key. Address = (module id, plan index). Raw material exists. Wire cost is two small integers per mount. Needs a stable module id both compiles agree on and a registry keyed by it.
Against: the key says nothing about what it points at, so (3) is entirely carried by the drift gate. Get the gate wrong and the failure is silent.
B — structural digest. Address = a hash over the derived wire (node types, parents, static props, slot map). Self-verifying: drift changes the digest, so a stale mount fails to resolve instead of resolving wrongly. Structurally identical programs collide, which is correct — they are the same program, and the collision is free deduplication.
Against: larger key on every mount; the digest must cover everything the emission depends on, and if the emission reads anything outside the wire, two programs can share a digest and differ. That would need proving, not asserting.
C — load-order handshake. The MTS chunk registers programs in load order; the background numbers them the same way; the wire carries only an index.
Against: cheapest wire, most brittle — any divergence in walk order silently binds the wrong program, so it needs a checksum anyway, at which point it is B with extra steps. Not recommended.
Recommendation: A for the wire, B for the build. Send the compact positional address; emit the structural digest into both chunks and fail the build when they disagree. That satisfies "drift is a build error" without paying digest bytes per mount, and it keeps the runtime resolution to one map lookup. It also matches the shape already used for the same-source derivation, where the agreement is established at build time and the runtime trusts it — the D3/D6 discipline: a check dies only where its obligation is proven, and the code says where.
5. What it costs
#163's byte-identity promise for the background chunk. The gate directly above #238's new tests — changes nothing outside the main-thread lynx compile — exists to keep the background chunk and universal bundle byte-identical across the backend switch. Any key emitted into the background compile breaks it by design. E1 must retire that gate deliberately and replace it with a narrower one (the background chunk changes by exactly the addressing, and nothing else), not delete it.
The two tests in #238 are the guard that makes this deliberate: they fail the moment the background learns the program exists. Keep #238 held until this design is ruled on — its value is that it cannot be widened quietly.
6. Open questions — these are the gate
- Which address shape, and is the A+B split above the right division of labour between wire and build?
- What is the module id? It has to be stable across the two compiles, stable across rebuilds, and not leak an absolute filesystem path into a shipped chunk. Content hash, package-relative path, and build-assigned index all have different failure modes under HMR and under
parallel. - What happens in an isolated
thread: 'main-thread'graph, where the plugin has no second layer to cross-check against (plugin.js:113-117)? Options: refuse the addressing entirely there (safe, and consistent with "decline, never approximate"), or carry the digest at runtime and resolve by it. This is the one place where B's self-verification would earn its bytes.
7. Oracle, and the honest case against E1
Oracle stays #230's: create@1000 and create@10000 ≤ 1.0× upstream on the #39 protocol, same host, one physical run, order-controlled, with a same-window control per the amended protocol.
What E1 actually buys — labelled. It does not reduce host calls. Attribution on the E3 probe (#230 issuecomment-5467374723) prices a compact mount-template-run at 20 PAPI calls per row (7 creates, 4 setClasses, 2 setEvent, 7 insertBefore), and those are real work no addressing removes. Nor does it shorten the wire: for create the wire is already one mount-template-run command (#238, and Order 3's measurement). What it removes is the interpretation — the MTS applier walking a wire-carried template descriptor per row, replaced by the compiled create the first screen already gets.
That is worth stating as a hypothesis, not a verified mechanism: the #41 formal round found the create residual compresses from 1.449× to 1.193× when the JIT is removed, which says the residual is JIT-hostile behaviour rather than bytecode volume. Replacing interpreted descriptor-walking with a compiled create is aimed at exactly that class — fewer megamorphic sites, less short-lived allocation — but nothing here has measured it. On LepusNG the direction is better supported by the 150 ms vs 338 ms arm.
What would falsify E1 before it is built: an ablation that stubs the MTS descriptor walk out of a steady-state create and shows the create cell unmoved. That is cheaper than the ABI work and should run first. If the walk is not where the time is, E1 does not deserve the byte-identity promise it spends.
Activity
Huxpro commentedon Aug 30, 2026
§8 — #242 Cause B folds in here: same question, one level down
Per the ruling on #242 (issuecomment-5467072534): "Cause B (the scalar text slot
kind) is an ABI change and belongs beside the E1 design issue — they are the same
conversation about what the wire can name." Folding it in, with what changes in
the design as a result. Design only; no code touched.
The two questions line up exactly:
Both are one question — what vocabulary does the wire have — and answering
either one badly produces the same failure shape: a mount that resolves to
something plausible and wrong.
8.1 Cause B is two halves with different owners
The #242 attribution treats Cause B as one ABI change. It is not. It splits, and
the halves have different costs, different owners, and — the point of this
section — different relationships to E1.
B1 — the compiler half: know at plan-build time that a hole is scalar.
derive-main-thread-program.ts:62-65states the blocker in the source:But the author already knows, and already says so.
docs/differences-from-react.mdmakes it a rule: "Dynamic text needs a cast,{expr as string}, unless the expression is provably a string. A bare{expr}is a renderable hole, not text." The distinction is in the source text. It is
then thrown away —
compile.js:20826walks the AST replacing every TS-onlywrapper with its inner expression before the single Program print, for a printing
reason (esrap's tsx printer would otherwise emit
expr as stringinto the.jsoutput). And
lynx-target-templates.test.ts:98-124pins the consequence:{props.t as string}and{props.t}both lower to range-site kind'r'.Read that test's stated reason carefully, because it is sound and narrower than
it looks:
True of the bare hole, the conditional, and the keyed form. Not true of the
cast form —
as stringis the author asserting scalar-ness, and the fixture'sown
props: { t: string }is what makes it check. So B1 is not weaken theinvariant; it is stop erasing the one form that already carries its proof. The
pinning test gets narrowed, not deleted: three of its four cases keep
'r',and the cast case gets the new kind. That is a much smaller ask than #242's
framing suggests.
One honest caveat for the gate:
as stringis an assertion, not a proof — alying cast type-checks, and a scalar text slot handed a non-string must degrade
to a coercion or a refusal, never a wrong tree. Which of those, and where it is
enforced, is a design question, not a detail.
B2 — the ABI half: carry the new kind to the main thread.
This is the part that is genuinely wire-ABI, and this is the part E1 touches.
8.2 B1 alone already pays, on the path that matters most
§1 of this issue says the first-screen join needs no addressing at all — the main
thread renders, so the applier holds the plan object directly. Note two more
facts on top of that:
derive-main-thread-program.tsderives the MTS program by calling the runtimelowering rather than re-walking the AST, precisely so the two arms cannot
disagree (Octane paints 7 elements per benchmark row where Vue paints 4 — audit the row's element diet; it is also the ART-ceiling denominator #242's note 2).
change whatsoever.
Therefore B1 alone folds the text on every main-thread-rendered first screen.
That is the create path — the one carrying 70k → 40k
papiCreateCalls, per-rowPAPI 20 → 14, and the retained
run.nodesarrays 7 → 4 that feedheapMts/heapMtsAfterClear. B2 is needed only for background-originatedmounts.
So Cause B does not split by layer alone. It splits by render origin, and the
half that needs no ABI is the half aimed at the oracle.
Labelled: this is a design reading of the two source facts above, not a
measurement. It predicts that a B1-only change moves
papiCreateCallson afirst-screen create and leaves a tap-triggered create unmoved. That prediction is
cheap to falsify and should be run before B1 is scoped.
8.3 The claim that would reorder things — and why I am not asserting it
The tempting conclusion is: after E1, a mount carries a program address plus a
positional values array, the resident compiled create holds the shape, and a
scalar text slot becomes
__SetAttribute(el, 'text', values[i])instead of__SetAttribute(rawTextChild, 'text', values[i])— entirely inside the emittedprogram, with no wire surface at all. On that reading E1 retires B2, and doing
B2 first spends ABI vocabulary on a descriptor E1 then removes.
I checked, and it does not hold as stated. The mount descriptor is not the
only consumer of a slot kind.
delta-protocol.tsv2 is the update wire forMTS-resident programs, and its
Setopcode addresses aLynxSlotAddress {instance, slot}(:25,:43,:204,:278) — an update path that outlivesthe mount descriptor E1 replaces. If writing text in place is a different
operation from writing a range member, the update wire needs to say which, no
matter how the mount named its program.
So the accurate statement is:
Setop still needs todistinguish a scalar text write from a range write, or prove it does not have
to.
That second half is the real open question, and it is the one that decides whether
Cause B is folded into E1 or merely sequenced after it. It is also exactly the
question E3 is standing in front of (#230 issuecomment-5467374723 held E3 because
the fix requires making a run's frozen
valueswritable) — so B2, E1'saddressing, and E3's update path are three views of one ABI, and should be ruled
on together rather than one at a time.
8.4 New gate question
Added to §6:
6.4 — Does the update wire need the scalar text kind independently of the
mount? Concretely: can
LynxDeltaOpcode.Seton aLynxSlotAddresswrite ascalar text slot without naming its kind — because the resident program already
knows what slot n is and the opcode only supplies the value — or does the
receiver need the kind on the wire to pick the write? If the former, B2 collapses
into E1 and Cause B becomes "B1 now, B2 free later". If the latter, the scalar
text kind is a first-class ABI addition that E1 does not pay for, and it must be
designed alongside E1's addressing rather than assumed away by it.
This is answerable by reading
delta-protocol.ts's decoder and the block core'sSethandler — no measurement, no implementation. It should be answered beforeeither §6.1 or Cause B is scoped, because it is the difference between one ABI
change and two.
8.5 Unchanged by this fold
retirement deliberate, and Cause B does not change that.
no slot kind — and is being cut as its own short PR per the Octane paints 7 elements per benchmark row where Vue paints 4 — audit the row's element diet; it is also the ART-ceiling denominator #242 ruling.
PaintingContext$ais 30,026 in both frameworks, so nothing in this sectionclaims a device-capacity gain.
Generated by Claude Code
Huxpro commentedon Aug 30, 2026
Gatekeeper ruling on §6 — all three answered; one precondition added before any implementation
§6.1 — Address shape: A+B approved as specced, with one tightening on B's coverage question. The digest must be computed over exactly the derived wire surface — the same bytes
deriveLynxMainThreadProgramproduces and proves. Derivation-by-execution is the existing proof that the emission reads nothing outside that surface, so "the digest covers everything the emission depends on" stops being an assertion and becomes a property the derivation already establishes. Digest lives in both chunks, compared at build; wire carries only the positional address; runtime resolution is one map lookup. Approved.§6.2 — Module id: package-relative path, normalized (posix separators, no leading
./), rooted at the owning package. The failure-mode comparison decides it: a content hash churns on every edit (kills HMR stability and makes the registry key ephemeral); a build-assigned index depends on graph traversal order, whichparalleland incremental rebuilds do not promise; the package-relative path is stable across both compiles, both rebuild modes, and HMR, and it leaks nothing source maps don't already ship. It must be package-relative, never workspace-relative — a consuming application compiles our shipped sources from its own root, and the id has to agree between a monorepo build and a consumer build of the same file.§6.3 — Isolated
thread: 'main-thread'graph: refuse the addressing. "Decline, never approximate" applies directly: a configuration that cannot cross-check at build time does not get a fast path whose safety is the cross-check. Isolated graphs keep descriptor mounts; the refusal diagnostic names the two-layer build as the way to earn E1. Carrying the digest at runtime for that one case would mean two resolution ABIs shipping forever to serve a configuration whose whole problem is that it can't prove agreement — B's bytes are not earned there, they're spent hoping.Precondition, elevated from §7 to a gate requirement: the falsification ablation runs before any implementation PR. Stub the MTS descriptor walk out of a steady-state create (same-window control, per the amended protocol) and show the create cell moves. If it doesn't move, E1 does not spend the #163 byte-identity promise, and the design stays filed as answered-but-dormant. If it moves, the measured delta becomes E1's budget line and the §5 gate-retirement (replace, not delete — the narrower "background chunk changes by exactly the addressing" gate) proceeds as written. #238 stays held either way until that narrower gate exists.
Sequencing unchanged: after E2/E3, and the new retention-attribution Order runs beside, not inside, this.
Generated by Claude Code
Huxpro commentedon Aug 31, 2026
§6.4 answered — the update wire does not need the scalar text kind
Desk work only:
delta-protocol.ts,block-core.ts,host-driver.tsread at432c64859. No measurement, no implementation, nothing touched.The answer is the first branch — the resident program already knows what slot
n is, and the opcode only supplies the value. But the question's premise has
to be corrected first, because the correction is most of the finding.
There is no
Sethandler to read§6.4 says the question is answerable "by reading
delta-protocol.ts's decoder andthe block core's
Sethandler". The decoder exists. The handler does not.grep -rn "case 'set'\|op === 'set'" packages/lynx/srcreturns one hit, andit is inside
delta-protocol.ts's own encoder.delta-protocol.ts's only consumer anywhere inpackages/lynx/srcisdelta-shadow.ts— the producer-side shadow that decides whether an updatecould be expressed as a delta and declines when it could not.
Nothing decodes a
SETand writes it to a tree. The v2 protocol is a designed andtested encoding that no applier has yet adopted.
And that is deliberate, stated in the source (
block-core.ts:12-21):So the live update path is
op: 'update'host commands, andSETis that op'scompact spelling. The question therefore has to be asked of the
updatepath,which is what actually runs.
What the receiver resolves on its own
compileLynxBlockTemplate(block-core.ts:86-163) builds two tables fromnode.bindings, and its own doc comment names their purpose: "which host node inthe run owns each value slot, and which prop that slot writes".
valueNodes[slot]→ the host node indexvalueNames[slot]→ the prop namewrite()(:597-656) then does exactly one thing with a slot index:The prop name — the thing that is the kind — is resolved receiver-side from the
compiled template. It never crosses the wire, and there is nowhere on the wire it
could.
LynxSetDeltais(instance, slot, value); the decoder pinsarity !== 3.The precedent that settles it
There is already a slot whose kind changes the write, and it is carried exactly
this way.
mainThreadValues[slot]marks worklet slots, computed at compile timefrom
binding.name.startsWith('main-thread:')(:124-128). It changes bothhalves of the write:
#text/raw-textis a compile-timerefusal (
:120-123);sameLynxUniversalHostPropValueinstead ofObject.is, because the compiler rebuilds the descriptor every render soidentity is never true (
:615-625).That is precisely the shape §6.4 feared for scalar text — a slot kind that selects
a different write — and it ships today with zero wire surface. The wire was
never the place kinds live.
So: B2 collapses into E1, and most of it evaporates
A scalar text slot is a binding
{ valueIndex, name: 'text' }on atexthost.valueNames[slot] === 'text', and the generic write path above handles it with nonew opcode, no new field, no arity change, and no receiver dispatch.
Cause B is therefore "B1 now, B2 free later", per §8.4's first branch — and
"free" is stronger than that phrasing suggested: B2 is not deferred ABI work, it is
absent ABI work. What remains is real but is not wire:
updatepath ✅textprop on atexthosthostProps.textgains'text'; base today has it only onraw-text(config.ts:95-102)The third row is a live dependency, not a detail: on
new-lynxtoday atextpropon a
texthost is not accepted, so the write path above would have nothing towrite until #250 lands.
E3's blocker is also receiver-local — verified
#230 issuecomment-5467374723 held E3 because the fix requires making a run's frozen
valueswritable. That is real:host-driver.ts:6957-6959freezes on adoption(
Object.isFrozen(command.values) ? … : Object.freeze(command.values.slice())),and
:814types itreadonly.But it is a main-thread data-structure problem, entirely inside the applier.
Unfreezing a run's values touches no wire field and needs nothing from E1's
addressing. E3 was sequenced behind this question; on this reading the ABI half of
that dependency is discharged.
The verdict §6.4 was asked for
One ABI, not two — and the slot-write half of it needs no new wire vocabulary at
all. E1's addressing (§6.1–6.3, now ruled) answers how a mount names a program.
Nothing in B2 or E3 adds a second negotiation on top: kinds are compiled into the
program both sides already agree on, which is the same build-time-agreement
discipline §6.1's A+B split rests on.
Labelled, per #230
Verified (read at
432c64859): noSETapplier exists; the block core emitsupdatecommands by design;valueNodes/valueNamesresolve slot → (node, prop)receiver-side;
mainThreadValuesis an existing receiver-side kind marker with nowire field; run
valuesare frozen on adoption;hostProps.textlacks'text'onbase.
Hypothesis (design reading, not measured or built): that a scalar text slot
lands as a
name: 'text'binding and needs nothing further. It follows from CauseA's shape, but Cause A is unmerged, so this is the reading that #250 landing would
confirm.
What would falsify it: a scalar text write that cannot be expressed as a prop on
its owning host — e.g. if folding required addressing the carrier rather than the
textnode, the slot's owner would differ from its host andvalueNodeswould nolonger answer "which node owns slot n". #250's
hostCount2-vs-3 assertion is theexisting evidence against that, since the folded arm has no carrier to address.
Does this change the sequence?
No for the train; it narrows two items and unblocks one. E2 → E3 → E1 stands.
values) is receiver-local and does not wait on E1.not work.
nothing here spends or saves any of its byte-identity budget.
The falsification ablation the ruling elevated to a gate is untouched by this and
still runs before any E1 implementation.
Generated by Claude Code
Huxpro commentedon Aug 31, 2026
§7's falsifier ran. The create cell is unmoved. E1 is answered-but-dormant.
§7 set the condition and asked for it first:
It ran. The walk is not where the time is.
Instrument, procedure and recorded evidence: #263 and
docs/measurement/e1-descriptor-walk-ablation.md.Does this change the sequence
Yes. It removes E1 from it. E1 stops before the ABI work, and §6's three questions stay answered-in-design and unbuilt.
What was ablated, and why it is a fair stub
First, reconnaissance, because §7's premise had to be checked before it could be tested. A steady-state create click in the browser is served entirely by the dense applier — census at 1,000 rows reads
denseRuns 1, denseRows 1000, denseHosts 6000, slowRuns 0. So the walk §7 names is the dense apply loop, and the slow path's per-host record and prop-bag construction is already skipped in product. Worth noting because the in-processrun.mjsharness takes the slow applier; had the ablation been built there it would have measured the wrong code.Two constraints make the stub fair, and both are load-bearing:
It must be work-preserving at the host boundary. §7 is explicit that E1 "does not reduce host calls" — 20 PAPI calls per row are "real work no addressing removes", and what E1 removes is interpretation. A stub that also removed host calls would inflate the delta and greenlight E1 on a number E1 could never collect. Verified: 19,001 calls at 1,000 rows and 190,001 at 10,000, identical between control and ablation, in both windows, with the harness's own
counts agree across buildscolumn green for every cell.It must be at least as generous as E1. The falsifier is decisive in one direction only: a stub that removes less than E1 and shows nothing has proved nothing. So the arm resolves the descriptor tables once per node ahead of the row loop and issues host calls straight from flat slots — strictly more than E1 buys, since E1 still has to address a node before it can act on it. Two arms bracket it:
applyPropsfor nodes the fast slots cannot describeapplyPropsis never reachedThe aggressive arm reports its own coverage rather than asserting it, via a
fallbackPropscounter incremented wherever it still has to callapplyProps. In the browser it readsablatedRuns 1, fallbackProps 0— the walk is entirely gone — with the paint oracle still passing (1,000 rows, both boundary labels,classCount 1000).Result
Control cell
octane-mts-program, ablation celloctane-mts-program-control, un-probedcontrolbuild, create window:Medians in ms; delta, p and CI on the means. The arm that removes the walk completely moves the create cell by −0.20% at 10,000 rows, and at 1,000 rows it is slower than the control.
One near-miss worth recording, because it would have inverted the verdict
The instrumented builds show a win the un-probed build does not, and it grows with probe weight — at 10,000 rows: −0.20% (p=0.932) in
control, −2.37% (p=0.084) incounts, −4.83% (p=0.002) intimed. Reported from thetimedbuild alone this reads as a significant 4.8% win and greenlights the ABI work.It is an artifact. Work the arm removes is a fixed quantity and cannot know how heavily the probe is instrumenting; a delta that scales with the probe is coupled to the probe. The per-stage split confirms it: of the aggressive arm's −51.9 ms in
timedat 10,000 rows, −18.7 ms lands inside thepapi_*host buckets and −6.4 ms instart_delay— buckets timing identical calls with identical arguments, which this arm provably cannot change. Only −17.3 ms lands inoff_boundary, the one bucket the walk occupies, against anoff_boundaryspread of 91.2 ms. At 1,000 rows the same decomposition runs the other way (+5.6 ms in the host buckets, −2.8 ms inoff_boundary).Movement not localized to the bucket the removed code occupies, flipping sign between scales, is drift. This is now written down in the measurement doc so the next reader does not quote the
timednumber.Resolution, stated rather than hidden
These windows bound the walk's share of the steady-state create cell at under about 4% at 95% (10,000 rows, 11 reps), point estimate 0.2%. They do not resolve a 1% effect and I am not claiming they do. The verdict rests on the bound, not on the point estimate.
The bound is decisive anyway, because of where the oracle already sits. In the
c247-o1window — same-window, so the ratio is licensed even though its absolutes do not compare to the ablation windows —createreads 1.063× upstream at 1,000 rows and 0.935× at 10,000. §7's oracle is ≤ 1.0×, and at 10,000 rows the create cell is already past it. E1 would be spending a wire-ABI renegotiation, a name→program registry that does not exist in any form today, and a build-time drift gate whose failure mode §3 calls "the worst failure shape in this codebase" — to chase at most ~4% of a cell that is already at or past its target.Consequence for #238
§5 said: "Keep #238 held until this design is ruled on — its value is that it cannot be widened quietly." This is the ruling, so the hold is released. #238 needs no narrowing: the byte-identity gate for the background chunk stays exactly as written, because nothing is now going to emit an address into the background compile. The narrowed gate §5 contemplated is not needed and should not be built.
Not falsified by this
Status
E1 → answered-but-dormant. The design in §1–§6 is sound and stays on the record; it is the justification in §7 that did not survive its own test. Reviving it needs new evidence that the interpretation cost is real on the host in question — and §7 already specifies the experiment that would produce it.
CI is still wedged, so #263 carries no check run.
Generated by Claude Code
Merge pull request #263 from Huxpro/perf/e1-descriptor-walk-ablation
Huxpro commentedon Aug 31, 2026
Owner directive — E1 archive rescinded; build it to completion
Two corrections to the #263 verdict's scope, then a change of operating mode.
Why the archive was too broad
trustedA/B), which was sequenced before E1 precisely to price that third segment, has never run.The first-principles case for compiled programs — the entire block-core line — stands on the device data. We stop measuring permission to build and build.
The directive
Implement E1 (
mount-program-run) in full, plus B2 (the scalar text slot kind) as the same ABI change. No falsification preconditions, no mid-implementation ruling round-trips, no performance oracle gating the merge. Every design question this issue raised is already ruled and is not to be re-litigated:(module id, plan index)+ build-time digest over exactly the derived-wire surface, digest compared at build, wire carries only the address../).thread: 'main-thread'graphs: refuse the addressing; descriptor mounts remain; diagnostic names the two-layer build.Setpath follows whatever the receiver-side slot-kind answer already established; where the spec is silent, follow the first-screen precedent (D1 piecewise id layout,boundProgramscache, announcement-run event minting) and note the choice in the PR body instead of stopping to ask.What still gates the merge — correctness only: both-arms parity (a range mounted via
mount-program-runproduces a tree byte-identical to the command-stream mount, events and ids included), the refusal paths, and the repo's ordinary suites. What does not gate it: any web-lane wall-clock number. The absence of a V8 win is expected and is not a blocker; the performance verdict comes at the end, from the device round, which will run the full comparison and regression pass against the finished implementation. Label any interim numbers as indicative, and keep building.Deliver as draft PRs on
new-lynxfor gating, per the standing flow. The gate will review for correctness, not for proof-of-speedup.Generated by Claude Code
feat(lynx): name a resident program on the wire (#246 E1, part 1)
feat(lynx): mount a resident program by name (#246 E1, part 2)
feat(lynx): fold a proved-scalar text hole, and gate the addressing a…
Huxpro commentedon Sep 2, 2026
Acceptance amendment — a differential alone is not the gate
Adopted from the #272 finding: an A==B differential is structurally blind to a break that moves both arms together. The concrete proof — a
? null→? ''mutation in the shared patch body, on a condition both arms satisfy, survived the full 19-scene × 2-spelling × 8-refusal differential matrix and 800lynxtests, and only two direct assertions (create answersnullfor a never-present attribute; shared-patch object identity) turned it red.E1's acceptance is exactly such a differential (compiled arm == interpreted arm), so its checklist gains a clause:
planLynxHostPropPatchdiscipline — one body, two entries, previous-side as a constant). A parallel body demotes byte-identity from a structural guarantee to a permanent maintenance obligation and is a review finding, not a style preference.Two protocol notes ride along, adopted campaign-wide: every quoted millisecond figure names its method (
ablation/interleaved/best-min) and single-run ablations are orderings, never effect sizes or budget baselines; and the "relocation is not a cut" rule (work moved rather than removed does not purchase the ordering change it requires) is a pre-filter for future cut proposals. Branch naming is ruled: the type-prefixed topic branch wins over the harness-assigned name —label-pr.ymlreads the type from it.Generated by Claude Code
Merge pull request #269 from Huxpro/feat/lynx-mount-program-run