Files
deepseek-harness/packages/subprocess/README.zh.md
T
Tianyi Cui a7a5be1703 docs(notes): archive low-future-value Agent Notes
Run the dsh-archive-agent-notes audit over every active Agent Note on
current master, judging each record by whether its rationale still guides
work rather than by size or age.

- Archive 453 implemented bilingual triplets (417,882 English words):
  completed UI chrome, narrow adapters, closed bug fixes, implementation
  walkthroughs whose package READMEs, docs pages, generators, or successor
  notes now carry the useful behavior, and 51 records fully superseded by
  a later active note. Keep 201 implemented notes whose ownership rules,
  negative guarantees, durable or wire semantics, security rules,
  reintroduction conditions, or still-tempting rejected alternatives
  remain useful.
- Reject 7 proposals whose premise is gone or whose work shipped in
  amended form under other records; delete 2 rejected notes that no
  longer prevent a plausible mistake.
- Retarget every remaining inbound link to the archived path, and repair
  active prose that named an archived record as the owner of a live fact:
  parenthetical citations drop, ownership sentences redirect to the
  README, docs page, or active note that states the fact, and history
  citations say so. Chinese files link the English archived path because
  the pairing gate treats the frozen tree as outside the bilingual corpus.
- Seal 1,359 new frozen artifacts; existing seals are unchanged and
  outbound links from archived notes are neither inspected nor repaired.
- Regenerate docs/config-catalog.md after the hook-bridge comment edits
  shifted two source line numbers.
2026-09-05 14:37:32 +08:00

2.1 KiB

description, kind
description kind
subprocess 组地图:共享的子进程服务及其本地宿主提供方,供浏览本组的用户与维护者阅读。 package-group

subprocess/:子进程能力家族

English | 中文

概述

harness 运行的每个子进程与终端会话——bash 命令、语言服务器、持久 shell 与进程外 subagent 后端——都经由一个共享服务(ctx.subprocess)启动、观察与终止,并由一个本地提供方在宿主机器上执行。它不是独立的产品功能:消费方能力 seam 决定每个进程的含义,命令语义、时限与面向模型的呈现仍归它们所有。本组提供可执行文件查找、带 spill 恢复的有界输出捕获、整棵进程树的终止,以及每个子进程起步时所用的清理后环境。

目录


职责 ctx 键
subprocess 定义子进程服务:可执行文件查找、受管进程 spawn 与真实终端会话 ctx.subprocess
subprocess-local 在宿主机器上运行这些进程与终端 spawn 注册到 ctx.subprocess
win32-process 归属受限进程创建、stdio、Job 分配、等待与句柄清理所用的共享 Win32 绑定 库,不使用 ctx key

即使消费方重载,进程生命周期仍由服务负责管理;消费方负责定义进程的含义(一条 bash 命令、一个语言服务器),以及决定塑造该进程的每一项默认值。


相关文档


开发备注

维护者的工作上下文——点击展开

无。