LuxelEspañol

Luxel v0.1 · Project · part 4 of 5

GAPS (4)

GapWhy it is openWhere it would go
(S10) Chart columns grow from the top of the viewBox; a stylesheet flips them (transform: scaleY(-1), as the lab does)The compiled template sets height onlyA y written from the scale and the value would need arithmetic; a fixed transform in the template is the likely fix
(S10) pageSize applies to every collection, also short fixed lists (12 months) longer than the page size. Closed in 12.3 (C14): collection({ …, page: false, maxItems: 12 }) in the contract (both authoring forms) exempts that list from policies.pageSize; maxItems (1–512) and policies.maxCollectionItems still bound it, the check names every exempt list, and an unbounded list is still refused (LUXEL-E029, E048, E032)——
(S12.3, found with C14) One ctx.insert onto a list the page already shows at its bound. Closed in 12.3 on the server (a runtime check was built, reviewed and withdrawn: the outcome of a valid answer must not depend on what the browser holds; the runtime is unchanged): for an answer that inserts into a bounded collection it does not give whole, the adapter runs the view's load again inside the event's transaction and applies the bound; the gateway bounds every adapter's states and answers (tests/security/s12-3-collection-bound.test.mjs, …-bound-adapter.test.mjs). What remains: (1) a hand-written adapter (bindings.views) has no transaction the framework can undo: the gateway refuses its over-bound answer after it returned, and what it wrote stays written (every later load is refused until the data is corrected); (2) the in-transaction count with @luxel-framework/postgres is NOT TESTED (PostgreSQL is not reachable in the sprint's environment; measured with a transactional store in the test fixture), and the lab's PostgreSQL suites were not run with the new checks; (3) the count is right only if the view's load reads through ctx.tx; a load that reads elsewhere does not see the uncommitted row, and the over-bound list is refused at the next load instead; (4) found, older than this sprint, not changed: an answer that does not fit the state the runtime holds (resync, e.g. an item that is not there) applies no change, but its view token is adopted and its navigation followed, and a failed state read after it shows no message; (5) a view registered in the gateway without a manifest is not bound-checked (luxel-host always gives one); (6) no browser test of an over-bound refusal (the page shows the framework's error message for a 500): NOT TESTED(1) the adapter owns its transaction; (2) no database in the environment; (4) shared by every answer that does not fit(1) the adapter author's duty, documented in the guide; (2) the measurement machine's suites; (4) an owner's decision on the runtime's resync path
(S12.3, C14, OPEN, for the owner) The server does not know the list the page holds. After an event it guarantees that ITS list is within the bound and that the keys the answer names agree with it (form rows an event carries are counted exactly on the request; for every other list the view's load is run again in the transaction, the answer's inserted keys must be in it, its removed keys not, and the list within its bound; tests/security/s12-3-collection-bound*.test.mjs). It does NOT guarantee that applying the answer to the page's list gives the server's list, so a page can end with more rows than maxItems: (1) a stale page (a write from another tab, another page of a paginated list): the state version is compared only for a write with a lock, and only as far as that version covers the rows of the list; a read event and a write without a lock are answered whatever version the page had; (2) an answer that omits a change the handler made (sixth blind review, no stale page needed): "Start with a fresh page and a server list that both contain 12 rows. The handler deletes m12, stores x1, and returns only ctx.insert for x1. The reload has 12 rows and includes x1, and the answer has no remove key to check, so both adapter paths accept it. Applying the insert leaves the page with 13 rows because the answer never removes m12." The page's list is corrected when it next reads the state; an over-bound page is not refused in the browser (a runtime check was built and withdrawn: the outcome of a valid answer must not depend on what the browser holds). NOT TESTED in a browser. Also: an event that inserts into a row collection with inputs without carrying its rows is refused at run time (the load of form rows does not return the row), not at buildThe page's list exists only in the browser; the server has its own list, the answer, and (under a lock) a version. The compiler does not know an insert's target (a call in the handler)Options, with their cost as far as the code shows: (a) a second load BEFORE the handler in the same transaction, and the rule "the reloaded list is the earlier list with the answer's operations applied": two runs of the view's load per such insert instead of one (time NOT MEASURED); closes the omitted-change case for a fresh page, not the stale page; a list shown by pages or filtered by the event's inputs may not compare (NOT TESTED). (b) Require a lock that covers the list for an event that answers ctx.insert without sync: an author-facing rule, a STATE_CONFLICT and a state read where today the event is answered; closes the stale page only if the locked version covers the list's rows (the framework cannot check that it does), not the omitted change; a read event has no lock today. (c) A size or a digest of the list on the protocol's item operations, checked by the runtime: a protocol change and a change of the universal core module for every app (the withdrawn check added 106 to 136 bytes raw, 22 to 39 brotli; a size comparison would be of that order, a digest NOT MEASURED), and the runtime again refuses a server answer by what it holds, the reason the earlier check was withdrawn. (d) Leave as recorded: the guide tells authors to answer every change they make to a list or to use ctx.sync
(S10) "The 10 security headers" are 7 headers and 3 cookie flags; Strict-Transport-Security is not sentHSTS belongs to the TLS terminator in front (docs/production.md)A host option, if a deployment terminates TLS in luxel-host

Open after Sprint 9

Sprint 9 closed: the append-only assumption (tombstones, ADR-043), rate limiting per node (shared limiter, ADR-040), sessions in one node's memory (SessionStore, ADR-039). It opened the rows marked (S9).

Carried from Sprint 8

GapWhy it is openWhere it would go
Row select options that change with server eventsRow selects list the options written into the collection's template when the page is filled; only zone-level selects take new options from an answerA fill update op, or options as a zone the rows reference
Rows in dynamic surfaces and in the Canvas → DOM fallbackThe dynamic module builds plain items (button, p) with createElement; it does not build row templatesA row-template grammar in render.dom@1
Rows in Luxel Visual (Canvas)The new views are DOM only (variants: ['dom']); the Canvas renderer has no rows, selects or chartsCompiled Canvas layouts (out of scope)
Gateway errors before the view is known are phrases in the host's languageRate limit, origin, content type, size and CSRF are answered before the gateway knows the view, so it cannot use the view's message keysFull multi-language (Sprint 9/10): a per-language error catalog
Several languages at once, choosing the language, right to leftOut of scope (brief)Sprint 9 or 10
A recalculation per change is a round tripBy design: totals are the server's; the cost is one event per field left (see the Sprint 7 report, bytes and round trip per operation)— (no client-side math)
05-htmx's D-mini read can mix versionsIt reads the panel and its devices in two statements (ADR-024); changing it would move a baseline's regression numbers. (Sprint 8's new views read in one statement in every implementation.)A baseline fix in a sprint that re-measures 05
The browser checks error codes by form, not against the listByte budget of the core (ADR-026); the gateway enforces the list and the recovery pairing—
Charts are fixed componentsChart (columns) and Bar only; authors do not write SVGMore chart components, same model (scale + values)
Push (SSE or WebSocket) for data that changes on the serverIt does not exist in the code (decision 11: request/response only). Scenario B polls every pollMs (5 s); a change waits up to one interval and every interval costs a request (about 1 KB on HTTP/1.1, about 340 B behind HTTP/2 when nothing changed)A push transport module, optional, that the core does not need
Reads are POST events with their security contextA page change, a search or a sort sends the CSRF token, the view token and an event id (about 140 B more per request than a baseline's GET with a query string); the answers are as small or smallerA read path that a GET could carry safely (same-origin, no side effect), studied against decision 11
A refresh press while another event is in flight is droppedThe poll module clicks; the core drops a click while busy, like a double click; the next interval tries againA transport-level queue for reads, if a view needs it
A failure after the first byte has status 200The early send fixes the status with the first byte; the page ends with the compiled error state and the server logs it (ADR-033)A trailer or a server-timing marker monitors can read
Native controls draw a few pixels differently from load to loadScreenshot comparisons mask ‹select> and date inputs (Sprint 8 E2E)—
(S9) Versions from a shared sequence are not in commit order across writers"What a page showed at v" is exact only when a scope's writes commit in version order; the lab takes a per-user transaction lock before each write (ADR-043). An app with several concurrent writers per scope and no such lock could miss a rowA per-scope version counter, or the lock made part of the framework's write path
(S9) The event id travels whole in every request body (~24 B of ~84)It changes per intent, so HPACK cannot index it; a stable part in a header and a counter in the body would make the browser count (forbidden)A server-issued per-page nonce plus a short id, if bytes ever require it
(S9) A view has no route parameter; a record's detail is reached through a selection kept in the session (the pilot application)Sprint 12.3 (C5) gave views static paths (a route table fixed at build: path, LUXEL-E064/E065; docs/guide/concepts.md "Routes"), so pages are no longer only /‹variant>/‹view>. A path with a parameter segment is still refused: the parameter's design (row C3) waits for the owner, because a link to a record would put data in an href (ADR-058 point 4; docs/sprints/12.3-disagreements.md entry 1)A view parameter checked by the view's policy (the pilot's gap list (not published)); it attaches to the route table as described in ADR-061 §8
(S12.3, C5) After a handler's ctx.navigate('view'), a view with a path is reached in two requests: the runtime goes to the id address /‹variant>/‹view>, which answers 302 to the pathThe runtime maps a view id to an address with one template (data-luxel-route), and the answer's navigate is a view id on the wire. Sending the path, or the table, to the browser would change a runtime module or the wire format, and with them the measured claims (criteria rule 7)A protocol revision in which the answer carries the address (a path of the table, never data), or a route map in the page's resume block read by the core module
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.