docs(requirements): split generated fact inference rule

Split oversized canonical_authoring/004 into known-template-facts and explicit-diagnostic requirements.

req: canonical_authoring/004

req: canonical_authoring/016
This commit is contained in:
slhx agent
2026-06-25 14:10:46 +02:00
parent 6ee8e46ac9
commit bc381eda5e
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -71,7 +71,10 @@ client app state framework.
015 Summary, text, and form effects compose in tuples, arrays, or `Vec<T: IntoEffect>` for dynamic batches, and no handler chooses a target with a CSS selector. [north_star]
### req: canonical/004
004 Generated helpers may compose only facts uniquely known from templates and checked Rust types: template, slot, optional key, form/control, class token, explicit island/event marker, and effect kind. If a handler parameter, key, form, target, raw route, or legacy target would require guessing, the user must say it explicitly and diagnostics must point to the Rust and hemplate spans. [north_star]
004 Generated helpers may compose only facts uniquely known from templates and checked Rust types: template, slot, optional key, form/control, class token, explicit island/event marker, and effect kind. [north_star]
### req: canonical/016
016 If a handler parameter, key, form, target, raw route, or legacy target would require guessing, the user must say it explicitly and diagnostics must point to the Rust and hemplate spans. [north_star]
### req: canonical/005
005 Generated helpers name UI intent without mixing domain work: target helpers read as UI effects such as `replace`, `append`, `remove`, `set`, `clear`, `focus`, `set_attr`, or `emit` on generated page, slot, form, class, attribute, or island handles. [north_star]