deepseek-harness/docs
Tianyi Cui 3672cd25b4 feat(subprocess): migrate lsp-local, subagent-acp, and the env scrubs onto the seam
Review direction (tianyicui, PR #660): in a stacked PR, change all other
process-running places to use the new service.

- lsp-local: LspConnection spawns through ctx.subprocess (piped protocol
  streams + a no-spill collected stderr tail); its private process-tree
  helpers (POSIX group signalling, Windows taskkill, liveness polling) are
  deleted in favor of the seam's handle verbs, and its buildChildEnv now
  rides scrubbedParentEnv (LSP children also stop inheriting stale DSH_*).
  The plugin injects 'subprocess'; compositions/tests mount
  dsh-subprocess-local.
- subagent-acp: the ACP child spawns through the seam (piped ndjson streams,
  inherited stderr); spawn failure surfaces through done-rejection into the
  same startup race; disposal is handle.dispose with the plugin's configured
  graces. dsh-subagent-subprocess is DELETED — its dispose ladder and scrub
  are the seam's, and the isolated-config-dir helper had no consumer.
- mcp-client, pty-local, sdk-helper: adopt scrubbedParentEnv as the one
  scrub definition (their spawns stay put by ownership: the MCP SDK and
  node-pty own those calls; the SDK wizard runs outside any composition).
- Coverage: per-file 100% over every touched src file, with each v8 ignore
  carrying a platform or contract reason; new suites cover stdio
  dispositions, the dispose ladder tiers, injected-win32 tree semantics,
  waitForExit, settled-kill/terminate no-ops, and spawn-failure disposal.
- Docs: consumer-migration Agent Note (en; zh follows in this PR), seam note
  updated in place, subprocess.md rewritten for the reshaped vocabulary
  (type-equiv re-registered), READMEs and SERVICE_ROLES updated, taskkill
  added to knip ignoreBinaries.
2026-07-26 15:27:59 +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 feat(subprocess): migrate lsp-local, subagent-acp, and the env scrubs onto the seam 2026-07-26 15:27:59 +08:00
cordis-tutorial refactor: drop obsolete expose-internals flag 2026-07-23 20:35:09 +08:00
core-data-structures feat(subprocess): migrate lsp-local, subagent-acp, and the env scrubs onto the seam 2026-07-26 15:27:59 +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 fix(subprocess): finish the rename in current-state docs and graph inputs 2026-07-26 14:10:46 +08:00
architecture.md fix(subprocess): finish the rename in current-state docs and graph inputs 2026-07-26 14:10:46 +08:00
architecture.zh.md fix(subprocess): finish the rename in current-state docs and graph inputs 2026-07-26 14:10:46 +08:00
capability-seams.md feat(subprocess): migrate lsp-local, subagent-acp, and the env scrubs onto the seam 2026-07-26 15:27:59 +08:00
config-catalog.md feat(subprocess): migrate lsp-local, subagent-acp, and the env scrubs onto the seam 2026-07-26 15:27:59 +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(web): add workspace-aware session flow 2026-07-25 17:45:26 +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 feat(subprocess): migrate lsp-local, subagent-acp, and the env scrubs onto the seam 2026-07-26 15:27:59 +08:00
persistence-catalog.md docs(agent-notes): consolidate superseded decisions 2026-07-25 16:43:07 +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(session-query): keep model tools opt-in 2026-07-25 18:14:36 +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