| LUXEL-E047 | options-over-limit | error | An options() list allows more options than the maxOptions policy | Lower max, or search on the server |
| LUXEL-E048 | page-size-over-limit | error | A collection shows more items per page than the pageSize policy | Paginate on the server with a smaller page; or, for a short fixed list, exempt it in the contract: collection({ …, page: false, maxItems: 12 }) (maxItems still bounds it) |
| LUXEL-E049 | missing-translation | error | A fixed text of a view has no entry in the catalog of a declared language | Add the key to i18n/‹lang>.json |
| LUXEL-E050 | layout-too-deep | error | The layout nests more elements than render.dom@1 allows (16; Sprint 9, ADR-044) | Flatten wrappers that only carry a class, or move a part into a helper with fewer levels |
| LUXEL-E051 | static-view | error | Sprint 10 (ADR-046): views.‹id>.static without public: true, with whenAuthenticated, or an identity that names no input of the view's events | { public: true, static: true, identity: "‹the Field name>" }; a page with anyone's data is never static |
| LUXEL-E052 | data-fetching-in-view | error | Sprint 10: fetch, XMLHttpRequest, WebSocket or EventSource used while a view runs (it would call the network during the build) | Declare the data in the contract, read it in defineLoad, show it with bind; later changes through ‹Action event> and defineEvent |
| LUXEL-E053 | browser-api-in-view | error | Sprint 10: window, document, localStorage, sessionStorage, navigator, location, history, indexedDB or alert used while a view runs (views run in Node at build time; none of their code reaches the browser) | Data and preferences on the server (defineLoad), navigation with ctx.navigate(), presentation in CSS |
| LUXEL-E054 | env-in-view | error | Sprint 10: process.env read while a view runs (its value would be written into a public template). Sprint 12.3: also at the top of a view file, and anywhere in luxel.config.ts or the contract (titles, messages, the route table and link addresses are public too) | Read configuration and secrets on the server (handlers, bindings) |
| LUXEL-E058 | load-without-policy | error | Sprint 12 (SEC-S12): a view of the contract has no valid load policy (who may run its defineLoad; deny by default), or it contradicts the route: publicLoad() on a view that is not public, or roles on a public view | Write load: allow(["role"]), or load: publicLoad() next to views.‹id>.public: true |
| LUXEL-E059 | link-target | error | Sprint 12.1 (ADR-058): a ‹Link to> names no view or page of luxel.config, or one not served in every variant the linking view is served in (the address is relative, so it keeps the variant) | Link to a route of this app; another site is shown as text |
| LUXEL-E060 | server-code-at-build | error | Sprint 12.3 (ADR-061): a screen file used something imported from a server-only module outside a handler (a top-level call, a value placed in the view). The build never loads server modules; the import is an inert stand-in. Move the statement into the handler or into the server module. | |
| LUXEL-E061 | string-where-accessor | error | Sprint 12.3 (ADR-061): in a screen, state, events and inputs are named with accessors (bind={state.summary}, event={events.add}, ‹Field for={events.add.inputs.name}>), not strings, and an input's bounds are declared with its event. | |
| LUXEL-E062 | input-without-field | error | Sprint 12.3 (ADR-061): an event declares an input that no field of the view fills. | |