Просмотр исходного кода

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 месяцев назад
Родитель
Сommit
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'] })