| LUXEL-E031 | asef | error | luxel check: app-specific executable code is published (a .js/.wasm asset, .luxel/ outputs, a runtime module that is not the shipped universal file or contains an app string) | Publish only the universal runtime modules; app logic stays on the server |
| LUXEL-E032 | collection-over-limit | error | luxel check: a collection (view or surface) allows more items than policies.maxCollectionItems | A lower maxItems, or pagination |
| LUXEL-E033 | payload-too-large | error | luxel check: an event request can exceed policies.maxPayloadBytes, or a surface exceeds policies.maxSurfaceBytes | Shorter maxLength on the fields, or a smaller surface |
| LUXEL-E034 | event-not-allowed | error | luxel check: a view or surface sends an event outside policies.allowedEvents | An allowed event, or extend the list deliberately |
| LUXEL-E035 | component-not-allowed | error | luxel check: a view or surface uses a component outside policies.allowedComponents | An allowed component |
| LUXEL-E036 | secret-exposure | error | luxel check: a public output contains a value shaped like a secret (built-in patterns: private keys, cloud and API keys, tokens…; plus policies.exposure.secrets) | Keep secrets on the server, in the environment |
| LUXEL-E037 | internal-host-exposure | error | luxel check: a public output names a host listed in policies.exposure.internalHosts (any subdomain of it) | Public outputs carry no infrastructure names |
| LUXEL-E038 | env-secret-exposure | error | luxel check: a public output contains the value of LUXEL_VIEW_KEYS, DATABASE_URL or a variable in policies.exposure.secretEnv (each key of a key list too) | Read it on the server; never copy it into a view |
| LUXEL-E039 | data-class | error | luxel check: a public view shows data above policies.publicMaxDataClass, or a surface declares a lower data class than the view it binds | Make the view private, or classify the surface at least as high as its contract view |
| LUXEL-E040 | surface-grammar | error | A dynamic surface breaks the closed surface grammar (unknown field or component, bad id, unknown contract view…) | The shape the message lists |
| LUXEL-E041 | markup-in-data | error | A dynamic surface carries markup or control characters in a text | Plain text only |
| LUXEL-E042 | surface-inputs | error | A surface's Fields and events do not match the contract (missing input, extra Field, item key on an Action, maxLength above the contract) | One Field per event input, within the contract's limits |
| LUXEL-E043 | forbidden-slot | error | Data (an item field or a state path) aimed at an attribute no slot may write: id, name, style, srcdoc, an event handler, href, src, or any free attribute | Slots are text, enumerated attributes (state + stateClasses), numbers (‹Chart>, ‹Bar>) and input values only |
| LUXEL-E044 | event-without-policy | error | A contract event without an authorization policy (allow([...roles]) or publicEvent()) | Every event declares who may send it; the gateway denies anything else |
| LUXEL-E045 | id-without-scope | error | An event carries an id (its param, a select, a select column of a rows field) without a refs kind | Declare the resource kind in refs (the app's scope function re-checks every id), or LOCAL for an id that names no resource |
| LUXEL-E046 | rows-over-limit | error | A row collection with inputs allows more rows than the maxRows policy | Lower maxItems, or raise the policy |