You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If this PR changes build commands, project architecture, or key conventions, I have updated .github/copilot-instructions.md.
Summary
Replace the experimental NanVix implementation behind MXC's existing microvm backend with the Phase One NVX foundation while preserving microvm as the single public backend identity.
keeps containment: "microvm" across the development contracts, Rust model, and Node SDK;
keeps the public microvm Cargo feature and build.bat --with-microvm switch;
removes the NanVix runtime crates, Linux implementation, artifact staging, tests, workflows, playground scenarios, and active documentation;
routes MicroVM dispatch and artifact preflight through the internal NVX crates;
stages the pinned NVX OpenVMM, kernel, and initramfs artifacts for Windows x64;
remains typed-unavailable after NVX preflight until the remaining runtime and policy work is implemented;
does not expose nvx as a second public containment alias.
Published v0.9 schema artifacts remain unchanged. The MicroVM/NVX contract changes are limited to the v0.10 development line.
Reject or omit unsupported UI policy for MicroVM payloads
sdk/node/src/sandbox.ts:519
This branch now returns the shared config.ui block synthesized above even when the caller did not specify UI policy. The NVX compatibility document says ui must be rejected for this backend, so every SDK-authored MicroVM payload currently contains policy the backend cannot honor; the old dedicated MicroVM path returned before UI was added. Reject an explicitly supplied policy.ui, omit the synthesized default block, and assert payload.ui is absent in the regression test.
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🔵 Needs a closer look
The cross-cutting build, artifact-supply-chain, runtime-dispatch, SDK, and documentation migration warrants final human review, with one canonical documentation inconsistency still unresolved.
MicroVM SDK feature is enabled but unreachable through public APIs
src/core/mxc-sdk/Cargo.toml:20
This feature is not reachable through any mxc-sdk API: the SDK's public Containment enum deliberately has no MicroVM variant, its one-shot APIs use the streaming dispatcher (which rejects MicroVM), the state-aware contract does not register it, and both capability APIs intentionally omit it. Enabling mxc-sdk/microvm therefore only triggers the NVX artifact download/verification without allowing callers to reach the typed-unavailable path. Either remove this SDK feature until an SDK execution surface exists, or add the corresponding public selection/dispatch path and document it.
The reason will be displayed to describe this comment to others. Learn more.
Copilot review overview
🔵 Needs a closer look
The broad backend replacement includes supply-chain acquisition, cross-target packaging, dispatch, SDK, and CI changes that warrant final human validation.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copilot-InstructionsPR modifies Copilot instruction files (.github/copilot-instructions.md or .github/instructions/)
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.github/copilot-instructions.md.Summary
Replace the experimental NanVix implementation behind MXC's existing
microvmbackend with the Phase One NVX foundation while preservingmicrovmas the single public backend identity.containment: "microvm"across the development contracts, Rust model, and Node SDK;microvmCargo feature andbuild.bat --with-microvmswitch;nvxas a second public containment alias.Published v0.9 schema artifacts remain unchanged. The MicroVM/NVX contract changes are limited to the v0.10 development line.