| LUXEL-E015 | invalid-item-template | error | The item template is not one ‹Action>/‹Text>, shows static text, uses an undeclared field, or param is not the key | {(item) => ‹Action event="…" param={item.id}>{item.label}‹/Action>} |
| LUXEL-E016 | item-field-misuse | error | An item field is computed with at build time (` ${item.label} `) or used outside its template | Place the field as is; compose text on the server |
| LUXEL-E017 | text-outside-text | error | Text directly inside a container, or an element inside ‹Text> | Wrap text in ‹Text id="…"> |
| LUXEL-E018 | invalid-view-root | error | The default export does not return exactly one ‹View> | export default () => ‹View title="…" dataClass="…">…‹/View> |
| LUXEL-E019 | view-threw | error | The view or a helper component threw at build time | Fix the error; views run once, at build time, with static data |
| LUXEL-E020 | unresolved-import | error | A module or a named export does not exist | Check the path or the name |
| LUXEL-E021 | event-conflict | error | One event sent with two different shapes (fields or parameter) | One event per shape |
| LUXEL-E022 | manifest-grammar | error | The generated manifest breaks the VSA grammar (markup in a text, a text too long…), or (Sprint 12) the compiled template fails the structural markup check (e.g. a table part outside a table, which browsers do not build as written) | Plain text only: HTML never travels; nest table parts inside ‹Stack as="table"> |
| LUXEL-E023 | canvas-layout | error | The hand-written Canvas layout (src/canvas/‹view>.canvas.json) is invalid or has no SVG | Fix the slot (it names a zone, fits the canvas; grids fit maxItems) |
| LUXEL-E024 | config | error | luxel.config.ts or the server contract is missing or malformed | The shape documented in @luxel-framework/compiler/config |
| LUXEL-E025 | async-component | error | A view or helper component returns a Promise | Synchronous components; import static data |
| LUXEL-E026 | non-deterministic-view | error | new Date(), Date.now() or Math.random() called while the view runs (Sprint 10) or while a view file, luxel.config.ts or the contract is evaluated (Sprint 12.3), or two evaluations of the view differ | Remove time and randomness: same input, same bytes |
| LUXEL-E027 | public-output-exposure | error | A public output contains a server state path, or (luxel check) a name in policies.exposure.serverOnly | Rename the text that repeats it |
| LUXEL-E028 | dynamic-attribute | error | An item field used as an attribute (className={item.state}): a dynamic attribute outside the closed list | Only text and param come from an item; dynamic attributes are the compiler's (disabled, data-key, the status class) |
| LUXEL-E029 | collection-without-limit | error | ‹Collection> without maxItems, or outside 1–512; a contract collection with page: false and no valid maxItems (or maxItems without page: false); a view's maxItems over the bound its exempt collection declares; a view bound by a path string that leaves maxItems out for an exempt collection. At run time (the host's log, a CollectionBoundError): a load or an event's answer with more items than the collection's maxItems | maxItems={30}; larger lists need pagination (Sprint 7). An exempt list: collection({ …, page: false, maxItems: 12 }). At run time: return at most maxItems items, or raise the bound where it is declared |
| LUXEL-E030 | js-budget | error | luxel check: a page downloads more executable JavaScript (Brotli, the runtime modules its manifest declares) than policies.jsBudgetKiB | Fewer capabilities on that page, or a budget that states the real need |