From f43898ab73e789beee86ce2c37a217a398d45f82 Mon Sep 17 00:00:00 2001 From: Nillo Date: Thu, 18 Jun 2026 19:55:13 +0200 Subject: [PATCH] fix(tui): distinguish the act:write autonomy gate row from the read-only scanner row MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The act gate table rendered 'autonomy.enabled=true' twice — once for the read-only scanner (autonomy_enabled) and once for act:write (write_autonomy_enabled) — with identical text. Label the act:write row '(act:write master switch)' so it reads as a distinct gate. Tests: preflight + tui focused suites pass (42). Co-Authored-By: Claude Opus 4.8 --- plugins/contextrelay/server/daemon.js | 2 +- src/session/idle-scanner-preflight.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/contextrelay/server/daemon.js b/plugins/contextrelay/server/daemon.js index 36bb3ef..b5c3b1d 100755 --- a/plugins/contextrelay/server/daemon.js +++ b/plugins/contextrelay/server/daemon.js @@ -9312,7 +9312,7 @@ function describeActModeGates(config, env = process.env, options = {}) { { gate: "write_autonomy_enabled", ok: autonomy.enabled, - detail: autonomy.enabled ? "autonomy.enabled=true" : `autonomy.enabled=false (act:write master switch is closed)`, + detail: autonomy.enabled ? "autonomy.enabled=true (act:write master switch)" : `autonomy.enabled=false (act:write master switch is closed)`, how: `run "${SHORT_BIN} autonomy on"` }, { diff --git a/src/session/idle-scanner-preflight.ts b/src/session/idle-scanner-preflight.ts index 9f943b6..d5c75b6 100644 --- a/src/session/idle-scanner-preflight.ts +++ b/src/session/idle-scanner-preflight.ts @@ -101,7 +101,7 @@ export function describeActModeGates( { gate: "write_autonomy_enabled", ok: autonomy.enabled, - detail: autonomy.enabled ? "autonomy.enabled=true" : `autonomy.enabled=false (act:write master switch is closed)`, + detail: autonomy.enabled ? "autonomy.enabled=true (act:write master switch)" : `autonomy.enabled=false (act:write master switch is closed)`, how: `run "${SHORT_BIN} autonomy on"`, }, {