WO-5 T2: browser client for miranda-transport, verified against real Rust bytes
hunt
618e57d
New module client-apps/web/src/lib/ace/mirandaTransport.ts, kept separate
from controllerClient.ts rather than replacing it -- ace-controller
(cloud-bridge, Pipeline 1) and miranda-transport (transport, Pipeline 2)
are different services per the T1 topology, and both are meant to coexist.
Decodes the 312-byte MRD1 binary packet (DataView, all offsets/sizes
matching miranda-transport/src/frame.rs exactly) plus the JSON telemetry
WebSocket. Reconnects on its own schedule; never blocks on a render.
LOAD-BEARING FIX: this repo already had an ARKIT_CHANNELS array in
stageMachine/types.ts, in a DIFFERENT order than miranda-core::arkit::
CHANNEL_NAMES (the Rust canonical order every crate is built against).
Decoding the wire format against that array would have silently moved the
wrong muscle on every frame -- compiles, passes range checks, wrong only
as a face that's subtly off. Added ARKIT_CANONICAL_ORDER, copied verbatim
from the Rust source and documented as the ONLY array this decoder …
WO-3 T6: compositor + acceleration/velocity-limited motion damper
hunt
29393b6
Additive layering of speech/blink/gaze/breath, absolute [0,1] clamp, then a
per-channel damper bounded in both velocity and acceleration.
The damper needs a braking-distance velocity cap, not just a velocity cap:
with acceleration also bounded, a channel at full speed cannot stop within
the remaining distance and overshoots the target (verified: 0.611 vs 0.6).
The discrete braking form is used because deceleration happens in whole
frames of a*dt; the continuous sqrt(2*a*d) form makes the bound exactly
marginal and still leaks ~1% past the target.
81 tests pass. Acceptance evidence:
tearing case: undamped jawOpen delta 1 in one frame, 6.0x the 0.1667 cap
damped: max per-frame delta 0.1667, converged in 9 frames (150.0 ms)
Rebuild Miranda-Engine from scratch — real repo, real content
hunt
fed1528
This repo was previously a stale fork of microsoft/agent-framework with no
connection to this project. Replaced entirely, at the owner's direction,
with:
- A real 6-crate Cargo workspace skeleton (miranda-core/ipc/audio/nodes/
supervisor/transport) — cargo build verified clean.
- The prior-attempt eve-ecc client (Vite+React+TS, @xyflow/react ACE Cortex
UI) carried forward as client-apps/web, plus its ace-controller backend
and dev scripts — genuinely reusable prior work, not rebuilt from zero.
- The eve-ecc design docs (ECC5 certification, IDE/backend contract, the
orchestration pivot writeup) preserved as-is.
- A new Instant Presence Standard doc expanding the prior IPS table with
the No Loop Video Protocol (instantly-alive, waist-up, waving,
choreographed micromovement) that was missing from the original spec.
- images/ with the EVE reference image plus two real prototype stills from
the first attempt.
Full architecture/science/build-order context lives in the Kiro sk…