Commit Graph

157 Commits

Author SHA1 Message Date
slhx agent 7a2c5ecae0 build(test): cap verification concurrency
req: test/004
2026-05-11 10:27:09 +02:00
slhx agent 0de4c82a16 test(examples): forbid authored browser javascript
req: examples/005
2026-05-11 08:11:06 +02:00
slhx agent c4e02db5f8 chore(checkpoint): save current v0 build state 2026-05-10 20:51:22 +02:00
slhx agent e0484f8eb6 refactor(REQUIREMENTS): integrate DX ergonomics, component scoping, and build-pipeline fixes
- add golden_path, progressive_disclosure, ceremony, diagnostics,
  view_model, interop, client_local, component, codegen, derive sections
- introduce ResourceRef/ResourceId split, ScopeKey, atom mutability
  and pub/sub distinction, form control ids, 5KB target runtime
- fix build typo, macro policy, htmx boundary, version singleton,
  runtime delegation scope
- strengthen Surface with hemplate-real directives (h-for, h-key, +attr)
- preserve no-!-macros policy, north_star feel: Svelte at call site,
  Rust at boundary

Eval: architecture 9/10, dx 9/10, orthogonality 9/10, suckless 8.5/10
2026-05-10 12:16:02 +02:00
slhx agent 57dc22b8cc feat: integrate 15-point feedback into requirements
- Replace hypothetical @for/@if with real hemplate h-for/h-key/h-if
- Split authoring attrs (data-slhx-*) from runtime attrs (data-hid/data-sid)
- Split ResourceId (compile-time) from ResourceRef (runtime+scope)
- Fix state wording: Effect::set is publish, not subscribe
- Form errors via control ids, not slot ids
- Macro policy: #[slhx::handler] required, optional ergonomic helpers
- Add component/003 (namespaced APIs) and surface/008-010
- Add opt-in content_ids for raw/pre-rendered HTML tracking
- Runtime delegation on root, not document; 5KB target
- Sync/Query effects as external types (SyncEffect/QueryEffect)
- derive_app: no singleton, multiple roots/widgets per process
- hemplate htmx as raw attrs only; migration tool separate
- nav/003: preserve real href links for progressive enhancement
- check/002: honest Rust build model for missing handler checks
2026-05-10 11:54:32 +02:00
tmk241 705ca3c72b feat: codegen section, surface/component macros, proc-macro boundary rules
- build: harden build.rs vs proc-macro responsibilities
- codegen: specify generated slots/handles/forms/atoms APIs
- component: add #[slhx::surface] bridge + optional #[slhx::component]
- enforce: proc-macros are local, side-effect free, never parse .heml
2026-05-10 11:42:56 +02:00
tmk241 bd13d0fa0d feat: slhx requirements, project structure, and core primitives 2026-05-10 11:33:26 +02:00