From 7a72fc0a1ff662471a38fdfda0cf8844bf3ceb0c Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Tue, 15 Sep 2026 01:29:31 -0700 Subject: [PATCH] docs(agent-launch): stop the receipt-wording comment claiming a migration The decision was never moved out of orchestration-worker-start-mode; this PR adds a second copy beside it. Say so, and name the unenforced agreement. --- ...stration-worker-start-receipt-wording.test.ts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main/runtime/rpc/methods/orchestration-worker-start-receipt-wording.test.ts b/src/main/runtime/rpc/methods/orchestration-worker-start-receipt-wording.test.ts index 9ead671775f..b52263ba791 100644 --- a/src/main/runtime/rpc/methods/orchestration-worker-start-receipt-wording.test.ts +++ b/src/main/runtime/rpc/methods/orchestration-worker-start-receipt-wording.test.ts @@ -1,12 +1,16 @@ /** * The exact sentences `orchestration.workerStart` puts in its mode receipt. * - * These were unpinned when the decision moved to `main/agent-launch/agent-launch-mode`: the - * existing suites assert `toContain` fragments ('terminal agent', 'cannot create'), and the CLI - * suite asserts a receipt handed to it by a mock rather than one this code produced. Every one of - * them stayed green against a deliberately corrupted vocabulary, so nothing was actually holding - * the wording. A dispatch receipt is the only place a structured→terminal downgrade explains - * itself, so the whole sentence is the contract, not a fragment of it. + * These were never pinned: the existing suites assert `toContain` fragments ('terminal agent', + * 'cannot create'), and the CLI suite asserts a receipt handed to it by a mock rather than one + * this code produced. Every one of them stayed green against a deliberately corrupted vocabulary, + * so nothing was actually holding the wording. A dispatch receipt is the only place a + * structured→terminal downgrade explains itself, so the whole sentence is the contract, not a + * fragment of it. + * + * This pins orchestration's own module, which this PR leaves in place. The neutral + * `agent-launch/agent-launch-mode` it introduces is a second copy of the same policy; nothing yet + * enforces that the two agree. */ import { describe, expect, it } from 'vitest'