From f6bac9d7f853bf459d0e12b0f053da9af6fcf066 Mon Sep 17 00:00:00 2001 From: dafuga Date: Sat, 28 Nov 2026 14:03:09 +0000 Subject: [PATCH 1/6] chore: reproduce stale Tracker CLI in managed sessions --- .../tracker-native-alert-host-work/loop.json | 61 +++++++++++++++++++ .../trace.ndjson | 4 ++ .../tracker-managed-host-launcher.test.ts | 10 ++- test/support/trackerManagedProviderProgram.ts | 1 + .../trackerNativeInvocationAssertions.ts | 46 ++++++++++++++ 5 files changed, 120 insertions(+), 2 deletions(-) create mode 100644 specification/loops/tracker-native-alert-host-work/loop.json create mode 100644 specification/loops/tracker-native-alert-host-work/trace.ndjson diff --git a/specification/loops/tracker-native-alert-host-work/loop.json b/specification/loops/tracker-native-alert-host-work/loop.json new file mode 100644 index 00000000000..16e1b974109 --- /dev/null +++ b/specification/loops/tracker-native-alert-host-work/loop.json @@ -0,0 +1,61 @@ +{ + "name": "tracker-native-alert-host-work", + "goal": "Managed Tracker sessions resolve the active installed CLI for alert and host-work after an upgrade.", + "createdAt": "2026-11-28T14:01:06.164Z", + "updatedAt": "2026-11-28T14:02:01.685Z", + "template": "bug-fix", + "templateLineage": [ + "bug-fix" + ], + "enforceOrder": true, + "regressionCommits": 1, + "steps": [ + { + "id": "spec", + "title": "Identify the failing behavior, expected behavior, and reproduction.", + "status": "complete", + "completedAt": "2026-11-28T14:01:46.042Z", + "evidence": "Run 1275 on primary Mac reproduced unavailable in native mode for alert and host-work; removing the inherited executable pin reached both live parsers. The configured tools symlink and pinned binary point to different releases." + }, + { + "id": "coverage", + "title": "Explain why existing standardized tests missed the bug; name the scenario, fixture, lifecycle or assertion gap and reusable test change.", + "status": "complete", + "completedAt": "2026-11-28T14:01:59.218Z", + "evidence": "The existing managed-worker roundtrip uses a regular harness fixture and does not invoke the installed Tracker shim with the launched environment. Exercise the same lifecycle with a CLI symlink rotated across fixture releases." + }, + { + "id": "red", + "title": "Strengthen the existing standardized test; commit it before repair, run it failing with loop record --phase red, and preserve the assertion.", + "status": "pending" + }, + { + "id": "implement", + "title": "Implement the smallest repair without weakening the regression test.", + "status": "pending" + }, + { + "id": "green", + "title": "Rerun the same unchanged regression test at a separate fix commit with loop record --phase green; preserve passing proof.", + "status": "pending" + }, + { + "id": "verify", + "title": "Run relevant project checks and affected UI browser flows with fresh inspected screenshots and no unexpected browser errors; preserve diagnostics and keep pending until proof passes.", + "status": "pending" + }, + { + "id": "siblings", + "title": "Check other Tracker executable pins and deployment entrypoints.", + "status": "pending" + } + ], + "evaluators": [ + { + "id": "check", + "title": "Run the project check script.", + "command": "bun run check", + "step": "verify" + } + ] +} diff --git a/specification/loops/tracker-native-alert-host-work/trace.ndjson b/specification/loops/tracker-native-alert-host-work/trace.ndjson new file mode 100644 index 00000000000..38955fecc11 --- /dev/null +++ b/specification/loops/tracker-native-alert-host-work/trace.ndjson @@ -0,0 +1,4 @@ +{"event":"loop.created","timestamp":"2026-11-28T14:01:06.164Z","name":"tracker-native-alert-host-work","goal":"Managed Tracker sessions resolve the active installed CLI for alert and host-work after an upgrade.","template":"bug-fix","templateLineage":["bug-fix"]} +{"event":"step.completed","timestamp":"2026-11-28T14:01:46.042Z","loop":"tracker-native-alert-host-work","step":"spec","evidence":"Run 1275 on primary Mac reproduced unavailable in native mode for alert and host-work; removing the inherited executable pin reached both live parsers. The configured tools symlink and pinned binary point to different releases."} +{"event":"step.completed","timestamp":"2026-11-28T14:01:59.218Z","loop":"tracker-native-alert-host-work","step":"coverage","evidence":"The existing managed-worker roundtrip uses a regular harness fixture and does not invoke the installed Tracker shim with the launched environment. Exercise the same lifecycle with a CLI symlink rotated across fixture releases."} +{"event":"step.added","timestamp":"2026-11-28T14:02:01.685Z","loop":"tracker-native-alert-host-work","step":"siblings","title":"Check other Tracker executable pins and deployment entrypoints."} diff --git a/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts b/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts index 975864d8872..f1a0818a72e 100644 --- a/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts +++ b/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts @@ -15,7 +15,11 @@ import { verifyClaudeRefusals, verifyUnusableWorktree } from '../../support/trackerClaudeStartupFixture'; -import { verifyNativeInvocations } from '../../support/trackerNativeInvocationAssertions'; +import { + managedTrackerTools, + verifyNativeInvocations, + verifyTrackerCliUpgrade +} from '../../support/trackerNativeInvocationAssertions'; import { withTempRepo } from '../../support/temporary'; import type { TemporaryRepo } from '../../support/temporary.types'; import { measureWorkload } from '../../support/measureWorkload'; @@ -39,7 +43,8 @@ test( async function proveManagedWorker({ root, git }: TemporaryRepo) { git('commit', '--allow-empty', '-m', 'Fixture source'); const paths = managedFixtureBindings(root); - const managed = loadManagedFixture(root, paths.config); + const trackerBinDirectory = managedTrackerTools(root); + const managed = loadManagedFixture(root, { ...paths.config, trackerBinDirectory }); const { trackerManagedHostLauncher } = await import('../../../src/adapters/projects-sessions/tracker-tmux-adapter/trackerManagedHostLauncher'); const scoped = { @@ -84,6 +89,7 @@ async function proveManagedWorker({ root, git }: TemporaryRepo) { ]); await restarted.start(docker, signal); verifyWorkerInvocations(paths.profiles); + verifyTrackerCliUpgrade(trackerBinDirectory, paths.profiles.native); await verifyNativeLinux( trackerManagedHostLauncher(managed, { client, platform: 'linux' }), native diff --git a/test/support/trackerManagedProviderProgram.ts b/test/support/trackerManagedProviderProgram.ts index b83b8d9a13b..d62d6920956 100644 --- a/test/support/trackerManagedProviderProgram.ts +++ b/test/support/trackerManagedProviderProgram.ts @@ -53,6 +53,7 @@ appendFileSync(join(process.env.HOME, 'invoked.ndjson'), JSON.stringify({ brief: briefPath && readFileSync(briefPath, 'utf8'), client: JSON.parse(readFileSync(process.env.HARNESS_TRACKER_CONFIG, 'utf8')), legacy: process.env.HARNESS_TRACKER_LEGACY_BIN, + trackerExecutable: process.env.HARNESS_EXECUTABLE, guestAuthFile: process.env.HARNESS_TRACKER_GUEST_AUTH_FILE ?? null }) + '\\n'); `; diff --git a/test/support/trackerNativeInvocationAssertions.ts b/test/support/trackerNativeInvocationAssertions.ts index 7dbfb1c00e6..4c3385a9a7f 100644 --- a/test/support/trackerNativeInvocationAssertions.ts +++ b/test/support/trackerNativeInvocationAssertions.ts @@ -1,6 +1,52 @@ import { spawnSync } from 'node:child_process'; +import { mkdirSync, readFileSync, renameSync, symlinkSync, writeFileSync } from 'node:fs'; +import { join, resolve } from 'node:path'; import { expect } from 'vitest'; +export function managedTrackerTools(root: string) { + const tools = join(root, 'tools'); + mkdirSync(tools, { mode: 0o700 }); + const previous = join(root, 'previous-harness'); + writeFileSync( + previous, + `#!/bin/sh\nprintf '%s\\n' 'command is unavailable in native mode' >&2\nexit 1\n`, + { mode: 0o700 } + ); + symlinkSync(previous, join(tools, 'harness')); + symlinkSync(resolve('scripts/tracker-shim.sh'), join(tools, 'tracker')); + return tools; +} + +export function verifyTrackerCliUpgrade(tools: string, nativeProfile: string) { + const { trackerExecutable } = JSON.parse( + readFileSync(join(nativeProfile, 'invoked.ndjson'), 'utf8').trim() + ); + const active = join(tools, 'active-harness'); + writeFileSync( + active, + `#!/bin/sh\n[ "$1" = tracker ] || exit 2\ncase "$2" in\nalert|host-work) printf '%s\\n' "$2 reached the active CLI";;\n*) exit 2;;\nesac\n`, + { mode: 0o700 } + ); + const staged = join(tools, 'next-harness'); + symlinkSync(active, staged); + renameSync(staged, join(tools, 'harness')); + const commands = [ + ['alert', 'def123abc4', 'Fixture'], + ['host-work', 'ssh', 'auto', '--', 'true'] + ]; + const results = commands.map((args) => { + const result = spawnSync(join(tools, 'tracker'), args, { + env: { PATH: '/usr/bin:/bin', HOME: nativeProfile, HARNESS_EXECUTABLE: trackerExecutable }, + encoding: 'utf8' + }); + return { stderr: result.stderr, stdout: result.stdout, status: result.status }; + }); + expect(results).toEqual([ + { stderr: '', stdout: 'alert reached the active CLI\n', status: 0 }, + { stderr: '', stdout: 'host-work reached the active CLI\n', status: 0 } + ]); +} + export function verifyNativeInvocations( codex: { cwd: string }, claude: { cwd: string }, From 1d0b7913053ef8974438770f08c7b4cf417bac19 Mon Sep 17 00:00:00 2001 From: dafuga Date: Sat, 28 Nov 2026 14:05:02 +0000 Subject: [PATCH 2/6] cleanup: keep the Tracker launcher fixture within its limit --- .../tracker-managed-host-launcher.test.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts b/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts index f1a0818a72e..b480a7fb0fa 100644 --- a/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts +++ b/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts @@ -88,8 +88,7 @@ async function proveManagedWorker({ root, git }: TemporaryRepo) { { key: native.key, state: 'exited', exitCode: 0 } ]); await restarted.start(docker, signal); - verifyWorkerInvocations(paths.profiles); - verifyTrackerCliUpgrade(trackerBinDirectory, paths.profiles.native); + verifyWorkerInvocations(paths.profiles, trackerBinDirectory); await verifyNativeLinux( trackerManagedHostLauncher(managed, { client, platform: 'linux' }), native @@ -168,7 +167,10 @@ function launchInput(repo: string, runId: number, backend: 'native' | 'docker') } satisfies TrackerHostStartRequest; } -function verifyWorkerInvocations(profiles: ReturnType['profiles']) { +function verifyWorkerInvocations( + profiles: ReturnType['profiles'], + trackerBinDirectory: string +) { const read = (profile: string) => readFileSync(join(profile, 'invoked.ndjson'), 'utf8') .trim() @@ -204,6 +206,7 @@ function verifyWorkerInvocations(profiles: ReturnType Date: Sat, 28 Nov 2026 14:05:31 +0000 Subject: [PATCH 3/6] fix: keep managed Tracker sessions on the active CLI --- .../loops/tracker-native-alert-host-work/loop.json | 10 +++++++--- .../loops/tracker-native-alert-host-work/trace.ndjson | 2 ++ .../tracker-tmux-adapter/trackerManagedHostLauncher.ts | 5 ++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/specification/loops/tracker-native-alert-host-work/loop.json b/specification/loops/tracker-native-alert-host-work/loop.json index 16e1b974109..7cf81a89b9a 100644 --- a/specification/loops/tracker-native-alert-host-work/loop.json +++ b/specification/loops/tracker-native-alert-host-work/loop.json @@ -2,7 +2,7 @@ "name": "tracker-native-alert-host-work", "goal": "Managed Tracker sessions resolve the active installed CLI for alert and host-work after an upgrade.", "createdAt": "2026-11-28T14:01:06.164Z", - "updatedAt": "2026-11-28T14:02:01.685Z", + "updatedAt": "2026-11-28T14:04:02.768Z", "template": "bug-fix", "templateLineage": [ "bug-fix" @@ -27,12 +27,16 @@ { "id": "red", "title": "Strengthen the existing standardized test; commit it before repair, run it failing with loop record --phase red, and preserve the assertion.", - "status": "pending" + "status": "complete", + "completedAt": "2026-11-28T14:04:00.866Z", + "evidence": "Immutable red checkpoint f532d920fd: both shim commands returned exit 1 and command is unavailable in native mode after activation of the fixture CLI." }, { "id": "implement", "title": "Implement the smallest repair without weakening the regression test.", - "status": "pending" + "status": "complete", + "completedAt": "2026-11-28T14:04:02.768Z", + "evidence": "Retain startup executable validation and pass the configured tools/harness path to workers so each invocation resolves the active symlink." }, { "id": "green", diff --git a/specification/loops/tracker-native-alert-host-work/trace.ndjson b/specification/loops/tracker-native-alert-host-work/trace.ndjson index 38955fecc11..ff04bc4649a 100644 --- a/specification/loops/tracker-native-alert-host-work/trace.ndjson +++ b/specification/loops/tracker-native-alert-host-work/trace.ndjson @@ -2,3 +2,5 @@ {"event":"step.completed","timestamp":"2026-11-28T14:01:46.042Z","loop":"tracker-native-alert-host-work","step":"spec","evidence":"Run 1275 on primary Mac reproduced unavailable in native mode for alert and host-work; removing the inherited executable pin reached both live parsers. The configured tools symlink and pinned binary point to different releases."} {"event":"step.completed","timestamp":"2026-11-28T14:01:59.218Z","loop":"tracker-native-alert-host-work","step":"coverage","evidence":"The existing managed-worker roundtrip uses a regular harness fixture and does not invoke the installed Tracker shim with the launched environment. Exercise the same lifecycle with a CLI symlink rotated across fixture releases."} {"event":"step.added","timestamp":"2026-11-28T14:02:01.685Z","loop":"tracker-native-alert-host-work","step":"siblings","title":"Check other Tracker executable pins and deployment entrypoints."} +{"event":"step.completed","timestamp":"2026-11-28T14:04:00.866Z","loop":"tracker-native-alert-host-work","step":"red","evidence":"Immutable red checkpoint f532d920fd: both shim commands returned exit 1 and command is unavailable in native mode after activation of the fixture CLI."} +{"event":"step.completed","timestamp":"2026-11-28T14:04:02.768Z","loop":"tracker-native-alert-host-work","step":"implement","evidence":"Retain startup executable validation and pass the configured tools/harness path to workers so each invocation resolves the active symlink."} diff --git a/src/adapters/projects-sessions/tracker-tmux-adapter/trackerManagedHostLauncher.ts b/src/adapters/projects-sessions/tracker-tmux-adapter/trackerManagedHostLauncher.ts index 6a71d1ac840..303a6fc2fb8 100644 --- a/src/adapters/projects-sessions/tracker-tmux-adapter/trackerManagedHostLauncher.ts +++ b/src/adapters/projects-sessions/tracker-tmux-adapter/trackerManagedHostLauncher.ts @@ -70,9 +70,12 @@ export function trackerManagedHostLauncher( /** What the links point at now: activations and provider updates repoint them under the daemon. */ function sessionExecutables(config: TrackerManagedLaunchConfig) { const trackerBin = realpathSync(config.trackerBinDirectory); + // Validate the installed binary, but give workers the path the installer updates. + const trackerExecutable = join(trackerBin, 'harness'); + controlledTrackerExecutable(trackerExecutable); return { trackerBin, - trackerExecutable: controlledTrackerExecutable(join(trackerBin, 'harness')), + trackerExecutable, profiles: validateManagedProfiles(config) }; } From 551ec27543ee98ee4e3e236248ae3b58acd3d4b5 Mon Sep 17 00:00:00 2001 From: dafuga Date: Sat, 28 Nov 2026 14:12:33 +0000 Subject: [PATCH 4/6] chore: record passing Tracker CLI upgrade regression --- .../loops/tracker-native-alert-host-work/loop.json | 6 ++++-- .../loops/tracker-native-alert-host-work/trace.ndjson | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/specification/loops/tracker-native-alert-host-work/loop.json b/specification/loops/tracker-native-alert-host-work/loop.json index 7cf81a89b9a..677f225e70b 100644 --- a/specification/loops/tracker-native-alert-host-work/loop.json +++ b/specification/loops/tracker-native-alert-host-work/loop.json @@ -2,7 +2,7 @@ "name": "tracker-native-alert-host-work", "goal": "Managed Tracker sessions resolve the active installed CLI for alert and host-work after an upgrade.", "createdAt": "2026-11-28T14:01:06.164Z", - "updatedAt": "2026-11-28T14:04:02.768Z", + "updatedAt": "2026-11-28T14:06:20.559Z", "template": "bug-fix", "templateLineage": [ "bug-fix" @@ -41,7 +41,9 @@ { "id": "green", "title": "Rerun the same unchanged regression test at a separate fix commit with loop record --phase green; preserve passing proof.", - "status": "pending" + "status": "complete", + "completedAt": "2026-11-28T14:06:20.559Z", + "evidence": "Unchanged managed-worker roundtrip passed on 3c91c22d33 against red 608d4b6b38. The real shim selected the fixture active CLI for both alert and host-work after symlink replacement." }, { "id": "verify", diff --git a/specification/loops/tracker-native-alert-host-work/trace.ndjson b/specification/loops/tracker-native-alert-host-work/trace.ndjson index ff04bc4649a..addaa29a984 100644 --- a/specification/loops/tracker-native-alert-host-work/trace.ndjson +++ b/specification/loops/tracker-native-alert-host-work/trace.ndjson @@ -4,3 +4,4 @@ {"event":"step.added","timestamp":"2026-11-28T14:02:01.685Z","loop":"tracker-native-alert-host-work","step":"siblings","title":"Check other Tracker executable pins and deployment entrypoints."} {"event":"step.completed","timestamp":"2026-11-28T14:04:00.866Z","loop":"tracker-native-alert-host-work","step":"red","evidence":"Immutable red checkpoint f532d920fd: both shim commands returned exit 1 and command is unavailable in native mode after activation of the fixture CLI."} {"event":"step.completed","timestamp":"2026-11-28T14:04:02.768Z","loop":"tracker-native-alert-host-work","step":"implement","evidence":"Retain startup executable validation and pass the configured tools/harness path to workers so each invocation resolves the active symlink."} +{"event":"step.completed","timestamp":"2026-11-28T14:06:20.559Z","loop":"tracker-native-alert-host-work","step":"green","evidence":"Unchanged managed-worker roundtrip passed on 3c91c22d33 against red 608d4b6b38. The real shim selected the fixture active CLI for both alert and host-work after symlink replacement."} From 711d8bec6ad78d92f4cfe00fdbc6b9a104944fd1 Mon Sep 17 00:00:00 2001 From: dafuga Date: Mon, 30 Nov 2026 17:06:01 +0000 Subject: [PATCH 5/6] cleanup: keep tracker-managed-host-launcher test under 220 lines --- .../tracker-managed-host-launcher.test.ts | 17 +---------------- .../trackerNativeInvocationAssertions.ts | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts b/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts index b480a7fb0fa..972257323c4 100644 --- a/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts +++ b/test/adapters/projects-sessions/tracker-managed-host-launcher.test.ts @@ -1,5 +1,4 @@ import { readFileSync, writeFileSync } from 'node:fs'; -import { spawnSync } from 'node:child_process'; import type * as Os from 'node:os'; import { join } from 'node:path'; import { expect, test, vi } from 'vitest'; @@ -18,6 +17,7 @@ import { import { managedTrackerTools, verifyNativeInvocations, + verifySecretSafety, verifyTrackerCliUpgrade } from '../../support/trackerNativeInvocationAssertions'; import { withTempRepo } from '../../support/temporary'; @@ -208,18 +208,3 @@ function verifyWorkerInvocations( verifyNativeInvocations(native[0], claude[0], { dockerWorktree: docker[0].cwd, client }); verifyTrackerCliUpgrade(trackerBinDirectory, profiles.native); } - -function verifySecretSafety(profiles: { native: string; docker: string }, briefs: string[]) { - const skill = 'skills/secret-safe-computer-use/SKILL.md'; - const install = spawnSync('/bin/bash', ['deploy/vault/install-secret-safe-skill.sh'], { - env: { PATH: process.env.PATH, HOME: profiles.native } - }); - expect(install.status).toBe(0); - const codex = readFileSync(join(profiles.native, '.codex', skill), 'utf8'); - expect(readFileSync(join(profiles.native, '.claude', skill), 'utf8')).toBe(codex); - const rule = codex.split('---\n')[2].trim(); - for (const brief of briefs) { - expect(brief.startsWith(rule + '\n\n')).toBe(true); - expect(brief.split(rule)).toHaveLength(2); - } -} diff --git a/test/support/trackerNativeInvocationAssertions.ts b/test/support/trackerNativeInvocationAssertions.ts index 4c3385a9a7f..1e4dc450d55 100644 --- a/test/support/trackerNativeInvocationAssertions.ts +++ b/test/support/trackerNativeInvocationAssertions.ts @@ -94,3 +94,18 @@ export function verifyNativeInvocations( expect(codex.cwd).not.toBe(dockerWorktree); expect(claude.cwd).not.toBe(codex.cwd); } + +export function verifySecretSafety(profiles: { native: string; docker: string }, briefs: string[]) { + const skill = 'skills/secret-safe-computer-use/SKILL.md'; + const install = spawnSync('/bin/bash', ['deploy/vault/install-secret-safe-skill.sh'], { + env: { PATH: process.env.PATH, HOME: profiles.native } + }); + expect(install.status).toBe(0); + const codex = readFileSync(join(profiles.native, '.codex', skill), 'utf8'); + expect(readFileSync(join(profiles.native, '.claude', skill), 'utf8')).toBe(codex); + const rule = codex.split('---\n')[2].trim(); + for (const brief of briefs) { + expect(brief.startsWith(rule + '\n\n')).toBe(true); + expect(brief.split(rule)).toHaveLength(2); + } +} From 501c2a7abaa758f63f73ff2fb2865752371bf2eb Mon Sep 17 00:00:00 2001 From: dafuga Date: Mon, 30 Nov 2026 20:34:18 +0000 Subject: [PATCH 6/6] fix: sync secret-safe skill wording with trackerSecretSafetyRule --- deploy/vault/secret-safe-computer-use/SKILL.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/deploy/vault/secret-safe-computer-use/SKILL.md b/deploy/vault/secret-safe-computer-use/SKILL.md index 98dbb4879ba..42010f8ca8c 100644 --- a/deploy/vault/secret-safe-computer-use/SKILL.md +++ b/deploy/vault/secret-safe-computer-use/SKILL.md @@ -5,8 +5,6 @@ description: Use before any browser, desktop, CLI, or API action that could crea ## Secret-safe computer use -Before clicking or invoking anything that could create or reveal a secret, STOP. This includes API keys, OAuth client secrets, access tokens, recovery codes, webhook signing secrets, passwords, Show, Reveal, Copy, and Download JSON key. Confirm the project, environment, scope, and destination before proceeding. - -Use a reviewed CLI or API script that transfers the credential directly to the approved secret store through a private pipe or SDK. For a web-only step, let the Credential Vault's script-only runner perform the action in a fresh disposable browser, capture the value from the DOM, and write it directly to the store. Keep model access and recording disabled through teardown. If neither route is ready, flag the blocker on the Tracker item before the action. - -Never screenshot, read aloud, OCR, log, echo, paste, or return a secret through chat, tool output, clipboard, shell arguments, or run artifacts. If one appears by accident, stop reading, close the view, and flag the Tracker item with only the credential type and exposure location. Rotate the credential through the approved secret-safe path and verify the replacement without displaying it. If rotation needs authorization, flag that requirement immediately. +STOP before clicking or running anything that creates or reveals a secret (API keys, OAuth secrets, tokens, recovery codes, passwords, Show/Reveal/Copy/Download JSON). Confirm project, environment, scope, and destination first. +Use a reviewed CLI/API script to pipe credentials directly to the approved secret store, or the Credential Vault's script-only runner in a disposable browser; flag a blocker if neither is ready. +Never screenshot, OCR, log, echo, paste, or return a secret in chat, tool output, clipboard, args, or artifacts. If exposed, stop, close the view, flag the item with only credential type and location, and rotate via the approved path.