fix(build): reject unknown slhx attributes

Fail fast when templates use misspelled or unsupported data-slhx-* attributes, with guidance to fix the spelling or use non-slhx data-* metadata for app-specific islands.

req: convention/009

req: diagnostics/002
This commit is contained in:
slhx agent
2026-06-01 20:37:54 +02:00
parent 3c4c802731
commit cd54dd5cf0
2 changed files with 70 additions and 0 deletions
+3
View File
@@ -884,6 +884,9 @@ All forms support returning `impl IntoEffect` and compose through tuples.
### req: convention/008
008 `data-slhx-disable-while-pending` disables the triggering form controls or button while the request is active and restores them afterward.
### req: convention/009
009 Unknown `data-slhx-*` authoring attributes are build errors with a suggested fix. slhx-owned attributes are a checked contract, not a silent extension namespace; opaque/integration islands should use explicit allowed attributes or their own non-slhx `data-*` names.
---
## multipart