Skip to content

feat(lynx): report Block eligibility - #356

Merged
Huxpro merged 2 commits into
new-lynxfrom
huxcx/m3-block-selector-290
Sep 11, 2026
Merged

Huxpro merged 2 commits into
new-lynxfrom
huxcx/m3-block-selector-290

Conversation

@Huxpro

@Huxpro Huxpro commented Sep 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • intersect paired resident-program coverage, semantic requirements, and feature requirements into one immutable, versioned Block eligibility report on the generated main-thread asset
  • upgrade the feature ledger to v2 so ordinary components, fragments, directives, renderable holes, ordinary host refs, root events, and native list elements cannot be mistaken for safe Block programs
  • retain exact module/thread/source refusal reasons and prove both eligible and ineligible outcomes through real production Rspeedy builds

Scope boundary

This PR is advisory build evidence only. It does not change emitted application JavaScript, select the compact background/bootstrap graph, flip the core default, or make a bundle-size or runtime-speed claim.

Validation

  • focused compiler/Rspack/Rspeedy chain: 7 files, 123/123 tests passed
  • root-event/ref correction rerun: 3 files, 79/79 tests passed
  • affected project run: 490 files and 8,674 tests passed, 1 skipped; the known packed-consumer strict-peer install failure reproduced before build, and one load-sensitive HMR 5 s timeout passed 70/70 in isolated rerun
  • pnpm typecheck:files for all changed source/test/fixture files
  • pnpm format:files:check
  • pnpm sync
  • clean git diff --check

Self-review closed two false-positive classes before publication. Resident structural addressing treats all slot holes as ranges, so it could not by itself prove that ordinary components/directives/renderable holes were executable by Block. Separately, a resident first-screen program may bind an event on its root while a Block program deliberately refuses that root binding. The v2 role ledger now supplies both missing facts and the selector fails closed at the authored source sites; ordinary host refs are also explicit rather than surfacing only as incomplete coverage.

Exact base: 994080cfbc995d6fd104e2ca23a568c6c7a3829b
Exact head: 8c991995ab4e7835ed88be36c4547e1c19fc87fc

Roadmap: #290, #282

Risk / follow-ups

The matrix intentionally admits only the independently asserted Block subset. A later focused PR must consume this report for product selection and prove external-consumer fallback/default behavior before any cutover.

Provenance

  • An agent produced this diff (agent-authored)

@Huxpro
Huxpro merged commit 22a2bde into new-lynx Sep 11, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant