Repository navigation
[mount-docs] Correct mount documentation drift from main (audited 3535251f) - #11857
Merged
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
lpcox
marked this pull request as ready for review
November 20, 2026 14:39
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The documentation updates align the four mount descriptions with the audited AWF implementation and resolve the identified discrepancies without active review issues.
No open issues 🎉
What changed in this PR
This documentation-only pull request aligns four mount descriptions with the audited AWF implementation.
Changes:
- Documents conditional RHEL/Amazon Linux CA mounts.
- Corrects gVisor log/state bind and Docker Sandbox workspace behavior.
- Clarifies creation modes for Copilot log and session-state directories.
| File | Description |
|---|---|
| docs/selective-mounting.md | Clarifies source-directory and nested-target creation behavior and their respective modes. |
| docs/sbx-integration.md | Replaces the nonexistent --clone behavior with the actual read-write positional workspace mount. |
| docs/gvisor-integration.md | Documents the always-bound Copilot log and session-state directories. |
| docs/chroot-mode.md | Marks RHEL and Amazon Linux CA mounts as conditional on host-path availability. |
Review effort: Lite (adaptive)
Contributor
Author
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Contributor
Author
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit 93364c2 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Documentation-only correction of four mount descriptions that do not match the implementation at the audited
maincommit3535251f7aff75ae361f3487262141b3fa63c7ce(recorded in/tmp/gh-aw/mount-docs/main-sha.txt).Discrepancies and corrections
docs/chroot-mode.md: optional RHEL CA mounts. The table listed/etc/pki/ca-trust/extractedand/etc/pki/tls/certsas unconditional. Code mounts them only when the host source exists.etc-mounts.tsL9-11, L107docs/gvisor-integration.md: log/state binds. The doc said configured log/state paths are bound only "when they reside under/tmp". Code always binds the agent log and session-state directories at$HOME/.copilot/logsand$HOME/.copilot/session-state, both direct and/host-prefixed, regardless of host location.workspace-mounts.tsL43-44,home-strategy.tsL46-47docs/sbx-integration.md: non-existent--cloneoption. The doc said--clonegives a read-only mount plus a private in-VM clone. No such option exists.createSandboxInternalpasses the workspace as a plain positional path with no:ro.sandbox-create.tsL123-127docs/selective-mounting.md: mode of missing~/.copilottargets. The doc said missing targets are created "without an explicit mode". The bind sources (agent-logs,agent-session-state) are created without a mode and then chowned, including when they already exist. The nested~/.copilot/{session-state,logs}targets are created bycreateMissingOwnedDirectorySegments, which chmods created segments to0755.log-directory-setup.tsL40-56,fs-utils.tsL171,chroot-home-setup.tsL158What was checked
sandbox-mount-policy.json,mount-policy.ts) and its compose, sbx, and NVX consumers./etcallowlists, home tool paths,.copilotbinds, credential/dev/nullmasks, Docker-socket masking, workspace and handoff mounts,/tmpand/host/tmptmpfs,filesystem.allowWriterewriting, and--mountexistence validation.0700behavior, and the ARC sysroot/hostread-write mount.exports.ts) and the enclave export plan: confirmed they do not consult the central policy and do not export$HOME./prochidepid=2mount, and the.geminigating.Limitations
docs/selective-mounting.mdanddocs/chroot-mode.mdwording is verified by reading code, not by running a container ordocker inspect. No containers were started, and no documented example was executed.markdownlintwas not run because the repository's lint tooling is not installed in this environment. The edits change only prose and existing table cells, adding no new links or structure.filesystem-sharing-contract.md, were used only as secondary evidence and were not edited.nvx-security-design.mdanddocs/environment.md, which are outside the allowlist.Review and merge are left to maintainers.