Commit 5853b08
docs: document .awf-home prerequisite for Cloud Hypervisor allowWrite (#7670)
The allowWrite guidance told readers to add `/workspace/.awf-home` to
`filesystem.allowWrite` when a narrowed policy makes the guest home
read-only, but that remedy fails as written.
The Cloud Hypervisor workspace export is backed by the host workspace
directory itself, and nothing in the Cloud Hypervisor path creates
`.awf-home` on the host before planning. Without a policy this is
invisible: the export is writable and the directory is created at
runtime. Under a narrowing policy the export root is staged read-only,
so runtime creation is no longer possible, and because the planner only
accepts paths that already exist, naming it in `allowWrite` throws:
filesystem.allowWrite path is not an existing path within a writable
Cloud Hypervisor export: /workspace/.awf-home
Document the missing prerequisite in both the Cloud Hypervisor
foundation doc and the config spec: create the host directory
`$GITHUB_WORKSPACE/.awf-home` before AWF starts, then list the guest
path. Include a short setup example and state plainly that AWF does not
auto-create or exempt the guest home, since either would widen the
boundary implicitly or reintroduce an always-writable internal mount.
Documentation only; no behaviour, existing-path, or narrowing semantics
change.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 248b577f-2e6f-4e03-90bc-96c75c0d395e1 parent 4017c61 commit 5853b08
2 files changed
Lines changed: 41 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
360 | 393 | | |
361 | 394 | | |
362 | 395 | | |
| |||
0 commit comments