Parent: https://github.com/aien-dev/aien-sovereign-core-mv/issues/679
Implementation contract: first-party implementation is .om, replacing and deleting superseded active code after validation; no permanent Rust/C/.osc compatibility implementation. Reuse current migration owners and existing branches; inspect current source/consumer pins before editing. No third-party inference engine dependency. Record blockers honestly; hardware results require a real coordinated Spark run, never simulated receipts.
Scope
Reuse core#642 session state, omega-mv#569/#571 arenas, omega-mv#557 prefill and CUDApp#33 correctness gates. Inspect cascade/tree-verify-wire and current implementations first. Own the speculative commit integration and its measurement, not a duplicate general cache system.
Acceptance
- Use a consistent descriptor for ancestry, logical positions and physical KV slots across verification, convolution, recurrent updates and acceptance.
- Keep rejected branches temporary; commit KV, all 48 GDN states, convolution tails and next-drafter input to the same accepted consumed-token boundary.
- Compare existing state handling with compact update factors or accepted-path replay. Implement the justified .om approach; retain ordinary/chain MTP as a valid final mode if tree complexity does not improve full-model latency.
- Measure transient bytes and verification+commit wall time; do not infer end-to-end gains from isolated GDN kernels.
- Test branch permutation, zero/all acceptance, pending bonus token, padding, slot remapping, repeated restore, independent sessions and imposed producer delays. Include missing-dependency/wrong-ancestor negative controls.
- Prove complete-prefix reuse by comparing restore+suffix against fresh full prefill; preserve exact token counts and state ownership, including after speculation/cancellation.
- Reuse existing chunked-prefill work for TTFT; measure cold/warm and next-turn latency separately. State compression/precision changes require independent long-context quality gates.
- Final evidence either demonstrates a full-model improvement at equal quality or explicitly rejects the tree optimization with reproducible measurements; no speculative tree is mandatory merely because a paper reports speedup. Research: LumoTree https://arxiv.org/abs/2609.23900 (exact model/Spark; empirical finite-precision limits); Bole https://arxiv.org/abs/2608.01651 (Qwen3.5-27B/GB10; compact factors and accepted-state reconstruction, batch-one gain over speculative baseline about 11–14%). Do not transplant headline gains or assume universal numerical/sampling equivalence.