deepseek-harness/docs
Chinesezjc 6f58f9c336 fix(code-runtime-python): pace concurrent binding replies against fd 3
`sendReply` ignored `proto.write`'s `false` return, so a program resolving
several large values in one `asyncio.gather` round encoded every reply in the
same turn and queued all of them in fd 3's writable buffer. Binding resolution
carries no seam-level byte cap to bound that, and the failure kills the host
process rather than failing the run: measured on a 64 KiB-highWaterMark pipe,
eight 4 MiB replies buffered 32.0 MiB at once against 0.0 MiB once paced.

Replies now go through a queue that encodes and writes one frame at a time,
awaiting `drain` when the pipe is full. The encode happens inside the loop, so a
queued reply the run no longer needs is dropped by the `settled` check without
ever being serialized.

This was previously deferred on the grounds that serializing would narrow the
seam's concurrency contract. That reasoning was wrong: the child matches each
reply to its `call` by id from a pump that reads fd 3 continuously, so arrival
order was never observable, and the bindings still run concurrently. Only the
host's peak memory and the flush timing change. The README entry recording the
deferral is removed and the Agent Note records the mechanism instead.
2026-08-31 14:33:31 +08:00
..
cookbook docs: describe runtime dependency ownership 2026-08-30 02:29:53 +08:00
cordis-api docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
cordis-tutorial docs: describe runtime dependency ownership 2026-08-30 02:29:53 +08:00
i18n refactor(bundle): remove the agent spine demo 2026-08-31 11:23:30 +08:00
postmortem docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
subsystems docs(code-runtime-python): correct the claims the new backend invalidated 2026-08-31 14:28:26 +08:00
user docs: describe runtime dependency ownership 2026-08-30 02:29:53 +08:00
agent-lifecycle.i18n.yaml fix(web): show system prompts in chat 2026-08-25 14:44:08 +08:00
agent-lifecycle.md fix(web): show system prompts in chat 2026-08-25 14:44:08 +08:00
agent-lifecycle.zh.md fix(web): show system prompts in chat 2026-08-25 14:44:08 +08:00
AGENTS.md docs(testing): state the concurrent execution model where tests are written 2026-08-29 15:31:12 +08:00
api-gateway.i18n.yaml docs: describe runtime dependency ownership 2026-08-30 02:29:53 +08:00
api-gateway.md docs: describe runtime dependency ownership 2026-08-30 02:29:53 +08:00
api-gateway.zh.md docs: describe runtime dependency ownership 2026-08-30 02:29:53 +08:00
architecture.i18n.yaml Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images 2026-08-28 15:19:28 +08:00
architecture.md Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images 2026-08-28 15:19:28 +08:00
architecture.zh.md fix(session-projection): preserve optional registrations 2026-08-26 16:51:36 +08:00
capability-seams.i18n.yaml refactor(session)!: remove SQLite persistence backend 2026-08-31 13:23:07 +08:00
capability-seams.md refactor(session)!: remove SQLite persistence backend 2026-08-31 13:23:07 +08:00
capability-seams.zh.md refactor(session)!: remove SQLite persistence backend 2026-08-31 13:23:07 +08:00
config-catalog.i18n.yaml fix(code-runtime-python): pace concurrent binding replies against fd 3 2026-08-31 14:33:31 +08:00
config-catalog.md fix(code-runtime-python): pace concurrent binding replies against fd 3 2026-08-31 14:33:31 +08:00
config-catalog.zh.md fix(code-runtime-python): pace concurrent binding replies against fd 3 2026-08-31 14:33:31 +08:00
cordis-primer.i18n.yaml docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
cordis-primer.md docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
cordis-primer.zh.md docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
deepseek-llm-api-wire-extensions.i18n.yaml Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events" 2026-08-30 12:26:20 +08:00
deepseek-llm-api-wire-extensions.md Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events" 2026-08-30 12:26:20 +08:00
deepseek-llm-api-wire-extensions.zh.md Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events" 2026-08-30 12:26:20 +08:00
defensive-patterns.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
defensive-patterns.md docs: add junction-safe unlink rule to defensive patterns 2026-08-13 15:16:12 +08:00
defensive-patterns.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
development.i18n.yaml rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00
development.md rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00
development.zh.md rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00
event-producer-consumer.i18n.yaml Merge origin/master into worktree/steer-followup-images 2026-08-31 10:37:39 +08:00
event-producer-consumer.md Merge origin/master into worktree/steer-followup-images 2026-08-31 10:37:39 +08:00
event-producer-consumer.zh.md Merge origin/master into worktree/steer-followup-images 2026-08-31 10:37:39 +08:00
glossary.i18n.yaml docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
glossary.md docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
glossary.zh.md docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
graph-atlas.i18n.yaml refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
graph-atlas.md refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
graph-atlas.zh.md refactor(repo): retire top-level examples 2026-08-24 22:02:44 +08:00
module-graph.i18n.yaml docs: regenerate module graph for the code-runtime-python dependency 2026-08-31 14:16:47 +08:00
module-graph.md docs: regenerate module graph for the code-runtime-python dependency 2026-08-31 14:16:47 +08:00
module-graph.zh.md docs: regenerate module graph for the code-runtime-python dependency 2026-08-31 14:16:47 +08:00
persistence-catalog.i18n.yaml Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events" 2026-08-30 12:26:20 +08:00
persistence-catalog.md Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events" 2026-08-30 12:26:20 +08:00
persistence-catalog.zh.md Revert "Merge pull request #3087 from deepseek-harness/worktree/remove-ignorable-session-events" 2026-08-30 12:26:20 +08:00
rescope.i18n.yaml docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
rescope.md docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
rescope.zh.md docs: rebuild the documentation skill and standards (#2983) 2026-08-25 23:47:20 +08:00
testing.i18n.yaml docs(testing): state the concurrent execution model where tests are written 2026-08-29 15:31:12 +08:00
testing.md docs(testing): state the concurrent execution model where tests are written 2026-08-29 15:31:12 +08:00
testing.zh.md docs(testing): state the concurrent execution model where tests are written 2026-08-29 15:31:12 +08:00
tool-catalog.i18n.yaml fix(tool-fs): accept extension-less attachment paths in read_image 2026-08-28 15:02:04 +08:00
tool-catalog.md fix(tool-fs): accept extension-less attachment paths in read_image 2026-08-28 15:02:04 +08:00
tool-catalog.zh.md fix(tool-fs): accept extension-less attachment paths in read_image 2026-08-28 15:02:04 +08:00
tool-execution-pipeline.i18n.yaml fix: align mode-value prose and stale persistent mentions with the split 2026-08-27 23:14:32 +08:00
tool-execution-pipeline.md rename code-mode to ptc (PTC mode), except session-persistent vocabulary 2026-08-27 23:14:31 +08:00
tool-execution-pipeline.zh.md fix: align mode-value prose and stale persistent mentions with the split 2026-08-27 23:14:32 +08:00
web-styling.i18n.yaml docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00
web-styling.md
web-styling.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00