feat(local): model local command log boundary

Define local/offline truth as commands, domain events, and projections rather than stored DOM patches or EffectBatch payloads, and wire the techdemo through a local command-to-projection-to-effect flow.

req: local/001

req: local/002

req: local/003

req: local/004

req: examples/001
This commit is contained in:
slhx agent
2026-06-11 19:49:34 +02:00
parent 3807306158
commit 64a736ffcb
7 changed files with 197 additions and 2 deletions
@@ -33,6 +33,7 @@
<button type="button" data-hemx-handle="reset_demo">Reset demo</button>
</div>
<div data-hemx-slot="host_panel">{+= self.host =+}</div>
<div data-hemx-slot="local_panel">{+= self.local =+}</div>
<p data-hemx-slot="notice" class="notice">Every control posts through a generated handle and receives typed updates.</p>
</aside>
@@ -0,0 +1,8 @@
<div class="local-panel">
<p><strong>Local command log</strong><br>{+ self.status +}</p>
<p>{+ self.projection +}</p>
<div class="quick-actions">
<button type="button" data-hemx-handle="queue_local_set">Queue local set completion</button>
</div>
<code>{+ self.boundary +}</code>
</div>