From 60fd8e81e30db2b7ce4c7ea19b60b08f6ea91135 Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Tue, 25 Aug 2026 01:25:01 -0700 Subject: [PATCH] docs(terminal): name the flag the code actually sets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The suite header cited `synthesizeTerminalTitle: false`; the profiles set `synthesizeWorkingTitle: false`. The distinction is the whole reason the narrower flag was chosen — terminal-state frames still carry the pane's agent identity downstream — so the wrong name buried the rationale. Co-authored-by: Seongho.Bak <49228032+psh4607@users.noreply.github.com> --- src/shared/omp-pi-semantic-title-preservation.test.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/shared/omp-pi-semantic-title-preservation.test.ts b/src/shared/omp-pi-semantic-title-preservation.test.ts index 08cdc222a21..9c4393c3864 100644 --- a/src/shared/omp-pi-semantic-title-preservation.test.ts +++ b/src/shared/omp-pi-semantic-title-preservation.test.ts @@ -14,9 +14,10 @@ * "Pi" — `normalizeTerminalTitle` collapsing our own extension's output to a hardcoded * literal, discarding the session name and cwd along with it (#16093). * - * The fix removes both: the agent owns its OSC title (`synthesizeTerminalTitle: false`, - * the OpenCode precedent), and the normalizer canonicalizes only the rotating braille frame - * so consecutive frames dedupe while the label survives. + * The fix removes both: the agent owns the title it animates (`synthesizeWorkingTitle: false` + * — not the stronger `synthesizeTerminalTitle: false`, because terminal-state frames still + * carry the pane's agent identity downstream), and the normalizer canonicalizes only the + * rotating braille frame so consecutive frames dedupe while the label survives. */ import { describe, expect, it } from 'vitest' import { detectAgentStatusFromTitle, normalizeTerminalTitle } from './agent-title-status'