Repository navigation
[mount-docs] Correct Cloud Hypervisor mount policy and enclave handoff mode in docs - #11884
Conversation
- mount-policy.md: the Cloud Hypervisor runtime does not use the policy to build guest exports, but the enclave private-root preflight does read its home and system paths for overlap checks. Clarify that distinction. - cloud-hypervisor-foundation.md: /session-handoff is a read-only enclave export (enclave-export-plan.ts); only /session-state is writable. Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, and the documentation changes are limited to clarifying mount-policy behavior and enclave session export access modes.
No open issues 🎉
What changed in this PR
This documentation-only pull request corrects Cloud Hypervisor mount-policy descriptions and enclave session export modes to match the current implementation.
Changes:
- Clarifies that the centralized mount policy is not used to construct Cloud Hypervisor guest exports, while enclave preflight still reads policy paths for overlap checks.
- Documents
/session-handoffas read-only and/session-stateas read-write for agent enclaves.
| File | Description |
|---|---|
| docs/mount-policy.md | Clarifies Cloud Hypervisor policy usage and enclave private-root preflight checks. |
| docs/cloud-hypervisor-foundation.md | Corrects the documented access modes for agent enclave session exports. |
Review effort: Lite (adaptive)
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
Documentation PreviewDocumentation has been built for this PR. To view locally:
Built from commit 628ffd4 |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Added exact Grype exceptions for the unpatched OpenSSL 3.5.9-r1 findings and a regression test that enforces their package/version scope. Commit: |
|
@copilot merge main and resolve conflicts |
…c-35fb3a8-1a16979ec66bb0a7 # Conflicts: # .grype.yaml # scripts/ci/grype-allowlist.test.ts Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Merged |
Audited commit:
35fb3a815f2e82549ce9e4da21e30396e5297004(from/tmp/gh-aw/mount-docs/main-sha.txt, matchesmainHEAD).Discrepancies and corrections
docs/cloud-hypervisor-foundation.md— enclave/session-handoffmode. The doc said agent enclaves receive/session-handoffand/session-stateas writable exports. The implementation sets/session-handofftoroand only/session-statetorw.src/cloud-hypervisor/enclave-export-plan.tsL38–53docs/mount-policy.md— Cloud Hypervisor and the policy. The doc said the Cloud Hypervisor runtime "does not currently consult this policy" and that home allow/deny lists have "no production call site for this runtime." That is true for guest exports, but the enclave private-root preflight does readHOME_TOOL_PATHSand the system//etclists (viacollectAgentVisiblePaths) to check that AWF-private state does not overlap agent-visible paths. The text now separates export construction (policy not used) from the overlap check (policy read).src/enclave/mount-policy.tsL166–192,src/cloud-hypervisor/exports.tsL61–110What was checked
src/config/sandbox-mount-policy.json,src/config/mount-policy.ts): allow/deny lists and narrow paths matchdocs/mount-policy.md./dev/nulloverlays, workspace and custom mounts,filesystem.allowWrite, Docker socket hiding,/tmpand/host/tmptmpfs, nested.copilotmountpoints, work-dir0700.workspace-and-tool-cache.#anchorsin the edited files.git diff --checkis clean. The diff is documentation-only and touches two files on the allowlist.Limitations
chroot-mode.md,sbx-integration.md,gvisor-integration.md,arc-dind.md,usage.md, etc.) were checked for mount claims, and no further concrete discrepancies were found. Thedocs/filesystem-sharing-contract.mdfile is outside the allowlist and was not edited.mount-policy.md.