deepseek-harness/docs
kingwl 7a2dff8b11 fix(mode): address PR #239 review — boundary flush ordering, disposal fence, config validation, TUI plan config
Four ds-review-bot findings:
- examples/tui-agent composed dsh-mode without the now-required
  modes.plan.section, so the TUI leaf failed at Loader startup (the keyless
  smoke only asserts the banner and missed it); graft the same deployment
  plan instructions the ACP leaf carries.
- The prompt-submit and turn-continuation flushes ran before next(), so a
  session/set_mode arriving while a downstream async listener (the shipped
  hooks listeners' shape) awaited applied one request late; both listeners
  now prepend and flush after next(), matching the request-error wrapper,
  with a regression test pinning the ordering.
- An HMR unload during the exit_plan_mode review let a later approval write
  into the disposed service and claim an exit whose flush could never land;
  the execute path now checks the fiber lifetime after the await and fails
  the call (the mode stays plan; the model re-presents).
- resolveConfig accepted empty/untrimmed mode names that list()/ACP then
  advertised while the package invariant rejected their selection,
  desynchronizing the picker; names are validated non-empty and trimmed at
  load, the same shape the invariant enforces.
2026-07-22 09:58:57 +08:00
..
cookbook Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:13:39 +08:00
cordis-catalog fix(mode): address PR #239 review — boundary flush ordering, disposal fence, config validation, TUI plan config 2026-07-22 09:58:57 +08:00
core-data-structures Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
i18n Merge remote-tracking branch 'origin/master' into codex/remove-stdio-agent 2026-07-20 20:20:21 +08:00
postmortem Remove the stdio agent 2026-07-20 19:26:04 +08:00
user Remove the Echo agent 2026-07-20 20:16:41 +08:00
agent-lifecycle.md Merge master into tool-result pruning 2026-07-19 17:54:55 +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 feat/plan-mode 2026-07-22 02:28:47 +08:00
architecture.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
architecture.zh.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
capability-seams.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
config-catalog.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
cordis-primer.md fix(snapshot): register filesystem tools through explicit overlay 2026-07-14 21:25:58 +08:00
defensive-patterns.md feat(agent-loop): give each send its own turn 2026-07-17 17:14:52 +08:00
development.i18n.yaml Merge remote-tracking branch 'origin/master' into chore/doc-sync-single-pass 2026-07-21 11:29:49 +08:00
development.md Merge remote-tracking branch 'origin/master' into chore/doc-sync-single-pass 2026-07-21 11:29:49 +08:00
development.zh.md Merge remote-tracking branch 'origin/master' into chore/doc-sync-single-pass 2026-07-21 11:29:49 +08:00
event-producer-consumer.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
glossary.md Merge branch 'codex/goal-commands' into codex/ralph-tool 2026-07-20 21:05:05 +08:00
graph-atlas.md refactor(examples): fold plan mode into ACP demo 2026-07-21 00:40:15 +08:00
module-graph.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
persistence-catalog.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:28:47 +08:00
testing.md Condense snapshot testing policy 2026-07-20 23:24:43 +08:00
tool-catalog.md Merge remote-tracking branch 'origin/master' into feat/plan-mode 2026-07-22 02:13:39 +08:00
tool-execution-pipeline.md Merge current master into debug-pangwenjie 2026-07-18 13:39:12 +08:00