浏览代码

docs(acp): drop PR-letter ref from dispose test comment (review)

The disconnect-mid-prompt test comment said "PR D's per-agent AgentHandle
teardown", narrating the change's origin. Per the repo doc-current-state
convention, state the mechanism (the session's AgentHandle teardown) without
naming the PR that introduced it.
Tianyi Cui 3 月之前
父节点
当前提交
44762efbd7
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      packages/acp/tests/dispose.spec.ts

+ 1 - 1
packages/acp/tests/dispose.spec.ts

@@ -85,7 +85,7 @@ describe('acp bridge — disposal & HMR safety', () => {
 
   it('a client disconnect mid-prompt disposes the session (no registered agent left)', async () => {
     // The ACP transport closes (editor quits) while a turn runs. The bridge must
-    // settle the in-flight prompt cancelled and DISPOSE the agent (PR D's
+    // settle the in-flight prompt cancelled and DISPOSE the agent (the session's
     // per-agent AgentHandle teardown) rather than leaving an orphaned running —
     // or even idled-but-still-registered — agent whose updates are swallowed.
     const harness = await makeBridgeHarness({ storageDir, script: ['hang'] })