Skip to content

[mount-docs] Document NVX runtime in mount policy - #11350

Merged
lpcox merged 2 commits into
mainfrom
docs/mount-policy-nvx-aa9e023e8431d0f7
Nov 9, 2026
Merged

lpcox merged 2 commits into
mainfrom
docs/mount-policy-nvx-aa9e023e8431d0f7

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Warning

Threat detection engine error

Threat detection could not complete its analysis due to a tooling error. This is not a security finding.

What happened

The threat detection engine failed to produce results.

Review the workflow run logs to troubleshoot the error.

Audited commit: f30cc2a28315b604ddee10339d5e8b1a1d097a0d

Discrepancy: docs/mount-policy.md said only Docker, gVisor and sbx read the central mount policy, and that Cloud Hypervisor was the only microVM outside it. The NVX runtime (--container-runtime nvx) also consumes the policy in production:

  • src/nvx/guest-config-layer.ts copies the HOME_TOOL_PATHS directories into the guest home seed and skips CREDENTIAL_ENTRIES and HOME_FORBIDDEN_SUBDIRS. It is created by createNvxRuntimeBackend in src/nvx/runtime-backend.ts (homePath: process.env.HOME), which src/external-runtime-backend-resolver.ts calls.
  • src/nvx/filesystem-builder.ts and src/nvx/live-mount-policy.ts apply the same credential and forbidden-path exclusions.

Correction (docs/mount-policy.md only):

  • Added NVX to the intro and the policy table.
  • Noted that NVX gets its system libraries from a guest image.
  • Added an NVX bullet to the credential deny list section (excluded from the copy, not overlaid).

Checked: sandbox-mount-policy.json, mount-policy.ts, system-mounts.ts, home-strategy.ts, docker-socket.ts, workspace-mounts.ts, runner-tool-cache.ts, cloud-hypervisor/exports.ts, the NVX sources above, and docs/selective-mounting.md. The rest of docs/mount-policy.md and docs/selective-mounting.md matched the code.

Limitations:

  • Other allowlisted docs were not exhaustively audited.
  • Nothing was executed.
  • The home.forbiddenSubdirs row keeps its existing sbx claim; it was not re-verified.

Generated by Mount Documentation Maintainer · copilot · auto (Claude Sonnet 5.5) · ~50 AIC · ⊞ 9.3K · ◷

@lpcox
lpcox marked this pull request as ready for review November 9, 2026 05:35
Copilot AI adaptive review requested due to automatic review settings November 9, 2026 05:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Copilot review overview

2 open issues
What changed in this PR

Updates the mount policy documentation to include NVX microVM behavior so host/guest path handling stays consistent across runtimes.

Changes:

  • Document NVX microVM as a consumer of the centralized mount policy config.
  • Expand the policy table to include NVX-related components and enforcement points.
  • Describe NVX’s home seeding and credentials exclusion behavior.
File Description
docs/​mount-policy.md Updates documentation to cover NVX microVM integration with mount policy and exclusions.

Review effort: Lite (auto)

Comment thread docs/mount-policy.md

- **NVX microVM** copies the `HOME_TOOL_PATHS` directories that exist under the
host `$HOME` into the guest home seed, skipping every `credentials.entries`
and `home.forbiddenSubdirs` path
Comment thread docs/mount-policy.md Resolved
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

✅ Copilot review passed with no inline comments.

@github-actions[bot] Add the ready-for-aw label to this PR to trigger agentic CI smoke tests.

@lpcox
lpcox requested an adaptive review from Copilot November 9, 2026 05:56
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation has been built for this PR.

Download preview artifact

To view locally:

  1. Download the docs-preview-pr-11350 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit f8e3313

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment thread docs/mount-policy.md
Comment on lines +110 to +112
and `home.forbiddenSubdirs` path
([`guest-config-layer.ts`](../src/nvx/guest-config-layer.ts)); its builder and
live-share policy applies the same exclusions
@lpcox
lpcox merged commit be06cef into main Nov 9, 2026
29 of 34 checks passed
@lpcox
lpcox deleted the docs/mount-policy-nvx-aa9e023e8431d0f7 branch November 9, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants