deepseek-harness/docs
Tianyi Cui c3c10820ba fix(tools): bound the shaped-append side channel; total error containment; recorded spill snapshot
Responding to ds-review-bot round 2 on #661:

- logWork is bounded: past maxParallelSubCalls pending shaped-append tasks
  the ordered commit lane holds (Promise.race drains one), so a slow spill
  backend backpressures the run instead of accumulating unbounded pending
  I/O and retained results. Tasks self-remove on settlement; run
  settlement still drains every task inside the open turn. New spill test
  drives three oversized reads against a hung backend at cap 1 and proves
  the third dispatch cannot start until a save drains.
- shapeDispatchLog's catch uses errorMessage() (total), so a thrown value
  with a throwing toString cannot escape the containment and lose the
  settle event.
- CodeDispatchLog.content documented as the RENDERED result projection
  (native tool/result vocabulary), not what the program received — the
  program gets the structured value; doc pair + type-equiv re-synced.
- New RECORDED tui-agent snapshot scenario code-mode-dispatch-spill: the
  real Loader-visible composition (worker runtime + spill-local + policy)
  drives an oversized bash sub-call end-to-end; replay proves the durable
  dispatch copy is bounded to preview + locator while the program value
  stays whole (the outer result carries just the line count).

Agent Note updated (both languages).
2026-07-26 18:29:09 +08:00
..
cookbook docs(i18n): mirror ACP-automation edits into the zh pairs from master 2026-07-25 01:58:42 +08:00
cordis-catalog fix(tools): bound the shaped-append side channel; total error containment; recorded spill snapshot 2026-07-26 18:29:09 +08:00
cordis-tutorial refactor: drop obsolete expose-internals flag 2026-07-23 20:35:09 +08:00
core-data-structures fix(tools): bound the shaped-append side channel; total error containment; recorded spill snapshot 2026-07-26 18:29:09 +08:00
i18n Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-24 21:20:17 +08:00
postmortem docs(i18n): mirror ACP-automation edits into the zh pairs from master 2026-07-25 01:58:42 +08:00
user refactor(acp): reduce bridge to automation protocol 2026-07-24 01:40:25 +08:00
agent-lifecycle.md refactor(agent): align delivery method names 2026-07-24 15:08:36 +08:00
AGENTS.md docs: restore generated Cordis core API 2026-07-20 16:33:44 +08:00
architecture.i18n.yaml Merge remote-tracking branch 'origin/master' into session-query-tool 2026-07-25 14:17:24 +08:00
architecture.md Merge remote-tracking branch 'origin/master' into session-query-tool 2026-07-25 14:17:24 +08:00
architecture.zh.md Merge remote-tracking branch 'origin/master' into session-query-tool 2026-07-25 14:17:24 +08:00
capability-seams.md Merge remote-tracking branch 'origin/master' into session-query-tool 2026-07-25 18:27:39 +08:00
config-catalog.md fix(tools): bound the shaped-append side channel; total error containment; recorded spill snapshot 2026-07-26 18:29:09 +08:00
cordis-primer.i18n.yaml docs(i18n): clarify Cordis and test wording 2026-07-24 14:21:15 +08:00
cordis-primer.md Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-23 13:40:29 +08:00
cordis-primer.zh.md docs(i18n): clarify Cordis and test wording 2026-07-24 14:21:15 +08:00
defensive-patterns.i18n.yaml Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-24 21:20:17 +08:00
defensive-patterns.md Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-24 21:20:17 +08:00
defensive-patterns.zh.md Merge remote-tracking branch 'origin/master' into worktree/pr343-retarget-latest-master 2026-07-24 21:20:17 +08:00
development.i18n.yaml refactor(acp): reduce bridge to automation protocol 2026-07-24 01:40:25 +08:00
development.md refactor(acp): reduce bridge to automation protocol 2026-07-24 01:40:25 +08:00
development.zh.md refactor(acp): reduce bridge to automation protocol 2026-07-24 01:40:25 +08:00
event-producer-consumer.md feat(spill): bound the durable copy of Code Mode sub-dispatch results 2026-07-26 09:01:03 +08:00
glossary.i18n.yaml docs: align Goal Round step cardinality 2026-07-24 12:10:40 +08:00
glossary.md docs: align Goal Round step cardinality 2026-07-24 12:10:40 +08:00
glossary.zh.md docs(i18n): allow zero-step Goal Rounds 2026-07-23 21:13:34 +08:00
graph-atlas.md refactor(acp): reduce bridge to automation protocol 2026-07-24 01:40:25 +08:00
module-graph.md Merge branch 'master' into worktree/llm-mock-fault-server 2026-07-26 00:45:44 +08:00
persistence-catalog.md fix(tools): close scheduler coverage gaps; regen persistence catalog 2026-07-26 13:24:34 +08:00
testing.i18n.yaml Merge remote-tracking branch 'origin/master' into web-e2e-lane 2026-07-25 14:20:19 +08:00
testing.md Merge remote-tracking branch 'origin/master' into web-e2e-lane 2026-07-25 14:20:19 +08:00
testing.zh.md Merge remote-tracking branch 'origin/master' into web-e2e-lane 2026-07-25 14:20:19 +08:00
tool-catalog.md fix: address review — staged scheduler, start-time reclassification, catalogs 2026-07-26 10:33:48 +08:00
tool-execution-pipeline.md Merge remote-tracking branch 'origin/master' into feat/send-unify 2026-07-23 22:41:45 +08:00
web-styling.md refactor(gui): slot system standard — single register, four props shares, framework store seat 2026-07-23 03:25:11 +08:00