deepseek-harness/docs/core-data-structures
kingwl 2530bf8aa3 fix(sandbox): address PR #309 review — TOCTOU direction, denial metadata, shared roots, docs
- fs-sandbox: delegate the mutation with the freshly re-canonicalized target
  (not the stale one), so the checked identity is the mutated identity — a
  symlink swapped in after resolve() can no longer escape workspace-write.
- tool-fs: map a denial to an FsError carrying FS_SANDBOX_DENIED (not a plain
  Error), so ToolRegistry keeps the structured code on result.error for
  retry/observers while the message stays the shared marker.
- sandbox-local: derive the Seatbelt writable set from the shared
  writableRoots() helper, so the profile and the fs fence cannot drift.
- gen-doc-graphs: ctx.sandboxPolicy is owned by dsh-sandbox-policy and read only
  by the sandboxed executor/provider (the tool layers use the pure fold).
- docs: bash-sandbox/bash/permission READMEs and bash.md reflect the relocated
  policy home and the sandbox/mode rename; drop the stale stdout.golden.jsonl.
2026-07-20 13:59:18 +08:00
..
approval.md docs: include JSDoc in type-equiv blocks 2026-07-19 12:25:40 +08:00
bash.md fix(sandbox): address PR #309 review — TOCTOU direction, denial metadata, shared roots, docs 2026-07-20 13:59:18 +08:00
code-runtime.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
compaction.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
core.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
filesystem.md Merge remote-tracking branch 'origin/master' into cross-family-fs-sandbox 2026-07-20 11:44:37 +08:00
llm-streaming.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
persistence.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
sandbox.md docs: include JSDoc in type-equiv blocks 2026-07-19 12:25:40 +08:00
scope.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
session-query.md docs: include JSDoc in type-equiv blocks 2026-07-19 12:25:40 +08:00
session.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
skills.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
spill.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
subagent.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
system-prompt.md docs: include JSDoc in type-equiv blocks 2026-07-19 12:25:40 +08:00
tasks.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
token-meter.md docs: include JSDoc in type-equiv blocks 2026-07-19 12:25:40 +08:00
tools.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
user-interaction.md Merge latest origin/master into feat/tui-package 2026-07-19 12:47:05 +08:00
web.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00
workflow.md Rename RFCs to Agent Notes 2026-07-19 22:52:03 +08:00