Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Part of the [lynx-perf-s2] code-staged roadmap (sequel to #9). Depends on #18 + #19 — it only pays once the command vocabulary has actually shrunk to instantiate + slot updates. This is where the code-staging bet cashes out (S1 receipts: interpret→code alone is ~wash; the FCP-sized prize is the receiver mass evaluated before first paint plus the per-command pipeline).
Scope (one PR, possibly two if slice-budget renegotiation warrants splitting)
With prod commands reduced to instantiate(planId, slots) + (handle, slot, value):
- the generic command staging/validation/canonicalization pipeline folds out of prod (envelope + fail-stop boundary checks stay; the perf(lynx): validation diet — dev-deep, prod-fast commit validation ([lynx-perf 5]) #13 dev-fold pattern, applied to what perf(lynx): validation diet — dev-deep, prod-fast commit validation ([lynx-perf 5]) #13 could not touch because the commands were still generic);
- the receiver's apply path collapses toward RL's shape: "apply arrays, done" — slot values are mostly primitives, so per-command deep handling has nothing left to do;
- kept, explicitly: versioned protocol, backpressure + explicit pacing (PR perf(lynx): frame-aligned commit pacing for the dual-thread transport #10), derived acks (perf(lynx): protocol slimming — derived ack handles, merged completion, empty-commit elision ([lynx-perf 6]) #14), adoption/repair, dev deep validation with the vm two-realm rig. These are capabilities RL doesn't have; they are not on the table.
- MT slice budgets (PR perf(lynx): receiver diet — lazy worklet bridge, per-slice gzip gates ([lynx-perf 7]) #15's frozen gates) are re-cut downward as wins land — never loosened. Target band ~30–35KB gzip, stated honestly as net arithmetic: + per-plan codegen, − plan JSON where MT no longer needs it, − interpreter fast paths, − generic pipeline. Measured, not assumed; every budget change carries its justification line in
ratios.json.
Acceptance anchors (S1 methodology: counters gate, wall-clock informs; ratios not absolute ms)
- create@10k: ≤ vdom same-run (from 2.08×), trending into the react-1717 neighborhood — with the standing calibration that the last ~100–150ms of RL's constants are structural (their minimal BG runtime + 3-phase lifecycle) and we do not chase them.
- FCP: [lynx-perf-s2 0] Stage decomposition: attribute FCP and create before cutting (go/no-go instrument) #16's segment table re-run shows receiver-eval + interpret segments collapsed; report the realized share, not a band.
- MT slice: inside the re-frozen budget band; no-feature apps keep paying zero for what they don't use (perf(lynx): receiver diet — lazy worklet bridge, per-slice gzip gates ([lynx-perf 7]) #15 boundary tests stay green).
- All ~24 existing deterministic guards green; every removal is a define/lazy boundary with a red-checked test.
Activity
Huxpro commentedon Aug 10, 2026
Closed by #16's measurement gate (PR #22, SG1 quiet host): receiver slice evaluation + plan interpretation total 6.2% of attributed FCP, and wire is 1.0% of create — the "receiver mass evaluated before first paint is the FCP-sized prize" premise measured at 0.8% / 17.7ms. This was the season's cash-out step; with nothing gate-clearing upstream, the collapse has nothing to collapse into a win. Where the mass actually is (PAPI 21.7%/20.4%, flush-layout residual 72.5%/52.0%, BG replay 24.0%) points at universal-core materialization and platform-side costs — different programs, own evidence required. Rationale in #21's gate-outcome section. Reopen only if a new measurement re-clears the gate.
Generated by Claude Code
Huxpro commentedon Aug 11, 2026
Live-main audit (2026-08-11): this remains correctly closed. octanejs#693 compact acknowledgements and octanejs#700 incremental template runs supersede the proposed receiver-collapse architecture. Bundle residual work is narrowly tracked in #44.