diff --git a/REQUIREMENTS.md b/REQUIREMENTS.md index 1805d78..37f13af 100644 --- a/REQUIREMENTS.md +++ b/REQUIREMENTS.md @@ -591,7 +591,7 @@ what a valid business email is. 001 `EffectWriter` implements a test backend so handlers can be unit-tested without a browser: `slhx_test::run(handler, input)` returns an `EffectInspector` with `contains(op)`, `has_slot(slot)`, `has_atom(atom)`, etc. ### req: test/002 -002 `#[slhx::component]` and `#[slhx::surface]` proc-macros compile successfully even when no Surface files are present, for incremental development and testing. +002 `#[slhx::component]` may compile without generated Surface files for incremental module-local testing. `#[slhx::surface]` requires `slhx.generated.rs` in `$OUT_DIR` and fails with an actionable diagnostic when generation is missing, because it is the public generated API bridge. ### req: test/003 003 Generated registries are validated by compile-time tests: missing handler implementations produce test failures with actionable messages.