Files
deepseek-harness/docs
MicroBlock f3af51825a vendor: restore the upstream resource fetcher
V74 gave `createResourceFetcher` an accepted-scheme policy and had `bot.ts`
publish with `data:`, `base64:` and `satori:` only, refusing a `file:` path or
an internal address as `RefusedContentError`. Its stated reason was that the
fetch "runs outside the filesystem sandbox the session's own tools answer to",
which does not hold: `SandboxedFileSystem` fences the five mutations and lets
every read through, and the shell profiles bind the whole filesystem read-only
(`bwrap --ro-bind / /`, Landlock `readOnly: ['/']`, Seatbelt `allow default`
plus `deny file-write*`). A session could already read any host file through
`ctx.fs` or `bash`, so the refusal removed no capability — it only forced a
local file to be inlined as base64, which the next change makes unnecessary.

The fetcher returns to its upstream shape: one argument, every scheme `ctx.http`
resolves, no policy type to keep alive.

This reverts 1d0990f4.
2026-11-10 15:03:33 +08:00
..