deepseek-harness/docs
kingwl 976deda91b fix(mode): run_code passes both layers as a transport — Code Mode composes with plan mode
Review finding, valid: under the registry's Code Mode the assembly's
only wire tool is run_code, which the plan allowlist filtered out —
leaving the model with NO tools at all, the exit review included. The
composition exists today (the acp-agent example ships a code-mode
overlay), so plan mode bricked it outright.

run_code is a transport, not a capability: every bridged sub-call is
serialized back through ToolRegistry.execute() carrying the same agent,
so tools/pre-execute judges each capability individually — exactly like
native calls. Both layers now exempt it by name: the filter keeps it
visible (tests pin plan-mode Code Mode assembly = ['run_code']) and the
gate passes the wrapper while the same run's write sub-call still
denies with the plan-mode reason.

Documented residual, same class as the prepend-after-load one: the SDK
section renders from the registry's store, so a plan-mode program may
be offered bindings whose dispatch the gate then denies — nothing runs
that a native call could not.
2026-07-10 20:26:59 +08:00
..
cookbook docs(rfc): plan mode to implemented — amendments folded on the way 2026-07-10 03:10:19 +08:00
cordis-catalog fix(mode): prepend the assemble filter; structured_output joins the plan allowlist 2026-07-10 18:35:44 +08:00
core-data-structures Merge remote-tracking branch 'origin/master' into code-mode-tools 2026-07-09 22:58:58 +08:00
i18n docs: equal-authority pairing with sidecar consistency records 2026-07-03 07:41:24 -07:00
postmortem fix(docs): address Codex review round 3 — last three moved-policy citations 2026-07-04 16:02:39 +08:00
rfc fix(mode): run_code passes both layers as a transport — Code Mode composes with plan mode 2026-07-10 20:26:59 +08:00
agent-lifecycle.md docs: address graph review placement 2026-07-05 02:54:01 +08:00
AGENTS.md docs: tighten development onboarding wording 2026-07-07 19:03:14 +08:00
architecture.md docs(rfc): plan mode to implemented — amendments folded on the way 2026-07-10 03:10:19 +08:00
capability-seams.md feat(mode): exit_plan_mode + the ACP session-mode picker + scriptable review answers 2026-07-10 02:57:40 +08:00
config-catalog.md feat(mode): exit_plan_mode + the ACP session-mode picker + scriptable review answers 2026-07-10 02:57:40 +08:00
cordis-primer.md docs: split cordis primer from architecture map 2026-07-05 19:07:34 +08:00
defensive-patterns.md docs(AGENTS): rewrite the root standing orders to the 1,500-word budget 2026-07-04 14:22:47 +08:00
development.i18n.yaml Merge remote-tracking branch 'origin/master' into worktree-node-22-18-compat 2026-07-07 21:33:40 +08:00
development.md Merge remote-tracking branch 'origin/master' into worktree-node-22-18-compat 2026-07-07 21:33:40 +08:00
development.zh.md Merge remote-tracking branch 'origin/master' into worktree-node-22-18-compat 2026-07-07 21:33:40 +08:00
event-producer-consumer.md feat(mode): the session-mode core — logged per-agent policy state (@deepseek-ai/dsh-mode) 2026-07-10 01:38:39 +08:00
graph-atlas.md feat(mode): exit_plan_mode + the ACP session-mode picker + scriptable review answers 2026-07-10 02:57:40 +08:00
module-graph.md feat(mode): exit_plan_mode + the ACP session-mode picker + scriptable review answers 2026-07-10 02:57:40 +08:00
persistence-catalog.md feat(mode): exit_plan_mode + the ACP session-mode picker + scriptable review answers 2026-07-10 02:57:40 +08:00
testing.md Merge remote-tracking branch 'origin/master' into code-runtime-worker 2026-07-08 14:44:23 +08:00
tool-catalog.md fix(mode): an approved exit leaves plan mode at the step boundary, not mid-batch 2026-07-10 10:35:43 +08:00
tool-execution-pipeline.md Merge remote-tracking branch 'origin/master' into code-mode-tools 2026-07-09 13:30:26 +08:00