deepseek-harness/docs
Chinesezjc 2df28fd249 fix(code-runtime-python): validate explicit pythonBin at load, snapshot bindings, and settle the reply drain
Review findings on the CPython backend: an explicit pythonBin path bypassed
the load-time checks (missing/non-executable/directory paths surfaced only
as a run-time worker-exit); a throwing binding member accessor escaped the
fd-3 data callback and terminated the host; the reply drain waited on
'drain' alone, so a pipe destroyed under the wait hung forever; and two
staging-leak assertions diffed a global tmpdir that parallel workers can
perturb.

resolvePythonBin now applies the same accessSync(X_OK) + isFile check to
explicit paths (resolved against the host CWD), and the load error message
distinguishes 'is not an executable regular file' from 'does not resolve on
PATH'. validateBindings snapshots callables into a plain record during run()'s
synchronous validation, turning an accessor throw into the seam-misuse
rejection and fixing the key set the boot frame and dispatch share. The reply
drain waits on drain/close/error together and short-circuits on
proto.destroyed. The staging-leak assertions check the exact paths this test
file staged (recorded by the mocked mkdtempSync) instead of a tmpdir diff.

docs(code-runtime-python): add the alternatives section to the hardening note

docs(config-catalog): refresh the code-runtime-python Config source line

test(code-runtime-python): cover the async spawn-error worker-exit path
2026-08-31 15:25:26 +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): stop calling the private experimental Python backend published 2026-08-31 15:17:56 +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 Merge remote-tracking branch 'origin/master' into worktree/steer-followup-images 2026-08-28 15:19:28 +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): validate explicit pythonBin at load, snapshot bindings, and settle the reply drain 2026-08-31 15:25:26 +08:00
config-catalog.md fix(code-runtime-python): validate explicit pythonBin at load, snapshot bindings, and settle the reply drain 2026-08-31 15:25:26 +08:00
config-catalog.zh.md fix(code-runtime-python): validate explicit pythonBin at load, snapshot bindings, and settle the reply drain 2026-08-31 15:25:26 +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 refactor(code-runtime-python): move the package into packages/experimental 2026-08-31 15:13:55 +08:00
module-graph.md refactor(code-runtime-python): move the package into packages/experimental 2026-08-31 15:13:55 +08:00
module-graph.zh.md refactor(code-runtime-python): move the package into packages/experimental 2026-08-31 15:13:55 +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 docs: rescan rebased documentation hierarchy 2026-08-05 16:16:57 +08:00
web-styling.zh.md docs(i18n): localize Chinese internal links 2026-08-18 19:00:37 +08:00