Skip to content

feat(windows): move the ProcessContainer backend to MXC 1.x - #90

Merged
johayang-amd merged 3 commits into
mainfrom
feature/windows-mxc-1
Nov 13, 2026
Merged

johayang-amd merged 3 commits into
mainfrom
feature/windows-mxc-1

Conversation

@johayang-amd

@johayang-amd johayang-amd commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

Technical Details

Design record: docs/windows-mxc-1.md (problem, options, decision, accepted trade-offs, evidence).

Most of the diff is deletion: the WFP broker and its install script (about 1,750 lines) and the three MXC patches. The behavior changes are in crates/axis-sandbox/src/windows/mxc.rs, crates/axis-sandbox/src/windows/job_object.rs, crates/axis-core/src/mxc_config.rs, and the planner and policy changes for network.bypass_audit in crates/axis-core/src/capability.rs and policy.rs.

Area Before (v0.4.0) After
Executor wxc-exec from pre-1.x MXC 1736b48 plus 3 AXIS patches MXC v1.0.1, unpatched
Config contract 0.6.0-alpha 1.0.0
Resource limits Patched executor assigns its own Job Object AXIS starts wxc-exec suspended in a kill-on-close Job Object
Strict proxy AXIS WFP broker (SYSTEM service, admin install) MXC runtimeConfig.networkProxy, no service
Token LPAC (least privilege) No LPAC in MXC 1.x; identity: isolated rejected
Strict proxy ingress Denied Allowed (MXC requirement); host firewall decides private-network reach
Bypass audit Broker logged correlated WFP block events Bypass denied, no per-attempt record; audit.bypass_evidence is weaker, proxy launches warn, network.bypass_audit: hard_requirement refuses
Win32k / ancestor listing No setting Opt-in process.windows_win32k, filesystem.windows_enumerate_ancestors
Launch median (block) 373 ms 582 ms (+209 ms; see Test Result)
  • Executor: build wxc-exec.exe from MXC v1.0.1 (fda29ac) without patches in CI, nightly, release and scripts/setup_windows_mxc.ps1. v1.0.1 rather than v1.0.0 because it fixes BaseContainer loopback access to host services on PSEC 1.0 hosts, which the proxy mapping depends on. third_party/mxc/patches/ and .gitattributes are removed.
  • Config: emit the 1.0.0 ProcessContainer contract with leastPrivilege: false, directional network rules, and runtimeConfig.networkProxy for strict proxy.
  • Resource limits: AXIS enforces process, memory and CPU limits instead of the patched executor. wxc-exec.exe is created with CREATE_SUSPENDED, assigned to a kill-on-close Job Object sized max_processes + 1 (the executor takes one slot), then resumed. build_mxc_process_config no longer exempts Windows: resource limits are rejected unless the caller states that AXIS enforces them.
  • WFP broker removed: axis-wfp-broker.exe, windows/wfp.rs, scripts/install_windows_wfp_broker.ps1, the windows.axis_wfp_broker host dependency, the axisWfp config section, the release and nightly archive entries, and the windows crate features only the broker used.
  • Policy: network.bypass_audit (best_effort by default, or hard_requirement) decides whether a proxy launch on a backend that blocks but cannot record bypass attempts warns or refuses. It accepts only audit.bypass_evidence; Linux backends record bypass attempts and behave the same under both settings. Two opt-in Windows fields: process.windows_win32k is needed by USER32-linked tools such as PowerShell and Git for Windows. filesystem.windows_enumerate_ancestors lets Node's realpath walk grant ancestors and exposes names and sizes, not contents. Both default to off, are ignored on other platforms, and are reported at launch and by axis policy validate. windows_enumerate_ancestors refuses a policy whose denied paths sit below a listed ancestor.
  • Launch hardening:
    • The executor config is written below the axisd token directory (%LOCALAPPDATA%\axis\mxc-config). Every sandbox launch is refused when a grant covers that directory, so no sandbox, including a concurrent one, can edit the config before wxc-exec reads it. A grant that cannot be canonicalized counts as covering it.
    • The resource Job Object is unnamed, so another process cannot pre-create a same-named job. The unused job constructors, one of which allowed breakaway, are removed.
    • Bare commands resolve against the sandbox PATH before the host PATH, skipping relative entries. Arguments that cmd.exe would interpret are refused when the command is a .cmd or .bat file.
  • Terminal and default policy (both predate this PR, since feat(windows): add MXC sandbox policy parity #16):
    • axis run from a terminal was refused because BaseContainer cannot create a pseudoconsole. It now runs with the terminal's own handles and no pseudoconsole. No policy field requires a PTY.
    • Bundled policies grant Unix paths such as /usr. The backend skips them under best_effort, but the managed-home and axisd token checks in sandbox.rs refused them first. Both now skip Unix-only paths on Windows; hard_requirement still refuses them in the backend.
  • CLI: the first version's 250 ms Windows axisd connect timeout is dropped from this PR. axis run no longer trying axisd first, which removes that wait entirely, is fix(cli): run sandboxes without contacting axisd #108.
  • Capability map: process.isolated_identity is Unsupported (no LPAC). network.strict_proxy depends only on the MXC executor and ProcessContainer. audit.bypass_evidence is WeakerOnly. The planner can now accept a single weaker requirement, and an accepted weaker plan still requires every host dependency.
  • Workflows: scripts/verify_workflow_structure.py pins the new MXC_WINDOWS_REF, the patch-free build step and the archive requirements. The release (7e2d0434…) and nightly (f487fee6…) build job digests change because the build job no longer applies patches or packages the broker. They were recomputed with the verifier's canonical_job_digest after rebasing onto main with chore(mxc): move the Linux executor to MXC v1.0.0 #53 and ci(macos): move runners off the retired macos-14 image #99.
  • Tests and docs:
    • test_mxc_strict_proxy.ps1 no longer needs elevation or the broker; its gate is renamed to AXIS_RUN_WINDOWS_STRICT_PROXY_E2E. It now checks that the first concurrent sandbox started, and that host loopback services, a running axisd and another sandbox's AXIS proxy are unreachable.
    • test_mxc_processcontainer.ps1's child_processes: deny case no longer sets identity: isolated, and checks that the probe ran.
    • The inference and SSH suites drop the broker check, and the benchmark harness emits the 1.0.0 contract for ProcessContainer.
    • The isolation contract now says strict proxy covers outbound traffic and that each backend documents inbound reach.
    • README: a Windows quick start, gh auth login and certificate notes next to the Windows installer, the two opt-in fields, the proxy bypass warning, terminal and .cmd notes, daemon commands not working on Windows yet, and the third_party/mxc tree entry. Also DEVELOPMENT.md, setup, dependency, default-decision, test-tier and capability-matrix docs are updated. The isolation contract describes network.bypass_audit and the two opt-in Windows fields; docs/windows-mxc-1.md adds how to remove the v0.4.0 broker service.

Security impact: Windows isolation is weaker than v0.4.0 in three documented ways, and the privileged broker is removed. A terminal launch shares the terminal with the sandboxed command, as on Linux; BaseContainer denies it writing to the terminal's input buffer (checked on Windows 11 26100).

  • No LPAC in MXC 1.x (BaseContainer: LPAC (processContainer.leastPrivilege) without DACL mutation after the SBOX removal microsoft/mxc#1496; MXC maintainers confirmed LPAC with BaseContainer is unsupported in v1, and processcontainer: sandboxed process can read persistent user environment variables from HKCU\Environment microsoft/mxc#1670 tracks the HKCU\Environment read). The child keeps the caller's user SID inside the container. Grants stay exact and user files outside them are denied, but system locations and the user's registry hive (including HKCU\Environment) are readable. process.identity: isolated now rejects before launch instead of mapping to an LPAC token.
  • Strict proxy ingress. MXC requires ingress.default: allow with the proxy mapping, which adds privateNetworkClientServer. Egress is still limited to the AXIS proxy, but whether private-network peers can connect to a sandbox listener depends on the host firewall.
  • Bypass audit. Direct bypass attempts are still blocked by MXC's WFP filters, but they no longer produce AXIS audit records. audit.bypass_evidence is now WeakerOnly: proxy launches warn by default, and network.bypass_audit: hard_requirement refuses them. Collecting Windows Filtering Platform audit events would require changing the host audit policy.
  • Removed: the SYSTEM-level WFP broker service and its pipe protocol.

Contract decisions (from review): network.strict_proxy stays exact and the isolation contract scopes strict proxy to outbound traffic; a host firewall check is a follow-up. audit.bypass_evidence is WeakerOnly with the network.bypass_audit setting above, so existing Windows proxy, inference and scoped SSH policies keep running and report the missing audit trail.

Test Plan

  • Linux (WSL2 Ubuntu): cargo fmt --all -- --check, cargo clippy --locked --all-targets -- -D warnings, cargo test --locked --no-fail-fast, bash scripts/test_security_tier0.sh, python3 scripts/verify_workflow_structure.py ., and python3 -m unittest discover -s scripts.
  • Windows cross-build with cargo xwin: clippy --locked --all-targets --target x86_64-pc-windows-msvc -- -D warnings, plus the axis-core and axis-sandbox unit tests run on a Windows host.
  • Windows 11 26100.9711 with BaseContainer and the signed MXC v1.0.1 wxc-exec.exe release binary (same commit as the pin):
    • gated e2e test_mxc_processcontainer.ps1, test_mxc_strict_proxy.ps1, test_mxc_inference.ps1 and test_mxc_scoped_ssh.ps1;
    • manual isolation probes;
    • a launch benchmark against the v0.4.0 Windows package.

Test Result

  • Linux (rebased onto 547b8ca, main with chore(mxc): move the Linux executor to MXC v1.0.0 #53):
    • fmt and clippy are clean; 992 Rust tests passed, 0 failed; tier 0 passed; the workflow verifier is OK; python3 -m unittest discover -s scripts: 185 tests OK (3 skipped).
  • Windows cross-build: the whole workspace builds with cargo xwin and cargo xwin clippy --workspace --all-targets -D warnings is clean.
  • Windows unit tests (Windows 11 26100.9711): axis-core 241/241, axis-sandbox 59/59. policy_fixtures reads repository files through a path fixed at build time, so it only runs where it was built (it passes on Linux).
  • Windows e2e (same host, MXC v1.0.1 signed release wxc-exec.exe, the binary CI's pin builds):
    • Passed: test_mxc_processcontainer.ps1, test_mxc_strict_proxy.ps1, test_mxc_inference.ps1 and test_mxc_scoped_ssh.ps1, with these host-specific adjustments:
    • test_mxc_strict_proxy.ps1 ran without its QUIC baseline and probe, because the test network also blocks outbound UDP 443 for the host itself. axisd was not running, so its port probe was skipped; the host loopback listener and the other sandbox's proxy probes ran and were blocked.
    • test_mxc_scoped_ssh.ps1 ran with a compiled ssh-keyscan stub instead of the script's ssh-keyscan.cmd. On this host, endpoint protection kills any cmd.exe child (exit status 0xE0000027) of a process whose arguments are an IP address and a port, which is how the CONNECT step invokes axis-ssh-proxy.exe. A standalone program with no AXIS code reproduces this.
    • The test host has no MSVC toolchain, so the e2e probe binaries were cross-compiled with cargo xwin and supplied through a rustc wrapper on PATH.
  • README steps (new console window, no redirection): axis run -- cmd.exe /c "echo hi> out.txt" with the default policy exits 0 and writes the file; on 27e4afb it exited 125. Piped input with the default policy also works now. Unit tests 241/241 and 60/60, and the four e2e suites pass again on this head.
  • Launch messages: a proxy launch prints the bypass audit warning; network.bypass_audit: hard_requirement refuses it with the reason; a .cmd argument containing & is refused before launch; axis policy validate shows the bypass audit setting and enabled Windows fields. Launching a .cmd file directly fails inside BaseContainer with "Access is denied" before and after this PR; cmd.exe /c script.cmd works.
  • Isolation probes:
    • Block and proxy modes block direct egress, and loopback port 445 is blocked.
    • Through the proxy, the allowed host returns 200 and a denied host returns 403.
    • Host loopback and a WSL NAT peer cannot connect to a listener in the sandbox. That peer is not on a private-profile network, so private-network ingress is untested.
    • Writes outside the workspace, including to C:\Users, ProgramData and C:\Users\Public, are denied.
    • max_processes and max_memory_mb are enforced.
  • Launch latency: axis --socket 0.0.0.0:9 run -- cmd.exe /c exit 0, 20 runs after 2 warm-up runs, median / p90. --socket 0.0.0.0:9 makes the axisd connect fail at once for both builds; with the default address Windows retries the refused loopback connect for about two seconds (2371 ms against 2498 ms median in block mode), which is what made the earlier numbers in this PR look faster.
Build block allow proxy
v0.4.0 (patched pre-1.x) 373 / 405 ms 358 / 388 ms not measured (needs the broker)
MXC v1.0.1 582 / 637 ms 561 / 641 ms 980 / 1026 ms

MXC 1.x adds about 200 ms per launch. About 70 ms is the executor's own start (wxc-exec.exe --version: 152 ms against 80 ms); where the rest goes is a follow-up.

  • Not covered:
    • Launches through a running axisd: on Windows, axisd falls back to /tmp/axis/sandboxes for sandbox state when neither XDG_DATA_HOME nor HOME is set (also on main), so daemon-mode launches fail there.
    • CI's Windows job builds wxc-exec.exe from source with --no-default-features, while the local runs used the signed release binary from the same commit.
    • The WSLc, Isolation Session and VM-style Windows config builders still emit 0.6.0-alpha. They have no launch path, and the design record tracks them as a follow-up.

Windows wxc-exec was built from a pre-1.x MXC commit with three AXIS
patches, including a hook into a privileged WFP broker service for
strict proxy mode. The patches do not apply to MXC 1.x, so Windows
stayed on a contract MXC no longer accepts and proxy mode needed an
elevated service install.

Build wxc-exec from MXC v1.0.1 without patches. AXIS now applies
process, memory and CPU limits itself: the executor starts suspended
in a kill-on-close Job Object and resumes only after the assignment.
Strict proxy uses MXC's runtimeConfig.networkProxy mapping, so the WFP
broker, its install script and its release assets are removed. New
opt-in policy fields enable Win32k and grant-ancestor enumeration.

MXC 1.x has no LPAC token, so process.identity: isolated is rejected.
Its proxy mapping requires ingress to be allowed, and blocked bypass
attempts are no longer recorded. The isolation contract now states
that strict proxy covers outbound traffic, and docs/windows-mxc-1.md
records the trade-offs.

Fixes #87

Co-authored-by: Cursor <[email protected]>
@johayang-amd
johayang-amd marked this pull request as ready for review November 11, 2026 10:04

@ltsabadz ltsabadz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Posted by Cursor on behalf of @ltsabadz.

Nice work. I tried it on my Windows laptop and it works. Two things need a fix: bypass audit is reported as working when it isn't, and the new ancestor-listing option shows file names inside denied folders. Details are in the inline comments.

What I ran. I built wxc-exec.exe from MXC v1.0.1 and axis from this branch, on Windows 11 26100, as a normal user. fmt, clippy, tier-0 and all Rust tests pass (502). The ProcessContainer and inference e2e suites pass. Strict proxy passes once the QUIC check is removed, because my network blocks UDP 443. Scoped SSH fails here, but the same way on main.

Works as it should. I tried each of these once where it should work and once where it should be blocked:

  • The sandbox can write in its workspace, but not to my user folder or C:\Users\Public.
  • identity: isolated is refused before anything starts, which is right without LPAC.
  • max_processes, max_memory_mb and child_processes: deny are enforced.
  • Block mode cuts the network, and allow mode allows it.
  • In strict proxy mode, the allowed host works, another host gets a 403, and direct connections fail.
  • The sandbox can't reach a server on the host's 127.0.0.1.
  • With windows_win32k off, PowerShell won't start; with it on, it works.

I couldn't test inbound connections from other machines. #87 is fixed by removing the broker, and the release workflows no longer package it.

Problems without a line in the diff:

  • An e2e check passes without testing anything. In test_mxc_processcontainer.ps1:116, the child_processes: deny policy also sets identity: isolated. That's now rejected, so the run fails right away and the test counts it as "child blocked". The feature does work (I checked by hand), but please drop identity: isolated from that policy.
  • The old broker service stays installed. Anyone who installed the v0.4.0 broker keeps AxisWfpBroker running as SYSTEM, and the removal script is gone. A docs note would cover it: sc.exe stop AxisWfpBroker, sc.exe delete AxisWfpBroker, and delete %ProgramData%\axis\wfp-leases.
  • The speedup is probably mostly the CLI timeout. axis run tries the daemon first. The old build waited about 2 s for that to fail; the new 250 ms timeout cuts it short. It'd be worth re-measuring with the daemon running. If we drop the daemon as we discussed, those 250 ms go away too. This only affects Windows; on Linux and macOS a missing daemon fails right away.
  • Small one: the run_as_user error (windows/mxc.rs:698) still suggests identity: isolated.

Your question about the contract. Just my thoughts:

  • bypass_evidence: since bypass attempts are blocked but no longer logged, calling it exact feels a bit off. I see that marking it weaker would break existing Windows proxy policies, though, so I'm not sure which is better.
  • strict_proxy: outbound-only seems reasonable. My only worry is that inbound now depends on the host firewall. Maybe AXIS should check the firewall instead of assuming it blocks inbound traffic.

Comment thread crates/axis-core/src/capability_map.rs Resolved
Comment thread crates/axis-sandbox/src/windows/mxc.rs Resolved
Comment thread crates/axis-sandbox/src/windows/mxc.rs Resolved
Comment thread crates/axis-core/src/mxc_config.rs Resolved
Comment thread crates/axis-core/src/policy.rs Resolved
Comment thread crates/axis-cli/src/main.rs Resolved
Comment thread crates/axis-sandbox/src/windows/mxc.rs Resolved
Comment thread e2e/windows/test_mxc_strict_proxy.ps1 Resolved
Review of the MXC 1.x backend found that Windows reported bypass evidence
as supported although blocked bypass attempts are no longer recorded,
and that several launch paths assumed the safe case.

- audit.bypass_evidence is WeakerOnly on Windows ProcessContainer. The new
  network.bypass_audit setting (best_effort by default) launches with a
  warning; hard_requirement refuses. It accepts only that requirement,
  and an accepted weaker plan still checks host dependencies. Linux
  backends are unaffected.
- windows_enumerate_ancestors refuses a policy whose denied paths sit
  below a listed ancestor, and both opt-in Windows fields are reported at
  launch and by `axis policy validate`.
- The executor config is written below the axisd token directory, which
  no sandbox grant may cover; an unresolvable grant counts as covering.
- The resource Job Object is unnamed, and the unused job constructors
  (one of which allowed breakaway) are removed.
- Arguments that cmd.exe would interpret are refused for .cmd/.bat
  commands, and relative PATH entries are skipped.
- The process e2e no longer passes on a refused launch, the strict proxy
  e2e checks the first sandbox started and probes host loopback, axisd
  and another sandbox's proxy.
- The 250 ms CLI connect timeout moves to its own change. The launch
  numbers are re-measured without it: MXC 1.x adds about 200 ms per
  launch. The docs also say how to remove the v0.4.0 broker.
@johayang-amd

Copy link
Copy Markdown
Collaborator Author

Thanks a lot for testing this on real hardware, Luka, and for the thorough review. Everything is addressed in 27e4afb:

  • Bypass audit: audit.bypass_evidence is now WeakerOnly on Windows. A new network.bypass_audit setting decides what happens: best_effort (the default) launches and prints a warning that blocked bypass attempts are not recorded; hard_requirement refuses. It only ever accepts that one requirement, an accepted weaker plan still checks host dependencies, and Linux backends behave the same under both settings. This keeps existing Windows proxy policies running without hiding the gap.
  • Strict proxy inbound: kept outbound-only. A host firewall check is listed as a follow-up in docs/windows-mxc-1.md.
  • Speedup: you were right. I dropped the CLI timeout from this PR; instead fix(cli): run sandboxes without contacting axisd #108 makes axis run stop trying axisd at all, so the wait goes to 0 as you suggested. With the daemon connect failing at once for both builds (--socket 0.0.0.0:9), MXC 1.x is about 200 ms slower per launch (block 373 → 582 ms median). About 70 ms is wxc-exec itself starting; the rest is a follow-up. The PR body and docs/windows-mxc-1.md now show these numbers. I couldn't measure through axisd: on Windows it falls back to /tmp/axis/sandboxes without XDG_DATA_HOME/HOME, which is also on main and needs its own fix.
  • e2e: the child_processes: deny case no longer sets identity: isolated and checks that the probe actually ran.
  • Broker: docs/windows-mxc-1.md has an "Upgrading From v0.4.0" section with the removal steps.
  • run_as_user error: no longer suggests identity: isolated.

Tested on 27e4afb (on main 547b8ca):

  • Linux (WSL2): fmt, clippy, 992 tests, tier 0 and the workflow verifier pass.
  • Windows 11 26100 with MXC v1.0.1: axis-core 241/241 and axis-sandbox 59/59 unit tests; the processcontainer, strict proxy (without QUIC), inference and scoped SSH e2e suites pass. I also checked the warning, the hard_requirement refusal and the .cmd refusal by hand. One thing I noticed: launching a .cmd file directly fails inside BaseContainer with "Access is denied" on my machine, before and after this PR, while cmd.exe /c x.cmd works. So the npm.cmd path may not work yet anyway.

@ltsabadz ltsabadz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, everything from my last review is addressed. I tested it again, this time also following the README by hand as a new Windows user would. Setup wasn't smooth, and the docs are missing a few steps, such as gh auth login. Could we update them too? Apart from that, some commands didn't run as documented and only worked with a workaround. Details below.

What worked. I installed this branch on my Windows laptop with the signed MXC v1.0.1 wxc-exec.exe, and had Cursor run the checks through a script. Filesystem limits, block mode, strict proxy (allowed host 200, other host 403, with the new warning) and the new refusals all worked.

What doesn't work. When I type the same commands in a terminal, none of them start. I'm not sure whether that's something in my setup or a bug, but plain axis run commands don't work for me:

  1. axis run from a terminal is refused. If stdin is a terminal, the CLI asks for an interactive console, and the Windows backend rejects that before launch ("interactive ConPTY is unsupported"). The script runs only worked because they piped input into axis.

    • Workaround: "" | axis run …
    • Possible fix: on Windows, run with plain pipes instead of refusing when no console is available.
  2. The default policy fails on Windows. axis run -- cmd.exe /c echo hi fails with policy path '/usr' must be absolute after expansion. The bundled policies grant Linux paths, and the managed-home check in sandbox.rs rejects them before the Windows backend gets to skip them (windows/mxc.rs:1077).

    • Workaround: pass a policy with only Windows paths.
    • Possible fix: skip Unix-only paths in that check on Windows too, or ship a Windows default policy.

Neither of these seems to come from this PR, but together they mean the README's Windows steps don't work as written for me. Could they go in here, or in a small follow-up before the next release?

Docs. The Windows part would be easier to follow with:

  • a Windows Quick Start command (cmd.exe /c echo …; python3 is often just the Store placeholder);
  • the gh auth login step repeated next to the Windows installer;
  • a note that certificate errors on the network can break the installer's gh verification;
  • a note that the daemon commands don't work on Windows yet;
  • the .cmd workaround (cmd.exe /c script.cmd).

The architecture tree still says third_party/mxc/ holds patches (line 359).

Release. install.ps1 installs the latest release, so people get v0.4.0 until a new one is cut. It would be good to release once the fixes above are in.

Comment thread README.md Resolved
Comment thread README.md Resolved
Comment thread crates/axis-sandbox/src/windows/mxc.rs Resolved
Following the README on Windows failed at the first command. Both causes
predate the MXC 1.x move, since #16.

- From a terminal, the CLI asks for an interactive launch and the Windows
  backend refused it because BaseContainer cannot create a pseudoconsole.
  It now runs with the terminal's own handles and no pseudoconsole. No
  policy field requires a PTY, and BaseContainer denies the sandbox
  writing to the terminal's input buffer.
- Bundled policies grant Unix paths such as /usr. The Windows backend
  skips them under best_effort, but the managed-home and axisd token
  checks ran first and refused the launch. Both now skip them as well.

The README gets a Windows quick start, the installer's gh login and
certificate caveats, the two opt-in fields, the bypass warning, the
terminal and .cmd notes, and that daemon commands do not work on Windows
yet.
@johayang-amd

Copy link
Copy Markdown
Collaborator Author

Thanks Luka, following the README by hand was exactly what was missing. Both blockers are fixed in 3c0a1d3, here as you suggested, since they only bite on Windows and you're testing this branch anyway. They date back to #16, not this PR.

  • axis run from a terminal: it now runs with the terminal's handles and no pseudoconsole instead of refusing. I checked from a real console window that the sandbox can't write to the terminal's input (ERROR_ACCESS_DENIED). Full-screen programs that need a pseudoconsole may still not render correctly; the README says so.
  • Default policy: the managed-home and axisd token checks now skip Unix-only paths on Windows, like the backend already did. axis run -- cmd.exe /c echo hi works with minimal (coding-agent is still refused, because it enables the AMD extension).
  • Docs: all your points are in the README: Windows quick start, gh auth login and certificate notes next to the installer, the daemon note, the .cmd workaround, the two opt-in fields, the bypass warning and the third_party/mxc entry.
  • Audit log for the warning: added to the follow-ups in docs/windows-mxc-1.md, together with the axisd state directory.
  • Release: agreed. Once chore(deps): update rustix to 1.1.6 for RUSTSEC-2026-0486 #109, fix(cli): run sandboxes without contacting axisd #108 and this are in, a release would let install.ps1 pick it up.

Tested on 3c0a1d3, Windows 11 26100 with MXC v1.0.1: from a new console window and with piped input, the default policy runs; unit tests 241/241 and 60/60; the processcontainer, strict proxy (without QUIC), inference and scoped SSH e2e suites pass. Linux: 992 tests, clippy, tier 0 and the workflow verifier pass.

@ltsabadz ltsabadz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-tested on Windows, now everything worked for me. Looks good!

@johayang-amd
johayang-amd merged commit 0c53fd6 into main Nov 13, 2026
35 checks passed
@johayang-amd
johayang-amd deleted the feature/windows-mxc-1 branch November 13, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(windows): WFP broker install script in the release archive cannot install the bundled broker

2 participants