Repository navigation
Require typed QMP replies and bound scoped VM display operations - #495
Conversation
aa1784c
ℹ️ Sentinel notice — informational; author is trusted (owner), merge is not blockedHive flagged this PR (author @hanthor, head
Hive did not add the |
2 similar comments
aa1784c
ℹ️ Sentinel notice — informational; author is trusted (owner), merge is not blockedHive flagged this PR (author @hanthor, head
Hive did not add the |
aa1784c
ℹ️ Sentinel notice — informational; author is trusted (owner), merge is not blockedHive flagged this PR (author @hanthor, head
Hive did not add the |
The managed VM engine previously accepted a matching QMP response ID without requiring a successful return. This draft requires typed successful replies and adds internal, session-bound status, mouse, key-input and PPM capture operations through the existing engine-owned stdio channel. Requests have bounded deadlines and ephemeral session identities; captures retain at most eight files and 32 MiB across session restarts. A new start also clears inherited DesktopReady claims.
Based on the reviewed VM-first stack
8e1c93e; integrates main through347f696(#487/#488/#490). The main integrations are included in this comparison because the candidate base remains frozen.Validation: actual paused native QEMU TCG component controls, focused race tests with native QEMU required and zero skips, full Go tests, seven removed-guard counterexamples, and an actual inherited DesktopReady before/after counterexample pass. Immutable source hashes, raw logs, and historical failing controls are retained in
docs/experiments/evidence/2026-09-27-scoped-qmp/provenance.json. The focused hosted workflow requires QEMU and builds the frontend before running these controls. English budget remains 1512.This is an internal engine boundary. The scoped test adapter and guest semantic channel remain owed. It establishes no Windows/WHPX, ordinary-user desktop, editor persistence, or full VM acceptance. No image/runtime contract or preserved fixture was changed. #178 and #383 remain open.
Exact original
c9b6077hosted native QMP and ordinary CI passed; fast tier failed because the inherited VM preparation producer added fields to install reports. Supersedingaa1784cemits the nine VM fields only forprepare-vm, preserving exact twelve-field install/reboot reports and the unchanged strict install host parser. Eleven actual drive-loop producer/host controls pass, including missing/wrong-field refusals and a removed action-guard mutation. Original hosted/local failure logs and source bindings are retained under the evidencereceipt-schema/directory. New exact native/source and ordinary build gates are pending.