Skip to content

[mount-docs] Correct mount-policy consumer table for compose deny lists - #11929

Merged
lpcox merged 1 commit into
mainfrom
mount-docs/consumer-table-e905b16db6776999
Nov 22, 2026
Merged

lpcox merged 1 commit into
mainfrom
mount-docs/consumer-table-e905b16db6776999

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Audited commit: f7114d2bb2cf79fd335baabaca471e59c3a6860f (from /tmp/gh-aw/mount-docs/main-sha.txt).

Discrepancy corrected

docs/mount-policy.md ("What the policy contains" table) said home.forbiddenSubdirs was consumed by compose + sbx + NVX but only by invariant tests and NVX modules. It also omitted production compose consumers of credentials.entries.

Production callers at the audited commit:

  • home.forbiddenSubdirs:
  • credentials.entries: the same four modules, in addition to the already-listed credential-hiding.ts and the sbx/NVX/microVM modules.
  • sbx: sbx/credential-scrub.ts and sbx/sandbox-create.ts do not import HOME_FORBIDDEN_SUBDIRS; sbx simply never mounts those dirs because they are absent from toolSubdirs. The row now says so, instead of listing sbx as a consumer.

Checked

Compared the docs in the allowlist against: sandbox-mount-policy.json, mount-policy.ts, agent-volumes/* (system/etc/home/workspace/docker-socket/credential-hiding/write-policy), sbx/sandbox-create.ts, cloud-hypervisor/exports.ts, enclave-export-plan.ts, the sbx runtime backend, runner-tool-cache.ts, chroot-home-setup.ts, sysroot-service.ts/optional-services.ts, and agent-service.ts tmpfs. All other mount claims examined (system/etc lists, tool dirs, .gemini/.copilot conditions, tool cache, tmpfs, Docker socket, CH exports, sbx mounts) matched.

Limitations

Documentation-only change (git diff --check clean). Did not run tests, containers, or the documented examples. Dynamic /dev/shm tmpfs and init-signal mounts are documented in filesystem-sharing-contract.md and were not audited further.

Generated by Mount Documentation Maintainer · copilot · routed: sonnet55 high · ~236 AIC · ⌖ ~1 AIC · ⊞ 3.5K · ◷

@lpcox
lpcox marked this pull request as ready for review November 22, 2026 07:59
Copilot AI adaptive review requested due to automatic review settings November 22, 2026 07:59

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.

🔵 Needs a closer look

The security-sensitive documentation spans multiple mount-policy and runtime paths whose consumer semantics cannot be fully validated through automated review alone.

No open issues 🎉

What changed in this PR

This documentation-only PR updates the mount-policy consumer table to better reflect production usage of forbidden home directories and credential entries across runtime components.

Changes:

  • Adds Compose consumers for home.forbiddenSubdirs and credentials.entries.
  • Updates the documented consumers for credential-related policy entries.
  • Clarifies sbx's handling of policy-managed automatic home mounts.
File Description
docs/​mount-policy.md Corrects the mount-policy consumer table and clarifies runtime-specific handling of forbidden home directories and credential entries.

Review effort: Lite (adaptive)

@github-actions

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.

@github-actions

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-11929 artifact from the workflow run
  2. Unzip and open index.html in your browser

Built from commit 04c8c1e

@lpcox
lpcox merged commit 388ec86 into main Nov 22, 2026
28 of 29 checks passed
@lpcox
lpcox deleted the mount-docs/consumer-table-e905b16db6776999 branch November 22, 2026 17:24
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.

2 participants