GAPS
Needs that do not fit Luxel's model yet, or that a sprint left open. A gap is never closed by computing, formatting or deciding anything in the browser.
Open after Sprint 12
Sprint 12.1 closed the first row of this table ("views have no links"): ‹Link to>, a plain ‹a href> fixed at build time (ADR-058); the documentation site navigates with it, without JavaScript.
Sprint 12 closed: RT-6 (loads take a rate-limit token), RT-13 (normalized inputs), the Host check (LUXEL_HOSTS), loads without a role policy (LUXEL-E058), LUXEL-E055 outside the handler (it now throws at run time), and node_modules not hashed by the provenance (ADR-056); the regex markup checks were replaced by a structural one (ADR-054).
| Gap | Why it is open | Where it would go |
|---|---|---|
| (S12.1) A ‹Link> carries no parameter or query: opening one record is still an ‹Action param> whose handler stores the selection and navigates (in the internal pilot, a write before the read) | Views have no route parameters; a link's address is a view id fixed at build time (ADR-058) | Typed route parameters checked like event parameters (scope function, item key grammar) |
| (S12) A view's text is a zone label: at most 256 characters, and no "<" before a letter. Long prose is cut into spans; code samples show "‹" for "<" on the documentation site | The plain-text grammar treats "<" + letter as markup, and labels are bounded | A code/pre component whose text is escaped, not grammar-checked, and a larger bound for static text |
| (S12) The lab's load limit is looser than the framework default (a burst of 120, then 40 per second) | The authorization matrix and the benches read hundreds of states per session in seconds | A test client that waits on 429 for state loads too; then the default |
| (S12) A static view's events pass the per-address limit made for sign-in forms (a burst of 10, then one every 6 s) unless the app's bindings loosen publicRateLimiter (the documentation site does) | Static views were designed for login forms | A per-view limit setting |
| (S12, measured) A view whose first-paint CSS is above 4 096 B links its whole stylesheet in the head (render-blocking; LUXEL-W003 warns). On the internal pilot's data views (about 10 KB each) that is one more 4G round trip before the first paint: the optimized Next.js baseline, which inlines its stylesheet, paints the agencies list at 348 vs 516 ms (H-NEXT-RSC REFUTED) | The inline limit and the critical-CSS split were tuned on the lab's views (Sprint 8, ADR-034); the pilot's first-paint rules are larger | Trim the first-paint rules of such views, a per-view inline limit, or an error instead of a warning |
| (S12, measured) Before the first input a Luxel page loads and mounts its runtime (core + modules, 12.6 KB on /transactions); a page with a small deferred script is ready about 70 ms sooner on 4G + CPU ×4 (H-TASK lab half REFUTED on the search) | The runtime is shared and audited, and loads the modules each view needs | Smaller modules for the common views, or accepting input before every view is mounted |
| (S12.3, D4) A screen test names a screen by its id, a string (open('contacts')): a test file cannot import a .screen.tsx, because Node does not run TSX. A wrong id is a run-time error that lists the app's screens, not a type error | luxel test runs the test files as they are, with node:test and no compile step; views.‹id> of the generated .luxel/server.ts is typed but needs a TypeScript test file | A module generated by the build that test files import (screen references with their field, action and collection labels as types), or test files bundled by luxel test |
| (S12.3, D4) The page model of luxel test does not cover: rows with inputs (an event with a rows field, a row's change event), the options of a Select (its value can be set by key only), number zones and charts, links, pages with several contexts, Luxel Visual pages | The fixture app has none of them, and nothing was built without a test of it. An action that sends a collection's rows is refused with a message | The same reading the DOM modules do (collection.rows, forms.options, numeric), on the parsed tree, each with its unit test |
| (S12.3, D4) Under luxel test the tests of one file share the running app: its sessions, its rate limits and, with in-memory data, its data. A file can make 10 sign-in attempts through the sign-in screen before the per-address limit answers RATE_LIMITED | One host per test process, and Node loads the app's modules once per process; the harness changes no limit (ADR-061 §5) | Decide whether the template's bindings loosen their limits under LUXEL_ENV=test (open in ADR-061); a way for an app to reset its in-memory data between tests |
| (S12.3, D4) luxel-host's start line ("msg":"luxel.start") is printed once per test file in the output of luxel test | startHost writes it with its own logger; LUXEL_GATEWAY_LOG=0 silences the gateway's request lines only | A logger option of startHost |
| (S12.3, D4) luxel test decides that a build is current by modification times (any app file newer than .luxel/build.json) | The build record lists the hashes of its outputs, not of its inputs | Input hashes in .luxel/build.json, shared with luxel dev |
| (S12.3, D4) @luxel-framework/cli/test is not in the generated API reference (docs/guide/reference/api.md); used from a plain script (not node:test) it prints node:test's empty summary at exit | The reference generator lists five packages; the harness registers its after hook with node:test when it is imported | One more entry in scripts/gen-guide-reference.mjs; a host stopped by an unreferenced server instead of a hook |
| (S12.3, D4, found) A ‹Collection label> is not written into the Luxel DOM page: the list element has no accessible name. A screen test finds a collection by the manifest's label; a browser test has to use its zone id | The label is in the manifest only; the DOM template writes no aria-label or caption for a list | The compiler: a caption or aria-label from the label, with an a11y test |
| (S12.3, D4, found) The gateway's own refusals are written in Spanish whatever the app's language: a rate-limited event shows "Demasiadas solicitudes." in the status zone of an English app (also "Origen no permitido." and others in packages/gateway/src/gateway.ts) | Those messages are literals of the gateway, not entries of the app's messages or catalogs | The app's messages (as network and unexpected are), or the i18n catalogs |
Open after Sprint 11
Sprint 11 closed: three Sprint 10 rows (a static view's load has no session: LUXEL-E056; anyone can spend an account's limit: accountLimit refuse/delay/handler, ADR-049; old browsers: the non-static sign-in is documented and now has the same sign-in limits, RT-1), the Sprint 9 row "the event id travels whole in every request body" for reads (reads carry none, VSA 0.9, ADR-050; writes keep it), and the internal pilot's two gaps (input values at first paint; the clicked submit button).
| Gap | Why it is open | Where it would go |
|---|---|---|
| (S11) The rename script renames names the app does not own (a backend route) unless each is listed with --keep | It cannot tell the framework's names from another system's | Review the diff (docs/migration-aegis-to-luxel.md says so) |
| (S11) The VSA 0.9 specification has no external review yet | The review pack is ready (docs/security/review-pack); the review is the owner's to commission | External review (PENDING) |
Open after Sprint 10
Sprint 10 closed: "a logout button is not a compiled component" in practice (ctx.signOut() from any ‹Action>; still no dedicated component), the anonymous session of login pages (static public views, ADR-046), handler edits ignored by luxel dev (a new host process per server change).
| Gap | Why it is open | Where it would go |
|---|---|---|
| (S10) luxel check cannot prove that a static view's load reads no user data | A load is app code; it runs once without a session and what it returns is shown to everyone | A rule in the load's types (a load of a static view receives no session object), or a check that the static page holds no zone bound to user state |
| (S10) The per-account login limit can be spent by anyone (a slow-down for the victim) | The usual trade-off of per-account limits (ADR-046) | CAPTCHA or a second factor: the app's |
| (S10) Old browsers without Fetch Metadata cannot log in through a static view | The static form requires Sec-Fetch-Site: same-origin (no session CSRF token to fall back on) | A non-static login for such clients |
| (S10) Sessions in memory end when luxel dev restarts the host for a server change. Closed in 12.3 (D13) for the memory session store: a development-only session file. Still open: the app's other in-memory data (the template's contacts, the memory event store) is lost on that restart | Node loads new handler code only in a new process | A database in development for the app's data |
| (S12.1) The cluster E2E helper can leave its three nodes running when the test process ends first (found twice: window 7's leftover servers held the ports of the next series; three nodes left by a re-run) | tests/e2e/luxel-host.mjs stops the cluster asynchronously from kill() and nothing waits for it | The helper waits for the stop in the spec's afterAll; until then, check for leftover host processes before a measurement window |
| (S12.3) The lab's own type check fails and no suite runs it: npm run typecheck -w luxel-example-03-luxel (tsc -p tsconfig.json) reports 5 errors in examples/03-luxel/server/events.ts on a fresh build of 8678c3d in the container (a flow typed string where the contract has "in" | "out", version missing on Movement, three implicit any) | Found while typing ctx.plural (D7); the build bundles with esbuild, which does not type-check, and the root tsc -b does not include the lab | Fix the five errors and add the lab's type check to a suite; a change in examples/, to do with its own ADR note if shared/ types are involved |
| (S12.3, found in C15; older than ‹Logout>) A private view whose loginView is not a public view sends a signed-out visitor nowhere: a non-public login view with the default loginView answers 302 to itself for ever (measured on the fixture app with a private screen named as its own loginView: GET /dom/gate → 302 Location: /dom/gate). A loginView that names no view is accepted too (NOT MEASURED: by the code the redirect goes to a path the host does not serve). The build and the host accept both; by the code the same holds after ctx.signOut().navigate(...) to such a view. ‹Logout> no longer adds a way in (its destination must be public, LUXEL-E066) | Nothing checks loginView (of a view, a page or a surface) at build or at host start; the route guard trusts it | Refuse at build and at host start a loginView that opensWithoutSession (@luxel-framework/check, the guard's predicate) does not accept. Not done in C15: it is a new diagnostic that would stop apps that build today (every private view of an app without a public login), so it needs a decision |