docs(requirements): split invariant rows

Add explicit northstar ring fields to invariant requirements and split global completeness behavior without changing behavior.

req: invariant/001

req: invariant/002

req: invariant/003

req: invariant/004

req: invariant/005

req: invariant/006
This commit is contained in:
slhx agent
2026-06-25 17:19:51 +02:00
parent 2ccbedb5ac
commit 8ce60d9b8d
2 changed files with 12 additions and 9 deletions
+8 -5
View File
@@ -928,19 +928,22 @@ what a valid business email is. [north_star]
## invariant
### req: invariant/001
001 User-authored references are symbolic at author time and numeric at runtime.
0 001 User-authored references are symbolic at author time and numeric at runtime. [north_star]
### req: invariant/002
002 The JS runtime never parses CSS selectors, expressions, or handler names.
0 002 The JS runtime never parses CSS selectors, expressions, or handler names. [north_star]
### req: invariant/003
003 Rust handlers return effects; they do not imperatively mutate DOM.
0 003 Rust handlers return effects; they do not imperatively mutate DOM. [north_star]
### req: invariant/004
004 Cross-file references that are visible to build/proc-macro validation fail at `cargo check` with a precise span. Global completeness checks, such as missing handler implementations across a crate, are `cargo check` errors only inside `#[hemx::component]`; otherwise they are caught at app mount or generated registry tests.
0 004 Cross-file references visible to build/proc-macro validation fail at `cargo check` with a precise span. [north_star]
### req: invariant/006
0 006 Global completeness checks, such as missing handler implementations across a crate, are `cargo check` errors only inside `#[hemx::component]`; otherwise they are caught at app mount or generated registry tests. [north_star]
### req: invariant/005
005 hemx core owns effects, typed ids, and registries only. Routing, auth, sessions, transport, transitions, and sync are integration concerns.
0 005 hemx core owns effects, typed ids, and registries only. Routing, auth, sessions, transport, transitions, and sync are integration concerns. [north_star]
---