Skip to content

Prepare 0.16.3: fix clean installs, slash-menu colors, and Windows lifecycle - #47

Merged
apfivos merged 40 commits into
mainfrom
release-fix-0.16.3
Nov 9, 2026
Merged

apfivos merged 40 commits into
mainfrom
release-fix-0.16.3

Conversation

@apfivos

@apfivos apfivos commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

Fresh 0.16.2 installs can fail on their first auto-mode turn because runtime code imports jsonschema from the development extra. Move it into runtime dependencies and test the installed CLI in a fresh runtime-only environment. Give the terminal slash-completion menu a dark palette and green selected text, and prepare version 0.16.3.

Fixes #46.
Fixes #44.

Windows sandbox repairs

  • Replace the conflicting foreground cancellation job with private cancellation/completion events. Completion requires verified process-tree termination and permission/profile cleanup. Preserve MXC observer-job behavior.
  • For system-owned runtime parents such as Program Files, verify existing protection through pinned, non-reparse ancestor handles. Retain deletion denies on writable parents and probe actual child permissions. Recovery does not mutate inspection-only objects.
  • Pin PowerShell's module path to its trusted Windows installation and import the bootstrap modules directly. Preserve host execution policy and user command text.
  • Require LPAC for the experimental windows-native backend and verify its kernel token attribute before resuming the child. Preserve the explicit network policy and independently test that network=off blocks DNS-service egress.
  • Include the ordinary token-user identity in the write-restriction check so Windows capability checks can function, while retaining the account SID and its filesystem denies. LPAC continues to constrain resource access. PowerShell requires registry-read, instrumentation and COM capabilities. Explicit network-on also grants the LPAC identity-service capability used by Schannel's SSPISRV discovery; network-off denies that capability and internet access. Verify effective access under the suspended child's token, including denial of enterprise authentication, shared-user-certificate, private-network and server capabilities in both modes.
  • Grant read/write access only to the fixed null device through an installation-specific capability. Elevated setup/uninstall owns the grant; ordinary launches only inspect readiness and probe child access. Preserve unrelated ACEs and refuse unsupported layouts. Setup version 4 repairs missing grants, including after device ACL reset at reboot.

These native changes remain experimental and do not change the default windows-mxc backend selection. Security revision 6 rejects older native helpers.

CI and regression coverage

Add lifecycle, filesystem attack, recovery, fresh-cache PowerShell startup and capability-access regressions. Update platform-specific test assumptions, pinned-input fallback downloads and Windows fixture isolation. Use the disposable runner's desktop host for installed qualification, retaining native and installed tests as signing prerequisites.

Fixed startup diagnostics run only after smoke failure, require successful host controls and retain normal containment and cancellation. They cannot make qualification pass.

Validation and release gates

The native source at b87ffdb passed native, engine and installed qualification on Windows 2022 and Windows 2025. Each installed suite reported 68 passed / 9 existing expected failures, with recovery and uninstall passing. The expected failures are eight older-libuv subprocess cases and restricted-token Schannel SEC_E_NO_CREDENTIALS; no expected-failure rules were added. The experimental backend remains limited by these compatibility issues.

Candidate v-sandbox-0.16.3-rc7 completed protected signing and qualification. Azure authenticated successfully; Windows verified the publisher and timestamp before uploading the signed artifact. Commit ced38b0 incorporates those exact signed bytes and updates the immutable bundle hashes and signer pin after verifying the complete source inventory against b87ffdb.

Local validation after bundle promotion: 96 bundle/signing/provenance tests passed, 4 platform skips; all 4 release smoke tests passed; repository lint and formatting passed; ordinary source distribution and universal wheel builds passed without candidate overrides. The previous native-source/bundle mismatch is resolved.

Full CI for ced38b0 is green: main CI, all six managed CLI platform builds, Windows native and installed qualification, and sandbox image builds/scans/smoke tests. Three image jobs initially failed during GitHub cache export; they passed on retry without code or security-check changes. All Python 3.11–3.14 suites passed.

Squash merged as a0d1c03e184271e90d8c6d3fdb513d4509c6c5df. Post-merge main CI, all six managed CLI builds, and activation performance checks passed on that exact commit. Annotated tag v0.16.3 points to the verified squash commit. Release publication workflow is running; publication is not yet confirmed. Experimental Windows preview compatibility limits described above remain.

@apfivos apfivos changed the title Prepare 0.16.3: fix clean installs and terminal slash-menu colors Prepare 0.16.3: fix clean installs, slash-menu colors, and Windows lifecycle Nov 8, 2026
@apfivos
apfivos had a problem deploying to managed-cli-native-signing November 9, 2026 10:53 — with GitHub Actions Failure
@apfivos
apfivos deployed to managed-cli-native-signing November 9, 2026 16:00 — with GitHub Actions Active
Promote rc7 from protected signing run 42601464163 (attempt 2), built from b87ffdb. Verify exact source inventory and Authenticode receipt before updating immutable pins. Preserve documented experimental compatibility limits.
@apfivos
apfivos marked this pull request as ready for review November 9, 2026 17:53
@apfivos
apfivos merged commit a0d1c03 into main Nov 9, 2026
50 of 53 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T17:56:49.679308Z ced38b0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Perdikis10
Perdikis10 deleted the release-fix-0.16.3 branch November 16, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant