LuxelEspañol

On npm as an alpha (dist-tag alpha) · published 2026-12-05 · latest and beta unchanged · no external security review yet

Luxel 0.2.0-alpha.1 — alpha

An alpha of Luxel 0.2: identity from a trusted gateway, on top of the 0.1.0 beta. The dist-tags latest (0.1.0-beta.1) and beta (0.1.0-beta.2) are unchanged; the alpha is installed with npm create luxel@alpha. Not production ready; no WCAG or OWASP conformance is claimed.

What changed since 0.1.0-beta.2

  • 0.1.0-beta.2 has the same package code as 0.1.0-beta.1 (only the version changed), so this list is also what changed since 0.1.0-beta.1.
  • Identity from a trusted gateway (identity.mode: "gateway-jwt", ADR-065), stage S1-A: a gateway such as Envoy Gateway with OIDC, oauth2-proxy or Cloudflare Access signs people in and forwards a signed JWT (the identity provider's, or Cloudflare Access's own); luxel-host verifies it against the matching key set (JWKS) and turns it into a Luxel session. Identity headers such as X-User-* are never trusted as identity. Supported with complete (not streamed) responses and the bundled memory or PostgreSQL session store.
  • Clock margin check: when the session store offers a reference clock, luxel-host compares its clock with it at start; while the skew is beyond LUXEL_OPEN_CLOCK_MARGIN_MS (default 5000 ms, LUXEL-C001) or not measured yet (LUXEL-C002), /healthz answers 503.
  • Sign-out to the gateway (identity.signOutPath); a sign-out form with unverified identity headers is refused (401).
  • A confirmed session that was never read can be swept unusedMs after its delivery deadline (PostgreSQL: plus twice the clock margin, when purgeExpired() runs), and a logout retry no longer starts after its close deadline.
  • Performance measurements in docs/perf, with their scripts; the results are exploratory.

Breaking changes

  • LUXEL_TRUST_PROXY is now a comma-separated list of the proxies in front of the host, as addresses or CIDRs (10.0.4.17, or 10.0.4.0/24,2001:db8::/48). Unset, empty or 0 trusts nothing, which is the default.
  • luxel-host refuses to start, without printing the value, for 1 or any other trust-all value, an IPv4 CIDR wider than /8 or an IPv6 CIDR wider than /16, entries of one family that together cover more than a /6 (IPv4) or a /14 (IPv6), an IPv6 entry in or covering the IPv4-mapped range (write the IPv4 form), or anything that is not an address or a CIDR. clientAddress(req, trusted) now takes the list string instead of a boolean.
  • Framework log records are allowlist-only: a fixed event name and framework-chosen fields (numbers, booleans, enums, LUXEL-xxxx codes, the matched route template or unmatched, method, status, durations, sizes, counts, a random request id). They never hold raw paths or query strings, exception messages or stacks, or app field names (known gaps: a start-up failure can quote a configured value, and a listen or timing-collector failure can print a raw Node stack to stderr). There is no verbose mode; apps keep their own loggers. Check any parser of framework log lines or the access log.
  • With gateway identity, the host refuses to start with LUXEL-M001 when pages are streamed (stage S1-B), and with LUXEL-M002 when the session store is delegated or third-party (stage S1-C). Nothing is degraded in place of a refusal.

What is redacted, and what is not

  • Guaranteed: the framework itself never writes a session id, its store key, the bearer JWT or the session cookie value into its logs, the access log, diagnostics or error envelopes. A refusal message that holds one of the current request's protected values, or any credential-shaped run (43 or more base64url characters), is replaced by a generic 500.
  • Not guaranteed (known gap): other text an app or adapter deliberately writes into its own refusal messages. In particular, a short, non-credential-shaped custom session id of ANOTHER request quoted there is not detected; the bundled stores issue 43-character ids, which are always caught.
  • Also a known gap: a start-up failure can still quote a configured value, once, to the operator.

