LuxelEspañol

Luxel v0.2 · Security · part 2 of 5

What Luxel can claim, with its evidence (2)

#ClaimEvidence (criterion, sprint, commit)ConditionsAgainst
13The build and luxel check detect the seeded exposures and policy violationsH-EXPOSURE, H-POLICY-GEN VERIFIED (S6)Only the seeded kinds—
14A view can be built in several languages from catalogs without touching the runtimeH-I18N-BASE VERIFIED (S7)Bases only (one language per page)—
15A dashboard whose data changes on the server is refreshed with fewer bytes than every baseline when something changed: only the values whose data is newer travelH-DASH VERIFIED (S8, 97b4dae): 1 302 vs 1 477 B (×0.88)Polling every 5 s; one spending movement booked; HTTP/1.1, bytes-only series01, 02, 04, 05 and their control variants (all with ETag/304)
16A page whose CSS is above 4 096 B paints as fast as one whose CSS fits, with no layout shift, when the part its first paint needs fits in 4 096 BH-CSS-CRITICAL VERIFIED (S8): guide 212, agencies 219 vs cobranza 214 ms; CLS 0; Sprint 12 regression: 213, 210, 212 ms; Sprint 12.1 regression: 213, 214, 213 ms4G + CPU ×4, cold. When the first-paint part is larger, the whole stylesheet is linked and the paint waits for it (LUXEL-W003; Sprint 12, GAPS.md). Since Sprint 12.1 the limit below which a stylesheet is inlined whole is a setting, 8 KiB Brotli by default (ADR-059); 4 096 B is the limit these three pages were measured with. Rule 7: measured before the change of 2026-12-03 to the core module (+61 B); not re-measuredLuxel's own views
17Early send is optional, per view, and off by default (Gate 2; ADR-041). When a view turns it on, it changes no security header and sends nothing private before the data, and a failure after the first byte shows a generic state with no detail (status 200, logged); off, a failure answers 500H-STREAM-SAFE VERIFIED (S8); default off and per-view: tests/security/sprint9.test.mjs (S9)views.‹id>.stream: true in luxel.configLuxel without early send
18luxel-host runs on several nodes without sticky sessions: sessions, CSRF tokens, view tokens, idempotency and dynamic surfaces work on any node; a dead node does not duplicate an effectH-MULTI VERIFIED (S8): E2E across 3 nodes, 20 parallel → 1 charge, node killed → no duplicate, key rotation and revocationSessions in PostgreSQL, Caddy round-robin; Sprint 9: the session store is a framework contract (ADR-039) and the rate limit can be global (ADR-040)—
19A standard shared cache never serves one user's page, state or answer to another; public files are cachedSEC-CACHE VERIFIED (S8)A cache that honours Cache-Control or Vary; one that ignores every standard header leaks pages (recorded), and the leaked tokens are still refused—
20The core runtime did not grow while scenarios B and C, critical CSS and polling were added (Sprints 8–12). In Sprint 12.3 it grew by 5 B Brotli (61 B raw) for ‹Logout>: after it and the npm scope rename of the same day (+2 B Brotli, same raw size, no source change) it is 8 113 B Brotli, within the 8 144 B budgetH-MODULE-BUDGETS v2 VERIFIED (S8): 8 143 B; poll 106 B, styles 70 B; v3 VERIFIED (S9): 8 139 B with VSA 0.8; Sprint 11: 8 106 B after the rename and VSA 0.9 (reads without an event id), no check removed (refusal reasons are not shipped; ADR-037); Sprint 12: 8 106 B, every module's hash unchanged (H-MODULE-BUDGETS v6 VERIFIED); Sprint 12.3 (2026-12-03, ‹Logout>): luxel-core.c20fb96ded81.js (23 360 B raw, 8 106 B Brotli) became luxel-core.3973d6ba74c7.js (23 421 B raw, 8 111 B Brotli): +61 B raw, +5 B Brotli, ≤ 8 144; the other eight module files are byte-identicalThe literal v5 rule "modules ≤ 2 KiB" is refuted by canvas (6 643 B, unchanged in size since Sprint 5). Sprint 12.3's sizes: measured on main with the method of packages/runtime/build.mjs (Brotli quality 11), not by a bench run—
21Best case by default: as each framework ships, Luxel paints first in Scenario A and has every security header of a common list, while the alternatives needed extra files, lines and tools to tie in Sprints 7–8. Its interactivity ties vanilla's (Sprint 9 ahead by 6 ms, Sprint 10 behind by 4 ms) and is far ahead of Astro and the SPAH-DEFAULTS VERIFIED (S9, 2c3fb3b); Sprint 10 regression (0d0746d): FVP 209.8 ms vs 365–1 210 ms, headers 10/10 vs 7–8/10 (the list: 7 headers and 3 cookie flags), interactive 275.0 vs vanilla 270.8 ms (×1.016, the regression is REFUTED on this item), vs HTMX 300.7, Astro 859.9, SPA 1 082.4; Sprint 11 (61cf0fc): every item VERIFIED, interactive ×0.963 of vanilla's, FVP ×0.17–0.58 of the four; Sprint 12 (8af4b2d, 20 runs): every item VERIFIED, interactive ×0.990 of vanilla's, FVP ×0.17–0.584G + CPU ×4, cold, Scenario A; originals as they ship. Rule 7: measured before the change of 2026-12-03 to the core module (+61 B); not re-measured01, 02, 04, 05 originals
22Sessions follow one contract with three adapters (memory, PostgreSQL, delegated to the app's backend); no store keeps a session id or a CSRF tokenH-SESSION-CONTRACT VERIFIED (S9)tests/sessions—
23A rolling restart and a key rotation close no session and fail no valid eventH-RESTART VERIFIED (S9): 192 events, 0 failedShared store, stable keys, a drain delay longer than the balancer's health check (docs/production.md)—
24In production luxel-host does not start unsafe, logs no token or cookie, and its rate limit is global across nodesH-PROD-CONFIG VERIFIED (S9)LUXEL_ENV=production; a shared limiter—
25Annulments and corrections reach pages held at older versions exactlyH-TOMBSTONE VERIFIED (S9): 10 000 refreshes, 0 mismatches, with a concurrent writerVersioned rows; a scope's writes commit in version order (ADR-043 §3)—
26On the pilot application's screens that read data, the pilot application on Luxel is interactive at 0.26–0.31 × and paints at 0.12 × the time of the pilot application on Next.js, downloads 0.05–0.06 × its JavaScript and uses 0.06–0.13 × its frontend CPU per page viewH-PILOT (S9, 36e72bf): agency list and collection detail; the criterion is REFUTED by the login page's CPU (below)4G + CPU ×4, cold; same backend and database; Next.js main a commit in the private pilot repository, Luxel a branch in the private pilot repository a commit in the private pilot repository. The CPU figure is a single-user cold page view: it covers no interaction and no concurrent users (not measured, inventory row P17). Rule 7: measured before the change of 2026-12-03 to the core module (+61 B); not re-measured; the JavaScript figures are sums over modules measured by the bench with the previous core file and are not re-measured: the core grew by 5 B Brotli (61 B raw), so each sum that includes the core grows by that much (arithmetic on the measured module size, not a bench result)The pilot application on Next.js 16
27A public page with no user data (a login) is served as one static page for everyone: no session and no cookie before the login succeeds, cacheable as public, at less server CPU per view than Next.js's prerendered loginH-PUBLIC-STATIC and SEC-S10 VERIFIED (S10, 0d0746d): 1.2 vs 1.5 ms per view (Sprint 12 regression: frontend 0.85 vs 1.37 ms, ×0.62, 20 batches of 5 views; frontend + backend + database 1.70 vs 2.17 ms); no session or Set-Cookie before success; Origin, Fetch Metadata, Avt, a single-use form token and a login limit per address and per account (global over 3 nodes)views.‹id>.static; the internal pilot (a commit in the private pilot repository) with this sprint's framework (ADR-046, ADR-047). The CPU figure is a single-user cold page view: it covers no interaction and no concurrent users (not measured, inventory row P17)The pilot application's Next.js login (a commit in the private pilot repository)
Edit this page on GitHub

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.