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 in 0.2.0-alpha.1 (allowlist logging; owner decision 2026-12-05c)
| Gap | Why it is open | Where it would go |
|---|---|---|
| (S13.5, S1-A logsafe, known gap 1; must close before 0.2.0-beta.1) A start-up failure (HostStartError) still embeds the configuration diagnostic it came from (invalid configuration: …, packages/gateway/src/host.ts), which can quote a configured value; operator-facing, printed once at start | Removing the detail changes frozen assertions (production, route-table, provenance, redteam, incident, debt suites) and needs codes at about 24 refusal sites; over the size of the alpha.1 piece | Coded start-up errors instead of free text, as its own piece under 200 KB |
| (S13.5, S1-A logsafe, known gap 2; must close before 0.2.0-beta.1) A refusal message written by an app or adapter that quotes another request's custom session id is not detected when that id is short and not credential-shaped (bundled stores issue credential-shaped ids; a refusal with a credential-shaped run becomes a generic 500) | Closing it means forbidding free-text adapter refusals, which changes the frozen rule that adapter refusal text is outside the guarantee (decision (a)) | Adapter refusals as codes only, as its own piece under 200 KB |
| (S13.5, S1-A logsafe, known gap 3) The luxel.start line keeps the view key ids (viewKeys) | A frozen harness assertion (tests/security/s12-3-luxel-test-harness.test.mjs) is the only evidence that the test harness runs the host with its own key | Another evidence for the harness key, then drop the field |
| (S13.5, S1-A logsafe cover review, open; not a blocker of the piece) A listen failure (port in use) emits a server error event outside the awaited start, and a timing collector that throws from dump() escapes the request callback: either can print a raw Node exception and stack to stderr | Found by the cover review after the fix round; owner decision 2026-12-05c sends non-blocking findings here | Reject the start from the listener's error handler with a coded failure; collect the timing dump before the head with a fixed failure |
| (S13.5, S1-A logsafe cover review, open) A request cookie value that contains a word of a fixed framework refusal text turns that refusal (429, 413) into the generic 500 and drops its Retry-After / Connection: close | Same | Keep the original status, code and framework headers when the refusal text is replaced |
| (S13.5, S1-A logsafe cover review, open) luxel-host --check prints module names read from the runtime manifest; log records carry an ISO timestamp string and a build-digest prefix | Same (minor) | Module counts, a numeric timestamp, no digest in the record |
| (S13.5, S1-A logsafe cover review, open) The canary sweep does not drive the luxel dev rebuild failure, the dev session-file warning or the sweeper, and its schema check reads only lines starting with {"ts": | Same | Positive controls for each sink and a schema check independent of the production filter |
| (S13.5, E4 x E6 review r3, open; must close before 0.2.0-beta.1) Under gateway identity with PostgreSQL, the response gate checks the delivery cutoff only after the final read returns: a confirmed open whose final read stalls (the row-locking UPDATE of unused_until, or a lost reply) holds the response past the cutoff without the 503 or the bounded undo | Found by review round 3, the last round (decision 2026-12-05e: no blocker, so the items ship and majors become gaps) | Bound the final store call by the remaining delivery time and route its timeout through the bounded cleanup; regression that holds the final read across the stored cutoff |
| (S13.5, E4 x E6 review r3, open; must close before 0.2.0-beta.1) With PostgreSQL, a host whose clock runs ahead (within the margin) can sweep a provisional row through pending_until <= cutoff before the opening host confirms it: the sign-in is refused (fails closed; availability only) | Same | Persist a skew-adjusted purge deadline for provisional rows, keeping the opener's confirmation cutoff |
| (S13.5, E6 review r3, open) Under luxel dev, an abandon() after a refused open drops the unused marker before unlinking the session file; if the unlink fails, the file can come back without its marker and live to its ordinary expiry | Same (minor) | Delete the marker in the shared removal path only after a successful unlink |
| (S13.5, E7 review r3, open) The checked-in measurements (docs/perf/results-2026-12-05.md) are one or two runs per series on a loaded development machine at an earlier head: exploratory, the frozen 20-run criterion is unverified | Same | 20 runs per series on the benchmark machine at the release head |
| (S13.5, E1 and E10 review r3, open) E1's adaptation of existing trusted-proxy assertions sits in its implementation commit (7b198ac), not a dedicated commit; E10's retry test measures from before the close budget starts and can be timing-sensitive on CI | Same (minors) | Record the E1 adaptation; measure the E10 test from the close attempt |
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 |
|---|---|---|
| (S13.5, S1, known limit) A static form refused by the identity check made after its single-use token was claimed (the token expired or the key set failed during the claim) loses that token: the form does not run, and the page needs a fresh form token | A ReplayGuard can only claim; a release would widen an interface apps implement and let a spent token be presented again. Fails closed (ADR-065 §13) | ReplayGuard.release(key) (optional), called on a refusal found after the claim |
| (S13.5, S1, known limit) identity.jwksHttpInCluster accepts only host names ending in .svc or .svc.cluster.local: a cluster with another DNS domain cannot fetch its key set over http in production | A public name must never be accepted for plain http; the cluster domain is not known at start | A configured cluster domain, or https inside the cluster |
| (S13.5, S1, accepted cost; ADR-065 §13 and §24, M-OPEN; the same bound in every state since the owner's seventh set) Under identity.mode: "gateway-jwt", a request that opened a session and is then refused is answered only after the store acknowledged the close (abandon) or the session's deadline plus the clock margin has passed, whether or not the session's confirmation had been asked. While a store keeps failing abandon, that refusal is therefore late by up to the delivery lifetime plus the margin (30 s + 5 s by default; LUXEL_OPEN_DELIVERY_MS, LUXEL_OPEN_CLOCK_MARGIN_MS), and never by more. A session whose confirmation fails, does not settle within its bound (LUXEL_OPEN_CONFIRM_MS, 5 s by default) or is answered ambiguously is not delivered: the request is refused (503, no cookie), the session is closed the same way, and the next request opens a new one | Availability under a failing store, not exposure: the cookie was never sent and the answer is the refusal. A session that was never confirmed ends by itself at its deadline; one that may be confirmed is the orphan row below. Accepted by the owner (fifth set of 2026-12-04, decision 2; bounded retries: seventh set, item 3) | A shorter delivery lifetime where every page of the app loads well within it |
| (S13.5, S1, assumption; ADR-065 §24, M-OPEN) The deadline of a provisional session is chosen by the host that opens it and judged by whoever reads it: the memory and the PostgreSQL store with the reading host's clock, a delegated backend with its own. The guarantee "a refusal is never answered while the session opened for its request is live" assumes those clocks agree within the clock margin (5 s by default, LUXEL_OPEN_CLOCK_MARGIN_MS) | No store call can be made atomic with the observation of an outage or a token's expiry (ADR-065 §13), so the unacknowledged case is closed by time, and time is read from more than one clock | Synchronized clocks (NTP) on the hosts and the session backend; a larger margin where they are not. Since Sprint 12.6 (E4) a host compares its clock with the session store's reference clock at start (PostgreSQL's, a delegated backend's when it offers one): readiness holds only once the skew is proven within the margin; beyond it LUXEL-C001, undecided LUXEL-C002 (retried), both 503 (docs/guide/production.md). Not continuous: a drift after the check decided is not seen; the memory store has no reference clock |
| (S13.5, S1u, cost not measured; ADR-065 §13 and §24, M-GATE; the owner's seventh set, item 1) Under identity.mode: "gateway-jwt", the first response of a session (the one that carries its cookie) is held whole until the store answered the session's confirmation and the session was read once more: its first byte waits for those two store calls, after the open and the load. A confirmation that does not answer holds it for at most LUXEL_OPEN_CONFIRM_MS (5 s by default), and the answer is then the 503. Such a response is never streamed. Later responses of the session are unchanged | The owner's boundary: confirm and the check after it happen before any byte, so a refusal found there is a refusal (not a success cut after its head) and the id of an undelivered session reaches no client. NOT MEASURED: no bench run covers gateway-jwt | A bench scenario under gateway-jwt (first visit, delegated and PostgreSQL stores) |
| (S13.5, S1u, recorded gap; the owner's seventh set of 2026-12-04, item 7; ADR-065 §13 and §24, M-OPEN) The confirmed orphan session. Under identity.mode: "gateway-jwt": a session that the store confirmed (or whose confirmation has no known outcome: no answer within its bound, a call that failed, an ambiguous answer), whose request was then refused (the check after confirm, the confirmation itself, a client that left before anything was written), and whose close (abandon) the store did not acknowledge before the session's deadline plus the clock margin (35 s after the open by default). The refusal is sent then, and the session stays in the store until the store's expiry sweep removes it or a revocation of its user. Its id was delivered to nobody: the refusal carries no cookie, and no log line holds the id or the store's key of it. It is reported once, as luxel.identity.session.orphan or luxel.session.orphan (error), under a six-character log handle that is neither. A host that stops while it retries the close leaves the same session unreported. How long the row can live (Sprint 12.6, E6): the bundled stores (memory, PostgreSQL) mark a session opened for a request until it is read after its confirmation, and their sweep deletes one still marked unusedMs (30 minutes by default) after its delivery deadline. luxel-host reads every session it delivers once more after the confirmation, before the head that carries its cookie (the check after confirm), so the sweep never ends a delivered session, however long its cookie takes to come back. An orphan whose request was refused before that read was applied (the confirmation failed, did not settle or was answered ambiguously; the client left during the confirmation; the store failed that read without applying it) lives at most the delivery lifetime (30 s, LUXEL_OPEN_DELIVERY_MS) plus unusedMs plus the time to the next sweep: about 31.5 minutes with the memory store (it sweeps every minute), and, with PostgreSQL, twice the clock margin more (10 s by default: a faster host must not sweep a session a slower one is still delivering) until the app's next scheduled purgeExpired() after that; less when it expires first. These still live until their ordinary expiry (8 hours for a signed-in session) or a revocation of their user, as every orphan did before E6: an orphan whose request was refused after that read was applied (a key set outage or a token expiry seen right after the store's answer, a read the store applied whose answer was lost, a client that left between that read and the head); a PostgreSQL row written before the upgrade that added the mark (its unused_until is NULL), so for up to the longest session lifetime after the upgrade; and, under luxel dev, a session the memory store did not open itself. (This row replaces the accepted cost of round S1t, "the end of a delivered session is retried until the store acknowledges it, with no time bound": the seventh set bounds every close, and no response is held without a bound any more) | Confirm comes before the first byte and the check after it is the last one, so a confirmed session can still be refused, and no store call is atomic with what the check observes (ADR-065 §13). The owner chose a bounded close and a recorded gap over a response held with no time bound | A store operation that confirms under a condition the store itself can judge (the sweep of sessions never read since their confirmation is in place since E6, for the refusals before that read) |
| (S13.5, S1u, known limit; the owner's seventh set, item 5; ADR-065 §24, M-END) Under identity.mode: "gateway-jwt", when a request must close the session it carries (no token with a signed-in session, a token of another subject, an invalid token) and the store acknowledges neither the close (logout: 3 calls, waits of 50 ms and 200 ms) nor the one abandon that follows, the request fails closed (503, no data, nothing opened) and its answer clears the cookie; the session itself stays in the store until its expiry, a revocation of its user, or a later request that carries it and whose close is acknowledged. A copy of that cookie held elsewhere still names a live session, usable only with a valid token of its own subject. (When the abandon is acknowledged the session is ended; the answer is the same 503, with no cookie) | The store is the only place a session can be ended, and it is not answering; the request cannot be served, and the browser can at least be made to forget the cookie | A durable refusal marker outside the session store; or the gateway ending its own session when the subject changes |
| (S13.5, S1u, scope stated, for the owner to confirm; the seventh set, item 1; ADR-065 §24, M-GATE and "Round 21") "After the head is written there are no store calls" is enforced for every response that is written whole (pages, states, events, refusals) and for the response that delivers a session, which is never streamed. A STREAMED page (stream: true) of a session delivered earlier writes its public head first and still reads the session once in the store before the chunk with the views' data, so that a revocation that lands during the load sends no data | That response delivers and confirms nothing; without the read, a revoked session's data would be sent after a load of any length; and the adversarial test of the streamed page (adv-s1-write: revoked "while the views load (after the head) sends no data") requires it, with a control that requires the page to be streamed | The owner's word on whether item 1 also forbids this read. If it does: no streaming under gateway identity |