Upgrade steps

  • 1. Install 0.2.0-alpha.1 of every @luxel-framework package you use.
  • 2. Replace LUXEL_TRUST_PROXY=1 with your proxy addresses or CIDRs, or unset it; update any call to clientAddress.
  • 3. Not using gateway identity: run luxel build and your tests; nothing else is required.
  • 4. Using gateway identity: add the identity block, export identityPrincipal, remove resolveSession and startSession, remove stream and LUXEL_STREAM, and use a bundled session store.
  • 5. Optional: set identity.signOutPath together with logout to send sign-out on to the gateway.
  • 6. PostgreSQL store: let it migrate (it adds unused_until), run purgeExpired() on a schedule, and keep clocks within LUXEL_OPEN_CLOCK_MARGIN_MS.
  • 7. Run luxel build, then luxel-host luxel.config.json --check, then start the host.
  • 8. Review your log parsers and alerts.

Install

  • npm create luxel@alpha my-app, or the @luxel-framework packages at the alpha dist-tag (for example npm install @luxel-framework/server@alpha), all at 0.2.0-alpha.1. Published from CI with signed provenance on 2026-12-05.
  • On npm today: latest = 0.1.0-beta.1, beta = 0.1.0-beta.2, alpha = 0.2.0-alpha.1.
  • Release entry: 0.2.0-alpha.1 was published to npm on 2026-12-05 (18:43 UTC) from CI, with SLSA provenance attestations on the registry, under the dist-tag alpha.
  • A compiler from TSX views to signed templates, with useful errors: file, line, column, a code and a suggestion; 26 common React habits explained.
  • Screens: one file per view, with its state, policies, handlers and view, and luxel test for screen tests without a browser. The authoring API is a draft (ADR-061) and may change before 0.1.0.
  • A universal runtime with an 8 KB core (8 113 B, Brotli); each module has the same hash in every app.
  • Sessions with three stores (memory, PostgreSQL, or delegated to your backend, which may sign people in with OIDC). Native OIDC is planned for v0.3.
  • Typed slots, tables with server pagination and search, forms validated on the server, charts with server scales, basic multi-language pages.
  • Several nodes without sticky sessions, global rate limits, signed build provenance and revocation.
  • create-luxel (npm create luxel@beta, or @alpha for the alpha), luxel dev (reload on save), luxel check (budgets, ASEF = 0, exposure).
  • Every package published from CI with signed provenance (npm audit signatures verifies it), and a signed release tag.

Luxel's numbers, each with its condition (all of them on the Numbers page). They come from the 0.1.0 lab and pilot runs and were not re-measured for this alpha:

0.06–0.07 ×

the JavaScript of a real business application (internal pilot) rebuilt from its Next.js 16 version

The 9 data screens both have. Claim 28.

5–19 %

of that application's server-side CPU per page view

Frontend, backend and database together, data screens; 78 % on the login; one person, cold page views. Claim 41.

10 / 10

items of a common security list sent by default, against 7–8 of 10

Nothing configured. Claim 21.

Known gaps, from the release notes and the project's list of open gaps:

  • Every recalculation, page or search is a round trip; there is no push yet (data is polled).
  • Views have no route parameters; a link has no query.
  • A view's text is bounded (256 characters per zone); long prose is split.
  • luxel check's exposure policy has nine known gaps, listed in the security changelog: do not rely on luxel check alone to prove that a build's public output holds no secret.
  • Not supported yet under gateway identity: streamed pages (S1-B), delegated and third-party session stores (S1-C), a sign-out address on another host.
  • Gateway identity was tested only with a Node stand-in and a real Envoy proxy with a hand-written bootstrap and Keycloak; Envoy Gateway's control plane, oauth2-proxy and Cloudflare Access themselves were not tested.
  • Not in this alpha: host-side enforcement of load and event policies for hand-written bindings (A4), and E3. An early host refusal can leave an unread event body on a kept-alive connection (A5).
  • No luxel deploy init or luxel doctor yet: deploy by hand with the production guide.
  • The authoring API (ADR-061) is still a draft and may change.
  • No outside developer has built a view with the documentation alone yet.
  • No external security review yet.

How to install: npm create luxel@alpha my-app for the alpha; the dist-tags latest and beta are unchanged. Upgrading an app: replace LUXEL_TRUST_PROXY=1 first (it now refuses to start), then follow the upgrade steps above and the upgrade guide; the changelog lists the notable changes.

This page: 7.9 KB of JavaScript (Luxel's shared runtime), 0 KB from your app.

Measured when the site is built: the runtime files this page loads, compressed as they are sent.

Made by IntiOps. The Luxel 0.1.0 betas are on npm (0.1.0-beta.1, 0.1.0-beta.2), with an alpha of 0.2 (0.2.0-alpha.1): no external security review yet.