Bind Eve UI fields to CultCache paths

This commit is contained in:
Meta Vens 2026-06-01 17:43:00 +01:00
commit f6b964a440
9 changed files with 134 additions and 45 deletions

View file

@ -155,11 +155,16 @@ closer to CultUI than to the old flat dashboard node list:
- `bindNodeId`: optional bridge back to the compatibility `nodes` projection.
- `commandId`: provider-owned intent id. Eve clients invoke commands; providers
accept or reject and publish the next snapshot.
- `binding`: optional typed CultCache/CultMesh field binding. It names
`documentSchema`, `documentId`, field `path`, `valueKind`, `access`,
`authority`, and optional `commandId`. This is the Verse-backed field
contract; native callbacks and DOM handlers are only lowering actuators.
The old `nodes` array is no longer expected to carry complete UI composition.
It is a compatibility/debug/data surface. Clients that understand `surface`
should render the composed tree first and use `nodes` only for selection,
state-path binding, and fallback.
legacy node binding, and fallback. `bindNodeId` is compatibility glue, not the
portable state owner.
The binary CultMesh state document mirrors this ownership: field 7 carries the
optional `surface` tree. Older clients can stop at the node projection; current

View file

@ -309,7 +309,11 @@ a named invariant that the native runtime cannot protect yet.
overlays, and the D3D12 hit-test path lowers the same tree into preview
gestures. Eve is the portable dashboard authority; CultUI is only the original
C# API shape used here so the same document can be lowered by native, web,
Android, or iOS backends without making Direct2D the owner. Placement commits
Android, or iOS backends without making Direct2D the owner. Elements can now
carry typed CultCache/CultMesh bindings with document schema/id, field path,
value kind, access, authority, and optional command id. Those bindings are
the Verse-backed state contract; callbacks remain native lowering actuators.
Placement commits
keep video layers inside the program frame, snap near edges/center, and
preserve the source aspect ratio while resizing through direct preview
handles, sliders, or the scale gizmo. Explicit transform/source controls are