Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

Claude Code's and Codex's launch specifics: declared contracts the kit applies in core (#1046)

Dee92fcaf517e57
diff --git a/cli/e2e/enginehomes.e2e.ts b/cli/e2e/enginehomes.e2e.ts
index c7950b16b..db8fcb58d 100644
--- a/cli/e2e/enginehomes.e2e.ts
+++ b/cli/e2e/enginehomes.e2e.ts
@@ -349,7 +349,7 @@ describe('the person\'s engines keeping their data elsewhere', () => {
// daemon's own CODEX_HOME before the relaunch (portableHistory.ts) and refused as outside the profile: the
// restart failed after Codex had already been stopped, and the reopen said RESUME_PREPARATION_FAILED. And
// the relaunch names the person's own provider, the `model_provider` in the moved config.toml: it read the
- // daemon's ~/.codex/config.toml (ownLoginProvider.ts) and named Codex's default, which outranks the config.
+ // daemon's ~/.codex/config.toml (Codex's `ownProvider`) and named Codex's default, which outranks the config.
it('codex with CODEX_HOME: a restart and a reopen come back on the conversation, on the provider its config names', async () => {
const d = await IsolatedDaemon.create()
daemon = d
diff --git a/cli/scripts/lib/asciiOnly.mjs b/cli/scripts/lib/asciiOnly.mjs
index 2f430dedd..a264a5dbd 100644
--- a/cli/scripts/lib/asciiOnly.mjs
+++ b/cli/scripts/lib/asciiOnly.mjs
@@ -7,8 +7,8 @@
* `\uXXXX` means the same character in a regular expression (an emoji's two escapes are one code
* point under `u`, two code units without it, as the literal was) and in a comment. In a tagged
* template it changes the raw text; the only ones that carry such characters build RegExp sources
- * (lib/askQuestion.ts) or a script whose one such character is in a regular expression
- * (lib/codexStartupRetry.ts), where the escape and the character match alike. Checked 2026-10-07:
+ * (lib/askQuestion.ts, and Codex's startup update line in engines/codex/launch.ts, which the kit writes into
+ * a probe's regular expression), where the escape and the character match alike. Checked 2026-10-07:
* all 133 regular expressions in the bundle matched the same as their escaped form on random input.
*/
export function asciiOnly(code) {
diff --git a/cli/src/architecture.spec.ts b/cli/src/architecture.spec.ts
index bcae46d79..86ab2181c 100644
--- a/cli/src/architecture.spec.ts
+++ b/cli/src/architecture.spec.ts
@@ -147,6 +147,9 @@ const EDGE: RegExp[] = [
// Claude Code's and Codex's hooks are declared data (hookContract.ts) that the kit applies in core: no hook code
// of theirs is the core's, and none runs in a worker either (docs/design/2026-10-08-engine-hooks.md).
/^engines\/(claude|codex)\/(hooks|installHooks)\.ts$/,
+ // Their launch specifics are declared data too (launch.ts): Codex's startup probe and retry and its own-login
+ // provider are the kit's, in core, and never a worker's (docs/design/2026-10-08-engine-launch.md).
+ /^engines\/codex\/ownLoginProvider\.ts$/, /^lib\/codexStartupRetry\.ts$/,
/^lib\/(askQuestion|runtimeProfileController|composerScreen|teamWriteHold|messageHold|terminalActivity|codexTurnRecovery)\.ts$/,
/^engines\/(screens|modelControls|questionControls|submissions|nativeControls)\.ts$/,
// Claude Code's and Codex's reading of their composer: shared by the two, loaded only by their workers.
@@ -243,6 +246,23 @@ describe('the daemon\'s shape', () => {
expect([...closureOf('engines/hooks.ts').keys()].filter(file => contracts.has(file)).sort()).toEqual([...contracts].sort())
})
+ it('building a launch loads the engines\' declared launch contracts alone', () => {
+ const contracts = new Set(['engines/claude/launch.ts', 'engines/codex/launch.ts'])
+ // The builders: the argv and its script, a relaunch's overrides, a harness's flags.
+ for (const entry of ['lib/engineLaunch.ts', 'lib/launchOverrides.ts', 'engines/launches.ts', 'engines/kit/launchArgs.ts',
+ 'engines/kit/launchStartup.ts', 'dsh/adapters.ts']) {
+ expect([...closureOf(entry).keys()].filter(file => /^engines\/(claude|codex)\//.test(file) && !contracts.has(file)), entry).toEqual([])
+ }
+ expect([...closureOf('lib/engineLaunch.ts').keys()].filter(file => contracts.has(file)).sort()).toEqual([...contracts].sort())
+ // The launches themselves reach the registry too, whose hook admission reads the hook contracts and whose
+ // load-time repair still reads Codex rollouts (rollout.ts, a later step of the plan). Nothing else of the two.
+ const declared = new Set([...contracts, 'engines/claude/hookContract.ts', 'engines/codex/hookContract.ts', 'engines/codex/rollout.ts'])
+ for (const entry of ['core/agents/create.ts', 'core/agents/fork.ts', 'core/agents/restart.ts', 'core/agents/swap.ts',
+ 'lib/resumeAgentService.ts']) {
+ expect([...closureOf(entry).keys()].filter(file => /^engines\/(claude|codex)\//.test(file) && !declared.has(file)), entry).toEqual([])
+ }
+ })
+
it('the gateway reaches the core only through core/api.ts: never a core module, the registry, cli.ts or the socket', () => {
// It speaks to the core through GatewayPort and GatewayEvents alone, so that it can run in a process of
// its own (step 10, R2) without taking any of the core with it.
diff --git a/cli/src/core/AGENTS.md b/cli/src/core/AGENTS.md
index 1c3dabb14..1cdb134fb 100644
--- a/cli/src/core/AGENTS.md
+++ b/cli/src/core/AGENTS.md
@@ -37,7 +37,7 @@ questions. Everything else is a service ([../services/AGENTS.md](../services/AGE
validates bounded replies, retains acknowledged cursors and owns binding/turn state. The explicit
inline/older-master compatibility path is the only live parser or runtime profile implementation
composition in core. Screen reads are bounded and fenced to the worker connection and session binding
- ([screen boundary](../../../docs/design/2026-10-08-engine-screen.md)). Core keeps accepted profiles and control authority; native model drivers run in workers through [revocable control grants](../../../docs/design/2026-10-08-engine-model-control.md), and so does question navigation ([question control](../../../docs/design/2026-10-08-engine-question-control.md)). Whether a typed prompt was taken is read there too: core keeps the writer, every Enter and the verdict ([submission](../../../docs/design/2026-10-08-engine-submission.md)). Codex's shared app-server is spoken to from its worker under a stop grant; core keeps the process table, identity and the stop's decisions ([native control](../../../docs/design/2026-10-08-engine-native-control.md)). Their hooks never go to a worker: each engine declares them as data, and core applies the declaration in line with `engines/kit` mechanics (installing settings, refusing a delegated session, correcting a transcript, closing a turn on Stop; [hooks](../../../docs/design/2026-10-08-engine-hooks.md)). See [runtime profiles](../../../docs/design/2026-10-08-engine-runtime.md).
+ ([screen boundary](../../../docs/design/2026-10-08-engine-screen.md)). Core keeps accepted profiles and control authority; native model drivers run in workers through [revocable control grants](../../../docs/design/2026-10-08-engine-model-control.md), and so does question navigation ([question control](../../../docs/design/2026-10-08-engine-question-control.md)). Whether a typed prompt was taken is read there too: core keeps the writer, every Enter and the verdict ([submission](../../../docs/design/2026-10-08-engine-submission.md)). Codex's shared app-server is spoken to from its worker under a stop grant; core keeps the process table, identity and the stop's decisions ([native control](../../../docs/design/2026-10-08-engine-native-control.md)). Their hooks never go to a worker: each engine declares them as data, and core applies the declaration in line with `engines/kit` mechanics (installing settings, refusing a delegated session, correcting a transcript, closing a turn on Stop; [hooks](../../../docs/design/2026-10-08-engine-hooks.md)). Nor does their launch: Codex's startup probe and retry and its own-login provider are declared data too, which core writes into the pane's argv and script ([launch](../../../docs/design/2026-10-08-engine-launch.md)). See [runtime profiles](../../../docs/design/2026-10-08-engine-runtime.md).
- `input.ts`, `questions.ts`: messages into a pane; an agent's question and its answer. Core matches an answer to the
question on screen and holds the lease; Claude Code's and Codex's keys for each approved step come from their engine
worker through a revocable grant (`engines/questionControls.ts`).
diff --git a/cli/src/core/agents/fork.ts b/cli/src/core/agents/fork.ts
index 8d2fa958e..390ccacd7 100644
--- a/cli/src/core/agents/fork.ts
+++ b/cli/src/core/agents/fork.ts
@@ -95,8 +95,8 @@ export function createAgentForker({
dshLabel = installed.manifest.name
}
// The row's own login, model and profile, as a restart and a resume relaunch it (launch.ts): a Codex
- // agent moved back off a grid names its provider again (`-c model_provider=…`,
- // engines/codex/ownLoginProvider.ts) and the model it had before the grid (`-m`), and a profile gets
+ // agent moved back off a grid names its provider again (`-c model_provider=…`, `ownProvider` in
+ // engines/codex/launch.ts) and the model it had before the grid (`-m`), and a profile gets
// its hooks. A fork was launched without any of them, and came back on Codex's default model where a
// restart of its source came back on the source's own (e2e/forks.e2e.ts). The harness and the named
// agent are the fork's own (a new runtime, above and below), so they are not rebuilt here.
diff --git a/cli/src/dsh/adapters.ts b/cli/src/dsh/adapters.ts
index d908712a0..cecec83ad 100644
--- a/cli/src/dsh/adapters.ts
+++ b/cli/src/dsh/adapters.ts
@@ -5,7 +5,6 @@
* Contracts and primary sources: store/spec/portability.md.
*/
import { harnessAdapters } from '../engines/launches.js'
-export { codexEnvArgs } from '../engines/launches.js'
import type { AgentEngine, ProcessEngine } from '../engines/types.js'
export interface HarnessAdapter {
diff --git a/cli/src/dsh/runtime.spec.ts b/cli/src/dsh/runtime.spec.ts
index 0e0b33781..f220ce3ad 100644
--- a/cli/src/dsh/runtime.spec.ts
+++ b/cli/src/dsh/runtime.spec.ts
@@ -7,7 +7,7 @@ import { PROCESS_ENGINES } from '../engines/types.js'
import { buildEngineCommandArgv, buildEngineLaunchArgv } from '../lib/engineLaunch.js'
import { buildLaunchOverrides } from '../lib/launchOverrides.js'
import type { InstalledDsh } from './installed.js'
-import { HARNESS_ADAPTERS, HARNESS_BOOTSTRAP, codexEnvArgs, harnessAdapter } from './adapters.js'
+import { HARNESS_ADAPTERS, HARNESS_BOOTSTRAP, harnessAdapter } from './adapters.js'
import { compatibleHarnessEngines } from './compatibility.js'
import { forkRuntimeKey, harnessLaunchOrRefusal, harnessRuntimeDir, incompatibleHarnessEngine, migrateHarnessInstructions, prepareHarnessLaunch } from './runtime.js'
@@ -149,7 +149,7 @@ describe('session isolation and lifecycle', () => {
expect(fork.env.HARNESS_PRIVATE_GRID).toBeUndefined()
const fresh = prepareHarnessLaunch(pkg, ws, 'codex', 'fresh')
expect(readFileSync(fresh.env.HARNESS_CONTEXT_FILE!, 'utf8')).toContain('# Updated instructions')
- expect(fresh.args).toEqual(['--new-flag', ...codexEnvArgs(fresh.env)])
+ expect(fresh.args).toEqual(['--new-flag', ...HARNESS_ADAPTERS.codex.envArgs!(fresh.env)])
})
it('keeps older rows stable using their agent id and supports package renames', async () => {
diff --git a/cli/src/engines/README.md b/cli/src/engines/README.md
index 644647a83..9b12914c6 100644
--- a/cli/src/engines/README.md
+++ b/cli/src/engines/README.md
@@ -19,10 +19,13 @@ launch contracts, history/last-turn readers and hook behavior behind `Engine` (`
selects those engines; `launches.ts` and `hooks.ts` expose their respective facets without loading history
readers. Hook transport, process binding and event delivery stay with core. Their hooks are declared data
(`claude/hookContract.ts`, `codex/hookContract.ts`) that core applies in line with `kit/` mechanics, never in a
-worker ([hooks](../../../docs/design/2026-10-08-engine-hooks.md)). Claude Code and Codex history/last-turn reads,
+worker ([hooks](../../../docs/design/2026-10-08-engine-hooks.md)). So are their launch specifics (`claude/launch.ts`,
+`codex/launch.ts`): Codex's pane startup probe and retry, its own-login provider, and the harness context and env
+flags, applied by `kit/launchStartup.ts` and `kit/launchArgs.ts` ([launch](../../../docs/design/2026-10-08-engine-launch.md)). Claude Code and Codex history/last-turn reads,
live transcript parsing, runtime profiles/catalogs, screen interpretation, submission readings, model-control drivers, question navigation and Codex's app-server connection run on demand in supervised workers;
the other facets still run in core. Explicit inline mode and older masters retain inline implementations. See
[hooks](../../../docs/design/2026-10-08-engine-hooks.md),
+[launch](../../../docs/design/2026-10-08-engine-launch.md),
[question control](../../../docs/design/2026-10-08-engine-question-control.md),
[submission](../../../docs/design/2026-10-08-engine-submission.md),
[native control](../../../docs/design/2026-10-08-engine-native-control.md),
diff --git a/cli/src/engines/__fixtures__/launch-argv.golden.json b/cli/src/engines/__fixtures__/launch-argv.golden.json
new file mode 100644
index 000000000..6f0ece4cf
--- /dev/null
+++ b/cli/src/engines/__fixtures__/launch-argv.golden.json
@@ -0,0 +1,1167 @@
+{
+"lines": [
+ "rm -f -- '<data>/launch/<one-time>.sh'",
+ "harness_nofile=$(ulimit -S -n 2>/dev/null) || harness_nofile=unlimited; if [ \"$harness_nofile\" != unlimited ] && [ \"$harness_nofile\" -lt 65536 ] 2>/dev/null; then ulimit -S -n 65536 2>/dev/null || ulimit -S -n \"$(ulimit -H -n)\" 2>/dev/null || true; fi; unset harness_nofile",
+ "harness_stopped() {",
+ " [ \"$harness_status\" -gt 128 ] 2>/dev/null || return 1",
+ " harness_signal=$(kill -l \"$harness_status\" 2>/dev/null) || return 1",
+ " case $harness_signal in",
+ " STOP|TSTP|TTIN|TTOU|SIGSTOP|SIGTSTP|SIGTTIN|SIGTTOU) jobs %% >/dev/null 2>&1 ;;",
+ " *) return 1 ;;",
+ " esac",
+ "}",
+ "harness_fg() {",
+ " harness_now=$(date +%s 2>/dev/null) || harness_now=0",
+ " if [ $((harness_now - harness_resumed)) -le 1 ]; then harness_quick=$((harness_quick + 1)); else harness_quick=0; fi",
+ " harness_resumes=$((harness_resumes + 1))",
+ " case $harness_signal in *TTIN|*TTOU) harness_stuck=$harness_quick ;; *) harness_stuck=0 ;; esac",
+ " if [ \"$harness_stuck\" -ge 5 ] || { [ -z \"${ZSH_VERSION:-}\" ] && [ \"$harness_resumes\" -ge 1000 ]; }; then",
+ " kill -9 %% 2>/dev/null",
+ " harness_status=137",
+ " return 0",
+ " fi",
+ " if [ \"$harness_quick\" -ge 3 ]; then harness_waited=$(sleep 1) || :; fi",
+ " harness_resumed=$(date +%s 2>/dev/null) || harness_resumed=0",
+ " harness_status=0",
+ " fg >/dev/null || harness_status=$?",
+ "harness_resume() {",
+ " if [ -n \"${ZSH_VERSION:-}\" ]; then",
+ " while harness_stopped; do harness_fg; done",
+ " harness_stopped || return 0",
+ " harness_fg",
+ " harness_resume",
+ "harness_resumed=0",
+ "harness_quick=0",
+ "harness_resumes=0",
+ "harness_after() {",
+ " if [ \"$harness_status\" -eq 127 ]; then exit 127; fi",
+ " [ -n \"${TMUX_PANE:-}\" ] && { '/opt/homebrew/bin/tmux' set-option -p -t \"$TMUX_PANE\" @harness_engine_exit \"$harness_status\" >/dev/null 2>&1 || '/opt/homebrew/bin/tmux' set-option -w -t \"$TMUX_PANE\" @harness_engine_exit \"$harness_status\" >/dev/null 2>&1; } || true",
+ " if ! [ -t 0 ]; then exit \"$harness_status\"; fi",
+ " if harness_tty=$(stty -g 2>/dev/null) && stty -icanon -echo min 0 time 3 2>/dev/null; then",
+ " while harness_waiting=$(dd bs=65536 count=1 2>/dev/null | wc -c) && [ \"$((harness_waiting))\" -gt 0 ]; do :; done",
+ " stty \"$harness_tty\" 2>/dev/null || true",
+ " printf '\\n%s\\n' 'harness: pi exited ('\"$harness_status\"'). This pane is a shell now — run pi again, or stop the pane.'",
+ " exec '/bin/zsh' -l",
+ "unset HARNESS_DSH HARNESS_DSH_DIR HARNESS_WORKSPACE HARNESS_CONTEXT_FILE HARNESS_SKILLS_DIR HARNESS_PRIVATE_GRID",
+ "GRID_NO_UPDATE_CHECK=1",
+ "export GRID_NO_UPDATE_CHECK",
+ "if ! cd -- \"$1\"; then printf '%s\\n' 'harness: the selected working directory is unavailable.' >&2; exit 1; fi",
+ "if ! [ -r . ]; then printf '%s\\n' \"harness: cannot read $PWD — the agent was not started.\" 'harness: on macOS, grant Full Disk Access to the app that started tmux (and to Harness), then run: tmux kill-server' 'harness: or pick a folder outside Documents, Desktop and Downloads (System Settings › Privacy & Security).' >&2; exit 1; fi",
+ "shift",
+ "printf '%s\\n' 'Waiting for the Codex cli rm -rf in your terminal to finish its turn.' 'It moves here when the turn ends. Ctrl-C leaves it there.'",
+ "trap 'printf \"\\n%s\\n\" \"It stays in your terminal.\"; exit 130' INT",
+ "while kill -0 4242 2>/dev/null; do harness_waited=$(sleep 1) || :; done",
+ "trap - INT",
+ "printf '\\033[H\\033[2J'",
+ "if [ -n \"${ZSH_VERSION:-}\" ]; then setopt monitor 2>/dev/null || :; else set -m 2>/dev/null || :; fi",
+ "trap : INT QUIT",
+ "resolve_engine() {",
+ " candidate=\"$1\"",
+ " resolved=\"\"",
+ " case \"$candidate\" in",
+ " */*) resolved=\"$candidate\" ;;",
+ " *) resolved=\"$(command -v \"$candidate\" 2>/dev/null)\" || true ;;",
+ " [ -n \"$resolved\" ] && [ -f \"$resolved\" ] && [ -x \"$resolved\" ]",
+ "harness_find_engine() {",
+ " harness_engine_bin=",
+ " for candidate in \"$1\" 'pi' '<home>/.local/bin/pi'; do",
+ " if resolve_engine \"$candidate\"; then harness_engine_bin=\"$resolved\"; return 0; fi",
+ " done",
+ " npm_prefix=\"$(npm prefix -g 2>/dev/null)\" || true",
+ " if [ -n \"$npm_prefix\" ]; then",
+ " for bin in 'pi'; do",
+ " if resolve_engine \"$npm_prefix/bin/$bin\"; then harness_engine_bin=\"$resolved\"; return 0; fi",
+ " done",
+ " return 1",
+ "if ! command -v node >/dev/null 2>&1 || ! command -v npm >/dev/null 2>&1; then",
+ " for harness_node_bin in '/opt/harness/runtime/node-v22/bin' '<daemon-node-dir>'; do",
+ " if [ -x \"$harness_node_bin/node\" ] && [ -x \"$harness_node_bin/npm\" ]; then",
+ " PATH=\"$harness_node_bin${PATH:+:$PATH}\"",
+ " export PATH",
+ " hash -r 2>/dev/null || true",
+ " break",
+ " fi",
+ "fi",
+ "if ! harness_find_engine \"$1\"; then",
+ " if ! command -v npm >/dev/null 2>&1; then",
+ " printf '%s\\n' 'harness: npm is unavailable and the managed Node.js/npm runtime could not be used.'",
+ " exit 1",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ npm install -g --ignore-scripts @earendil-works/pi-coding-agent' ''",
+ " printf '%s\\n' 'harness: installing for this user in <home>/.local'",
+ "harness_status=0",
+ "[ -n \"$harness_engine_bin\" ] || (export npm_config_prefix='<home>/.local' NPM_CONFIG_PREFIX='<home>/.local'; eval 'npm install -g --ignore-scripts @earendil-works/pi-coding-agent') || harness_status=$?",
+ "harness_resume",
+ "if [ -z \"$harness_engine_bin\" ]; then",
+ " if [ \"$harness_status\" -ne 0 ]; then printf '\\n%s\\n' 'harness: the install failed, so the agent was not started. The command is above; fix it and create the agent again.'; exit 1; fi",
+ " hash -r 2>/dev/null || true",
+ " if ! harness_find_engine \"$1\"; then printf '\\n%s\\n' 'harness: the install completed, but its executable could not be found. Check the installer output and PATH above.'; exit 1; fi",
+ "\"$harness_engine_bin\" \"$@\" || harness_status=$?",
+ "harness_after",
+ " printf '\\n%s\\n' 'harness: codex exited ('\"$harness_status\"'). This pane is a shell now — run codex again, or stop the pane.'",
+ " exec '/bin/ksh'",
+ "harness_codex_probe() {",
+ " harness_codex_mode=0",
+ " harness_codex_seen=$('<daemon-node>' -e 'const {execFileSync}=require('\"'\"'node:child_process'\"'\"');try { const h=execFileSync(process.argv[1],['\"'\"'--help'\"'\"'],{timeout:5000,maxBuffer:1048576,encoding:'\"'\"'utf8'\"'\"',stdio:['\"'\"'ignore'\"'\"','\"'\"'pipe'\"'\"','\"'\"'pipe'\"'\"']});process.exit(/--no-daemon(?:[^A-Za-z0-9-]|$)/.test(h)?0:64); } catch { process.exit(2); }' \"$1\") || harness_codex_mode=$?",
+ " case \"$harness_codex_mode\" in",
+ " 0) harness_codex_no_daemon=1 ;;",
+ " 64) harness_codex_no_daemon= ;;",
+ " *) printf '%s\\n' 'harness: could not verify Codex startup options. Please try opening this session again.' >&2; exit 1 ;;",
+ "unset ANTHROPIC_API_KEY OPENAI_API_KEY HARNESS_DSH HARNESS_DSH_DIR HARNESS_WORKSPACE HARNESS_CONTEXT_FILE HARNESS_SKILLS_DIR HARNESS_PRIVATE_GRID",
+ "if ! command -v node >/dev/null 2>&1; then PATH=\"${PATH:+$PATH:}\"'/opt/harness/runtime/node-v22/bin'; export PATH; fi",
+ "if ! [ -r . ]; then printf '%s\\n' \"harness: cannot read $PWD — the agent was not started.\" 'harness: check the folder'\"'\"'s permissions for this user.' >&2; exit 1; fi",
+ " for candidate in \"$1\" 'codex' '<home>/.local/bin/codex'; do",
+ " for bin in 'codex'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ npm install -g @openai/codex' ''",
+ "[ -n \"$harness_engine_bin\" ] || (export npm_config_prefix='<home>/.local' NPM_CONFIG_PREFIX='<home>/.local'; eval 'npm install -g @openai/codex') || harness_status=$?",
+ "harness_codex_probe \"$harness_engine_bin\"",
+ "\"$harness_engine_bin\" ${harness_codex_no_daemon:+--no-daemon} \"$@\" || harness_status=$?",
+ " printf '\\n%s\\n' 'harness: claude exited ('\"$harness_status\"'). This pane is a shell now — run claude again, or stop the pane.'",
+ "harness_engine_bin=$1",
+ " exec '/bin/bash'",
+ "harness_codex_check() {",
+ " '<daemon-node>' -e 'const { execFileSync } = require('\"'\"'node:child_process'\"'\"');",
+ "const { createHash } = require('\"'\"'node:crypto'\"'\"');",
+ "const [mode, tmux, pane, baseline] = process.argv.slice(1);",
+ "try {",
+ " if (!/^%\\d+$/.test(pane)) process.exit(1);",
+ " const screen = execFileSync(tmux, ['\"'\"'capture-pane'\"'\"', '\"'\"'-p'\"'\"', '\"'\"'-J'\"'\"', '\"'\"'-S'\"'\"', '\"'\"'-10'\"'\"', '\"'\"'-t'\"'\"', pane], {",
+ " timeout: 2000, maxBuffer: 1024 * 1024, encoding: '\"'\"'utf8'\"'\"', stdio: ['\"'\"'ignore'\"'\"', '\"'\"'pipe'\"'\"', '\"'\"'ignore'\"'\"'],",
+ " });",
+ " const last = screen.trimEnd().split('\"'\"'\\n'\"'\"').at(-1)?.trim() ?? '\"'\"''\"'\"';",
+ " const hash = createHash('\"'\"'sha256'\"'\"').update(last).digest('\"'\"'hex'\"'\"');",
+ " if (mode === '\"'\"'before'\"'\"') {",
+ " process.stdout.write(JSON.stringify({ at: Date.now(), hash }));",
+ " } else {",
+ " const before = JSON.parse(baseline);",
+ " const elapsed = Date.now() - before.at;",
+ " const error = '\"'\"'Error: account/read failed during TUI bootstrap: account/read failed: workspace routing discovery timed out (code -32603)'\"'\"';",
+ " const fresh = Number.isFinite(elapsed) && elapsed >= 0 && /^[a-f0-9]{64}$/.test(before.hash) && before.hash !== hash;",
+ " const matches = mode === '\"'\"'after-update'\"'\"'",
+ " ? /^(?:🎉\\s*)?Update ran successfully! Please restart Codex\\.$/.test(last)",
+ " : mode === '\"'\"'after'\"'\"' && elapsed <= 30000 && last === error;",
+ " process.exit(fresh && matches ? 0 : 1);",
+ " }",
+ "} catch { process.exit(1); }' \"$@\"",
+ "harness_codex_start() {",
+ " [ \"$harness_codex_go\" = 1 ] || return 0",
+ " harness_codex_before=",
+ " if [ -n \"${TMUX_PANE:-}\" ]; then harness_codex_before=$(harness_codex_check before '/opt/homebrew/bin/tmux' \"$TMUX_PANE\") || harness_codex_before=; fi",
+ " harness_codex_probe \"$1\"",
+ "harness_codex_next() {",
+ " harness_codex_go=0",
+ " if [ \"$harness_status\" -eq 0 ] && [ \"$harness_codex_updated\" -eq 0 ] && [ -n \"$harness_codex_before\" ] &&",
+ " harness_codex_seen=$(harness_codex_check after-update '/opt/homebrew/bin/tmux' \"$TMUX_PANE\" \"$harness_codex_before\"); then",
+ " harness_codex_updated=1",
+ " printf '\\n%s\\n' 'harness: Codex updated. Continuing startup…'",
+ " harness_codex_go=1",
+ " [ \"$harness_status\" -eq 1 ] && [ \"$harness_codex_attempt\" -lt 3 ] && [ -n \"$harness_codex_before\" ] || return 0",
+ " harness_codex_seen=$(harness_codex_check after '/opt/homebrew/bin/tmux' \"$TMUX_PANE\" \"$harness_codex_before\") || return 0",
+ " harness_codex_delay=$((harness_codex_attempt * 2))",
+ " harness_codex_attempt=$((harness_codex_attempt + 1))",
+ " harness_codex_cancelled=0",
+ " trap 'harness_codex_cancelled=1' INT",
+ " printf '\\n%s\\n' \"harness: Codex account lookup timed out. Retrying startup ($harness_codex_attempt/3) in ${harness_codex_delay}s; Ctrl-C cancels.\"",
+ " harness_codex_seen=$(sleep \"$harness_codex_delay\") || harness_codex_cancelled=1",
+ " trap : INT",
+ " if [ \"$harness_codex_cancelled\" -eq 1 ]; then harness_status=130; return 0; fi",
+ " harness_codex_go=1",
+ "PATH='/opt/harness/runtime/grid/bin'\"${PATH:+:$PATH}\"",
+ "export PATH",
+ "hash -r 2>/dev/null || true",
+ "harness_codex_attempt=1",
+ "harness_codex_updated=0",
+ "harness_codex_go=1",
+ "harness_codex_start \"$harness_engine_bin\"",
+ "[ \"$harness_codex_go\" != 1 ] || \"$harness_engine_bin\" ${harness_codex_no_daemon:+--no-daemon} \"$@\" || harness_status=$?",
+ "harness_codex_next",
+ " printf '\\n%s\\n' 'harness: opencode exited ('\"$harness_status\"'). This pane is a shell now — run opencode again, or stop the pane.'",
+ " for candidate in \"$1\" 'opencode' '<home>/.opencode/bin/opencode' '<home>/.local/bin/opencode'; do",
+ " for bin in 'opencode'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl -fsSL https://opencode.ai/install | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (export npm_config_prefix='<home>/.local' NPM_CONFIG_PREFIX='<home>/.local'; eval 'curl -fsSL https://opencode.ai/install | bash') || harness_status=$?",
+ " for candidate in \"$1\" 'claude' '<home>/.local/bin/claude'; do",
+ " for bin in 'claude'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ npm install -g @anthropic-ai/claude-code' ''",
+ "[ -n \"$harness_engine_bin\" ] || (export npm_config_prefix='<home>/.local' NPM_CONFIG_PREFIX='<home>/.local'; eval 'npm install -g @anthropic-ai/claude-code') || harness_status=$?",
+ " exec '/bin/sh'",
+ "if ! cd -- \"$1\"; then printf '%s\\n' 'harness: the selected working directory is unavailable.' >&2; fi",
+ "printf '%s\\n' '' ' _' ' | |__ __ _ _ __ _ __ ___ ___ ___' ' | '\"'\"'_ \\ / _` | '\"'\"'__| '\"'\"'_ \\ / _ \\/ __/ __|' ' | | | | (_| | | | | | | __/\\__ \\__ \\' ' |_| |_|\\__,_|_| |_| |_|\\___||___/___/' '' ' Terminal on studio-mac' '' ' claude · codex · opencode … run an agent here — this tile becomes it' ' harness remote open a terminal on another machine' ' harness --help everything else' ''",
+ "exec \"$@\"",
+ "set -- '/work/my project'\"'\"'s folder' 'claude' '--permission-mode' 'auto' '-c' 'model_providers.grid.base_url=\"https://grid.example/relay/v1\"' '-m' 'gpt-5' 'Fix the \"parser\" — it'\"'\"'s broken; $HOME stays literal, as does `date` and a '\"'\"'quote'\"'\"' ✓'",
+ " exec '/opt/homebrew/bin/fish'",
+ " printf '\\n%s\\n' 'harness: grok exited ('\"$harness_status\"'). This pane is a shell now — run grok again, or stop the pane.'",
+ " for candidate in \"$1\" 'grok' '<home>/.grok/bin/grok' '<home>/.local/bin/grok'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl -fsSL https://x.ai/cli/install.sh | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (eval 'curl -fsSL https://x.ai/cli/install.sh | bash') || harness_status=$?",
+ " printf '\\n%s\\n' 'harness: muse exited ('\"$harness_status\"'). This pane is a shell now — run muse again, or stop the pane.'",
+ "set -- '/work/my project'\"'\"'s folder' 'codex' '--approve-for-me' '-c' 'model_providers.grid.base_url=\"https://grid.example/relay/v1\"' '-m' 'gpt-5' 'Fix the \"parser\" — it'\"'\"'s broken; $HOME stays literal, as does `date` and a '\"'\"'quote'\"'\"' ✓'",
+ " exec '/bin/tcsh'",
+ "set -- '/work/my project'\"'\"'s folder' 'claude' '--permission-mode' 'auto' '--resume' 'sess-0001' '-c' 'model_providers.grid.base_url=\"https://grid.example/relay/v1\"' '-m' 'gpt-5'",
+ " exec '/bin/dash'",
+ " printf '\\n%s\\n' 'harness: copilot exited ('\"$harness_status\"'). This pane is a shell now — run copilot again, or stop the pane.'",
+ " printf '\\n%s\\n' 'harness: devin exited ('\"$harness_status\"'). This pane is a shell now — run devin again, or stop the pane.'",
+ " for candidate in \"$1\" 'devin' '<home>/.local/bin/devin'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl -fsSL https://cli.devin.ai/install.sh | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (eval 'curl -fsSL https://cli.devin.ai/install.sh | bash') || harness_status=$?",
+ "set -- 'codex'",
+ "set -- 'claude'",
+ " printf '\\n%s\\n' 'harness: cursor-agent exited ('\"$harness_status\"'). This pane is a shell now — run cursor-agent again, or stop the pane.'",
+ " for candidate in \"$1\" 'cursor-agent' '<home>/.local/bin/cursor-agent'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl https://cursor.com/install -fsS | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (eval 'curl https://cursor.com/install -fsS | bash') || harness_status=$?",
+ " printf '\\n%s\\n' 'harness: kilo exited ('\"$harness_status\"'). This pane is a shell now — run kilo again, or stop the pane.'",
+ " printf '\\n%s\\n' 'harness: hermes exited ('\"$harness_status\"'). This pane is a shell now — run hermes again, or stop the pane.'",
+ " printf '\\n%s\\n' 'harness: agy exited ('\"$harness_status\"'). This pane is a shell now — run agy again, or stop the pane.'",
+ " for candidate in \"$1\" 'hermes' '<home>/.local/bin/hermes' '/usr/local/bin/hermes'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (eval 'curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash') || harness_status=$?",
+ "printf '%s\\n' 'harness: installing the engine — this pane becomes the agent when it finishes' 'harness: $ npm install -g example-engine' ''",
+ "(eval \"npm install -g example-engine\") || harness_status=$?",
+ "if [ \"$harness_status\" -ne 0 ]; then printf '\\n%s\\n' 'harness: the install failed, so the agent was not started. The command is above; fix it and create the agent again.'; exit 1; fi",
+ " printf '\\n%s\\n' 'harness: cmd exited ('\"$harness_status\"'). This pane is a shell now — run cmd again, or stop the pane.'",
+ " for candidate in \"$1\" 'cmd' 'command-code' '<home>/.local/bin/cmd' '<home>/.local/bin/command-code'; do",
+ " for bin in 'cmd' 'command-code'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ npm i -g command-code' ''",
+ "[ -n \"$harness_engine_bin\" ] || (export npm_config_prefix='<home>/.local' NPM_CONFIG_PREFIX='<home>/.local'; eval 'npm i -g command-code') || harness_status=$?",
+ " printf '\\n%s\\n' 'harness: amp exited ('\"$harness_status\"'). This pane is a shell now — run amp again, or stop the pane.'",
+ "set -- '/work/my project'\"'\"'s folder' 'codex' 'resume' 'sess-0001' '--approve-for-me' '-c' 'model_providers.grid.base_url=\"https://grid.example/relay/v1\"' '-m' 'gpt-5'",
+ " for candidate in \"$1\" 'amp' '<home>/.local/bin/amp' '<home>/.amp/bin/amp'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl -fsSL https://ampcode.com/install.sh | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (eval 'curl -fsSL https://ampcode.com/install.sh | bash') || harness_status=$?",
+ "model_providers.grid.base_url=\"https://grid.example/relay/v1\"",
+ " printf '\\n%s\\n' 'harness: codex.js exited ('\"$harness_status\"'). This pane is a shell now — run codex.js again, or stop the pane.'",
+ " for candidate in \"$1\" 'muse' '<home>/.local/bin/muse'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl -fsSL https://dev.meta.ai/install.sh | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (eval 'curl -fsSL https://dev.meta.ai/install.sh | bash') || harness_status=$?",
+ " for candidate in \"$1\" 'kilo' 'kilocode' '<home>/.kilo/bin/kilo' '<home>/.local/bin/kilo' '<home>/.local/bin/kilocode'; do",
+ " for bin in 'kilo' 'kilocode'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ npm install -g @kilocode/cli' ''",
+ "[ -n \"$harness_engine_bin\" ] || (export npm_config_prefix='<home>/.local' NPM_CONFIG_PREFIX='<home>/.local'; eval 'npm install -g @kilocode/cli') || harness_status=$?",
+ " for candidate in \"$1\" 'copilot' '<home>/.local/bin/copilot'; do",
+ " for bin in 'copilot'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ npm install -g @github/copilot' ''",
+ "[ -n \"$harness_engine_bin\" ] || (export npm_config_prefix='<home>/.local' NPM_CONFIG_PREFIX='<home>/.local'; eval 'npm install -g @github/copilot') || harness_status=$?",
+ " for candidate in \"$1\" 'agy' '<home>/.local/bin/agy'; do",
+ " printf '%s\\n' 'harness: engine is missing — installing it in this terminal' 'harness: $ curl -fsSL https://antigravity.google/cli/install.sh | bash' ''",
+ "[ -n \"$harness_engine_bin\" ] || (eval 'curl -fsSL https://antigravity.google/cli/install.sh | bash') || harness_status=$?"
+],
+"scripts": {
+ "00644218e23b3981": "0-23,9,24-26,18-19,27-29,9,30-39,19,40-41,9,42-60,8,61,9,62-71,19,72,9,73-80,66,81-85,19,86-87,81,88-94,81,47,88,95,90,96",
+ "012c484958d801ac": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97-98,9,99-105,8-9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "01a46f062041a588": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,43-44,53-54,116,47,88,95,90,96",
+ "01fcc1413af4609a": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,43-45,108,47,53-54,116,47,113,88,114,90,96",
+ "022e0bbdd6894bae": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,165-167,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "0360f1049d31fdc7": "0-23,9,24-26,18-19,27-29,9,30-39,19,174,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,175,65-68,176,70-71,19,72,9,73-80,66,81-85,19,177,87,81,88,178,90-94,81,47,88,95,90,96",
+ "0477e3b43d8c30f0": "0-23,9,24-26,18-19,27-29,9,30-39,19,40-41,9,42-45,108,47-60,8,61,9,62-71,19,72,9,73-80,66,81-85,19,86-87,81,88-94,81,47,88,95,90,96",
+ "04e45f6eaae20144": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,42-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "068686e3dcc2ea1c": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,183,9,99-105,8-9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "06c61e57bd4dd290": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97-98,9,99-105,8-9,106,43-44,107,45,108,47,53-54,116,47,113,88,114,90,96",
+ "0817188ce76f7397": "1-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,43-44,53-54,116,47,88,95,90,96",
+ "09f6eade56ba2b9e": "1,42,184-185,47,186",
+ "0a64b6a076ab70bd": "0,187,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,188,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "0a737ffd835211a9": "0-23,9,24-26,18-19,27-29,9,30-39,19,189,41,9,43-44,53-54,116,47,88,95,90,96",
+ "0ac4bac72be01004": "0-23,9,24-26,18-19,27-29,9,30-39,19,189,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,190,65-66,72,9,82,191,81,88,192,90-94,81,47,88,95,90,96",
+ "0bf4cf1c7d50fda0": "0-23,9,24-26,18-19,27-29,9,30-39,19,193,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "0c7c6599612c7d7d": "0,194,1-23,9,24-26,18-19,27-29,9,30-39,19,97,195,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "0d6603822a878f4a": "0-23,9,24-26,18-19,27-29,9,30-39,19,189,41,9,42-60,8,61,9,62-63,190,65-66,72,9,82,191,81,88,192,90-94,81,47,88,95,90,96",
+ "0e8a1b217b7240e9": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,183,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "0eeeecb622153ea3": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,183,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "0f2ed0127673d1b2": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97-98,9,99-105,8-9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "124ed9c702bee348": "0,196,1-23,9,24-26,18-19,27-29,9,30-39,19,115,188,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "15bd39a6fc493adc": "0,194,1-23,9,24-26,18-19,27-29,9,30-39,19,97,188,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "17d670c966d08784": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,98,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "18e8a70c5ca73bd1": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,197,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "1a48f06e423b21b1": "0-23,9,24-26,18-19,27-29,9,30-39,19,97-98,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "1a94f49e50cc98e7": "0-23,9,24-26,18-19,27-29,9,30-39,19,198,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "1b164044343caecc": "0-23,9,24-26,18-19,27-29,9,30-39,19,199,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,200,65-66,72,9,82,201,81,88,202,90-94,81,47,88,95,90,96",
+ "1b406b77f1646031": "0-23,9,24-26,18-19,27-29,9,30-39,19,40-41,9,43-44,53-54,116,47,88,95,90,96",
+ "1ce45929ed453b20": "0-23,9,24-26,18-19,27-29,9,30-39,19,189,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "1d6d3c89b8e051be": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,183,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "1ecf93f35b06842f": "0,203,1-23,9,24-26,18-19,27-29,9,30-39,19,97,188,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "1f3ad46151edb229": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,42-45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "1f6b1d7a272abf20": "0,204,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,188,9,43-44,53-54,116,47,88,95,90,96",
+ "1ff8f4e6dbc0ad9c": "0-23,9,24-26,18-19,27-29,9,30-39,19,205,41,9,42-45,108,47-60,8,61,9,62-63,206,65-66,72,9,82,207,81,88,208,90-94,81,47,88,95,90,96",
+ "203b270881ea7a03": "1-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "20e488dd9b9a6db3": "0-23,9,24-26,18-19,27-29,9,30-39,19,199,41,9,42-60,8,61,9,62-63,200,65-66,72,9,82,201,81,88,202,90-94,81,47,88,95,90,96",
+ "21461930f870d1a0": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97-98,9,99-105,8-9,106,43-44,107,45-47,53-54,116,47,113,88,114,90,96",
+ "21477e5b873921df": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,183,9,99-105,8-9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "237419b577f0e311": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,42-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "23a87a61875a1b26": "0-23,9,24-26,18-19,27-29,9,30-39,19,209,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "24323ca815e6b459": "0-23,9,24-26,18-19,27-29,9,30-39,19,210,41,9,43-44,53-54,116,47,88,95,90,96",
+ "2435aa0b35cdb24d": "0-23,9,24-26,18-19,27-29,9,30-39,19,97-98,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "25f972192c86ea45": "0-23,9,24-26,18-19,27-29,9,30-39,19,211,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "265650eb69af706a": "0,204,1-23,9,24-26,18-19,27-29,9,30-39,19,115,188,9,43-44,53-54,116,47,88,95,90,96",
+ "269b2f7baedea18c": "0,187,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,195,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "269d0e6563e64f0d": "0-23,9,24-26,18-19,27-29,9,30-39,19,198,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "26ca6f2dadd072f8": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,43-47,53-54,116,47,88,95,90,96",
+ "27a836e682b98723": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,106,43-47,53-54,116,47,113,88,114,90,96",
+ "2ab1822bb2271d67": "1-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "2d62819ce47e3b42": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "2d80b1defb7b1001": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,165-167,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "2ded6125a64e121f": "0,194,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,195,9,99-105,8-9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "2f22dad288826657": "0-23,9,24-26,18-19,27-29,9,30-39,19,210,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,212,65-66,72,9,82,213,81,88,214,90-94,81,47,88,95,90,96",
+ "2f7fb0adcf8fb3d1": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,197,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "306ba84b64a8a4af": "0-23,9,24-26,18-19,27-29,9,30-39,19,174,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "307c6b37e5b6c6d6": "0-23,9,24-26,18-19,27-29,9,30-39,19,205,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "31fa1384cc1115db": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,98,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "3256adfa93ca9f4b": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "32b093be7e187b4b": "0-23,9,24-26,18-19,27-29,9,30-39,19,205,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,206,65-66,72,9,82,207,81,88,208,90-94,81,47,88,95,90,96",
+ "33068c02aca6ca78": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,183,9,99-105,8-9,43-44,53-54,116,47,113,88,114,90,96",
+ "3348835e2ac5a312": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,42-45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "33623c1f7402348c": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "3402c3e4dc5f2085": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,98,9,43-44,53-54,116,47,88,95,90,96",
+ "3463005827012d1d": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "34d02d6244764845": "0-23,9,24-26,18-19,27-29,9,30-39,19,211,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "3579d34fe614f217": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,215,88,216,90,217,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "35944e1c7295fa43": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,42-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "35e12787d1ff5321": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,183,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "3609040f06168ca8": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "37cebe7d8c874de3": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,197,9,99-105,8-9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "385127ab4919bddc": "1,47,186",
+ "38753492b19d6e94": "0,187,1-23,9,24-26,18-19,27-29,9,30-39,19,115,195,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "3937601228c1066a": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,42-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "3a63d3896fa94eb5": "0-23,9,24-26,18-19,27-29,9,30-39,19,199,41,9,42-45,108,47-60,8,61,9,62-63,200,65-66,72,9,82,201,81,88,202,90-94,81,47,88,95,90,96",
+ "3bc9676b1b32bc93": "0-23,9,24-26,18-19,27-29,9,30-39,19,40-41,9,106,43-44,107,45-47,53-60,8,61,9,62-71,19,72,9,73-80,66,81-85,19,86-87,81,88-94,81,47,88,95,90,96",
+ "3cadcce8f7ad5059": "0,204,1-23,9,24-26,18-19,27-29,9,30-39,19,115,195,9,43-44,53-54,116,47,88,95,90,96",
+ "3fc5e82ac94aabf7": "0,203,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,195,9,99-105,8-9,43-44,53-54,116,47,113,88,114,90,96",
+ "406f8e8e650f18fb": "0-23,9,24-26,18-19,27-29,9,30-39,19,218,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,219,65-68,220,70-71,19,72,9,73-80,66,81-85,19,221,87,81,88,222,90-94,81,47,88,95,90,96",
+ "418af9282e767258": "0-23,9,24-26,18-19,27-29,9,30-39,19,223,41,9,43-44,53-54,116,47,88,95,90,96",
+ "42bd6c42aff67501": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,197,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "42f429132c378a8b": "0-23,9,24-26,18-19,27-29,9,30-39,19,210,41,9,42-60,8,61,9,62-63,212,65-66,72,9,82,213,81,88,214,90-94,81,47,88,95,90,96",
+ "43394cb7eb88560e": "1-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "43c157a64ad1ffe1": "0-23,9,24-26,18-19,27-29,9,30-39,19,205,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "45825a7e3ded6988": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,43-47,53-54,116,47,88,95,90,96",
+ "48c8e80ed8ec86b0": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,42-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "48cbff4651331507": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,183,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "48ec0d4eb45ff6b4": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "4ada3b8890638b4d": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,42-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "4bb0520b0a05ff7b": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,43-47,53-54,116,47,113,88,114,90,96",
+ "4cb04000798b214c": "0-23,9,24-26,18-19,27-29,9,30-39,19,205,41,9,43-44,53-54,116,47,88,95,90,96",
+ "4d8be7d753858655": "0-23,9,24-26,18-19,27-29,9,30-39,19,218,41,9,42-60,8,61,9,62-63,219,65-68,220,70-71,19,72,9,73-80,66,81-85,19,221,87,81,88,222,90-94,81,47,88,95,90,96",
+ "4d9f6f766ba023cf": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,165-167,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "4de7efb168e02783": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "4e9f436b9130ae81": "0,224,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,195,9,99-105,8-9,106,43-44,107,45,108,47,53-54,116,47,113,88,114,90,96",
+ "4f29b2166d424a23": "0,196,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,195,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "50bfe01e011fe949": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,43-44,53-54,215,88,216,90,217,116,47,88,95,90,96",
+ "51188e0099d2c96e": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "537f16c49ba6d936": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,42-45,108,47-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "53823f89360b6d9c": "0-23,9,24-26,18-19,27-29,9,30-39,19,218,41,9,43-44,53-54,116,47,88,95,90,96",
+ "53ece820090e0602": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,43-45,108,47,53-54,116,47,88,95,90,96",
+ "552a8148fbab4054": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,197,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "56226814df91c615": "0-23,9,24-26,18-19,27-29,9,30-39,19,174,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,175,65-68,176,70-71,19,72,9,73-80,66,81-85,19,177,87,81,88,178,90-94,81,47,88,95,90,96",
+ "562458ca466e1713": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "569649acfec5c688": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,183,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "575db33b1edb54be": "0-23,9,24-26,18-19,27-29,9,30-39,19,210,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,212,65-66,72,9,82,213,81,88,214,90-94,81,47,88,95,90,96",
+ "589fb104e1868c85": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97-98,9,99-105,8-9,43-44,53-54,116,47,113,88,114,90,96",
+ "591798e67f4ef6a0": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,42-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "5919aa70c4446a87": "0,224,1-23,9,24-26,18-19,27-29,9,30-39,19,97,195,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "5b089238e2b2e176": "0,196,1-23,9,24-26,18-19,27-29,9,30-39,19,115,195,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "5b1e3819f8c9b035": "0-23,9,24-26,18-19,27-29,9,30-39,19,223,41,9,42-45,108,47-60,8,61,9,62-63,225,65-66,72,9,82,226,81,88,227,90-94,81,47,88,95,90,96",
+ "5db81f6e7a7acd61": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,98,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "5e3bc52eef2290fd": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,197,9,99-105,8-9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "5f1af00b5de57858": "0-23,9,24-26,18-19,27-29,9,30-39,19,199,41,9,43-44,53-54,116,47,88,95,90,96",
+ "5fbd5eb054e5f6c3": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,42-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "62615f8798b8a874": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,43-47,53-54,116,47,88,95,90,96",
+ "62d2cfa3fb41f72e": "228",
+ "64ceea90adf84bf2": "1,106,184,47,186",
+ "64e89021308bab75": "0-23,9,24-26,18-19,27-29,9,30-39,19,223,41,9,42-60,8,61,9,62-63,225,65-66,72,9,82,226,81,88,227,90-94,81,47,88,95,90,96",
+ "650a7afe87784749": "0,187,1-23,9,24-26,18-19,27-29,9,30-39,19,115,188,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "651a16da2bedc3f0": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,42-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "65462f25a9812cf1": "0-23,9,24-26,18-19,27-29,9,30-39,19,199,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "65d1d0f82a0ede85": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,43-44,53-54,116,47,88,95,90,96",
+ "6640c1dd74af9166": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,106,43-44,107,45-47,53-54,116,47,113,88,114,90,96",
+ "666fae98b6178f28": "0,187,1-23,9,24-26,18-19,27-29,9,30-39,19,115,195,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "67e776934b5cb2c1": "0-23,9,24-26,18-19,27-29,9,30-39,19,229,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "690f73c631f390ae": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,106,43-44,53-54,116,47,88,95,90,96",
+ "693e9eab2fbe9f85": "0-23,9,24-26,18-19,27-29,9,30-39,19,198,41,9,43-44,53-54,116,47,88,95,90,96",
+ "6995b5c29a3ffde9": "0-23,9,24-26,18-19,27-29,9,30-39,19,223,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,225,65-66,72,9,82,226,81,88,227,90-94,81,47,88,95,90,96",
+ "69c1cd92f598a62b": "0-23,9,24-26,18-19,27-29,9,30-39,19,189,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,190,65-66,72,9,82,191,81,88,192,90-94,81,47,88,95,90,96",
+ "6a11b5365fc5c37e": "0,203,1-23,9,24-26,18-19,27-29,9,30-39,19,97,195,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "6a3e5127b11338c6": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,42-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "6a60e2bf39605e9d": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,183,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "6e0e53c0a6277bcf": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "6e5558487cae08e8": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "6f3aa7874c524a3c": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,106,43-45,108,47,53-54,116,47,88,95,90,96",
+ "6ff16fbc5a6cfd36": "0,224,1-23,9,24-26,18-19,27-29,9,30-39,19,97,188,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "703bf9ebb2ca61a1": "0-23,9,24-26,18-19,27-29,9,30-39,19,193,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,230,65-66,72,9,82,231,81,88,232,90-94,81,47,88,95,90,96",
+ "70c54c1c43f692be": "0-23,9,24-26,18-19,27-29,9,30-39,19,193,41,9,42-60,8,61,9,62-63,230,65-66,72,9,82,231,81,88,232,90-94,81,47,88,95,90,96",
+ "70f02b7884bdd3a6": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,106,43-44,107,45,108,47,53-54,116,47,113,88,114,90,96",
+ "71a250314be3b958": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "71fbdfb1c2886a21": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,42-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "724fe58e9ac8832b": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,98,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "72afdb1704602422": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,42-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "735fc8cccc4876b0": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,183,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "78f9e6141271bd16": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,165-167,43-44,53-54,116,47,88,95,90,96",
+ "7bdea188dbb11f12": "0-23,9,24-26,18-19,27-29,9,30-39,19,210,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "7c7062ca21621dde": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,41,9,99-105,8-9,106,43-44,107,45,108,47,53-54,116,47,113,88,114,90,96",
+ "7ca3b0d219902ccc": "0-23,9,24-26,18-19,27-29,9,30-39,19,218,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,219,65-68,220,70-71,19,72,9,73-80,66,81-85,19,221,87,81,88,222,90-94,81,47,88,95,90,96",
+ "7d64051435ab52a7": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,106,43-47,53-54,116,47,88,95,90,96",
+ "82cf5102bb204d39": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,41,9,43-44,53-54,116,47,88,95,90,96",
+ "850bcc31bdfedd6e": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,183,9,99-105,8-9,106,43-44,107,45-47,53-54,116,47,113,88,114,90,96",
+ "85d50c86bae2e371": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,183,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "868e9c9884dec5d0": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,42-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "86dcaa94ce6e6e71": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,98,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "87ea7f3221f47f57": "0,194,1-23,9,24-26,18-19,27-29,9,30-39,19,97,188,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "8808419654dd02ab": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,41,9,99-105,8-9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "88e6b629c05062df": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,43-44,53-54,116,47,88,95,90,96",
+ "88f36b4b6cf2a53a": "0,203,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,188,9,99-105,8-9,43-44,53-54,116,47,113,88,114,90,96",
+ "891e69d79238beae": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "8a8f0fd9bfad5c0d": "0,196,1-23,9,24-26,18-19,27-29,9,30-39,19,115,195,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "8b82a586482097d4": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,183,9,43-44,53-54,116,47,88,95,90,96",
+ "8c5feac55e0fea8e": "0-23,9,24-26,18-19,27-29,9,30-39,19,209,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,233,65-68,234,70-71,19,72,9,73-80,66,81-85,19,235,87,81,88,236,90-94,81,47,88,95,90,96",
+ "8d15ba1a6bb8764a": "0-23,9,24-26,18-19,27-29,9,30-39,19,198,41,9,42-60,8,61,9,62-63,237,65-68,238,70-71,19,72,9,73-80,66,81-85,19,239,87,81,88,240,90-94,81,47,88,95,90,96",
+ "8d624df66174f644": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,183,9,43-44,53-54,116,47,88,95,90,96",
+ "8f9118638b56c4db": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,42-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "9036debb50218c45": "0,224,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,188,9,99-105,8-9,106,43-44,107,45-47,53-54,116,47,113,88,114,90,96",
+ "913104024dc3b4ad": "1-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "91e25dc9f90259a2": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,98,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "9352911faffa0cca": "0-23,9,24-26,18-19,27-29,9,30-39,19,209,41,9,42-45,108,47-60,8,61,9,62-63,233,65-68,234,70-71,19,72,9,73-80,66,81-85,19,235,87,81,88,236,90-94,81,47,88,95,90,96",
+ "935aee4f8b76acbc": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "935c29a2a311f941": "0-23,9,24-26,18-19,27-29,9,30-39,19,193,41,9,43-44,53-54,116,47,88,95,90,96",
+ "9465be56d054cfa3": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,183,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "94d7e0ee0d72d272": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "95050d3ab965f3df": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,197,9,99-105,8-9,106,43-44,107,45,108,47,53-54,116,47,113,88,114,90,96",
+ "953c0cc3b83c21c2": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "964999827ad56984": "0-23,9,24-26,18-19,27-29,9,30-39,19,223,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,225,65-66,72,9,82,226,81,88,227,90-94,81,47,88,95,90,96",
+ "9659ffaf99a7dc49": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,197,9,99-105,8-9,43-44,53-54,116,47,113,88,114,90,96",
+ "966b34df983dc9a6": "0-23,9,24-26,18-19,27-29,9,30-39,19,205,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,206,65-66,72,9,82,207,81,88,208,90-94,81,47,88,95,90,96",
+ "97a187ed9da26aaa": "0-23,9,24-26,18-19,27-29,9,30-39,19,198,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,237,65-68,238,70-71,19,72,9,73-80,66,81-85,19,239,87,81,88,240,90-94,81,47,88,95,90,96",
+ "97c6da0312e29f50": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,183,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "9c84cd4030aea732": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,43-44,53-54,116,47,88,95,90,96",
+ "9d1fee41493c798d": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,42-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "9d2eee5ae4505574": "0-23,9,24-26,18-19,27-29,9,30-39,19,211,41,9,43-44,53-54,116,47,88,95,90,96",
+ "9eb5f3246422dc57": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "9f3a7b86f88bac41": "0-23,9,24-26,18-19,27-29,9,30-39,19,211,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,241,65-66,72,9,82,242,81,88,243,90-94,81,47,88,95,90,96",
+ "a0705f9fcefad542": "0,196,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,188,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "a0b0c05a0730ad0b": "0,196,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,195,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "a11a1175394c9296": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "a120a8721543f5a8": "0,194,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,188,9,99-105,8-9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "a22f8bb600fe3ced": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,98,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "a281f5fc57aa2116": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,42-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "a2b69d41d4a20fac": "0-23,9,24-26,18-19,27-29,9,30-39,19,40-41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "a40eb6d87b29925d": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,183,9,99-105,8-9,106,43-44,107,45,108,47,53-54,116,47,113,88,114,90,96",
+ "a477a03b53d8d58a": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "a5f274680cea45d0": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "a70f9bad190d7589": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,42-45,108,47-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "a7ee3d598542a3e3": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,43-44,53-54,215,88,216,90,217,116,47,88,95,90,96",
+ "a841d3b34211994c": "0-23,9,24-26,18-19,27-29,9,30-39,19,211,41,9,42-45,108,47-60,8,61,9,62-63,241,65-66,72,9,82,242,81,88,243,90-94,81,47,88,95,90,96",
+ "a850e0c60fd0d02e": "0-23,9,24-26,18-19,27-29,9,30-39,19,218,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "aac3ed4560096bb1": "0,194,1-23,9,24-26,18-19,27-29,9,30-39,19,97,195,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "abd3cbf93d3a5013": "0-23,9,24-26,18-19,27-29,9,30-39,19,211,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,241,65-66,72,9,82,242,81,88,243,90-94,81,47,88,95,90,96",
+ "ac081d9f3eec9372": "0-23,9,24-26,18-19,27-29,9,30-39,19,174,41,9,42-45,108,47-60,8,61,9,62-63,175,65-68,176,70-71,19,72,9,73-80,66,81-85,19,177,87,81,88,178,90-94,81,47,88,95,90,96",
+ "aebd47740f6d90e4": "0-23,9,24-26,18-19,27-29,9,30-39,19,198,41,9,42-45,108,47-60,8,61,9,62-63,237,65-68,238,70-71,19,72,9,73-80,66,81-85,19,239,87,81,88,240,90-94,81,47,88,95,90,96",
+ "b044bbd67010dde7": "1,42,184,47,186",
+ "b0ddc4c5e632213b": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "b0f35f2574de9dad": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "b22d41b0a32fffa0": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,41,9,99-105,8-9,43-44,53-54,116,47,113,88,114,90,96",
+ "b5dd48d6bedd7ece": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "b5e3e2e876c44543": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,41,9,99-105,8-9,106,43-44,107,45-47,53-54,116,47,113,88,114,90,96",
+ "b8441cdf14bf6ff1": "0,224,1-23,9,24-26,18-19,27-29,9,30-39,19,97,188,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "ba49789dd78eaa86": "0,224,1-23,9,24-26,18-19,27-29,9,30-39,19,97,195,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "bc34063cb4058279": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,106,43-44,53-54,116,47,113,88,114,90,96",
+ "bcf84a77c0ea19ef": "0-23,9,24-26,18-19,27-29,9,30-39,19,199,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,200,65-66,72,9,82,201,81,88,202,90-94,81,47,88,95,90,96",
+ "bdf5048261088092": "0-23,9,24-26,18-19,27-29,9,30-39,19,205,41,9,42-60,8,61,9,62-63,206,65-66,72,9,82,207,81,88,208,90-94,81,47,88,95,90,96",
+ "be28ccfe0963b05f": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,197,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "c29493afa47d8084": "0-23,9,24-26,18-19,27-29,9,30-39,19,209,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "c34f151252177e27": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "c35dabe2c6acd9f6": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "c3d7a59f5624e664": "0,224,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,195,9,99-105,8-9,106,43-44,107,45-47,53-54,116,47,113,88,114,90,96",
+ "c4709e75a7601ad9": "0-23,9,24-26,18-19,27-29,9,30-39,19,209,41,9,42-60,8,61,9,62-63,233,65-68,234,70-71,19,72,9,73-80,66,81-85,19,235,87,81,88,236,90-94,81,47,88,95,90,96",
+ "c49c925ed044ea2a": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "c4d15813dff15e4a": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "c626c1081ee52b75": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "c6600adc00f6dc4a": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "c661668e7766bc8a": "0-23,9,24-26,18-19,27-29,9,30-39,19,218,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "c851daf5f9628e9d": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,43-45,108,47,53-54,116,47,88,95,90,96",
+ "c85913964b79576f": "0-23,9,24-26,18-19,27-29,9,30-39,19,174,41,9,43-44,53-54,116,47,88,95,90,96",
+ "ca542de15f73b437": "0-23,9,24-26,18-19,27-29,9,30-39,19,193,41,9,42-45,108,47-60,8,61,9,62-63,230,65-66,72,9,82,231,81,88,232,90-94,81,47,88,95,90,96",
+ "cb2f611e1185d8ef": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,106,43-45,108,47,53-54,116,47,113,88,114,90,96",
+ "cc6283821326b0f6": "0-23,9,24-26,18-19,27-29,9,30-39,19,211,41,9,42-60,8,61,9,62-63,241,65-66,72,9,82,242,81,88,243,90-94,81,47,88,95,90,96",
+ "cd72c753fad39994": "0,187,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,188,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "d0a360b4673a421e": "0-23,9,24-26,18-19,27-29,9,30-39,19,198,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,237,65-68,238,70-71,19,72,9,73-80,66,81-85,19,239,87,81,88,240,90-94,81,47,88,95,90,96",
+ "d203c9bce1596f36": "0-23,9,24-26,18-19,27-29,9,30-39,19,193,41,9,106,43-44,107,45-47,53-60,8,61,9,62-63,230,65-66,72,9,82,231,81,88,232,90-94,81,47,88,95,90,96",
+ "d239e4db3a4ae037": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,42-45,108,47-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "d27624d1059116f5": "0-23,9,24-26,18-19,27-29,9,30-39,19,223,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "d2d4f1176342c5b8": "0-23,9,24-26,18-19,27-29,9,30-39,19,189,41,9,42-45,108,47-60,8,61,9,62-63,190,65-66,72,9,82,191,81,88,192,90-94,81,47,88,95,90,96",
+ "d304cd5c4ffee7f2": "0-23,9,24-26,18-19,27-29,9,30-39,19,210,41,9,42-45,108,47-60,8,61,9,62-63,212,65-66,72,9,82,213,81,88,214,90-94,81,47,88,95,90,96",
+ "d3d47110e2e94c67": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,165-167,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "d5896badcb97fd4e": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,42-45,108,47-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "d5c56b1f9e8469c7": "0,224,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,188,9,99-105,8-9,106,43-44,107,45,108,47,53-54,116,47,113,88,114,90,96",
+ "d61072c0d9b4490d": "0-23,9,24-26,18-19,27-29,9,30-39,19,209,41,9,43-44,53-54,116,47,88,95,90,96",
+ "d6cf157b106b6bcc": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,197,9,99-105,8-9,106,43-44,107,45-47,53-54,116,47,113,88,114,90,96",
+ "d76e450004594e71": "0-23,9,24-26,18-19,27-29,9,30-39,19,218,41,9,42-45,108,47-60,8,61,9,62-63,219,65-68,220,70-71,19,72,9,73-80,66,81-85,19,221,87,81,88,222,90-94,81,47,88,95,90,96",
+ "d7e7acea473d4b7d": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,183,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "d8a1d5f6879c6475": "0-23,9,24-26,18-19,27-29,9,30-39,19,209,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,233,65-68,234,70-71,19,72,9,73-80,66,81-85,19,235,87,81,88,236,90-94,81,47,88,95,90,96",
+ "d9f24b5fdd4dc144": "0-23,9,24-26,18-19,27-29,9,30-39,19,40-41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "dcf70c4e79415478": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,42-45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "dcfc42f757b14785": "0-23,9,24-26,18-19,27-29,9,30-39,19,223,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "dd2e8c20e73dfeed": "0-23,9,24-26,18-19,27-29,9,30-39,19,174,41,9,42-60,8,61,9,62-63,175,65-68,176,70-71,19,72,9,73-80,66,81-85,19,177,87,81,88,178,90-94,81,47,88,95,90,96",
+ "ddbd69378baccfdf": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,98,9,43-44,53-54,116,47,88,95,90,96",
+ "e0772628871f61bf": "0,187,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,195,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "e17f0fef0b1fc498": "0,187,1-23,9,24-26,18-19,27-29,9,30-39,19,115,188,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "e215b9720b14e16b": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "e355057788c762ec": "0-23,9,24-26,18-19,27-29,9,30-39,19,40-41,9,106,43-44,107,45,108,47,53-60,8,61,9,62-71,19,72,9,73-80,66,81-85,19,86-87,81,88-94,81,47,88,95,90,96",
+ "e363c0abe73c23d4": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,43-45,108,47,53-54,116,47,88,95,90,96",
+ "e3eded63a7772bbe": "0-23,9,24-26,18-19,27-29,9,30-39,19,229,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "e4d20f47fe7119c2": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "e5959315092086ed": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,43-44,53-54,215,88,216,90,217,116,47,113,88,114,90,96",
+ "ea0097478eca582a": "0-23,9,24-26,18-19,27-29,9,30-39,19,174,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "ea98a93426cbcd65": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,117,9,106,43-44,107,45-47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "ec22a1730944bf61": "0-23,9,24-26,18-19,27-29,9,30-39,19,193,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "ec4e1d3ce5e94774": "0-23,9,24-26,18-19,27-29,9,30-39,19,229,41,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "ed1163bbdbfe0acf": "0,196,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,188,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "edab24d69968330b": "1-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "eed68f0c072f1c0f": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,117,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "ef5cf40ee63e6cc6": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,41,9,99-105,8-9,106,43-44,107,45,108,47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "ef68ccc56e9eb6eb": "0-23,9,24-26,18-19,27-29,9,30-39,19,115,41,9,106,165-167,43-44,107,45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "f1d38fcc8501e417": "0-23,9,24-26,18-19,27-29,9,30-39,19,97,183,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,43-44,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "f457262c576d0497": "0,204,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,195,9,43-44,53-54,116,47,88,95,90,96",
+ "f4b0b226ec584e8d": "1,106,184-185,47,186",
+ "f55b8c8ed1b0b660": "0-23,9,24-26,18-19,27-29,9,30-39,19,210,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "f59b28248fc182ad": "0-23,9,24-26,18-19,27-29,9,30-39,19,199,41,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "f6936b5d48a3b71e": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,117,9,99-105,8-9,43-44,53-54,116,47,113,88,114,90,96",
+ "f71aaf923f1fbf7b": "0-23,9,24-26,18-19,27-29,9,30-39,19,97-98,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45,108,47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "f8da703a541ad557": "0,194,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,195,9,99-105,8-9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "f9805884a86bf6f3": "0-23,9,24-26,18-19,27-29,9,30-39,19,97-98,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96",
+ "fa90482b575e4440": "0-23,9,24-26,18-19,27-29,9,30-39,19,189,41,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "fb1c8d1224797520": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,98,9,106,43-44,107,45-47,53-54,116,47,88,95,90,96",
+ "fc689472ed846868": "0,196,1-23,9,24-26,18-19,27-29,9,30-39,19,115,188,9,106,43-44,107,45,108,47,53-54,116,47,88,95,90,96",
+ "fdd394b6d21764cf": "0-23,9,24-26,18-19,27-29,9,30-34,36-39,19,115,117,9,42-45,108,47,53-60,8,61,9,62-63,179,65-68,180,70-71,19,72,9,73-80,66,81-85,19,181,87,81,88,182,90-94,81,47,88,95,90,96",
+ "fe38ae1bc6dd2596": "0,194,1-23,9,24-26,18-19,27-29,9,30-34,36-39,19,97,188,9,99-105,8-9,106,43-44,107,45-47,53-60,8,61,9,62-63,109,65-68,110,70-71,19,72,9,73-80,66,81-85,19,111,87,81,88,112,90-94,81,47,113,88,114,90,96",
+ "fe87e8a876d61576": "0-23,9,24-26,18-19,27-29,9,30-39,19,97-98,9,99-105,8-9,118-141,9,142-146,22,9,147,143,148-153,18-19,154-164,9,106,43-44,107,45-47,53-54,116,47,168-172,90,173,171-172,90,173,171-172,90,173,171-172,90,173,96"
+},
+"argv": {
+ "claude · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"01a46f062041a588","command":1},
+ "claude · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto"],"script":"01a46f062041a588","command":3},
+ "claude · new, not approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"01a46f062041a588","command":1},
+ "claude · new, a mode the engine lacks · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto"],"script":"01a46f062041a588","command":3},
+ "claude · new, mode auto · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto"],"script":"01a46f062041a588","command":3},
+ "claude · new, mode acceptEdits · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","acceptEdits"],"script":"01a46f062041a588","command":3},
+ "claude · new, mode plan · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","plan"],"script":"01a46f062041a588","command":3},
+ "claude · new, mode ask · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"01a46f062041a588","command":1},
+ "claude · new, mode full · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--dangerously-skip-permissions"],"script":"01a46f062041a588","command":2},
+ "claude · first prompt · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"01a46f062041a588","command":2},
+ "claude · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--resume","sess-0001"],"script":"01a46f062041a588","command":3},
+ "claude · resume, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto","--resume","sess-0001"],"script":"01a46f062041a588","command":5},
+ "claude · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--resume","src-0001","--fork-session"],"script":"01a46f062041a588","command":4},
+ "claude · fork outranks resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto","--resume","src-0001","--fork-session"],"script":"01a46f062041a588","command":6},
+ "claude · fork with a prompt · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--resume","src-0001","--fork-session","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"01a46f062041a588","command":5},
+ "claude · grid argv · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"88e6b629c05062df","command":5},
+ "claude · remote server argv passed through · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--remote","ws://127.0.0.1:4500"],"script":"01a46f062041a588","command":3},
+ "claude · install first · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"50bfe01e011fe949","command":1},
+ "claude · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"6e0e53c0a6277bcf","command":8},
+ "claude · create, plain · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto"],"script":"04e45f6eaae20144","command":3},
+ "claude · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001"],"script":"868e9c9884dec5d0","command":5},
+ "claude · adopt, now, carrying on · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","continue"],"script":"26ca6f2dadd072f8","command":6},
+ "claude · fork shape · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","src-0001","--fork-session","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"04e45f6eaae20144","command":9},
+ "claude · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"94d7e0ee0d72d272","command":9},
+ "claude · restart, fresh fallback · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"45825a7e3ded6988","command":5},
+ "claude · restore · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_provider=\"openai\""],"script":"71fbdfb1c2886a21","command":7},
+ "claude · resume service · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--resume","sess-0001"],"script":"04e45f6eaae20144","command":3},
+ "claude · retarget onto a grid · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"45825a7e3ded6988","command":9},
+ "codex · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"3256adfa93ca9f4b","command":1},
+ "codex · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--approve-for-me"],"script":"3256adfa93ca9f4b","command":2},
+ "codex · new, not approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"3256adfa93ca9f4b","command":1},
+ "codex · new, a mode the engine lacks · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--approve-for-me"],"script":"3256adfa93ca9f4b","command":2},
+ "codex · new, mode auto · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--approve-for-me"],"script":"3256adfa93ca9f4b","command":2},
+ "codex · new, mode readOnly · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--sandbox","read-only"],"script":"3256adfa93ca9f4b","command":3},
+ "codex · new, mode ask · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"3256adfa93ca9f4b","command":1},
+ "codex · new, mode full · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--dangerously-bypass-approvals-and-sandbox"],"script":"3256adfa93ca9f4b","command":2},
+ "codex · first prompt · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"3256adfa93ca9f4b","command":2},
+ "codex · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","resume","sess-0001"],"script":"3256adfa93ca9f4b","command":3},
+ "codex · resume, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","resume","sess-0001","--approve-for-me"],"script":"3256adfa93ca9f4b","command":4},
+ "codex · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","fork","src-0001"],"script":"3256adfa93ca9f4b","command":3},
+ "codex · fork outranks resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","fork","src-0001","--approve-for-me"],"script":"3256adfa93ca9f4b","command":4},
+ "codex · fork with a prompt · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","fork","src-0001","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"3256adfa93ca9f4b","command":4},
+ "codex · grid argv · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a11a1175394c9296","command":5},
+ "codex · remote server argv passed through · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--remote","ws://127.0.0.1:4500"],"script":"3256adfa93ca9f4b","command":3},
+ "codex · install first · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"3579d34fe614f217","command":1},
+ "codex · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"c4d15813dff15e4a","command":7},
+ "codex · create, plain · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me"],"script":"8f9118638b56c4db","command":2},
+ "codex · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me"],"script":"3937601228c1066a","command":4},
+ "codex · adopt, now, carrying on · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","continue"],"script":"3463005827012d1d","command":5},
+ "codex · fork shape · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","fork","src-0001","--approve-for-me","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"8f9118638b56c4db","command":7},
+ "codex · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a477a03b53d8d58a","command":8},
+ "codex · restart, fresh fallback · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c35dabe2c6acd9f6","command":5},
+ "codex · restore · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_provider=\"openai\""],"script":"237419b577f0e311","command":6},
+ "codex · resume service · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001"],"script":"8f9118638b56c4db","command":3},
+ "codex · retarget onto a grid · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c35dabe2c6acd9f6","command":8},
+ "cursor · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cursor-agent"],"script":"4cb04000798b214c","command":1},
+ "cursor · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cursor-agent","--force"],"script":"4cb04000798b214c","command":2},
+ "cursor · new, mode auto · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cursor-agent","--force"],"script":"4cb04000798b214c","command":2},
+ "cursor · new, mode ask · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cursor-agent"],"script":"4cb04000798b214c","command":1},
+ "cursor · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cursor-agent","--resume","sess-0001"],"script":"4cb04000798b214c","command":3},
+ "cursor · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cursor-agent"],"script":"4cb04000798b214c","command":1},
+ "cursor · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cursor-agent","--force","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"966b34df983dc9a6","command":6},
+ "cursor · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cursor-agent","--force","--resume","sess-0001"],"script":"bdf5048261088092","command":4},
+ "cursor · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cursor-agent","--force","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"307c6b37e5b6c6d6","command":8},
+ "opencode · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","opencode"],"script":"c85913964b79576f","command":1},
+ "opencode · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","opencode","--auto"],"script":"c85913964b79576f","command":2},
+ "opencode · new, mode auto · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","opencode","--auto"],"script":"c85913964b79576f","command":2},
+ "opencode · new, mode ask · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","opencode"],"script":"c85913964b79576f","command":1},
+ "opencode · first prompt · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","opencode","--prompt","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"c85913964b79576f","command":3},
+ "opencode · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","opencode","--session","sess-0001"],"script":"c85913964b79576f","command":3},
+ "opencode · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","opencode"],"script":"c85913964b79576f","command":1},
+ "opencode · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","opencode","--auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","--prompt","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"0360f1049d31fdc7","command":8},
+ "opencode · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","opencode","--auto","--session","sess-0001"],"script":"dd2e8c20e73dfeed","command":4},
+ "opencode · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","opencode","--auto","--session","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"306ba84b64a8a4af","command":8},
+ "pi · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","pi"],"script":"1b406b77f1646031","command":1},
+ "pi · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","pi"],"script":"1b406b77f1646031","command":1},
+ "pi · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","pi","--session","sess-0001"],"script":"1b406b77f1646031","command":3},
+ "pi · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","pi"],"script":"1b406b77f1646031","command":1},
+ "pi · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","pi","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"3bc9676b1b32bc93","command":5},
+ "pi · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","pi","--session","sess-0001"],"script":"00644218e23b3981","command":3},
+ "pi · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","pi","--session","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d9f24b5fdd4dc144","command":7},
+ "hermes · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","hermes"],"script":"24323ca815e6b459","command":1},
+ "hermes · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","hermes"],"script":"24323ca815e6b459","command":1},
+ "hermes · first prompt · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","hermes","chat","-q","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"24323ca815e6b459","command":4},
+ "hermes · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","hermes","--resume","sess-0001"],"script":"24323ca815e6b459","command":3},
+ "hermes · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","hermes"],"script":"24323ca815e6b459","command":1},
+ "hermes · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","hermes","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","chat","-q","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"2f22dad288826657","command":8},
+ "hermes · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","hermes","--resume","sess-0001"],"script":"42f429132c378a8b","command":3},
+ "hermes · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","hermes","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"7bdea188dbb11f12","command":7},
+ "commandcode · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cmd"],"script":"53823f89360b6d9c","command":1},
+ "commandcode · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cmd"],"script":"53823f89360b6d9c","command":1},
+ "commandcode · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cmd","--resume","sess-0001"],"script":"53823f89360b6d9c","command":3},
+ "commandcode · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","cmd"],"script":"53823f89360b6d9c","command":1},
+ "commandcode · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cmd","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"7ca3b0d219902ccc","command":5},
+ "commandcode · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cmd","--resume","sess-0001"],"script":"4d8be7d753858655","command":3},
+ "commandcode · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cmd","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c661668e7766bc8a","command":7},
+ "devin · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","devin"],"script":"5f1af00b5de57858","command":1},
+ "devin · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","devin"],"script":"5f1af00b5de57858","command":1},
+ "devin · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","devin","--resume","sess-0001"],"script":"5f1af00b5de57858","command":3},
+ "devin · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","devin"],"script":"5f1af00b5de57858","command":1},
+ "devin · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","devin","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"1b164044343caecc","command":5},
+ "devin · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","devin","--resume","sess-0001"],"script":"20e488dd9b9a6db3","command":3},
+ "devin · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","devin","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"65462f25a9812cf1","command":7},
+ "muse · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","muse"],"script":"935c29a2a311f941","command":1},
+ "muse · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","muse"],"script":"935c29a2a311f941","command":1},
+ "muse · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","muse","resume","sess-0001"],"script":"935c29a2a311f941","command":3},
+ "muse · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","muse"],"script":"935c29a2a311f941","command":1},
+ "muse · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","muse","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d203c9bce1596f36","command":5},
+ "muse · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","muse","resume","sess-0001"],"script":"70c54c1c43f692be","command":3},
+ "muse · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","muse","resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"0bf4cf1c7d50fda0","command":7},
+ "amp · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","amp"],"script":"418af9282e767258","command":1},
+ "amp · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","amp"],"script":"418af9282e767258","command":1},
+ "amp · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","amp","threads","continue","sess-0001"],"script":"418af9282e767258","command":4},
+ "amp · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","amp"],"script":"418af9282e767258","command":1},
+ "amp · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","amp","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"6995b5c29a3ffde9","command":5},
+ "amp · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","amp","threads","continue","sess-0001"],"script":"64e89021308bab75","command":4},
+ "amp · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","amp","threads","continue","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d27624d1059116f5","command":8},
+ "kilo · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","kilo"],"script":"d61072c0d9b4490d","command":1},
+ "kilo · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","kilo"],"script":"d61072c0d9b4490d","command":1},
+ "kilo · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","kilo","--session","sess-0001"],"script":"d61072c0d9b4490d","command":3},
+ "kilo · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","kilo"],"script":"d61072c0d9b4490d","command":1},
+ "kilo · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","kilo","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"8c5feac55e0fea8e","command":5},
+ "kilo · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","kilo","--session","sess-0001"],"script":"c4709e75a7601ad9","command":3},
+ "kilo · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","kilo","--session","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"23a87a61875a1b26","command":7},
+ "grok · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","grok"],"script":"0a737ffd835211a9","command":1},
+ "grok · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","grok"],"script":"0a737ffd835211a9","command":1},
+ "grok · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","grok","--resume","sess-0001"],"script":"0a737ffd835211a9","command":3},
+ "grok · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","grok"],"script":"0a737ffd835211a9","command":1},
+ "grok · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","grok","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"0ac4bac72be01004","command":5},
+ "grok · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","grok","--resume","sess-0001"],"script":"0d6603822a878f4a","command":3},
+ "grok · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","grok","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"fa90482b575e4440","command":7},
+ "agy · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","agy"],"script":"9d2eee5ae4505574","command":1},
+ "agy · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","agy"],"script":"9d2eee5ae4505574","command":1},
+ "agy · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","agy","--conversation","sess-0001"],"script":"9d2eee5ae4505574","command":3},
+ "agy · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","agy"],"script":"9d2eee5ae4505574","command":1},
+ "agy · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","agy","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"abd3cbf93d3a5013","command":5},
+ "agy · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","agy","--conversation","sess-0001"],"script":"cc6283821326b0f6","command":3},
+ "agy · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","agy","--conversation","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"25f972192c86ea45","command":7},
+ "copilot · new · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","copilot"],"script":"693e9eab2fbe9f85","command":1},
+ "copilot · new, approving · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","copilot"],"script":"693e9eab2fbe9f85","command":1},
+ "copilot · resume · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","copilot","--resume","sess-0001"],"script":"693e9eab2fbe9f85","command":3},
+ "copilot · fork · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","copilot"],"script":"693e9eab2fbe9f85","command":1},
+ "copilot · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","copilot","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d0a360b4673a421e","command":5},
+ "copilot · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","copilot","--resume","sess-0001"],"script":"8d15ba1a6bb8764a","command":3},
+ "copilot · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","copilot","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"269d0e6563e64f0d","command":7},
+ "terminal · new · zsh · tmux": {"argv":["/bin/zsh","-c","<script 385127ab4919bddc>","harness-terminal","","/bin/zsh","-l"],"script":"385127ab4919bddc","command":[""]},
+ "terminal · new, approving · zsh · tmux": {"argv":["/bin/zsh","-c","<script 385127ab4919bddc>","harness-terminal","","/bin/zsh","-l"],"script":"385127ab4919bddc","command":[""]},
+ "terminal · resume · zsh · tmux": {"argv":["/bin/zsh","-c","<script 385127ab4919bddc>","harness-terminal","","/bin/zsh","-l"],"script":"385127ab4919bddc","command":[""]},
+ "terminal · fork · zsh · tmux": {"argv":["/bin/zsh","-c","<script 385127ab4919bddc>","harness-terminal","","/bin/zsh","-l"],"script":"385127ab4919bddc","command":[""]},
+ "terminal · create · zsh · tmux": {"argv":["/bin/zsh","-c","<script f4b0b226ec584e8d>","harness-terminal","/work/my project's folder","/bin/zsh","-l"],"script":"f4b0b226ec584e8d","command":["","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "terminal · adopt, waiting out the turn · zsh · tmux": {"argv":["/bin/zsh","-c","<script b044bbd67010dde7>","harness-terminal","/work/my project's folder","/bin/zsh","-l"],"script":"b044bbd67010dde7","command":[""]},
+ "terminal · restart · zsh · tmux": {"argv":["/bin/zsh","-c","<script 64ceea90adf84bf2>","harness-terminal","/work/my project's folder","/bin/zsh","-l"],"script":"64ceea90adf84bf2","command":["","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"82cf5102bb204d39","command":1},
+ "claude · create · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"b0f35f2574de9dad","command":8},
+ "claude · restart · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"891e69d79238beae","command":9},
+ "claude · new · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"82cf5102bb204d39","command":1},
+ "claude · create · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"b0f35f2574de9dad","command":8},
+ "claude · restart · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"891e69d79238beae","command":9},
+ "claude · new · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"65d1d0f82a0ede85","command":1},
+ "claude · create · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"ea98a93426cbcd65","command":8},
+ "claude · restart · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"b0ddc4c5e632213b","command":9},
+ "claude · new · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"9c84cd4030aea732","command":1},
+ "claude · create · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"562458ca466e1713","command":8},
+ "claude · restart · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c34f151252177e27","command":9},
+ "claude · new · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"9c84cd4030aea732","command":1},
+ "claude · create · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"562458ca466e1713","command":8},
+ "claude · restart · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c34f151252177e27","command":9},
+ "claude · new · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"8d624df66174f644","command":1},
+ "claude · create · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"0eeeecb622153ea3","command":8},
+ "claude · restart · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"85d50c86bae2e371","command":9},
+ "claude · new · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"8b82a586482097d4","command":1},
+ "claude · create · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"35e12787d1ff5321","command":8},
+ "claude · restart · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"735fc8cccc4876b0","command":9},
+ "claude · new · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"8b82a586482097d4","command":1},
+ "claude · create · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"35e12787d1ff5321","command":8},
+ "claude · restart · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"735fc8cccc4876b0","command":9},
+ "claude · new · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"ddbd69378baccfdf","command":1},
+ "claude · create · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"31fa1384cc1115db","command":8},
+ "claude · restart · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"17d670c966d08784","command":9},
+ "claude · new · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"3402c3e4dc5f2085","command":1},
+ "claude · create · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"91e25dc9f90259a2","command":8},
+ "claude · restart · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"fb1c8d1224797520","command":9},
+ "claude · new · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"3402c3e4dc5f2085","command":1},
+ "claude · create · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"91e25dc9f90259a2","command":8},
+ "claude · restart · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"fb1c8d1224797520","command":9},
+ "claude · new · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"265650eb69af706a","command":["claude"]},
+ "claude · create · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"650a7afe87784749","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"124ed9c702bee348","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"1f6b1d7a272abf20","command":["claude"]},
+ "claude · create · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"cd72c753fad39994","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"ed1163bbdbfe0acf","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"1f6b1d7a272abf20","command":["claude"]},
+ "claude · create · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"cd72c753fad39994","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"ed1163bbdbfe0acf","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"3cadcce8f7ad5059","command":["claude"]},
+ "claude · create · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"38753492b19d6e94","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"5b089238e2b2e176","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"f457262c576d0497","command":["claude"]},
+ "claude · create · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"e0772628871f61bf","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"a0b0c05a0730ad0b","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"f457262c576d0497","command":["claude"]},
+ "claude · create · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"e0772628871f61bf","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"a0b0c05a0730ad0b","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · none · tmux": {"argv":["claude"],"command":1},
+ "claude · create · none · tmux": {"argv":["claude","--permission-mode","auto","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · none · tmux": {"argv":["claude","--permission-mode","auto","--resume","sess-0001","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · none · none": {"argv":["claude"],"command":1},
+ "claude · create · none · none": {"argv":["claude","--permission-mode","auto","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · none · none": {"argv":["claude","--permission-mode","auto","--resume","sess-0001","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · none · relative": {"argv":["claude"],"command":1},
+ "claude · create · none · relative": {"argv":["claude","--permission-mode","auto","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · none · relative": {"argv":["claude","--permission-mode","auto","--resume","sess-0001","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · relative · tmux": {"argv":["claude"],"command":1},
+ "claude · create · relative · tmux": {"argv":["claude","--permission-mode","auto","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · relative · tmux": {"argv":["claude","--permission-mode","auto","--resume","sess-0001","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · relative · none": {"argv":["claude"],"command":1},
+ "claude · create · relative · none": {"argv":["claude","--permission-mode","auto","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · relative · none": {"argv":["claude","--permission-mode","auto","--resume","sess-0001","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · relative · relative": {"argv":["claude"],"command":1},
+ "claude · create · relative · relative": {"argv":["claude","--permission-mode","auto","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · relative · relative": {"argv":["claude","--permission-mode","auto","--resume","sess-0001","-c","<script 62d2cfa3fb41f72e>","-m","gpt-5"],"script":"62d2cfa3fb41f72e","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · new · zsh · tmux · managed grid": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"78f9e6141271bd16","command":1},
+ "claude · create · zsh · tmux · managed grid": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"4d9f6f766ba023cf","command":8},
+ "claude · new · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"9c84cd4030aea732","command":1},
+ "claude · new, approving · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto"],"script":"9c84cd4030aea732","command":3},
+ "claude · new, not approving · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"9c84cd4030aea732","command":1},
+ "claude · new, a mode the engine lacks · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto"],"script":"9c84cd4030aea732","command":3},
+ "claude · new, mode auto · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto"],"script":"9c84cd4030aea732","command":3},
+ "claude · new, mode acceptEdits · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","acceptEdits"],"script":"9c84cd4030aea732","command":3},
+ "claude · new, mode plan · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","plan"],"script":"9c84cd4030aea732","command":3},
+ "claude · new, mode ask · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"9c84cd4030aea732","command":1},
+ "claude · new, mode full · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--dangerously-skip-permissions"],"script":"9c84cd4030aea732","command":2},
+ "claude · first prompt · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"9c84cd4030aea732","command":2},
+ "claude · resume · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--resume","sess-0001"],"script":"9c84cd4030aea732","command":3},
+ "claude · resume, approving · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto","--resume","sess-0001"],"script":"9c84cd4030aea732","command":5},
+ "claude · fork · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--resume","src-0001","--fork-session"],"script":"9c84cd4030aea732","command":4},
+ "claude · fork outranks resume · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--permission-mode","auto","--resume","src-0001","--fork-session"],"script":"9c84cd4030aea732","command":6},
+ "claude · fork with a prompt · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--resume","src-0001","--fork-session","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"9c84cd4030aea732","command":5},
+ "claude · grid argv · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"690f73c631f390ae","command":5},
+ "claude · remote server argv passed through · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude","--remote","ws://127.0.0.1:4500"],"script":"9c84cd4030aea732","command":3},
+ "claude · install first · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"a7ee3d598542a3e3","command":1},
+ "claude · create · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"562458ca466e1713","command":8},
+ "claude · create, plain · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto"],"script":"6a3e5127b11338c6","command":3},
+ "claude · adopt, waiting out the turn · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001"],"script":"651a16da2bedc3f0","command":5},
+ "claude · adopt, now, carrying on · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","continue"],"script":"62615f8798b8a874","command":6},
+ "claude · fork shape · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","src-0001","--fork-session","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"6a3e5127b11338c6","command":9},
+ "claude · restart · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c34f151252177e27","command":9},
+ "claude · restart, fresh fallback · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"7d64051435ab52a7","command":5},
+ "claude · restore · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_provider=\"openai\""],"script":"72afdb1704602422","command":7},
+ "claude · resume service · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--resume","sess-0001"],"script":"6a3e5127b11338c6","command":3},
+ "claude · retarget onto a grid · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"7d64051435ab52a7","command":9},
+ "claude · new · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/opt/claude code/bin/claude"],"script":"01a46f062041a588","command":1},
+ "claude · resume · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/opt/claude code/bin/claude","--resume","sess-0001"],"script":"01a46f062041a588","command":3},
+ "claude · fork · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/opt/claude code/bin/claude","--resume","src-0001","--fork-session"],"script":"01a46f062041a588","command":4},
+ "claude · restart · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","/opt/claude code/bin/claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"94d7e0ee0d72d272","command":9},
+ "claude · new · zsh · tmux · zsh new user": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","ZDOTDIR=<data>/zsh-startup","HARNESS_ZDOTDIR=<root>/zdotdir-empty","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","claude"],"script":"01a46f062041a588","command":1},
+ "claude · create · zsh · tmux · zsh new user": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","ZDOTDIR=<data>/zsh-startup","HARNESS_ZDOTDIR=<root>/zdotdir-empty","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"6e0e53c0a6277bcf","command":8},
+ "claude · new · bash · tmux · no data folder": {"argv":["/bin/bash","-ic","<script 0817188ce76f7397>","harness-engine","claude"],"script":"0817188ce76f7397","command":1},
+ "claude · create · bash · tmux · no data folder": {"argv":["/bin/bash","-ic","<script 2ab1822bb2271d67>","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"2ab1822bb2271d67","command":8},
+ "codex · new · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"b22d41b0a32fffa0","command":1},
+ "codex · create · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"8808419654dd02ab","command":7},
+ "codex · restart · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"b5e3e2e876c44543","command":8},
+ "codex · new · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"b22d41b0a32fffa0","command":1},
+ "codex · create · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"8808419654dd02ab","command":7},
+ "codex · restart · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"b5e3e2e876c44543","command":8},
+ "codex · new · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"6e5558487cae08e8","command":1},
+ "codex · create · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"eed68f0c072f1c0f","command":7},
+ "codex · restart · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"b5dd48d6bedd7ece","command":8},
+ "codex · new · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"f6936b5d48a3b71e","command":1},
+ "codex · create · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"953c0cc3b83c21c2","command":7},
+ "codex · restart · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"6640c1dd74af9166","command":8},
+ "codex · new · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"f6936b5d48a3b71e","command":1},
+ "codex · create · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"953c0cc3b83c21c2","command":7},
+ "codex · restart · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"6640c1dd74af9166","command":8},
+ "codex · new · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"f1d38fcc8501e417","command":1},
+ "codex · create · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"d7e7acea473d4b7d","command":7},
+ "codex · restart · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"0e8a1b217b7240e9","command":8},
+ "codex · new · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"33068c02aca6ca78","command":1},
+ "codex · create · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"068686e3dcc2ea1c","command":7},
+ "codex · restart · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"850bcc31bdfedd6e","command":8},
+ "codex · new · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"33068c02aca6ca78","command":1},
+ "codex · create · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"068686e3dcc2ea1c","command":7},
+ "codex · restart · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"850bcc31bdfedd6e","command":8},
+ "codex · new · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"1a48f06e423b21b1","command":1},
+ "codex · create · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"f9805884a86bf6f3","command":7},
+ "codex · restart · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"fe87e8a876d61576","command":8},
+ "codex · new · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"589fb104e1868c85","command":1},
+ "codex · create · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"0f2ed0127673d1b2","command":7},
+ "codex · restart · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"21461930f870d1a0","command":8},
+ "codex · new · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"589fb104e1868c85","command":1},
+ "codex · create · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"0f2ed0127673d1b2","command":7},
+ "codex · restart · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"21461930f870d1a0","command":8},
+ "codex · new · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"1ecf93f35b06842f","command":["codex"]},
+ "codex · create · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"87ea7f3221f47f57","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"6ff16fbc5a6cfd36","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · new · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"88f36b4b6cf2a53a","command":["codex"]},
+ "codex · create · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"fe38ae1bc6dd2596","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"9036debb50218c45","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · new · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"88f36b4b6cf2a53a","command":["codex"]},
+ "codex · create · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"fe38ae1bc6dd2596","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"9036debb50218c45","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · new · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"6a11b5365fc5c37e","command":["codex"]},
+ "codex · create · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"0c7c6599612c7d7d","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"5919aa70c4446a87","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · new · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"3fc5e82ac94aabf7","command":["codex"]},
+ "codex · create · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"f8da703a541ad557","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"c3d7a59f5624e664","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · new · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"3fc5e82ac94aabf7","command":["codex"]},
+ "codex · create · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"f8da703a541ad557","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"c3d7a59f5624e664","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · new · none · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"42bd6c42aff67501","command":1},
+ "codex · create · none · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"18e8a70c5ca73bd1","command":7},
+ "codex · restart · none · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"2f7fb0adcf8fb3d1","command":8},
+ "codex · new · none · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"9659ffaf99a7dc49","command":1},
+ "codex · create · none · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"37cebe7d8c874de3","command":7},
+ "codex · restart · none · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d6cf157b106b6bcc","command":8},
+ "codex · new · none · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"9659ffaf99a7dc49","command":1},
+ "codex · create · none · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"37cebe7d8c874de3","command":7},
+ "codex · restart · none · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d6cf157b106b6bcc","command":8},
+ "codex · new · relative · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"42bd6c42aff67501","command":1},
+ "codex · create · relative · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"18e8a70c5ca73bd1","command":7},
+ "codex · restart · relative · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"2f7fb0adcf8fb3d1","command":8},
+ "codex · new · relative · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"9659ffaf99a7dc49","command":1},
+ "codex · create · relative · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"37cebe7d8c874de3","command":7},
+ "codex · restart · relative · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d6cf157b106b6bcc","command":8},
+ "codex · new · relative · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"9659ffaf99a7dc49","command":1},
+ "codex · create · relative · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"37cebe7d8c874de3","command":7},
+ "codex · restart · relative · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d6cf157b106b6bcc","command":8},
+ "codex · new · zsh · tmux · managed grid": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"d3d47110e2e94c67","command":1},
+ "codex · create · zsh · tmux · managed grid": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"022e0bbdd6894bae","command":7},
+ "codex · new · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"f6936b5d48a3b71e","command":1},
+ "codex · new, approving · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--approve-for-me"],"script":"f6936b5d48a3b71e","command":2},
+ "codex · new, not approving · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"f6936b5d48a3b71e","command":1},
+ "codex · new, a mode the engine lacks · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--approve-for-me"],"script":"f6936b5d48a3b71e","command":2},
+ "codex · new, mode auto · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--approve-for-me"],"script":"f6936b5d48a3b71e","command":2},
+ "codex · new, mode readOnly · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--sandbox","read-only"],"script":"f6936b5d48a3b71e","command":3},
+ "codex · new, mode ask · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"f6936b5d48a3b71e","command":1},
+ "codex · new, mode full · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--dangerously-bypass-approvals-and-sandbox"],"script":"f6936b5d48a3b71e","command":2},
+ "codex · first prompt · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"f6936b5d48a3b71e","command":2},
+ "codex · resume · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","resume","sess-0001"],"script":"f6936b5d48a3b71e","command":3},
+ "codex · resume, approving · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","resume","sess-0001","--approve-for-me"],"script":"f6936b5d48a3b71e","command":4},
+ "codex · fork · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","fork","src-0001"],"script":"f6936b5d48a3b71e","command":3},
+ "codex · fork outranks resume · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","fork","src-0001","--approve-for-me"],"script":"f6936b5d48a3b71e","command":4},
+ "codex · fork with a prompt · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","fork","src-0001","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"f6936b5d48a3b71e","command":4},
+ "codex · grid argv · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"bc34063cb4058279","command":5},
+ "codex · remote server argv passed through · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex","--remote","ws://127.0.0.1:4500"],"script":"f6936b5d48a3b71e","command":3},
+ "codex · install first · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"e5959315092086ed","command":1},
+ "codex · create · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"953c0cc3b83c21c2","command":7},
+ "codex · create, plain · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me"],"script":"5fbd5eb054e5f6c3","command":2},
+ "codex · adopt, waiting out the turn · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me"],"script":"4ada3b8890638b4d","command":4},
+ "codex · adopt, now, carrying on · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","continue"],"script":"4bb0520b0a05ff7b","command":5},
+ "codex · fork shape · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","fork","src-0001","--approve-for-me","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"5fbd5eb054e5f6c3","command":7},
+ "codex · restart · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"6640c1dd74af9166","command":8},
+ "codex · restart, fresh fallback · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"27a836e682b98723","command":5},
+ "codex · restore · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_provider=\"openai\""],"script":"591798e67f4ef6a0","command":6},
+ "codex · resume service · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001"],"script":"5fbd5eb054e5f6c3","command":3},
+ "codex · retarget onto a grid · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"27a836e682b98723","command":8},
+ "codex · new · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/usr/local/lib/node_modules/@openai/codex/bin/codex.js"],"script":"67e776934b5cb2c1","command":1},
+ "codex · resume · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/usr/local/lib/node_modules/@openai/codex/bin/codex.js","resume","sess-0001"],"script":"67e776934b5cb2c1","command":3},
+ "codex · fork · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/usr/local/lib/node_modules/@openai/codex/bin/codex.js","fork","src-0001"],"script":"67e776934b5cb2c1","command":3},
+ "codex · restart · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","/usr/local/lib/node_modules/@openai/codex/bin/codex.js","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"ec4e1d3ce5e94774","command":8},
+ "codex · new · zsh · tmux · zsh new user": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","ZDOTDIR=<data>/zsh-startup","HARNESS_ZDOTDIR=<root>/zdotdir-empty","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","codex"],"script":"3256adfa93ca9f4b","command":1},
+ "codex · create · zsh · tmux · zsh new user": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","ZDOTDIR=<data>/zsh-startup","HARNESS_ZDOTDIR=<root>/zdotdir-empty","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"c4d15813dff15e4a","command":7},
+ "codex · new · bash · tmux · no data folder": {"argv":["/bin/bash","-ic","<script 43394cb7eb88560e>","harness-engine","codex"],"script":"43394cb7eb88560e","command":1},
+ "codex · create · bash · tmux · no data folder": {"argv":["/bin/bash","-ic","<script 203b270881ea7a03>","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"203b270881ea7a03","command":7},
+ "terminal · new tile · zsh": {"argv":["/bin/zsh","-c","<script 09f6eade56ba2b9e>","harness-terminal","/work/my project's folder","/bin/zsh","-l"],"script":"09f6eade56ba2b9e","command":[""]},
+ "terminal · new tile · bash": {"argv":["/bin/bash","-c","<script 09f6eade56ba2b9e>","harness-terminal","/work/my project's folder","/bin/bash"],"script":"09f6eade56ba2b9e","command":[""]},
+ "terminal · new tile · fish": {"argv":["/bin/sh","-c","<script 09f6eade56ba2b9e>","harness-terminal","/work/my project's folder","/opt/homebrew/bin/fish"],"script":"09f6eade56ba2b9e","command":[""]},
+ "terminal · new tile · none": {"argv":["/bin/sh","-c","<script 09f6eade56ba2b9e>","harness-terminal","/work/my project's folder","/bin/sh"],"script":"09f6eade56ba2b9e","command":[""]}
+},
+"overrides": {
+ "claude · own login": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":[],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":[]},
+ "claude · own login, its model back": {"result":{"ok":true,"overrides":{"env":{"ANTHROPIC_MODEL":"opus"},"extraArgs":[],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":[]},
+ "claude · grid": {"result":{"ok":true,"overrides":{"env":{"ANTHROPIC_BASE_URL":"https://grid.example/grid-abc/relay","ANTHROPIC_AUTH_TOKEN":"gridkey-abc123","ANTHROPIC_MODEL":"gpt-5"},"extraArgs":["--disallowedTools=WebSearch,WebFetch","--system-prompt-snapshot","off","--append-system-prompt","This session has no web tools. The built-in `WebSearch` and `WebFetch` tools are not available in this session, even where earlier turns of this conversation used them — do not call them; tell the user the web cannot be searched or read from here instead."],"clearEnv":["ANTHROPIC_API_KEY","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_API_KEY","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "claude · grid with web tools and a window": {"result":{"ok":true,"overrides":{"env":{"ANTHROPIC_BASE_URL":"https://grid.example/grid-abc/relay","ANTHROPIC_AUTH_TOKEN":"gridkey-abc123","ANTHROPIC_MODEL":"gpt-5","CLAUDE_CODE_MAX_CONTEXT_TOKENS":"131072","GRID_API_KEY":"gridkey-abc123"},"extraArgs":["--disallowedTools=WebSearch,WebFetch","--mcp-config","{\"mcpServers\":{\"harness\":{\"type\":\"http\",\"url\":\"https://control.example/v1/grid/web-mcp/\",\"headers\":{\"Authorization\":\"Bearer ${GRID_API_KEY}\"}}}}","--allowedTools=mcp__harness__web_search,mcp__harness__web_read","--system-prompt-snapshot","off","--append-system-prompt","Web tools in this session come from the `harness` MCP server only: `mcp__harness__web_search` searches the web and `mcp__harness__web_read` reads pages. The built-in `WebSearch` and `WebFetch` tools are not available in this session, even where earlier turns of this conversation used them — do not call them; call the `harness` tools instead."],"clearEnv":["ANTHROPIC_API_KEY","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5","mcpUrl":"https://control.example/v1/grid/web-mcp/","contextWindow":131072},"webSearch":"on"}}},"calls":[]},
+ "claude · saved API": {"result":{"ok":true,"overrides":{"env":{"ANTHROPIC_BASE_URL":"https://openrouter.ai/api","ANTHROPIC_AUTH_TOKEN":"sk-or-1","ANTHROPIC_MODEL":"qwen/qwen3-coder"},"extraArgs":["--disallowedTools=WebSearch,WebFetch","--system-prompt-snapshot","off","--append-system-prompt","This session has no web tools. The built-in `WebSearch` and `WebFetch` tools are not available in this session, even where earlier turns of this conversation used them — do not call them; tell the user the web cannot be searched or read from here instead."],"clearEnv":["ANTHROPIC_API_KEY","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_API_KEY","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"api:openrouter","networkName":"OpenRouter","baseUrl":"https://openrouter.ai/api/v1","apiKey":"sk-or-1","model":"qwen/qwen3-coder"},"webSearch":"unavailable"}}},"calls":[]},
+ "claude · harness": {"result":{"ok":true,"overrides":{"env":{"HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/harness-runtime-1/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["--studio","--append-system-prompt","Read the harness context at \"/work/studio/.harness/runtime/harness-runtime-1/CONTEXT.md\" before working."],"clearEnv":["HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["dshLaunch acme/studio /work/studio claude harness-runtime-1"]},
+ "claude · harness without a workspace": {"result":{"ok":false,"error":"DSH_WORKSPACE_MISSING","detail":"acme/studio has no saved workspace"},"calls":[]},
+ "claude · harness on a grid, as git, as a named agent": {"result":{"ok":true,"overrides":{"env":{"ANTHROPIC_BASE_URL":"https://grid.example/grid-abc/relay","ANTHROPIC_AUTH_TOKEN":"gridkey-abc123","ANTHROPIC_MODEL":"gpt-5","HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/agent-0001/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["--disallowedTools=WebSearch,WebFetch","--system-prompt-snapshot","off","--append-system-prompt","This session has no web tools. The built-in `WebSearch` and `WebFetch` tools are not available in this session, even where earlier turns of this conversation used them — do not call them; tell the user the web cannot be searched or read from here instead.","--studio","--append-system-prompt","Read the harness context at \"/work/studio/.harness/runtime/agent-0001/CONTEXT.md\" before working."],"clearEnv":["ANTHROPIC_API_KEY","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_API_KEY","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":["dshLaunch acme/studio /work/studio claude agent-0001"]},
+ "codex · own login": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · own login, its model back": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"openai\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · grid": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · grid with web tools and a window": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","GRID_MCP_AUTHORIZATION":"Bearer gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-c","mcp_servers.harness.url=\"https://control.example/v1/grid/web-mcp/\"","-c","mcp_servers.harness.env_http_headers.Authorization=\"GRID_MCP_AUTHORIZATION\"","-m","gpt-5","-c","model_context_window=131072","-c","model_auto_compact_token_limit=117964"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5","mcpUrl":"https://control.example/v1/grid/web-mcp/","contextWindow":131072},"webSearch":"on"}}},"calls":[]},
+ "codex · saved API": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"sk-or-1"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://openrouter.ai/api/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","qwen/qwen3-coder"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"api:openrouter","networkName":"OpenRouter","baseUrl":"https://openrouter.ai/api/v1","apiKey":"sk-or-1","model":"qwen/qwen3-coder"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · harness": {"result":{"ok":true,"overrides":{"env":{"HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/harness-runtime-1/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["-c","model_provider=\"openai\"","--studio","-c","shell_environment_policy.set.HARNESS_DSH=\"acme/studio\"","-c","shell_environment_policy.set.HARNESS_WORKSPACE=\"/work/studio\"","-c","shell_environment_policy.set.HARNESS_CONTEXT_FILE=\"/work/studio/.harness/runtime/harness-runtime-1/CONTEXT.md\"","-c","shell_environment_policy.set.STUDIO_MODE=\"pro \\\"x\\\"\""],"clearEnv":["HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml","dshLaunch acme/studio /work/studio codex harness-runtime-1"]},
+ "codex · harness without a workspace": {"result":{"ok":false,"error":"DSH_WORKSPACE_MISSING","detail":"acme/studio has no saved workspace"},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · harness on a grid, as git, as a named agent": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/agent-0001/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5","--studio","-c","shell_environment_policy.set.HARNESS_DSH=\"acme/studio\"","-c","shell_environment_policy.set.HARNESS_WORKSPACE=\"/work/studio\"","-c","shell_environment_policy.set.HARNESS_CONTEXT_FILE=\"/work/studio/.harness/runtime/agent-0001/CONTEXT.md\"","-c","shell_environment_policy.set.STUDIO_MODE=\"pro \\\"x\\\"\""],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":["dshLaunch acme/studio /work/studio codex agent-0001"]},
+ "opencode · own login": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":[],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":[]},
+ "opencode · own login, its model back": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":[],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":[]},
+ "opencode · grid": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","OPENCODE_CONFIG":"/state/grid-engine-config/agent-0001/opencode.json"},"extraArgs":["-m","team-grid/gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"},"sessionModel":"team-grid/gpt-5"}},"calls":["writeGridConfigDir agent-0001 opencode.json"]},
+ "opencode · grid with web tools and a window": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","OPENCODE_CONFIG":"/state/grid-engine-config/agent-0001/opencode.json"},"extraArgs":["-m","team-grid/gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5","mcpUrl":"https://control.example/v1/grid/web-mcp/","contextWindow":131072},"webSearch":"on"},"sessionModel":"team-grid/gpt-5"}},"calls":["writeGridConfigDir agent-0001 opencode.json"]},
+ "opencode · saved API": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"sk-or-1","OPENCODE_CONFIG":"/state/grid-engine-config/agent-0001/opencode.json"},"extraArgs":["-m","api-openrouter/qwen/qwen3-coder"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"api:openrouter","networkName":"OpenRouter","baseUrl":"https://openrouter.ai/api/v1","apiKey":"sk-or-1","model":"qwen/qwen3-coder"},"webSearch":"unavailable"},"sessionModel":"api-openrouter/qwen/qwen3-coder"}},"calls":["writeGridConfigDir agent-0001 opencode.json"]},
+ "opencode · harness": {"result":{"ok":true,"overrides":{"env":{"HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/harness-runtime-1/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["--studio"],"clearEnv":["HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["dshLaunch acme/studio /work/studio opencode harness-runtime-1"]},
+ "opencode · harness without a workspace": {"result":{"ok":false,"error":"DSH_WORKSPACE_MISSING","detail":"acme/studio has no saved workspace"},"calls":[]},
+ "opencode · harness on a grid, as git, as a named agent": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","OPENCODE_CONFIG":"/state/grid-engine-config/agent-0001/opencode.json","HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/agent-0001/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["-m","team-grid/gpt-5","--studio","--agent","harness-compute"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"},"sessionModel":"team-grid/gpt-5"}},"calls":["writeGridConfigDir agent-0001 opencode.json","dshLaunch acme/studio /work/studio opencode agent-0001"]},
+ "pi · own login": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":[],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":[]},
+ "pi · own login, its model back": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":[],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":[]},
+ "pi · grid": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","PI_CODING_AGENT_DIR":"/state/grid-engine-config/agent-0001"},"extraArgs":["--model","grid/gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unsupported"}}},"calls":["writeGridConfigDir agent-0001 models.json,settings.json"]},
+ "pi · grid with web tools and a window": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","PI_CODING_AGENT_DIR":"/state/grid-engine-config/agent-0001"},"extraArgs":["--model","grid/gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5","mcpUrl":"https://control.example/v1/grid/web-mcp/","contextWindow":131072},"webSearch":"unsupported"}}},"calls":["writeGridConfigDir agent-0001 models.json,settings.json"]},
+ "pi · saved API": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"sk-or-1","PI_CODING_AGENT_DIR":"/state/grid-engine-config/agent-0001"},"extraArgs":["--model","grid/qwen/qwen3-coder"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"api:openrouter","networkName":"OpenRouter","baseUrl":"https://openrouter.ai/api/v1","apiKey":"sk-or-1","model":"qwen/qwen3-coder"},"webSearch":"unsupported"}}},"calls":["writeGridConfigDir agent-0001 models.json,settings.json"]},
+ "pi · harness": {"result":{"ok":true,"overrides":{"env":{"HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/harness-runtime-1/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["--studio","--append-system-prompt","/work/studio/.harness/runtime/harness-runtime-1/CONTEXT.md"],"clearEnv":["HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["dshLaunch acme/studio /work/studio pi harness-runtime-1"]},
+ "pi · harness without a workspace": {"result":{"ok":false,"error":"DSH_WORKSPACE_MISSING","detail":"acme/studio has no saved workspace"},"calls":[]},
+ "pi · harness on a grid, as git, as a named agent": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123","PI_CODING_AGENT_DIR":"/state/grid-engine-config/agent-0001","HARNESS_DSH":"acme/studio","HARNESS_WORKSPACE":"/work/studio","HARNESS_CONTEXT_FILE":"/work/studio/.harness/runtime/agent-0001/CONTEXT.md","STUDIO_MODE":"pro \"x\""},"extraArgs":["--model","grid/gpt-5","--studio","--append-system-prompt","/work/studio/.harness/runtime/agent-0001/CONTEXT.md"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH_DIR","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unsupported"}}},"calls":["writeGridConfigDir agent-0001 models.json,settings.json","dshLaunch acme/studio /work/studio pi agent-0001"]},
+ "codex · own login · no config": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · no config": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile, its model back · no config": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile on a grid · no config": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · own login · its own provider": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"azure\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · its own provider": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"azure\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile, its model back · its own provider": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"azure\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile on a grid · its own provider": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · own login · single quotes and a comment": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"local\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · single quotes and a comment": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"local\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile, its model back · single quotes and a comment": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"local\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile on a grid · single quotes and a comment": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · own login · only under a profile": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · only under a profile": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile, its model back · only under a profile": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile on a grid · only under a profile": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · own login · commented out": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · commented out": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile, its model back · commented out": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile on a grid · commented out": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · own login · empty value": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · empty value": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile, its model back · empty value": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile on a grid · empty value": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · own login · a quote in single quotes": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"a\"b\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · a quote in single quotes": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"a\"b\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile, its model back · a quote in single quotes": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"a\"b\"","-m","gpt-5.5"],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · profile on a grid · a quote in single quotes": {"result":{"ok":true,"overrides":{"env":{"GRID_API_KEY":"gridkey-abc123"},"extraArgs":["-c","model_provider=\"grid\"","-c","model_providers.grid.name=\"Autonomous Grid\"","-c","model_providers.grid.base_url=\"https://grid.example/grid-abc/relay/v1\"","-c","model_providers.grid.env_key=\"GRID_API_KEY\"","-c","model_providers.grid.wire_api=\"responses\"","-c","model_providers.grid.supports_websockets=false","-c","web_search=\"disabled\"","-m","gpt-5"],"clearEnv":["ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_BASE_URL","ANTHROPIC_MODEL","OPENAI_API_KEY","OPENAI_BASE_URL","XAI_API_KEY","GROK_MODELS_BASE_URL","COPILOT_PROVIDER_API_KEY","COPILOT_PROVIDER_BASE_URL","COPILOT_MODEL","HERMES_INFERENCE_MODEL","GRID_MCP_AUTHORIZATION","HERMES_MANAGED_DIR","GROK_HOME","HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"],"gridLaunchRecord":{"override":{"networkId":"grid-abc","networkName":"Team grid","baseUrl":"https://grid.example/grid-abc/relay/v1","apiKey":"gridkey-abc123","model":"gpt-5"},"webSearch":"unavailable"}}},"calls":[]},
+ "codex · own login · moved home": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"moved\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /moved/codex/config.toml"]},
+ "codex · profile · moved home": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · own login · moved home, relative": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"moved\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · moved home, relative": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · own login · moved home, tilde": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"moved\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig <home>/.codex/config.toml"]},
+ "codex · profile · moved home, tilde": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · own login · moved home, trailing slash": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"moved\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /moved/codex/config.toml"]},
+ "codex · profile · moved home, trailing slash": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"/profiles/work"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["readCodexConfig /profiles/work/config.toml","installCodexHooks /profiles/work"]},
+ "codex · own login · the daemon home's file": {"result":{"ok":true,"overrides":{"env":{},"extraArgs":["-c","model_provider=\"from-file\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":[]},
+ "codex · profile · the profile's file": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"<root>/profile-home"},"extraArgs":["-c","model_provider=\"profile-file\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["installCodexHooks <root>/profile-home"]},
+ "codex · profile without a file": {"result":{"ok":true,"overrides":{"env":{"CODEX_HOME":"<root>/no-such-profile"},"extraArgs":["-c","model_provider=\"openai\""],"clearEnv":["HARNESS_DSH","HARNESS_DSH_DIR","HARNESS_WORKSPACE","HARNESS_CONTEXT_FILE","HARNESS_SKILLS_DIR","HARNESS_PRIVATE_GRID"]}},"calls":["installCodexHooks <root>/no-such-profile"]}
+},
+"adapters": {
+ "claude": {"instructionFiles":["CLAUDE.md"],"contextArgs":["--append-system-prompt","Read the harness context at \"/work/my \\\"studio\\\"/.harness/runtime/agent-1/CONTEXT.md\" before working."],"envArgs":null,"envArgsEmpty":null},
+ "codex": {"instructionFiles":["AGENTS.override.md","AGENTS.md"],"contextArgs":null,"envArgs":["-c","shell_environment_policy.set.HARNESS_DSH=\"acme/studio\"","-c","shell_environment_policy.set.HARNESS_CONTEXT_FILE=\"/work/my \\\"studio\\\"/.harness/runtime/agent-1/CONTEXT.md\"","-c","shell_environment_policy.set.HARNESS_SKILLS_DIR=\"/work/.harness/skills\"","-c","shell_environment_policy.set.STUDIO_MODE=\"say \\\"hi\\\"\\n\\ttab \\\\ back\"","-c","shell_environment_policy.set.UNICODE=\"café ✓ 🎉\"","-c","shell_environment_policy.set.EMPTY=\"\"","-c","shell_environment_policy.set._under=\"u\""],"envArgsEmpty":[]},
+ "cursor": {"instructionFiles":["AGENTS.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "opencode": {"instructionFiles":["AGENTS.md","CLAUDE.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "pi": {"instructionFiles":["AGENTS.md","CLAUDE.md"],"contextArgs":["--append-system-prompt","/work/my \"studio\"/.harness/runtime/agent-1/CONTEXT.md"],"envArgs":null,"envArgsEmpty":null},
+ "hermes": {"instructionFiles":[".hermes.md","AGENTS.md","CLAUDE.md",".cursorrules"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "commandcode": {"instructionFiles":["AGENTS.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "devin": {"instructionFiles":["AGENTS.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "muse": {"instructionFiles":["AGENTS.md","CLAUDE.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "amp": {"instructionFiles":["AGENTS.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "kilo": {"instructionFiles":["AGENTS.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "grok": {"instructionFiles":["AGENTS.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "agy": {"instructionFiles":["AGENTS.md","GEMINI.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null},
+ "copilot": {"instructionFiles":["AGENTS.md"],"contextArgs":null,"envArgs":null,"envArgsEmpty":null}
+},
+"linux": {
+"argv": {
+ "claude · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"e215b9720b14e16b","command":8},
+ "claude · create, plain · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto"],"script":"1f3ad46151edb229","command":3},
+ "claude · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001"],"script":"a70f9bad190d7589","command":5},
+ "claude · adopt, now, carrying on · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","continue"],"script":"53ece820090e0602","command":6},
+ "claude · fork shape · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","src-0001","--fork-session","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"1f3ad46151edb229","command":9},
+ "claude · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"3609040f06168ca8","command":9},
+ "claude · restart, fresh fallback · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"e363c0abe73c23d4","command":5},
+ "claude · restore · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_provider=\"openai\""],"script":"9d1fee41493c798d","command":7},
+ "claude · resume service · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--resume","sess-0001"],"script":"1f3ad46151edb229","command":3},
+ "claude · retarget onto a grid · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"e363c0abe73c23d4","command":9},
+ "codex · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"c626c1081ee52b75","command":7},
+ "codex · create, plain · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me"],"script":"dcf70c4e79415478","command":2},
+ "codex · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me"],"script":"537f16c49ba6d936","command":4},
+ "codex · adopt, now, carrying on · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","continue"],"script":"9eb5f3246422dc57","command":5},
+ "codex · fork shape · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","fork","src-0001","--approve-for-me","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"dcf70c4e79415478","command":7},
+ "codex · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"33623c1f7402348c","command":8},
+ "codex · restart, fresh fallback · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c49c925ed044ea2a","command":5},
+ "codex · restore · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_provider=\"openai\""],"script":"48c8e80ed8ec86b0","command":6},
+ "codex · resume service · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001"],"script":"dcf70c4e79415478","command":3},
+ "codex · retarget onto a grid · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c49c925ed044ea2a","command":8},
+ "cursor · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cursor-agent","--force","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"32b093be7e187b4b","command":6},
+ "cursor · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cursor-agent","--force","--resume","sess-0001"],"script":"1ff8f4e6dbc0ad9c","command":4},
+ "cursor · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cursor-agent","--force","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"43c157a64ad1ffe1","command":8},
+ "opencode · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","opencode","--auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","--prompt","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"56226814df91c615","command":8},
+ "opencode · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","opencode","--auto","--session","sess-0001"],"script":"ac081d9f3eec9372","command":4},
+ "opencode · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","opencode","--auto","--session","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"ea0097478eca582a","command":8},
+ "pi · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","pi","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"e355057788c762ec","command":5},
+ "pi · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","pi","--session","sess-0001"],"script":"0477e3b43d8c30f0","command":3},
+ "pi · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","pi","--session","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a2b69d41d4a20fac","command":7},
+ "hermes · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","hermes","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","chat","-q","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"575db33b1edb54be","command":8},
+ "hermes · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","hermes","--resume","sess-0001"],"script":"d304cd5c4ffee7f2","command":3},
+ "hermes · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","hermes","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"f55b8c8ed1b0b660","command":7},
+ "commandcode · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cmd","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"406f8e8e650f18fb","command":5},
+ "commandcode · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cmd","--resume","sess-0001"],"script":"d76e450004594e71","command":3},
+ "commandcode · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","cmd","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a850e0c60fd0d02e","command":7},
+ "devin · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","devin","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"bcf84a77c0ea19ef","command":5},
+ "devin · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","devin","--resume","sess-0001"],"script":"3a63d3896fa94eb5","command":3},
+ "devin · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","devin","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"f59b28248fc182ad","command":7},
+ "muse · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","muse","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"703bf9ebb2ca61a1","command":5},
+ "muse · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","muse","resume","sess-0001"],"script":"ca542de15f73b437","command":3},
+ "muse · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","muse","resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"ec22a1730944bf61","command":7},
+ "amp · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","amp","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"964999827ad56984","command":5},
+ "amp · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","amp","threads","continue","sess-0001"],"script":"5b1e3819f8c9b035","command":4},
+ "amp · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","amp","threads","continue","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"dcfc42f757b14785","command":8},
+ "kilo · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","kilo","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"d8a1d5f6879c6475","command":5},
+ "kilo · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","kilo","--session","sess-0001"],"script":"9352911faffa0cca","command":3},
+ "kilo · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","kilo","--session","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"c29493afa47d8084","command":7},
+ "grok · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","grok","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"69c1cd92f598a62b","command":5},
+ "grok · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","grok","--resume","sess-0001"],"script":"d2d4f1176342c5b8","command":3},
+ "grok · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","grok","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"1ce45929ed453b20","command":7},
+ "agy · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","agy","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"9f3a7b86f88bac41","command":5},
+ "agy · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","agy","--conversation","sess-0001"],"script":"a841d3b34211994c","command":3},
+ "agy · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","agy","--conversation","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"34d02d6244764845","command":7},
+ "copilot · create · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","copilot","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"97a187ed9da26aaa","command":5},
+ "copilot · adopt, waiting out the turn · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","copilot","--resume","sess-0001"],"script":"aebd47740f6d90e4","command":3},
+ "copilot · restart · zsh · tmux": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","copilot","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"1a94f49e50cc98e7","command":7},
+ "claude · create · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"c6600adc00f6dc4a","command":8},
+ "claude · restart · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"4de7efb168e02783","command":9},
+ "claude · create · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"c6600adc00f6dc4a","command":8},
+ "claude · restart · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"4de7efb168e02783","command":9},
+ "claude · create · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"e4d20f47fe7119c2","command":8},
+ "claude · restart · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"935aee4f8b76acbc","command":9},
+ "claude · create · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"71a250314be3b958","command":8},
+ "claude · restart · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"48ec0d4eb45ff6b4","command":9},
+ "claude · create · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"71a250314be3b958","command":8},
+ "claude · restart · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"48ec0d4eb45ff6b4","command":9},
+ "claude · create · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"48cbff4651331507","command":8},
+ "claude · restart · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"569649acfec5c688","command":9},
+ "claude · create · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"6a60e2bf39605e9d","command":8},
+ "claude · restart · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"1d6d3c89b8e051be","command":9},
+ "claude · create · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"6a60e2bf39605e9d","command":8},
+ "claude · restart · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"1d6d3c89b8e051be","command":9},
+ "claude · create · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"5db81f6e7a7acd61","command":8},
+ "claude · restart · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"724fe58e9ac8832b","command":9},
+ "claude · create · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"86dcaa94ce6e6e71","command":8},
+ "claude · restart · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a22f8bb600fe3ced","command":9},
+ "claude · create · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"86dcaa94ce6e6e71","command":8},
+ "claude · restart · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a22f8bb600fe3ced","command":9},
+ "claude · create · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"e17f0fef0b1fc498","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"fc689472ed846868","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · create · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"0a64b6a076ab70bd","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"a0705f9fcefad542","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · create · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"0a64b6a076ab70bd","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"a0705f9fcefad542","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · create · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"666fae98b6178f28","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"8a8f0fd9bfad5c0d","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · create · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"269b2f7baedea18c","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"4f29b2166d424a23","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · create · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"269b2f7baedea18c","command":["claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "claude · restart · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"4f29b2166d424a23","command":["claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "claude · create · zsh · tmux · managed grid": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"ef68ccc56e9eb6eb","command":8},
+ "claude · create · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"71a250314be3b958","command":8},
+ "claude · create, plain · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto"],"script":"fdd394b6d21764cf","command":3},
+ "claude · adopt, waiting out the turn · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001"],"script":"d5896badcb97fd4e","command":5},
+ "claude · adopt, now, carrying on · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","continue"],"script":"c851daf5f9628e9d","command":6},
+ "claude · fork shape · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","src-0001","--fork-session","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"fdd394b6d21764cf","command":9},
+ "claude · restart · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"48ec0d4eb45ff6b4","command":9},
+ "claude · restart, fresh fallback · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"6f3aa7874c524a3c","command":5},
+ "claude · restore · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_provider=\"openai\""],"script":"a281f5fc57aa2116","command":7},
+ "claude · resume service · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--resume","sess-0001"],"script":"fdd394b6d21764cf","command":3},
+ "claude · retarget onto a grid · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"6f3aa7874c524a3c","command":9},
+ "claude · restart · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","/opt/claude code/bin/claude","--permission-mode","auto","--resume","sess-0001","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"3609040f06168ca8","command":9},
+ "claude · create · zsh · tmux · zsh new user": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","ZDOTDIR=<data>/zsh-startup","HARNESS_ZDOTDIR=<root>/zdotdir-empty","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"e215b9720b14e16b","command":8},
+ "claude · create · bash · tmux · no data folder": {"argv":["/bin/bash","-ic","<script 913104024dc3b4ad>","harness-engine","/work/my project's folder","claude","--permission-mode","auto","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"913104024dc3b4ad","command":8},
+ "codex · create · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"ef5cf40ee63e6cc6","command":7},
+ "codex · restart · zsh · none": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"7c7062ca21621dde","command":8},
+ "codex · create · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"ef5cf40ee63e6cc6","command":7},
+ "codex · restart · zsh · relative": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"7c7062ca21621dde","command":8},
+ "codex · create · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"51188e0099d2c96e","command":7},
+ "codex · restart · bash · tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a5f274680cea45d0","command":8},
+ "codex · create · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"2d62819ce47e3b42","command":7},
+ "codex · restart · bash · none": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"70f02b7884bdd3a6","command":8},
+ "codex · create · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"2d62819ce47e3b42","command":7},
+ "codex · restart · bash · relative": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"70f02b7884bdd3a6","command":8},
+ "codex · create · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"9465be56d054cfa3","command":7},
+ "codex · restart · sh · tmux": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"97c6da0312e29f50","command":8},
+ "codex · create · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"21477e5b873921df","command":7},
+ "codex · restart · sh · none": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a40eb6d87b29925d","command":8},
+ "codex · create · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"21477e5b873921df","command":7},
+ "codex · restart · sh · relative": {"argv":["/bin/sh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"a40eb6d87b29925d","command":8},
+ "codex · create · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"2435aa0b35cdb24d","command":7},
+ "codex · restart · ksh · tmux": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"f71aaf923f1fbf7b","command":8},
+ "codex · create · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"012c484958d801ac","command":7},
+ "codex · restart · ksh · none": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"06c61e57bd4dd290","command":8},
+ "codex · create · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"012c484958d801ac","command":7},
+ "codex · restart · ksh · relative": {"argv":["/bin/ksh","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"06c61e57bd4dd290","command":8},
+ "codex · create · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"15bd39a6fc493adc","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · fish · tmux": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"b8441cdf14bf6ff1","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · create · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"a120a8721543f5a8","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · fish · none": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"d5c56b1f9e8469c7","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · create · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"a120a8721543f5a8","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · fish · relative": {"argv":["/opt/homebrew/bin/fish","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"d5c56b1f9e8469c7","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · create · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"aac3ed4560096bb1","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · tcsh · tmux": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"ba49789dd78eaa86","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · create · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"2ded6125a64e121f","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · tcsh · none": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"4e9f436b9130ae81","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · create · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"2ded6125a64e121f","command":["codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"]},
+ "codex · restart · tcsh · relative": {"argv":["/bin/tcsh","-i","-c","exec <posix-runner> '<data>/launch/<one-time>.sh'"],"script":"4e9f436b9130ae81","command":["codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"]},
+ "codex · create · none · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"be28ccfe0963b05f","command":7},
+ "codex · restart · none · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"552a8148fbab4054","command":8},
+ "codex · create · none · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"5e3bc52eef2290fd","command":7},
+ "codex · restart · none · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"95050d3ab965f3df","command":8},
+ "codex · create · none · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"5e3bc52eef2290fd","command":7},
+ "codex · restart · none · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"95050d3ab965f3df","command":8},
+ "codex · create · relative · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"be28ccfe0963b05f","command":7},
+ "codex · restart · relative · tmux": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"552a8148fbab4054","command":8},
+ "codex · create · relative · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"5e3bc52eef2290fd","command":7},
+ "codex · restart · relative · none": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"95050d3ab965f3df","command":8},
+ "codex · create · relative · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"5e3bc52eef2290fd","command":7},
+ "codex · restart · relative · relative": {"argv":["<posix-runner>","-c",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"95050d3ab965f3df","command":8},
+ "codex · create · zsh · tmux · managed grid": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"2d80b1defb7b1001","command":7},
+ "codex · create · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"2d62819ce47e3b42","command":7},
+ "codex · create, plain · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me"],"script":"3348835e2ac5a312","command":2},
+ "codex · adopt, waiting out the turn · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me"],"script":"d239e4db3a4ae037","command":4},
+ "codex · adopt, now, carrying on · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","continue"],"script":"01fcc1413af4609a","command":5},
+ "codex · fork shape · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","fork","src-0001","--approve-for-me","-c","model_provider=\"openai\"","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"3348835e2ac5a312","command":7},
+ "codex · restart · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"70f02b7884bdd3a6","command":8},
+ "codex · restart, fresh fallback · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"cb2f611e1185d8ef","command":5},
+ "codex · restore · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_provider=\"openai\""],"script":"35944e1c7295fa43","command":6},
+ "codex · resume service · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001"],"script":"3348835e2ac5a312","command":3},
+ "codex · retarget onto a grid · bash · no tmux": {"argv":["/bin/bash","-ic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"cb2f611e1185d8ef","command":8},
+ "codex · restart · zsh · tmux · engine at its own path": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","/usr/local/lib/node_modules/@openai/codex/bin/codex.js","resume","sess-0001","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5"],"script":"e3eded63a7772bbe","command":8},
+ "codex · create · zsh · tmux · zsh new user": {"argv":["/usr/bin/env","DISABLE_AUTO_UPDATE=true","ZDOTDIR=<data>/zsh-startup","HARNESS_ZDOTDIR=<root>/zdotdir-empty","/bin/zsh","-lic",". '<data>/launch/<one-time>.sh'","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"c626c1081ee52b75","command":7},
+ "codex · create · bash · tmux · no data folder": {"argv":["/bin/bash","-ic","<script edab24d69968330b>","harness-engine","/work/my project's folder","codex","--approve-for-me","-c","model_providers.grid.base_url=\"https://grid.example/relay/v1\"","-m","gpt-5","Fix the \"parser\" — it's broken; $HOME stays literal, as does `date` and a 'quote' ✓"],"script":"edab24d69968330b","command":7}
+},
+"overrides": {
+
+},
+"adapters": {
+
+}
+}
+}
diff --git a/cli/src/engines/claude/launch.ts b/cli/src/engines/claude/launch.ts
index 9112674b4..3a743b2a0 100644
--- a/cli/src/engines/claude/launch.ts
+++ b/cli/src/engines/claude/launch.ts
@@ -12,5 +12,5 @@ export const launch: EngineLaunch = {
permissionModes, bypassPermission: permissionModes.auto,
firstPromptArgs: [], resumeArgs: ['--resume'], forkArgs: { lead: ['--resume'], after: ['--fork-session'] },
instructionFiles: ['CLAUDE.md'],
- contextArgs: file => ['--append-system-prompt', `Read the harness context at ${JSON.stringify(file)} before working.`],
+ contextArgs: { args: ['--append-system-prompt', 'Read the harness context at {file} before working.'], quote: 'json' },
}
diff --git a/cli/src/engines/codex/launch.ts b/cli/src/engines/codex/launch.ts
index d53a65f86..bf334e976 100644
--- a/cli/src/engines/codex/launch.ts
+++ b/cli/src/engines/codex/launch.ts
@@ -1,34 +1,33 @@
import type { EngineLaunch } from '../facets/launch.js'
-/** What `-c a.b.NAME=…` can address: Codex splits the key on dots, so a name must be a bare key. */
-const CODEX_ENV_NAME = /^[A-Za-z_][A-Za-z0-9_]*$/
-
-/**
- * Codex runs a session's commands in a shared app server (`codex app-server --managed-daemon`, codex-cli
- * 0.159.3), not under the process Harness launched, so they never see that process's environment.
- * Measured: HARNESS_CONTEXT_FILE and every manifest variable were unset in the agent's shell, and the
- * Model Manager ran without its instructions. `shell_environment_policy.set` is what Codex itself gives
- * every command, and `-c` carries it to whichever process runs them. The value is a JSON string, which
- * TOML reads as the same string.
- */
-export function codexEnvArgs(env: Record<string, string>): string[] {
- return Object.entries(env)
- .filter(([name]) => CODEX_ENV_NAME.test(name))
- .flatMap(([name, value]) => ['-c', `shell_environment_policy.set.${name}=${JSON.stringify(value)}`])
-}
-
const permissionModes = {
auto: ['--approve-for-me'],
readOnly: ['--sandbox', 'read-only'],
ask: [],
full: ['--dangerously-bypass-approvals-and-sandbox'],
}
+
+/**
+ * Codex's launch, declared: data only, which core applies with the kit (engines/launches.ts,
+ * lib/engineLaunch.ts). The pane script's startup probe and retry were lib/engineLaunch.ts's and
+ * lib/codexStartupRetry.ts's, the own-login provider was engines/codex/ownLoginProvider.ts, and the
+ * environment flags were `codexEnvArgs` in this file (docs/design/2026-10-08-engine-launch.md).
+ */
export const launch: EngineLaunch = {
permissionModes, bypassPermission: permissionModes.auto,
firstPromptArgs: [], resumeArgs: ['resume'], forkArgs: { lead: ['fork'] },
- instructionFiles: ['AGENTS.override.md', 'AGENTS.md'], envArgs: codexEnvArgs,
+ instructionFiles: ['AGENTS.override.md', 'AGENTS.md'],
+ /**
+ * Codex runs a session's commands in a shared app server (`codex app-server --managed-daemon`, codex-cli
+ * 0.159.3), not under the process Harness launched, so they never see that process's environment.
+ * Measured: HARNESS_CONTEXT_FILE and every manifest variable were unset in the agent's shell, and the
+ * Model Manager ran without its instructions. `shell_environment_policy.set` is what Codex itself gives
+ * every command, and `-c` carries it to whichever process runs them. The value is a JSON string, which
+ * TOML reads as the same string. `-c a.b.NAME=…` splits the key on dots, so a name must be a bare key.
+ */
+ envArgs: { flag: '-c', setting: 'shell_environment_policy.set.{name}={value}', name: /^[A-Za-z_][A-Za-z0-9_]*$/ },
// Older Codex shares one app-server per CODEX_HOME, which owns work independently of its terminal client.
- // New Harness launches opt out with --no-daemon (lib/engineLaunch.ts), as the first option.
+ // New Harness launches opt out with --no-daemon (`startup.ownedFlag` below), as the first option.
sharedServer: {
ownedFlag: '--no-daemon', remoteFlag: '--remote', scripts: ['codex', 'codex.js'], pidFile: 'app-server-daemon/daemon.pid',
messages: {
@@ -37,4 +36,43 @@ export const launch: EngineLaunch = {
unidentified: 'Could not identify the conversation on the Codex server; the session is still open',
},
},
+ /**
+ * Undoing the provider a grid launch left behind in Codex's own state. From 0.155 Codex records one PER
+ * THREAD in `<CODEX_HOME>/state_5.sqlite` (`threads.model_provider`), written at launch from whatever
+ * `-c model_provider=` said. The grid contract says `grid` there (lib/gridLaunch.ts) and defines it in the
+ * same argv, so the name is persisted while its definition is not: moved back to its own login, `codex
+ * resume` failed before the TUI was up ("thread/resume failed: … Model provider grid not found") and the
+ * restart gave up on the conversation. Measured against codex-cli 0.155.1, argv outranks the stored row, so
+ * naming a provider again repairs a thread already poisoned; no database is read or written.
+ *
+ * The person's own top-level `model_provider` is their standing choice and is asked first: TOP-LEVEL only,
+ * since in TOML every key after a `[header]` is that table's (a `[profiles.work]` provider is the profile's).
+ * `openai` is what Codex itself would pick. Claude Code and Hermes read theirs from the environment or argv
+ * every launch, and OpenCode's is a file this daemon writes, so only Codex declares this.
+ */
+ ownProvider: { home: 'CODEX_HOME', file: 'config.toml', key: 'model_provider', fallback: 'openai', args: ['-c', 'model_provider="{value}"'] },
+ startup: {
+ /**
+ * Codex 0.157+ otherwise puts the writer outside tmux in a shared server. Keep Harness-owned launches
+ * process-owned so Close, hook attribution, provider env and RAM accounting describe the same lifetime.
+ * Probed after any install, in the exact pane shell; older versions simply omit the flag. The probe is
+ * bounded and never changes the person's Codex configuration.
+ */
+ ownedFlag: { unverified: 'could not verify Codex startup options. Please try opening this session again.' },
+ retry: {
+ // A successful startup update ends with Codex's explicit restart request (observed in codex-cli 0.160.0).
+ // A tagged template, as the probe was: the bundle escapes its emoji in the raw text, where the escape and
+ // the character match alike (scripts/lib/asciiOnly.mjs).
+ updated: { status: 0, line: String.raw`^(?:🎉\s*)?Update ran successfully! Please restart Codex\.$`, message: 'Codex updated. Continuing startup…' },
+ // Codex 0.159.3 exits 1 when account/read's workspace-routing discovery times out, before thread/start or
+ // the first prompt. Retrying that exact bootstrap failure is safe; retrying an arbitrary exit could replay
+ // work.
+ transient: {
+ status: 1,
+ line: 'Error: account/read failed during TUI bootstrap: account/read failed: workspace routing discovery timed out (code -32603)',
+ withinMs: 30_000, attempts: 3, backoffSeconds: 2,
+ message: 'Codex account lookup timed out. Retrying startup ({attempt}/{attempts}) in {delay}s; Ctrl-C cancels.',
+ },
+ },
+ },
}
diff --git a/cli/src/engines/codex/ownLoginProvider.ts b/cli/src/engines/codex/ownLoginProvider.ts
deleted file mode 100644
index c6a653455..000000000
--- a/cli/src/engines/codex/ownLoginProvider.ts
+++ /dev/null
@@ -1,104 +0,0 @@
-/**
- * Undoing the provider a grid launch left behind in Codex's own state.
- *
- * Codex does not resolve its provider from argv alone. From 0.155 it records one PER THREAD in
- * `<CODEX_HOME>/state_5.sqlite` (`threads.model_provider`), written at launch from whatever
- * `-c model_provider=` said. The grid contract says `grid` there (`gridLaunch.ts`), and defines what
- * `grid` means in the SAME argv — so the name is persisted while its definition is not.
- *
- * Move the agent back to its own login and that asymmetry is the bug: the harness correctly stops
- * passing every `-c model_providers.grid.*`, `codex resume` loads the thread row, and resolving it
- * fails before the TUI is up —
- *
- * thread/resume failed: failed to load configuration: Model provider `grid` not found (code -32600)
- *
- * — which the daemon can only answer by giving up on the session and starting a fresh one
- * ("[restart] codex did not come back up resuming its session — retrying fresh"). The conversation
- * survives on disk and is never reached again, which is exactly what `subscriptionModel.ts` and
- * `portableHistory.ts` exist to prevent.
- *
- * So the move back names a provider too, rather than only un-naming the grid's. Measured against
- * codex-cli 0.155.1: argv OUTRANKS the stored row, so this repairs a thread that is already
- * poisoned rather than only keeping the next one clean — no database is read, written, or migrated.
- *
- * ## Why the user's own config is read first
- *
- * `openai` is Codex's default, not its only answer: a `model_provider` at the top of the user's
- * `config.toml` is their standing choice for every Codex they run, and a harness that overwrote it
- * with `openai` would move them off their own provider as the price of leaving a grid. So the file
- * is asked first and `openai` is the fallback — the same value Codex itself would have picked.
- */
-import { readFileSync } from 'node:fs'
-import { join } from 'node:path'
-import type { AgentEngine } from '../../engines/types.js'
-import { launchCodexHome } from '../../lib/engineHomes.js'
-
-/** What Codex uses when nothing configures otherwise. */
-export const CODEX_DEFAULT_PROVIDER = 'openai'
-
-/**
- * The top-level `model_provider` in a Codex `config.toml`, or null.
- *
- * TOP-LEVEL only, and that is the whole subtlety: in TOML every key after a `[header]` belongs to
- * that table, so `model_provider` under `[profiles.work]` is that profile's and not the file's.
- * Reading it as the file's would hand Codex a provider the user selected for something else. Bare
- * keys stop at the first header for that reason.
- */
-export function parseCodexModelProvider(toml: string): string | null {
- for (const raw of toml.split('\n')) {
- const line = stripComment(raw).trim()
- if (!line) continue
- // The first table header ends the top level; anything after it is scoped to that table.
- if (line.startsWith('[')) return null
- const match = /^model_provider\s*=\s*(?:"([^"]*)"|'([^']*)')\s*$/.exec(line)
- if (match) {
- const value = (match[1] ?? match[2] ?? '').trim()
- return value || null
- }
- }
- return null
-}
-
-/** Drop a trailing `#` comment, but not one inside a quoted value. */
-function stripComment(line: string): string {
- let quote: string | null = null
- for (let i = 0; i < line.length; i++) {
- const ch = line[i]
- if (quote) { if (ch === quote) quote = null; continue }
- if (ch === '"' || ch === "'") { quote = ch; continue }
- if (ch === '#') return line.slice(0, i)
- }
- return line
-}
-
-/** Where the Codex about to be launched reads its config (lib/engineHomes.ts `launchCodexHome`). The daemon's
- * own CODEX_HOME was read, not the login shell's: a person who moved it had their own `model_provider`
- * overridden with Codex's default, which argv outranks the config with. */
-export function codexConfigPath(codexHome: string | null | undefined, environment?: NodeJS.ProcessEnv): string {
- return join(launchCodexHome(codexHome, environment), 'config.toml')
-}
-
-/** Read a Codex `config.toml`; an unreadable or absent file is "nothing configured", not an error. */
-function readCodexConfig(path: string): string | null {
- try { return readFileSync(path, 'utf8') } catch { return null }
-}
-
-/**
- * The argv that puts `engine` back on its own provider, or nothing when there is none to put back.
- *
- * Only Codex: it is the one engine here that persists a provider of its own accord. Claude Code and
- * Hermes read theirs from the environment or argv every launch, so dropping the grid's is already
- * the whole of the move, and OpenCode's lives in a configuration file this daemon writes and can
- * therefore stop writing.
- */
-export function ownLoginProviderArgs(
- engine: AgentEngine,
- codexHome: string | null | undefined,
- deps: { read?: (path: string) => string | null; env?: NodeJS.ProcessEnv } = {},
-): string[] {
- if (engine !== 'codex') return []
- const read = deps.read ?? readCodexConfig
- const toml = read(codexConfigPath(codexHome, deps.env))
- const configured = toml ? parseCodexModelProvider(toml) : null
- return ['-c', `model_provider="${configured ?? CODEX_DEFAULT_PROVIDER}"`]
-}
diff --git a/cli/src/engines/facets/hooks.ts b/cli/src/engines/facets/hooks.ts
index 3992dc940..17cf98cb8 100644
--- a/cli/src/engines/facets/hooks.ts
+++ b/cli/src/engines/facets/hooks.ts
@@ -25,7 +25,7 @@ export interface HookTurnContext {
export type HookAdmission = { accepted: true } | { accepted: false; reason: string }
/** A daemon setting that names a folder, such as `CODEX_HOME`. */
-type FolderSetting = { [K in keyof Env]: Env[K] extends string ? K : never }[keyof Env]
+export type FolderSetting = { [K in keyof Env]: Env[K] extends string ? K : never }[keyof Env]
/**
* Where an engine reads its hooks, and how Harness keeps its own block there. Declared data, applied by the
diff --git a/cli/src/engines/facets/launch.ts b/cli/src/engines/facets/launch.ts
index 55c402946..e896d1b0c 100644
--- a/cli/src/engines/facets/launch.ts
+++ b/cli/src/engines/facets/launch.ts
@@ -1,3 +1,5 @@
+import type { FolderSetting } from './hooks.js'
+
/**
* An engine whose CLI can leave work on a server of its own, shared per store (Codex's app-server). Declared
* data: core decides from it, with no worker, whether a client's conversation lives on that server at all,
@@ -17,6 +19,75 @@ export interface SharedServerContract {
messages: { unverified: string; remote: string; unidentified: string }
}
+/**
+ * The flag that hands the engine its harness context file (a DSH's CONTEXT.md). `{file}` in an argument is
+ * the file's path, as a JSON string where `quote` is `json`. Applied by kit/launchArgs.ts.
+ */
+export interface ContextArgsTemplate {
+ args: readonly string[]
+ quote: 'json'
+}
+
+/**
+ * The session's variables as argv, for an engine whose commands do not inherit its process's environment.
+ * Each variable whose name `name` accepts becomes `flag` followed by `setting`, in which `{name}` is its name
+ * and `{value}` its value as a JSON string. Applied by kit/launchArgs.ts.
+ */
+export interface EnvArgsTemplate {
+ flag: string
+ setting: string
+ name: RegExp
+}
+
+/**
+ * The provider an engine goes back to when it leaves a grid, for an engine that keeps the provider it was
+ * launched with in state of its own. The person's choice is the top-level `key` of `file` in the launch's
+ * home (the agent's profile, else the home `home` names, as the person's shell may move it), else `fallback`.
+ * `{value}` in `args` is that provider. Applied by kit/launchArgs.ts; the composition is engines/launches.ts.
+ */
+export interface OwnProviderContract {
+ home: FolderSetting
+ file: string
+ key: string
+ fallback: string
+ args: readonly string[]
+}
+
+/**
+ * Run again, in the same pane and with the same arguments, after a startup that ended before the
+ * conversation opened. Told by the pane's last line, read through the daemon's tmux after the engine exits
+ * (so its terminal stays real throughout), and only a line printed since that run began.
+ */
+export interface StartupRetry {
+ /**
+ * A startup update that ended the run with `status` and asks to be started again: `line` is a regular
+ * expression's source for that last line. One more run follows, with no time limit, since the person may
+ * leave the update's prompt open first.
+ */
+ updated: { status: number; line: string; message: string }
+ /**
+ * A transient failure: the run ended with `status`, and the last line is exactly `line`, within `withinMs`
+ * of the run starting. Up to `attempts` runs in all, the n-th retry after `backoffSeconds` × n; Ctrl-C
+ * cancels the wait. `message` may name `{attempt}`, `{attempts}` and `{delay}`.
+ */
+ transient: { status: number; line: string; withinMs: number; attempts: number; backoffSeconds: number; message: string }
+}
+
+/**
+ * What the pane's script does around the engine's run, beyond the wrapper every engine gets
+ * (lib/engineLaunch.ts). Declared data, written into the script by kit/launchStartup.ts. A launch is session
+ * control, so no worker is involved: the script runs in the pane, under the daemon's own Node.
+ */
+export interface StartupContract {
+ /**
+ * Before every run, ask the binary's own `--help` whether it takes `sharedServer.ownedFlag`, and pass it
+ * first when it does: an older build lacks it. A probe that cannot answer ends the launch, saying
+ * `unverified`. It also gives the engine a POSIX shell to run in where the daemon has no login shell.
+ */
+ ownedFlag?: { unverified: string }
+ retry?: StartupRetry
+}
+
/** Literal argv contracts copied from the existing launch paths. No engine version behavior changes. */
export interface EngineLaunch {
permissionModes: Readonly<Record<string, readonly string[]>>
@@ -25,7 +96,9 @@ export interface EngineLaunch {
resumeArgs: string[]
forkArgs: { lead: string[]; after?: string[] }
instructionFiles: readonly string[]
- contextArgs?: (contextFile: string) => string[]
- envArgs?: (env: Record<string, string>) => string[]
+ contextArgs?: ContextArgsTemplate
+ envArgs?: EnvArgsTemplate
sharedServer?: SharedServerContract
+ ownProvider?: OwnProviderContract
+ startup?: StartupContract
}
diff --git a/cli/src/engines/kit/launchArgs.ts b/cli/src/engines/kit/launchArgs.ts
new file mode 100644
index 000000000..cc1d28d5e
--- /dev/null
+++ b/cli/src/engines/kit/launchArgs.ts
@@ -0,0 +1,72 @@
+/**
+ * The argv an engine's launch contract declares as templates (facets/launch.ts): its harness context flag,
+ * its session variables as flags, and the provider it goes back to off a grid. Shared mechanics, run in core
+ * on the declaration alone: a launch is session control and waits on no engine worker.
+ */
+import { readFileSync } from 'node:fs'
+import { join } from 'node:path'
+import type { ContextArgsTemplate, EnvArgsTemplate, OwnProviderContract } from '../facets/launch.js'
+
+/** `{key}` in `text` replaced by `value`, as written: never read as a `$` replacement pattern. */
+const fill = (text: string, key: string, value: string): string => text.split(`{${key}}`).join(value)
+
+/** The context flag's argv for `file`. */
+export function contextArgsOf(template: ContextArgsTemplate): (file: string) => string[] {
+ return (file) => template.args.map((arg) => fill(arg, 'file', JSON.stringify(file)))
+}
+
+/** The session's variables as argv, in their order, those whose names the engine cannot take left out. */
+export function envArgsOf(template: EnvArgsTemplate): (env: Record<string, string>) => string[] {
+ return (env) => Object.entries(env)
+ .filter(([name]) => template.name.test(name))
+ .flatMap(([name, value]) => [template.flag, fill(fill(template.setting, 'name', name), 'value', JSON.stringify(value))])
+}
+
+/**
+ * The value of a top-level `key = "…"` (or `'…'`) in a TOML file, or null: empty, absent, or only inside a
+ * table. TOP-LEVEL only: every key after a `[header]` belongs to that table, so the first header ends the
+ * search. A deliberately small reader for one key, never a TOML parser.
+ */
+export function topLevelString(toml: string, key: string): string | null {
+ const pattern = new RegExp(`^${key.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}\\s*=\\s*(?:"([^"]*)"|'([^']*)')\\s*$`)
+ for (const raw of toml.split('\n')) {
+ const line = stripComment(raw).trim()
+ if (!line) continue
+ // The first table header ends the top level; anything after it is scoped to that table.
+ if (line.startsWith('[')) return null
+ const match = pattern.exec(line)
+ if (match) {
+ const value = (match[1] ?? match[2] ?? '').trim()
+ return value || null
+ }
+ }
+ return null
+}
+
+/** Drop a trailing `#` comment, but not one inside a quoted value. */
+function stripComment(line: string): string {
+ let quote: string | null = null
+ for (let i = 0; i < line.length; i++) {
+ const ch = line[i]
+ if (quote) { if (ch === quote) quote = null; continue }
+ if (ch === '"' || ch === "'") { quote = ch; continue }
+ if (ch === '#') return line.slice(0, i)
+ }
+ return line
+}
+
+/** Read a config file; an unreadable or absent one is "nothing configured", not an error. */
+function readConfig(path: string): string | null {
+ try { return readFileSync(path, 'utf8') } catch { return null }
+}
+
+/**
+ * The argv that names the engine's own provider again, read from `home`: the person's top-level choice, else
+ * the engine's own default. A relaunch is never blocked by a file that is absent or unreadable: the default
+ * is a correct answer for both.
+ */
+export function ownProviderArgs(own: OwnProviderContract, home: string, read: (path: string) => string | null = readConfig): string[] {
+ const toml = read(join(home, own.file))
+ const value = (toml ? topLevelString(toml, own.key) : null) ?? own.fallback
+ return own.args.map((arg) => fill(arg, 'value', value))
+}
diff --git a/cli/src/lib/codexStartupRetry.spec.ts b/cli/src/engines/kit/launchStartup.spec.ts
similarity index 59%
rename from cli/src/lib/codexStartupRetry.spec.ts
rename to cli/src/engines/kit/launchStartup.spec.ts
index 75b4c38dd..37942858d 100644
--- a/cli/src/lib/codexStartupRetry.spec.ts
+++ b/cli/src/engines/kit/launchStartup.spec.ts
@@ -2,8 +2,15 @@ import { execFileSync } from 'node:child_process'
import { mkdtempSync, rmSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
+import { Script } from 'node:vm'
import { afterEach, describe, expect, it } from 'vitest'
-import { CODEX_STARTUP_RETRY_PROBE } from './codexStartupRetry.js'
+import type { EngineLaunch, StartupRetry } from '../facets/launch.js'
+import { launch as codex } from '../codex/launch.js'
+import { startupFunctions, startupNeedsScript, startupProbe, startupRetries, startupRuns } from './launchStartup.js'
+
+// The evidence probe Codex's declared retry runs, as the kit writes it: the former lib/codexStartupRetry.ts's,
+// whose cases below run unchanged against it.
+const CODEX_STARTUP_RETRY_PROBE = startupProbe(codex.startup!.retry!)
// The probe gives tmux 2 s, as it should in a pane. Here tmux is a /bin/sh script, and under 12 busy loops on a
// 12-core Mac (load 60) it took longer than that to start: the probe gave up and printed nothing, and a test
@@ -109,3 +116,55 @@ describe('Codex startup update evidence', () => {
expect(f.probe('after-update', JSON.stringify(before)).status).toBe(1)
})
})
+
+describe('the startup an engine declares', () => {
+ const TMUX = '/opt/homebrew/bin/tmux'
+ const retry: StartupRetry = {
+ updated: { status: 0, line: String.raw`^Updated\.$`, message: 'Updated; starting again.' },
+ transient: { status: 7, line: "it's \\ busy", withinMs: 5_000, attempts: 2, backoffSeconds: 3, message: 'Busy "$HOME" `x` {attempt} of {attempts}, in {delay}s.' },
+ }
+
+ it('needs the script only for an engine that declares a startup', () => {
+ expect(startupNeedsScript(codex)).toBe(true)
+ expect(startupNeedsScript({})).toBe(false)
+ expect(startupNeedsScript(undefined)).toBe(false)
+ })
+
+ it('runs again only where the daemon\'s own tmux can read the pane', () => {
+ expect(startupRetries(codex, TMUX)).toBe(codex.startup!.retry)
+ expect(startupRetries(codex, 'tmux')).toBeNull()
+ expect(startupRetries(codex, null)).toBeNull()
+ expect(startupRetries({ startup: {} }, TMUX)).toBeNull()
+ })
+
+ it('probes the owned flag only with a shared server to name it', () => {
+ const launch: Pick<EngineLaunch, 'startup'> = { startup: { ownedFlag: { unverified: 'no' } } }
+ expect(startupFunctions('codex', launch, TMUX, '/node')).toBe('')
+ expect(startupRuns('codex', launch, null)).toBe('harness_status=0\n"$harness_engine_bin" "$@" || harness_status=$?\nharness_resume\nharness_after')
+ expect(startupFunctions('codex', undefined, TMUX, '/node')).toBe('')
+ })
+
+ it('writes a retry with no probe, the engine\'s own words and numbers, quoted for the shell', () => {
+ const script = startupFunctions('pi', { startup: { retry } }, TMUX, "/opt/it's/node")
+ expect(script).not.toContain('harness_pi_probe')
+ expect(script).toContain(`'/opt/it'"'"'s/node' -e`)
+ expect(script).toContain('[ "$harness_status" -eq 0 ] && [ "$harness_pi_updated" -eq 0 ]')
+ expect(script).toContain('[ "$harness_status" -eq 7 ] && [ "$harness_pi_attempt" -lt 2 ]')
+ expect(script).toContain('harness_pi_delay=$((harness_pi_attempt * 3))')
+ expect(script).toContain("printf '\\n%s\\n' 'harness: Updated; starting again.'")
+ expect(script).toContain('printf \'\\n%s\\n\' "harness: Busy \\"\\$HOME\\" \\`x\\` $harness_pi_attempt of 2, in ${harness_pi_delay}s."')
+ const runs = startupRuns('pi', { startup: { retry } }, TMUX)
+ expect(runs.split('\n').filter((line) => line === 'harness_pi_next')).toHaveLength(3)
+ expect(runs).toContain('[ "$harness_pi_go" != 1 ] || "$harness_engine_bin" "$@" || harness_status=$?')
+ })
+
+ it('writes an evidence probe that is JavaScript, with the failure line as one string', () => {
+ const probe = startupProbe(retry)
+ expect(() => new Script(probe)).not.toThrow()
+ expect(probe).toContain("const error = 'it\\'s \\\\ busy';")
+ expect(probe).toContain('? /^Updated\\.$/.test(last)')
+ expect(probe).toContain('elapsed <= 5000')
+ expect(() => new Script(CODEX_STARTUP_RETRY_PROBE)).not.toThrow()
+ expect(startupProbe({ ...retry, transient: { ...retry.transient, line: 'two\nlines' } })).toContain("const error = 'two\\nlines';")
+ })
+})
diff --git a/cli/src/engines/kit/launchStartup.ts b/cli/src/engines/kit/launchStartup.ts
new file mode 100644
index 000000000..f57505f97
--- /dev/null
+++ b/cli/src/engines/kit/launchStartup.ts
@@ -0,0 +1,201 @@
+/**
+ * What an engine's declared startup (facets/launch.ts `StartupContract`) adds to its pane's launch script:
+ * the probe for the owned-process flag, and the runs again after a startup that never opened the
+ * conversation. The script is lib/engineLaunch.ts's; this writes the engine's part of it from its declaration,
+ * with the engine's id naming its functions and variables (`harness_codex_probe`). Moved from
+ * lib/engineLaunch.ts and lib/codexStartupRetry.ts, whose every byte it reproduces
+ * (engines/launchArgv.golden.spec.ts).
+ *
+ * Every helper the script waits on runs in a command substitution, out of a Ctrl+Z's reach, and the engine's
+ * own runs stay at the script's top level (lib/engineLaunch.ts `STOP_PROOF_FUNCTIONS`).
+ */
+import { isAbsolute } from 'node:path'
+import type { EngineLaunch, StartupRetry } from '../facets/launch.js'
+import { shellSingleQuote } from '../../lib/shellQuote.js'
+
+type Launch = Pick<EngineLaunch, 'startup' | 'sharedServer'> | undefined
+
+/** The flag the probe asks the engine's help about, when the contract declares the probe. */
+function probedFlag(launch: Launch): string | null {
+ return launch?.startup?.ownedFlag && launch.sharedServer ? launch.sharedServer.ownedFlag : null
+}
+
+/** The variable that carries the probe's answer to each run, named after the flag (`harness_codex_no_daemon`). */
+const flagVariable = (engine: string, flag: string): string => `harness_${engine}_${flag.replace(/^-+/, '').replace(/[^A-Za-z0-9]/g, '_')}`
+
+/** Whether the engine needs the launch script even where the daemon has no login shell to run it in: its
+ * startup runs there. Without it, a Codex with no shell to probe in would put its work on the shared server. */
+export function startupNeedsScript(launch: Launch): boolean {
+ return !!launch?.startup
+}
+
+/** The engine is run again after a failed startup only where the pane can be read: through the daemon's tmux. */
+export function startupRetries(launch: Launch, tmuxBinary: string | null): StartupRetry | null {
+ const retry = launch?.startup?.retry
+ return retry && tmuxBinary && isAbsolute(tmuxBinary) ? retry : null
+}
+
+/**
+ * The script's functions for the engine's startup, after the wrapper's own (`harness_after`). `node` is the
+ * daemon's Node, which every probe runs under: the pane's shell may have none.
+ */
+export function startupFunctions(engine: string, launch: Launch, tmuxBinary: string | null, node: string): string {
+ const flag = probedFlag(launch)
+ const retry = startupRetries(launch, tmuxBinary)
+ return (flag ? ownedFlagProbe(engine, flag, launch!.startup!.ownedFlag!.unverified, node) : '')
+ + (retry ? retryFunctions(engine, retry, !!flag, tmuxBinary!, node) : '')
+}
+
+/**
+ * The engine's runs, at the script's top level, then `harness_after`. `$harness_engine_bin` is the engine
+ * and `"$@"` its arguments. A run that may be repeated is written out once per run, since no loop or
+ * function may hold the engine.
+ *
+ * `... || harness_status=$?` rather than `...; harness_status=$?`: a rc file that turned on `set -e` would
+ * end the script on the engine's non-zero exit before the fallback ran.
+ */
+export function startupRuns(engine: string, launch: Launch, tmuxBinary: string | null): string {
+ const flag = probedFlag(launch)
+ const run = `"$harness_engine_bin"${flag ? ` \${${flagVariable(engine, flag)}:+${flag}}` : ''} "$@"`
+ const retry = startupRetries(launch, tmuxBinary)
+ if (!retry) {
+ return [
+ ...(flag ? [`harness_${engine}_probe "$harness_engine_bin"`] : []),
+ 'harness_status=0',
+ `${run} || harness_status=$?`,
+ 'harness_resume',
+ 'harness_after',
+ ].join('\n')
+ }
+ const ns = `harness_${engine}`
+ const attempt = [
+ `${ns}_start "$harness_engine_bin"`,
+ `[ "$${ns}_go" != 1 ] || ${run} || harness_status=$?`,
+ 'harness_resume',
+ `${ns}_next`,
+ ]
+ // The first run, one more after a startup update, and the transient failure's retries.
+ const runs = 1 + 1 + (retry.transient.attempts - 1)
+ return [
+ `${ns}_attempt=1`,
+ `${ns}_updated=0`,
+ `${ns}_go=1`,
+ ...Array.from({ length: runs }, () => attempt).flat(),
+ 'harness_after',
+ ].join('\n')
+}
+
+/**
+ * Asks the binary's own help whether it takes `flag`, a whole option rather than the start of a longer one.
+ * It sets the flag's variable for the run rather than rewriting "$@", so each run probes its binary afresh
+ * (an update may have replaced it) without adding the flag to the saved arguments again.
+ */
+function ownedFlagProbe(engine: string, flag: string, unverified: string, node: string): string {
+ const pattern = flag.replace(/[.*+?^${}()|[\]\\/]/g, '\\$&')
+ const probe = `const {execFileSync}=require('node:child_process');try { const h=execFileSync(process.argv[1],['--help'],{timeout:5000,maxBuffer:1048576,encoding:'utf8',stdio:['ignore','pipe','pipe']});process.exit(/${pattern}(?:[^A-Za-z0-9-]|$)/.test(h)?0:64); } catch { process.exit(2); }`
+ const ns = `harness_${engine}`
+ return `${ns}_probe() {\n`
+ + ` ${ns}_mode=0\n`
+ + ` ${ns}_seen=$(${shellSingleQuote(node)} -e ${shellSingleQuote(probe)} "$1") || ${ns}_mode=$?\n`
+ + ` case "$${ns}_mode" in\n`
+ + ` 0) ${flagVariable(engine, flag)}=1 ;;\n`
+ + ` 64) ${flagVariable(engine, flag)}= ;;\n`
+ + ` *) printf '%s\\n' ${shellSingleQuote(`harness: ${unverified}`)} >&2; exit 1 ;;\n`
+ + ' esac\n'
+ + '}\n'
+}
+
+/** A JavaScript string literal in single quotes. */
+const jsQuoted = (text: string): string => `'${text.replace(/\\/g, '\\\\').replace(/'/g, "\\'").replace(/\n/g, '\\n')}'`
+
+/**
+ * The evidence the retry reads, run with the daemon's Node inside the pane's shell, before and after a run.
+ *
+ * Inspect tmux AFTER exit so stdin, stdout and stderr stay real terminals (no tee, pipe or second PTY). The
+ * baseline rejects old output left in the pane: a transient failure must be the new, final line within its
+ * window; an update's restart request has no time limit, since the person may leave the update prompt open
+ * before accepting. Normal exits, cancellation, auth/config errors, session failures and unavailable
+ * terminal evidence fail closed. The baseline stores no terminal text or prompt.
+ */
+export function startupProbe(retry: StartupRetry): string {
+ return String.raw`
+const { execFileSync } = require('node:child_process');
+const { createHash } = require('node:crypto');
+const [mode, tmux, pane, baseline] = process.argv.slice(1);
+try {
+ if (!/^%\d+$/.test(pane)) process.exit(1);
+ const screen = execFileSync(tmux, ['capture-pane', '-p', '-J', '-S', '-10', '-t', pane], {
+ timeout: 2000, maxBuffer: 1024 * 1024, encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'],
+ });
+ const last = screen.trimEnd().split('\n').at(-1)?.trim() ?? '';
+ const hash = createHash('sha256').update(last).digest('hex');
+ if (mode === 'before') {
+ process.stdout.write(JSON.stringify({ at: Date.now(), hash }));
+ } else {
+ const before = JSON.parse(baseline);
+ const elapsed = Date.now() - before.at;
+ const error = ${jsQuoted(retry.transient.line)};
+ const fresh = Number.isFinite(elapsed) && elapsed >= 0 && /^[a-f0-9]{64}$/.test(before.hash) && before.hash !== hash;
+ const matches = mode === 'after-update'
+ ? /${retry.updated.line}/.test(last)
+ : mode === 'after' && elapsed <= ${retry.transient.withinMs} && last === error;
+ process.exit(fresh && matches ? 0 : 1);
+ }
+} catch { process.exit(1); }
+`.trim()
+}
+
+/**
+ * Keeps a successful startup update or a transient failure in the original launch. Only the final exit
+ * gets the pane's engine-exit marker. The short backoff also keeps discovery from archiving the row between
+ * attempts. Never reparse "$@": it includes the original prompt, images, model, permissions and resume/fork
+ * arguments. An updater runs before the conversation opens, so the exact launch is replayed once, without
+ * choosing an unrelated conversation (`resume --last`).
+ *
+ * `_start` readies a run and `_next` decides whether another follows. The probe is written once, as
+ * `_check`: tmux refuses a command longer than 16KiB, and the launch, first prompt and all, goes to it as one
+ * (`tmux new-session`).
+ */
+function retryFunctions(engine: string, retry: StartupRetry, probesFlag: boolean, tmuxBinary: string, node: string): string {
+ const ns = `harness_${engine}`
+ const check = `${ns}_check`
+ const tmux = shellSingleQuote(tmuxBinary)
+ const { updated, transient } = retry
+ // In double quotes, so the attempt and the delay are the shell's own: anything else in it is taken as written.
+ const waiting = `harness: ${transient.message}`.replace(/[\\"$`]/g, '\\$&')
+ .split('{attempt}').join(`$${ns}_attempt`)
+ .split('{attempts}').join(String(transient.attempts))
+ .split('{delay}').join(`\${${ns}_delay}`)
+ return `${check}() {\n`
+ + ` ${shellSingleQuote(node)} -e ${shellSingleQuote(startupProbe(retry))} "$@"\n`
+ + '}\n'
+ + `${ns}_start() {\n`
+ + ` [ "$${ns}_go" = 1 ] || return 0\n`
+ + ` ${ns}_before=\n`
+ + ` if [ -n "\${TMUX_PANE:-}" ]; then ${ns}_before=$(${check} before ${tmux} "$TMUX_PANE") || ${ns}_before=; fi\n`
+ + (probesFlag ? ` ${ns}_probe "$1"\n` : '')
+ + ' harness_status=0\n'
+ + '}\n'
+ + `${ns}_next() {\n`
+ + ` [ "$${ns}_go" = 1 ] || return 0\n`
+ + ` ${ns}_go=0\n`
+ + ` if [ "$harness_status" -eq ${updated.status} ] && [ "$${ns}_updated" -eq 0 ] && [ -n "$${ns}_before" ] &&\n`
+ + ` ${ns}_seen=$(${check} after-update ${tmux} "$TMUX_PANE" "$${ns}_before"); then\n`
+ + ` ${ns}_updated=1\n`
+ + ` printf '\\n%s\\n' ${shellSingleQuote(`harness: ${updated.message}`)}\n`
+ + ` ${ns}_go=1\n`
+ + ' return 0\n'
+ + ' fi\n'
+ + ` [ "$harness_status" -eq ${transient.status} ] && [ "$${ns}_attempt" -lt ${transient.attempts} ] && [ -n "$${ns}_before" ] || return 0\n`
+ + ` ${ns}_seen=$(${check} after ${tmux} "$TMUX_PANE" "$${ns}_before") || return 0\n`
+ + ` ${ns}_delay=$((${ns}_attempt * ${transient.backoffSeconds}))\n`
+ + ` ${ns}_attempt=$((${ns}_attempt + 1))\n`
+ + ` ${ns}_cancelled=0\n`
+ + ` trap '${ns}_cancelled=1' INT\n`
+ + ` printf '\\n%s\\n' "${waiting}"\n`
+ + ` ${ns}_seen=$(sleep "$${ns}_delay") || ${ns}_cancelled=1\n`
+ + ' trap : INT\n'
+ + ` if [ "$${ns}_cancelled" -eq 1 ]; then harness_status=130; return 0; fi\n`
+ + ` ${ns}_go=1\n`
+ + '}\n'
+}
diff --git a/cli/src/engines/launchArgv.golden.spec.ts b/cli/src/engines/launchArgv.golden.spec.ts
new file mode 100644
index 000000000..f0ddac0e4
--- /dev/null
+++ b/cli/src/engines/launchArgv.golden.spec.ts
@@ -0,0 +1,519 @@
+/**
+ * What every launch of an engine hands tmux, byte for byte: the pane's argv, the script a POSIX login shell
+ * sources from its one-time file, the engine's own command, and the environment, extra argv and cleared
+ * variables a relaunch is built with. Recorded from the launch code as it stood before Claude Code's and
+ * Codex's launch specifics became declared data on their launch contracts, applied by the kit
+ * (docs/design/2026-10-08-engine-launch.md): the Codex pane script's owned-process probe and startup retry,
+ * its own-login provider, and the two engines' harness context and environment flags.
+ *
+ * The shapes are the callers': create (a first prompt, a harness, a grid, an install when missing), the
+ * adoption of a terminal's conversation (resume, waiting out its turn), fork, restart and its fresh fallback,
+ * restore, resume, retarget onto a grid, every permission mode, a Codex profile (CODEX_HOME), a moved engine
+ * home, an engine at an overridden path (npm's Codex wrapper), a remote Codex server's flag passed through,
+ * every login shell family, with and without the daemon's tmux. Every other engine is recorded in the common
+ * shapes too, since they share the wrapper.
+ *
+ * Paths that differ between machines are written as placeholders (`<home>`, `<data>`, `<daemon-node>`, the
+ * one-time file's name). What the launch says differs by platform (a folder the shell cannot read names macOS's
+ * privacy settings, else the folder's permissions), so every case is recorded on darwin and on linux, with
+ * `process.platform` pinned, whichever machine runs the spec: linux's cases are stored where they differ. A script is kept once, by its hash, since most shapes differ only in argv, and as
+ * runs of a table of its distinct lines: the 170 scripts share 243 lines. A command that is the end of its
+ * argv is kept as its length. Each case is compared as full text, so a failure shows the script itself.
+ *
+ * `RECORD_LAUNCH_GOLDEN=1` writes the fixture. Record it again only for a change meant to alter what a launch
+ * hands tmux, and say so in that change.
+ */
+import { createHash } from 'node:crypto'
+import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs'
+import { homedir, tmpdir } from 'node:os'
+import { dirname, join } from 'node:path'
+import { fileURLToPath } from 'node:url'
+import { afterAll, beforeAll, describe, expect, it } from 'vitest'
+import { env } from '../config/env.js'
+import { harnessAdapter, HARNESS_ADAPTERS } from '../dsh/adapters.js'
+import { DSH_SESSION_ENV, harnessEnvToClear } from '../dsh/launch.js'
+import { baseNode } from '../harnessd/baseNode.js'
+import { engineInstallRecipe } from '../lib/engineInstall.js'
+import {
+ buildEngineCommandArgv, buildEngineLaunchArgv, PERMISSION_MODES, supportsFirstPrompt, type LaunchCommandOptions,
+} from '../lib/engineLaunch.js'
+import { GRID_CONFLICTING_ENV_VARS, type GridLaunchOverride } from '../lib/gridLaunch.js'
+import { buildLaunchOverrides, type LaunchOverridesDeps, type LaunchSource } from '../lib/launchOverrides.js'
+import { ENGINES, type AgentEngine } from './types.js'
+
+const GOLDEN = fileURLToPath(new URL('./__fixtures__/launch-argv.golden.json', import.meta.url))
+const RECORD = process.env.RECORD_LAUNCH_GOLDEN === '1'
+
+const SHELLS = {
+ zsh: '/bin/zsh', bash: '/bin/bash', sh: '/bin/sh', ksh: '/bin/ksh', fish: '/opt/homebrew/bin/fish', tcsh: '/bin/tcsh',
+ // No login shell the daemon can use: a plain engine runs as its bare command.
+ none: '', relative: 'zsh',
+} as const
+type Shell = keyof typeof SHELLS
+const TMUX = { tmux: '/opt/homebrew/bin/tmux', none: null, relative: 'tmux' } as const
+type Tmux = keyof typeof TMUX
+const RUNTIME_NODE = '/opt/harness/runtime/node-v22/bin/node'
+const GRID_BIN = { bare: 'grid', managed: '/opt/harness/runtime/grid/bin/grid' } as const
+
+const PROMPT = `Fix the "parser" — it's broken; $HOME stays literal, as does \`date\` and a 'quote' ✓`
+const GRID_ARGS = ['-c', 'model_providers.grid.base_url="https://grid.example/relay/v1"', '-m', 'gpt-5']
+const REMOTE_ARGS = ['--remote', 'ws://127.0.0.1:4500']
+const CWD = "/work/my project's folder"
+const CLEAR_GRID = ['ANTHROPIC_API_KEY', 'OPENAI_API_KEY', ...harnessEnvToClear({})]
+
+/** A caller's options, as each one assembles them (core/agents/create.ts, fork.ts, restart.ts, swap.ts,
+ * lib/resumeAgentService.ts, the restore in core/main.ts). `null` for a shape this engine cannot take. */
+function shapes(engine: AgentEngine): Record<string, LaunchCommandOptions | null> {
+ const install = engineInstallRecipe(engine)
+ const prompt = supportsFirstPrompt(engine)
+ return {
+ 'new': {},
+ 'new, approving': { bypassPermission: true },
+ 'new, not approving': { bypassPermission: false },
+ 'new, a mode the engine lacks': { permissionMode: 'no-such-mode', bypassPermission: true },
+ ...Object.fromEntries(Object.keys(PERMISSION_MODES[engine] ?? {}).map((mode) => [`new, mode ${mode}`, { permissionMode: mode }])),
+ 'first prompt': prompt ? { firstPrompt: PROMPT } : null,
+ 'resume': { resumeSessionId: 'sess-0001' },
+ 'resume, approving': { resumeSessionId: 'sess-0001', bypassPermission: true },
+ 'fork': { forkSessionId: 'src-0001' },
+ 'fork outranks resume': { forkSessionId: 'src-0001', resumeSessionId: 'sess-0001', bypassPermission: true },
+ 'fork with a prompt': prompt ? { forkSessionId: 'src-0001', firstPrompt: PROMPT } : null,
+ 'grid argv': { extraArgs: GRID_ARGS, clearEnv: CLEAR_GRID },
+ 'remote server argv passed through': { extraArgs: REMOTE_ARGS },
+ 'install first': { installFirst: 'npm install -g example-engine' },
+ 'create': {
+ bypassPermission: true, permissionMode: Object.keys(PERMISSION_MODES[engine] ?? {})[0], extraArgs: GRID_ARGS,
+ installIfMissing: install, clearEnv: CLEAR_GRID, cwd: CWD, harnessNode: true,
+ ...(prompt ? { firstPrompt: PROMPT } : {}), terminalHint: { machineName: 'studio-mac' },
+ },
+ 'create, plain': { bypassPermission: true, installIfMissing: install, clearEnv: harnessEnvToClear(undefined), cwd: CWD, terminalHint: { machineName: 'studio-mac' } },
+ 'adopt, waiting out the turn': {
+ bypassPermission: true, resumeSessionId: 'sess-0001', installIfMissing: install, clearEnv: harnessEnvToClear(undefined), cwd: CWD,
+ waitForPid: { pid: 4242, name: 'Codex "cli"; rm -rf' },
+ },
+ 'adopt, now, carrying on': prompt ? { bypassPermission: true, resumeSessionId: 'sess-0001', firstPrompt: 'continue', cwd: CWD } : null,
+ 'fork shape': {
+ clearEnv: harnessEnvToClear(undefined), bypassPermission: true, extraArgs: ['-c', 'model_provider="openai"'], installIfMissing: install,
+ cwd: CWD, forkSessionId: 'src-0001', ...(prompt ? { firstPrompt: PROMPT } : {}),
+ },
+ 'restart': {
+ bypassPermission: true, resumeSessionId: 'sess-0001', cwd: CWD, extraArgs: GRID_ARGS, clearEnv: CLEAR_GRID, harnessNode: true,
+ },
+ 'restart, fresh fallback': { bypassPermission: false, cwd: CWD, extraArgs: GRID_ARGS, clearEnv: CLEAR_GRID },
+ 'restore': {
+ resumeSessionId: 'sess-0001', bypassPermission: true, installIfMissing: install, cwd: CWD,
+ extraArgs: ['-c', 'model_provider="openai"'], clearEnv: harnessEnvToClear(undefined), harnessNode: true,
+ },
+ 'resume service': {
+ resumeSessionId: 'sess-0001', bypassPermission: false, permissionMode: 'ask', cwd: CWD, clearEnv: harnessEnvToClear(undefined),
+ installIfMissing: install,
+ },
+ 'retarget onto a grid': { bypassPermission: true, resumeSessionId: 'sess-0001', cwd: CWD, extraArgs: GRID_ARGS, clearEnv: CLEAR_GRID },
+ }
+}
+
+interface ArgvRecord { argv?: string[]; command?: string[]; script?: string; throws?: string }
+/** One platform's record. */
+interface Cases {
+ argv: Record<string, ArgvRecord>
+ overrides: Record<string, unknown>
+ adapters: Record<string, unknown>
+}
+/** darwin's cases, and linux's where they differ, over one table of scripts. */
+interface Golden extends Cases {
+ scripts: Record<string, string>
+ linux: Cases
+}
+type StoredArgv = Record<string, Omit<ArgvRecord, 'command'> & { command?: string[] | number }>
+/** As stored: scripts as runs of `lines`, and a command that ends its argv as its length. */
+interface Stored {
+ lines: string[]
+ scripts: Record<string, string>
+ argv: StoredArgv
+ overrides: Record<string, unknown>
+ adapters: Record<string, unknown>
+ linux: { argv: StoredArgv; overrides: Record<string, unknown>; adapters: Record<string, unknown> }
+}
+
+const PLATFORMS = ['darwin', 'linux'] as const
+type Platform = (typeof PLATFORMS)[number]
+
+/** Runs `run` with `process.platform` reading `platform`, which the launch reads as it builds the script. */
+async function onPlatform<T>(platform: Platform, run: () => T | Promise<T>): Promise<T> {
+ const real = Object.getOwnPropertyDescriptor(process, 'platform')!
+ Object.defineProperty(process, 'platform', { ...real, value: platform })
+ try { return await run() } finally { Object.defineProperty(process, 'platform', real) }
+}
+
+/** The cases of `other` whose record differs from `base`'s. */
+function differences<T>(base: Record<string, T>, other: Record<string, T>): Record<string, T> {
+ return Object.fromEntries(Object.entries(other).filter(([name, value]) => JSON.stringify(value) !== JSON.stringify(base[name])))
+}
+
+/** A platform's full record: darwin's, with linux's differences over it. */
+function casesOn(golden: Golden, platform: Platform): Cases {
+ if (platform === 'darwin') return { argv: golden.argv, overrides: golden.overrides, adapters: golden.adapters }
+ return {
+ argv: { ...golden.argv, ...golden.linux.argv },
+ overrides: { ...golden.overrides, ...golden.linux.overrides },
+ adapters: { ...golden.adapters, ...golden.linux.adapters },
+ }
+}
+
+function store(golden: Golden): Stored {
+ const lines: string[] = []
+ const index = new Map<string, number>()
+ const scripts: Record<string, string> = {}
+ for (const [hash, text] of Object.entries(golden.scripts).sort(([a], [b]) => a.localeCompare(b))) {
+ const ids = text.split('\n').map((line) => {
+ if (!index.has(line)) { index.set(line, lines.length); lines.push(line) }
+ return index.get(line)!
+ })
+ const runs: string[] = []
+ for (let i = 0; i < ids.length;) {
+ let j = i
+ while (j + 1 < ids.length && ids[j + 1] === ids[j]! + 1) j++
+ runs.push(i === j ? `${ids[i]}` : `${ids[i]}-${ids[j]}`)
+ i = j + 1
+ }
+ scripts[hash] = runs.join(',')
+ }
+ const compact = (argv: Record<string, ArgvRecord>): StoredArgv => Object.fromEntries(Object.entries(argv).map(([name, value]) => {
+ const tail = value.argv && value.command && value.command.length <= value.argv.length
+ && JSON.stringify(value.argv.slice(value.argv.length - value.command.length)) === JSON.stringify(value.command)
+ return [name, tail ? { ...value, command: value.command!.length } : value]
+ }))
+ return {
+ lines, scripts, argv: compact(golden.argv), overrides: golden.overrides, adapters: golden.adapters,
+ linux: { argv: compact(golden.linux.argv), overrides: golden.linux.overrides, adapters: golden.linux.adapters },
+ }
+}
+
+function load(stored: Stored): Golden {
+ const scripts = Object.fromEntries(Object.entries(stored.scripts).map(([hash, runs]) => [hash, runs.split(',').flatMap((run) => {
+ const [from, to = from] = run.split('-').map(Number)
+ return Array.from({ length: to! - from! + 1 }, (_, k) => stored.lines[from! + k]!)
+ }).join('\n')]))
+ const expand = (argv: StoredArgv): Record<string, ArgvRecord> => Object.fromEntries(Object.entries(argv).map(([name, value]) => [name, typeof value.command === 'number'
+ ? { ...value, command: value.argv!.slice(value.argv!.length - value.command) }
+ : value as ArgvRecord]))
+ return {
+ argv: expand(stored.argv), scripts, overrides: stored.overrides, adapters: stored.adapters,
+ linux: { argv: expand(stored.linux.argv), overrides: stored.linux.overrides, adapters: stored.linux.adapters },
+ }
+}
+
+/** One case a line, so a re-record's diff names the cases it changed. */
+function serialize(stored: Stored): string {
+ const block = (entries: Array<[string, unknown]>): string => entries.map(([key, value]) => ` ${JSON.stringify(key)}: ${JSON.stringify(value)}`).join(',\n')
+ return `{\n"lines": [\n${stored.lines.map((line) => ` ${JSON.stringify(line)}`).join(',\n')}\n],\n`
+ + `"scripts": {\n${block(Object.entries(stored.scripts))}\n},\n`
+ + `"argv": {\n${block(Object.entries(stored.argv))}\n},\n`
+ + `"overrides": {\n${block(Object.entries(stored.overrides))}\n},\n`
+ + `"adapters": {\n${block(Object.entries(stored.adapters))}\n},\n`
+ + `"linux": {\n"argv": {\n${block(Object.entries(stored.linux.argv))}\n},\n`
+ + `"overrides": {\n${block(Object.entries(stored.linux.overrides))}\n},\n`
+ + `"adapters": {\n${block(Object.entries(stored.linux.adapters))}\n}\n}\n}\n`
+}
+
+let root = ''
+let dataDir = ''
+const saved: Record<string, string | undefined> = {}
+const savedEnv: Record<string, string | undefined> = {}
+const ENGINE_PATHS = ['CLAUDE_PATH', 'CURSOR_PATH', 'OPENCODE_PATH', 'PI_PATH', 'HERMES_PATH', 'COMMANDCODE_PATH', 'DEVIN_PATH', 'MUSE_PATH',
+ 'AMP_PATH', 'KILO_PATH', 'GROK_PATH', 'AGY_PATH', 'COPILOT_PATH'] as const
+const PROCESS_VARS = ['CODEX_PATH', 'CODEX_HOME', 'ZDOTDIR', 'HARNESS_OS', 'HARNESS_GRID_BIN', 'SHELL'] as const
+const config = env as unknown as Record<string, string | undefined>
+
+beforeAll(() => {
+ root = mkdtempSync(join(tmpdir(), 'launch-golden-'))
+ dataDir = join(root, 'data')
+ mkdirSync(dataDir)
+ saved.ADAPTER_DATA_DIR = env.ADAPTER_DATA_DIR
+ saved.CODEX_HOME = env.CODEX_HOME
+ env.ADAPTER_DATA_DIR = dataDir
+ env.CODEX_HOME = join(homedir(), '.codex')
+ for (const name of ENGINE_PATHS) { savedEnv[`config:${name}`] = config[name]; config[name] = undefined }
+ for (const name of PROCESS_VARS) { savedEnv[name] = process.env[name]; delete process.env[name] }
+ // A zsh user with a startup file of their own: the plain launch. The new-user guard has its own shape below.
+ const zdotdir = join(root, 'zdotdir')
+ mkdirSync(zdotdir)
+ writeFileSync(join(zdotdir, '.zshrc'), '')
+ process.env.ZDOTDIR = zdotdir
+})
+
+afterAll(() => {
+ env.ADAPTER_DATA_DIR = saved.ADAPTER_DATA_DIR!
+ env.CODEX_HOME = saved.CODEX_HOME!
+ for (const name of ENGINE_PATHS) config[name] = savedEnv[`config:${name}`]
+ for (const name of PROCESS_VARS) {
+ if (savedEnv[name] === undefined) delete process.env[name]
+ else process.env[name] = savedEnv[name]
+ }
+ rmSync(root, { recursive: true, force: true })
+})
+
+/** The POSIX shell a launch with no login shell of its own runs its script in (engineLaunch.ts `posixRunner`). */
+const posixRunner = (): string => existsSync('/bin/dash') ? '/bin/dash' : '/bin/sh'
+
+function placeholders(text: string): string {
+ const node = baseNode(process.execPath)
+ // Quoted, as every script quotes them: a Node in /usr/bin must not turn `/usr/bin/env` into a placeholder.
+ return text
+ .split(`'${node}'`).join("'<daemon-node>'")
+ .split(`'${dirname(node)}'`).join("'<daemon-node-dir>'")
+ .split(dataDir).join('<data>')
+ .split(root).join('<root>')
+ .split(homedir()).join('<home>')
+ .replace(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\.sh/g, '<one-time>.sh')
+ .split(`exec ${posixRunner()} '`).join("exec <posix-runner> '")
+}
+
+/** The script a launch's argv names, from its one-time file, and the argv with the file's name as a placeholder. */
+function record(argv: string[], scripts: Record<string, string>, noLoginShell: boolean): ArgvRecord {
+ const out = argv.map((arg, index) => index === 0 && noLoginShell && arg === posixRunner() ? '<posix-runner>' : placeholders(arg))
+ let script: string | undefined
+ for (const arg of argv) {
+ const sourced = /^\. '(.+)'$/s.exec(arg)?.[1] ?? /^exec \S+ '(.+)'$/s.exec(arg)?.[1]
+ if (sourced) script = readFileSync(sourced.replace(/'"'"'/g, "'"), 'utf8')
+ }
+ if (script === undefined) {
+ // On the command line: a direct `-c` script (no data folder, or a shell given its script inline).
+ const flag = argv.findIndex((arg) => arg === '-lic' || arg === '-ic' || arg === '-c')
+ if (flag >= 0 && argv[flag + 1] !== undefined && !/^\. '/.test(argv[flag + 1]!)) script = argv[flag + 1]
+ }
+ if (script === undefined) return { argv: out }
+ const text = placeholders(script)
+ const hash = createHash('sha256').update(text).digest('hex').slice(0, 16)
+ scripts[hash] = text
+ return { argv: out.map((arg) => arg === placeholders(script!) ? `<script ${hash}>` : arg), script: hash }
+}
+
+function launch(engine: AgentEngine, opts: LaunchCommandOptions, shell: Shell, tmux: Tmux, grid: keyof typeof GRID_BIN, scripts: Record<string, string>): ArgvRecord {
+ try {
+ const argv = buildEngineLaunchArgv(engine, opts, SHELLS[shell], RUNTIME_NODE, GRID_BIN[grid], TMUX[tmux])
+ const command = buildEngineCommandArgv(engine, opts).map(placeholders)
+ return { ...record(argv, scripts, shell === 'none' || shell === 'relative'), command }
+ } catch (error) {
+ return { throws: error instanceof Error ? `${error.name}: ${error.message}` : String(error) }
+ }
+}
+
+/** Runs `run` with these variables set (`config:` names the daemon's settings), and puts them back once it
+ * has settled: a relaunch reads the moved home after its first await. */
+function withEnv<T>(vars: Record<string, string | undefined>, run: () => T): T {
+ const before: Record<string, string | undefined> = {}
+ for (const [name, value] of Object.entries(vars)) {
+ if (name.startsWith('config:')) {
+ const key = name.slice('config:'.length)
+ before[name] = config[key]
+ config[key] = value
+ } else {
+ before[name] = process.env[name]
+ if (value === undefined) delete process.env[name]
+ else process.env[name] = value
+ }
+ }
+ const restore = (): void => {
+ for (const [name, value] of Object.entries(before)) {
+ if (name.startsWith('config:')) config[name.slice('config:'.length)] = value
+ else if (value === undefined) delete process.env[name]
+ else process.env[name] = value
+ }
+ }
+ let result: T
+ try { result = run() } catch (error) { restore(); throw error }
+ if (result instanceof Promise) return result.finally(restore) as T
+ restore()
+ return result
+}
+
+function argvCases(scripts: Record<string, string>): Record<string, ArgvRecord> {
+ const cases: Record<string, ArgvRecord> = {}
+ // Claude Code and Codex in every caller's shape, every other engine in the common ones, from zsh with the
+ // daemon's tmux.
+ const common = new Set(['new', 'new, approving', 'first prompt', 'resume', 'fork', 'create', 'adopt, waiting out the turn', 'restart'])
+ for (const engine of ENGINES) {
+ for (const [name, opts] of Object.entries(shapes(engine))) {
+ if (!opts || (engine !== 'claude' && engine !== 'codex' && !common.has(name) && !name.startsWith('new, mode '))) continue
+ cases[`${engine} · ${name} · zsh · tmux`] = launch(engine, opts, 'zsh', 'tmux', 'bare', scripts)
+ }
+ }
+ // Claude Code and Codex in every shell family, with and without a usable tmux, plain and as created.
+ for (const engine of ['claude', 'codex'] as const) {
+ const all = shapes(engine)
+ for (const shell of Object.keys(SHELLS) as Shell[]) {
+ for (const tmux of Object.keys(TMUX) as Tmux[]) {
+ for (const shape of ['new', 'create', 'restart']) {
+ cases[`${engine} · ${shape} · ${shell} · ${tmux}`] ??= launch(engine, all[shape]!, shell, tmux, 'bare', scripts)
+ }
+ }
+ }
+ for (const shape of ['new', 'create']) cases[`${engine} · ${shape} · zsh · tmux · managed grid`] = launch(engine, all[shape]!, 'zsh', 'tmux', 'managed', scripts)
+ for (const shape of Object.keys(all)) {
+ if (all[shape]) cases[`${engine} · ${shape} · bash · no tmux`] = launch(engine, all[shape]!, 'bash', 'none', 'bare', scripts)
+ }
+ // An engine at a path of the person's choosing; for Codex, npm's Node wrapper.
+ const override = engine === 'claude'
+ ? { 'config:CLAUDE_PATH': '/opt/claude code/bin/claude' }
+ : { CODEX_PATH: '/usr/local/lib/node_modules/@openai/codex/bin/codex.js' }
+ for (const shape of ['new', 'resume', 'fork', 'restart']) {
+ cases[`${engine} · ${shape} · zsh · tmux · engine at its own path`] = withEnv(override, () => launch(engine, all[shape]!, 'zsh', 'tmux', 'bare', scripts))
+ }
+ // zsh's new-user menu kept out: no startup file in ZDOTDIR, so Harness's own .zshenv goes first.
+ const emptyZdotdir = join(root, 'zdotdir-empty')
+ mkdirSync(emptyZdotdir, { recursive: true })
+ for (const shape of ['new', 'create']) {
+ cases[`${engine} · ${shape} · zsh · tmux · zsh new user`] = withEnv({ ZDOTDIR: emptyZdotdir }, () => launch(engine, all[shape]!, 'zsh', 'tmux', 'bare', scripts))
+ }
+ // No data folder to write a one-time file in: the script goes on the command line.
+ for (const shape of ['new', 'create']) {
+ const savedDir = env.ADAPTER_DATA_DIR
+ env.ADAPTER_DATA_DIR = '/dev/null/no-data-folder'
+ try { cases[`${engine} · ${shape} · bash · tmux · no data folder`] = launch(engine, all[shape]!, 'bash', 'tmux', 'bare', scripts) }
+ finally { env.ADAPTER_DATA_DIR = savedDir }
+ }
+ }
+ // A terminal tile: no engine, the person's shell with its banner.
+ for (const shell of ['zsh', 'bash', 'fish', 'none'] as Shell[]) {
+ cases[`terminal · new tile · ${shell}`] = launch('terminal', { cwd: CWD, terminalHint: { machineName: 'studio-mac' }, clearEnv: harnessEnvToClear(undefined) }, shell, 'tmux', 'bare', scripts)
+ }
+ return cases
+}
+
+const GRID: GridLaunchOverride = {
+ networkId: 'grid-abc', networkName: 'Team grid', baseUrl: 'https://grid.example/grid-abc/relay/v1', apiKey: 'gridkey-abc123', model: 'gpt-5',
+}
+const GRID_FULL: GridLaunchOverride = { ...GRID, mcpUrl: 'https://control.example/v1/grid/web-mcp/', contextWindow: 131072 }
+const API: GridLaunchOverride = { networkId: 'api:openrouter', networkName: 'OpenRouter', baseUrl: 'https://openrouter.ai/api/v1', apiKey: 'sk-or-1', model: 'qwen/qwen3-coder' }
+
+/** Codex `config.toml`s a relaunch reads its own provider from. */
+const CODEX_CONFIGS: Record<string, string | null> = {
+ 'no config': null,
+ 'its own provider': 'model_provider = "azure"\n',
+ 'single quotes and a comment': "model = 'gpt-5'\nmodel_provider = 'local' # mine\n",
+ 'only under a profile': '[profiles.work]\nmodel_provider = "work"\n',
+ 'commented out': '# model_provider = "azure"\n',
+ 'empty value': 'model_provider = ""\n',
+ 'a quote in single quotes': `model_provider = 'a"b'\n`,
+}
+
+async function overridesCases(): Promise<Record<string, unknown>> {
+ const cases: Record<string, unknown> = {}
+ const run = async (engine: AgentEngine, source: LaunchSource, config: string | null = null, deps: Partial<LaunchOverridesDeps> = {}) => {
+ const calls: string[] = []
+ const result = await buildLaunchOverrides({
+ machine: () => ({ hermesSystemManaged: false, opencodeMajor: null }),
+ writeGridConfigDir: async (key, files) => { calls.push(`writeGridConfigDir ${key} ${files.map((file) => file.name).join(',')}`); return `/state/grid-engine-config/${key}` },
+ tmuxSupportsSessionEnv: async () => true,
+ installCodexHooks: (home) => { calls.push(`installCodexHooks ${home}`) },
+ readCodexConfig: (path) => { calls.push(`readCodexConfig ${path}`); return config },
+ dshLaunch: (dsh, workspace, eng, key) => {
+ calls.push(`dshLaunch ${dsh} ${workspace} ${eng} ${key}`)
+ // As dsh/runtime.ts prepareHarnessLaunch ends: the package's argv, then the engine's context and env flags.
+ const launchEnv = { HARNESS_DSH: dsh, HARNESS_WORKSPACE: workspace, HARNESS_CONTEXT_FILE: `${workspace}/.harness/runtime/${key}/CONTEXT.md`, STUDIO_MODE: 'pro "x"' }
+ const adapter = harnessAdapter(eng)
+ return { env: launchEnv, args: ['--studio', ...(adapter.contextArgs?.(launchEnv.HARNESS_CONTEXT_FILE) ?? []), ...(adapter.envArgs?.(launchEnv) ?? [])] }
+ },
+ ...deps,
+ }, engine, source, 'agent-0001')
+ return JSON.parse(placeholders(JSON.stringify({ result, calls })))
+ }
+ for (const engine of ['claude', 'codex', 'opencode', 'pi'] as const) {
+ cases[`${engine} · own login`] = await run(engine, {})
+ cases[`${engine} · own login, its model back`] = await run(engine, { subscriptionModel: engine === 'claude' ? 'opus' : 'gpt-5.5' })
+ cases[`${engine} · grid`] = await run(engine, { gridLaunch: GRID })
+ cases[`${engine} · grid with web tools and a window`] = await run(engine, { gridLaunch: GRID_FULL, subscriptionModel: 'ignored' })
+ cases[`${engine} · saved API`] = await run(engine, { gridLaunch: API })
+ cases[`${engine} · harness`] = await run(engine, { dsh: 'acme/studio', cwd: '/work/studio', dshRuntime: 'harness-runtime-1' })
+ cases[`${engine} · harness without a workspace`] = await run(engine, { dsh: 'acme/studio', cwd: null })
+ cases[`${engine} · harness on a grid, as git, as a named agent`] = await run(engine, { gridLaunch: GRID, dsh: 'acme/studio', cwd: '/work/studio', scmLaunch: { kind: 'git' }, agent: 'harness-compute' })
+ }
+ for (const [name, config] of Object.entries(CODEX_CONFIGS)) {
+ cases[`codex · own login · ${name}`] = await run('codex', {}, config)
+ cases[`codex · profile · ${name}`] = await run('codex', { codexHome: '/profiles/work' }, config)
+ cases[`codex · profile, its model back · ${name}`] = await run('codex', { codexHome: '/profiles/work', subscriptionModel: 'gpt-5.5' }, config)
+ cases[`codex · profile on a grid · ${name}`] = await run('codex', { codexHome: '/profiles/work', gridLaunch: GRID }, config)
+ }
+ // The home the person's shell moves Codex to, as the daemon reads it at launch (lib/engineHomes.ts launchCodexHome).
+ for (const [name, moved] of Object.entries({ 'moved home': '/moved/codex', 'moved home, relative': 'relative/codex', 'moved home, tilde': '~/codex', 'moved home, trailing slash': '/moved/codex/' })) {
+ cases[`codex · own login · ${name}`] = await withEnv({ CODEX_HOME: moved }, () => run('codex', {}, 'model_provider = "moved"\n'))
+ cases[`codex · profile · ${name}`] = await withEnv({ CODEX_HOME: moved }, () => run('codex', { codexHome: '/profiles/work' }, null))
+ }
+ // The real file, read from the daemon's own Codex home and from a profile.
+ const daemonHome = env.CODEX_HOME
+ mkdirSync(daemonHome, { recursive: true })
+ writeFileSync(join(daemonHome, 'config.toml'), 'model_provider = "from-file"\n')
+ const profile = join(root, 'profile-home')
+ mkdirSync(profile, { recursive: true })
+ writeFileSync(join(profile, 'config.toml'), "model_provider = 'profile-file'\n")
+ cases['codex · own login · the daemon home\'s file'] = await run('codex', {}, null, { readCodexConfig: undefined })
+ cases['codex · profile · the profile\'s file'] = await run('codex', { codexHome: profile }, null, { readCodexConfig: undefined })
+ cases['codex · profile without a file'] = await run('codex', { codexHome: join(root, 'no-such-profile') }, null, { readCodexConfig: undefined })
+ rmSync(join(daemonHome, 'config.toml'))
+ return cases
+}
+
+function adapterCases(): Record<string, unknown> {
+ const contextFile = '/work/my "studio"/.harness/runtime/agent-1/CONTEXT.md'
+ const sessionEnv: Record<string, string> = {
+ HARNESS_DSH: 'acme/studio', HARNESS_CONTEXT_FILE: contextFile, HARNESS_SKILLS_DIR: '/work/.harness/skills',
+ STUDIO_MODE: 'say "hi"\n\ttab \\ back', UNICODE: 'café ✓ 🎉', EMPTY: '', 'BAD-NAME': 'x', '1LEADING': 'y', 'a.b': 'z', _under: 'u',
+ }
+ return Object.fromEntries(Object.keys(HARNESS_ADAPTERS).map((engine) => {
+ const adapter = HARNESS_ADAPTERS[engine as keyof typeof HARNESS_ADAPTERS]
+ return [engine, {
+ instructionFiles: adapter.instructionFiles,
+ contextArgs: 'contextArgs' in adapter && adapter.contextArgs ? adapter.contextArgs(contextFile) : null,
+ envArgs: 'envArgs' in adapter && adapter.envArgs ? adapter.envArgs(sessionEnv) : null,
+ envArgsEmpty: 'envArgs' in adapter && adapter.envArgs ? adapter.envArgs({}) : null,
+ }]
+ }))
+}
+
+describe('every launch hands tmux what it did before Claude Code and Codex declared their launches', () => {
+ it('argv, scripts, relaunch overrides and harness adapter flags match the record', async () => {
+ const scripts: Record<string, string> = {}
+ const run = (platform: Platform): Promise<Cases> => onPlatform(platform, async () => ({
+ argv: argvCases(scripts), overrides: await overridesCases(), adapters: adapterCases(),
+ }))
+ const darwin = await run('darwin')
+ const linux = await run('linux')
+ const actual: Golden = {
+ ...darwin,
+ scripts: Object.fromEntries(Object.entries(scripts).sort(([a], [b]) => a.localeCompare(b))),
+ linux: { argv: differences(darwin.argv, linux.argv), overrides: differences(darwin.overrides, linux.overrides), adapters: differences(darwin.adapters, linux.adapters) },
+ }
+ if (RECORD) {
+ writeFileSync(GOLDEN, serialize(store(actual)))
+ return
+ }
+ const golden = load(JSON.parse(readFileSync(GOLDEN, 'utf8')) as Stored)
+ // The stored form loses nothing.
+ expect(load(store(actual))).toEqual(actual)
+ // Compared piece by piece, so a failure names the platform and the case.
+ for (const platform of PLATFORMS) {
+ const got = casesOn(actual, platform)
+ const want = casesOn(golden, platform)
+ expect(Object.keys(got.argv).sort(), platform).toEqual(Object.keys(want.argv).sort())
+ for (const [name, value] of Object.entries(want.argv)) {
+ const mine = got.argv[name]!
+ expect({ ...mine, script: mine.script && actual.scripts[mine.script] }, `${platform} · ${name}`)
+ .toEqual({ ...value, script: value.script && golden.scripts[value.script] })
+ }
+ for (const [name, value] of Object.entries(want.overrides)) expect(got.overrides[name], `${platform} · ${name}`).toEqual(value)
+ expect(Object.keys(got.overrides).sort(), platform).toEqual(Object.keys(want.overrides).sort())
+ expect(got.adapters, platform).toEqual(want.adapters)
+ }
+ expect(actual.scripts).toEqual(golden.scripts)
+ }, 120_000)
+
+ it('records no machine-specific path', () => {
+ const text = readFileSync(GOLDEN, 'utf8')
+ expect(text).not.toContain(homedir())
+ expect(text).not.toContain(tmpdir())
+ expect(text).not.toMatch(/\/Users\/[^<]/)
+ for (const name of DSH_SESSION_ENV) expect(text).toContain(name)
+ expect(text).toContain(GRID_CONFLICTING_ENV_VARS[0]!)
+ })
+})
diff --git a/cli/src/engines/codex/ownLoginProvider.spec.ts b/cli/src/engines/launches.spec.ts
similarity index 72%
rename from cli/src/engines/codex/ownLoginProvider.spec.ts
rename to cli/src/engines/launches.spec.ts
index 2c7a661b5..c4ba8d601 100644
--- a/cli/src/engines/codex/ownLoginProvider.spec.ts
+++ b/cli/src/engines/launches.spec.ts
@@ -1,20 +1,27 @@
/**
- * Reading a Codex `config.toml` for the provider an agent goes back to.
+ * Codex's own provider, declared (`ownProvider` in codex/launch.ts), read by the kit (kit/launchArgs.ts)
+ * through the composition core calls (`ownLoginProviderArgs`). The cases below are the former
+ * engines/codex/ownLoginProvider.spec.ts's, unchanged, run against the composed pieces.
*
* The parsing is deliberately small — one key, top level only — so what is worth pinning is where
* it must NOT find that key, and what it hands back when it finds nothing.
*/
+import { join } from 'node:path'
import { afterEach, describe, expect, it, vi } from 'vitest'
-import {
- CODEX_DEFAULT_PROVIDER,
- codexConfigPath,
- ownLoginProviderArgs,
- parseCodexModelProvider,
-} from './ownLoginProvider.js'
+import { launchHome } from '../lib/engineHomes.js'
+import { launch as codex } from './codex/launch.js'
+import { topLevelString } from './kit/launchArgs.js'
+import { harnessAdapters, launchContract, launchField, ownLoginProviderArgs } from './launches.js'
+
+const own = codex.ownProvider!
+const CODEX_DEFAULT_PROVIDER = own.fallback
+const parseCodexModelProvider = (toml: string): string | null => topLevelString(toml, own.key)
+const codexConfigPath = (home: string | null | undefined, environment?: NodeJS.ProcessEnv): string =>
+ join(launchHome(own.home, home, environment), own.file)
// The login shell's environment, as the daemon captured it at start-up: none, unless a test says so.
const shell = vi.hoisted(() => ({ env: {} as NodeJS.ProcessEnv }))
-vi.mock('../../lib/loginShellEnv.js', () => ({ loginShellEnvironment: () => shell.env }))
+vi.mock('../lib/loginShellEnv.js', () => ({ loginShellEnvironment: () => shell.env }))
afterEach(() => { shell.env = {} })
describe('parseCodexModelProvider', () => {
@@ -117,3 +124,23 @@ describe('ownLoginProviderArgs', () => {
.toEqual(['-c', `model_provider="${CODEX_DEFAULT_PROVIDER}"`])
})
})
+
+describe('the launch contracts, composed', () => {
+ it('finds a contract only for an engine that declares one', () => {
+ expect(launchContract('codex')).toBe(codex)
+ expect(launchContract('claude')?.resumeArgs).toEqual(['--resume'])
+ expect(launchContract('opencode')).toBeUndefined()
+ expect(launchContract('terminal')).toBeUndefined()
+ expect(launchField('resumeArgs')).toEqual({ claude: ['--resume'], codex: ['resume'] })
+ })
+
+ it('hands a harness each engine\'s declared flags as argv', () => {
+ expect(harnessAdapters.claude.contextArgs?.('/w/"a"/CONTEXT.md'))
+ .toEqual(['--append-system-prompt', 'Read the harness context at "/w/\\"a\\"/CONTEXT.md" before working.'])
+ expect(harnessAdapters.claude.envArgs).toBeUndefined()
+ expect(harnessAdapters.codex.contextArgs).toBeUndefined()
+ expect(harnessAdapters.codex.envArgs?.({ OK: 'a "b"', 'NOT-OK': 'x', 'a.b': 'y' }))
+ .toEqual(['-c', 'shell_environment_policy.set.OK="a \\"b\\""'])
+ expect(harnessAdapters.codex.instructionFiles).toEqual(['AGENTS.override.md', 'AGENTS.md'])
+ })
+})
diff --git a/cli/src/engines/launches.ts b/cli/src/engines/launches.ts
index 81405176f..6f8eec75e 100644
--- a/cli/src/engines/launches.ts
+++ b/cli/src/engines/launches.ts
@@ -1,17 +1,49 @@
import type { EngineLaunch } from './facets/launch.js'
+import type { AgentEngine } from './types.js'
import { launch as claude } from './claude/launch.js'
import { launch as codex } from './codex/launch.js'
-export { codexEnvArgs } from './codex/launch.js'
+import { contextArgsOf, envArgsOf, ownProviderArgs } from './kit/launchArgs.js'
+import { launchHome } from '../lib/engineHomes.js'
-/** Launch metadata has no transcript imports: preparing argv must not load transcript readers. */
-export const engineLaunches = { claude, codex }
+/**
+ * Launch metadata has no transcript imports: preparing argv must not load transcript readers. The contracts
+ * are data; what reads them is the kit's (kit/launchArgs.ts, kit/launchStartup.ts), run in core, since a
+ * launch is session control (docs/design/2026-10-08-engine-launch.md).
+ */
+export const engineLaunches = { claude, codex } satisfies Record<string, EngineLaunch>
type MigratedEngine = keyof typeof engineLaunches
+/** An engine's launch contract, for an engine that declares one. */
+export function launchContract(engine: AgentEngine): EngineLaunch | undefined {
+ return Object.hasOwn(engineLaunches, engine) ? engineLaunches[engine as MigratedEngine] : undefined
+}
+
/** Compatibility tables take their migrated entries from the same launch contract. */
export function launchField<K extends keyof EngineLaunch>(key: K): Record<MigratedEngine, EngineLaunch[K]> {
return Object.fromEntries(Object.entries(engineLaunches).map(([name, launch]) => [name, launch[key]])) as Record<MigratedEngine, EngineLaunch[K]>
}
-export const harnessAdapters = Object.fromEntries(Object.entries(engineLaunches).map(([name, launch]) => [name, {
- instructionFiles: launch.instructionFiles, ...(launch.contextArgs ? { contextArgs: launch.contextArgs } : {}),
- ...(launch.envArgs ? { envArgs: launch.envArgs } : {}),
-}])) as Record<MigratedEngine, Pick<EngineLaunch, 'instructionFiles' | 'contextArgs' | 'envArgs'>>
+
+/** What a harness (dsh/adapters.ts) hands each engine: its instruction files, and its declared flags as argv. */
+export const harnessAdapters = Object.fromEntries(Object.entries(engineLaunches).map(([name, launch]: [string, EngineLaunch]) => [name, {
+ instructionFiles: launch.instructionFiles,
+ ...(launch.contextArgs ? { contextArgs: contextArgsOf(launch.contextArgs) } : {}),
+ ...(launch.envArgs ? { envArgs: envArgsOf(launch.envArgs) } : {}),
+}])) as Record<MigratedEngine, {
+ instructionFiles: readonly string[]
+ contextArgs?: (contextFile: string) => string[]
+ envArgs?: (env: Record<string, string>) => string[]
+}>
+
+/**
+ * The argv that puts `engine` back on its own provider as it leaves a grid, or nothing for an engine that
+ * keeps none of its own (`EngineLaunch.ownProvider`). Read from the home this launch's engine reads: the
+ * agent's own profile, else the one the person's shell moves, else the daemon's (lib/engineHomes.ts).
+ */
+export function ownLoginProviderArgs(
+ engine: AgentEngine,
+ profile: string | null | undefined,
+ deps: { read?: (path: string) => string | null; env?: NodeJS.ProcessEnv } = {},
+): string[] {
+ const own = launchContract(engine)?.ownProvider
+ return own ? ownProviderArgs(own, launchHome(own.home, profile, deps.env), deps.read) : []
+}
diff --git a/cli/src/lib/codexStartupRetry.ts b/cli/src/lib/codexStartupRetry.ts
deleted file mode 100644
index 7d7b8d169..000000000
--- a/cli/src/lib/codexStartupRetry.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * Run inside the pane's shell, before/after a Codex process, using the daemon's Node.
- *
- * Codex 0.159.3 exits 1 when account/read's workspace-routing discovery times out,
- * before thread/start or the first prompt. Retrying that exact bootstrap failure is
- * safe; retrying an arbitrary exit could replay work. Inspect tmux AFTER exit so
- * stdin, stdout and stderr stay real terminals (no tee, pipe or second PTY).
- *
- * The baseline rejects old output left in the pane. A bootstrap timeout must be
- * the new, final line within 30 seconds. A successful startup update instead ends
- * with Codex's explicit restart request (observed in codex-cli 0.160.0). That path
- * has no time limit: the person may leave the update prompt open before accepting.
- * Normal exits, cancellation, auth/config errors, session failures and unavailable
- * terminal evidence fail closed. The baseline stores no terminal text or prompt.
- */
-export const CODEX_STARTUP_RETRY_PROBE = String.raw`
-const { execFileSync } = require('node:child_process');
-const { createHash } = require('node:crypto');
-const [mode, tmux, pane, baseline] = process.argv.slice(1);
-try {
- if (!/^%\d+$/.test(pane)) process.exit(1);
- const screen = execFileSync(tmux, ['capture-pane', '-p', '-J', '-S', '-10', '-t', pane], {
- timeout: 2000, maxBuffer: 1024 * 1024, encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'],
- });
- const last = screen.trimEnd().split('\n').at(-1)?.trim() ?? '';
- const hash = createHash('sha256').update(last).digest('hex');
- if (mode === 'before') {
- process.stdout.write(JSON.stringify({ at: Date.now(), hash }));
- } else {
- const before = JSON.parse(baseline);
- const elapsed = Date.now() - before.at;
- const error = 'Error: account/read failed during TUI bootstrap: account/read failed: workspace routing discovery timed out (code -32603)';
- const fresh = Number.isFinite(elapsed) && elapsed >= 0 && /^[a-f0-9]{64}$/.test(before.hash) && before.hash !== hash;
- const matches = mode === 'after-update'
- ? /^(?:🎉\s*)?Update ran successfully! Please restart Codex\.$/.test(last)
- : mode === 'after' && elapsed <= 30000 && last === error;
- process.exit(fresh && matches ? 0 : 1);
- }
-} catch { process.exit(1); }
-`.trim()
diff --git a/cli/src/lib/engineExitOption.ts b/cli/src/lib/engineExitOption.ts
new file mode 100644
index 000000000..4247de9db
--- /dev/null
+++ b/cli/src/lib/engineExitOption.ts
@@ -0,0 +1,9 @@
+/**
+ * The pane option an engine's launch wrapper sets when the engine exits and the pane falls back to
+ * a shell (engineLaunch.ts, `harness_after`): the engine's exit status. Empty/absent while the
+ * wrapper is still running the engine — and for the whole life of the fallback shell after that,
+ * once something reads it, so `respawn` clears it before every new launch in the same pane.
+ *
+ * Its own file, so building a launch does not load tmux.ts, and with it the registry.
+ */
+export const ENGINE_EXIT_PANE_OPTION = '@harness_engine_exit'
diff --git a/cli/src/lib/engineHomes.ts b/cli/src/lib/engineHomes.ts
index 9f88b3902..3fbff18c7 100644
--- a/cli/src/lib/engineHomes.ts
+++ b/cli/src/lib/engineHomes.ts
@@ -22,6 +22,7 @@ import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from 'no
import { homedir } from 'node:os'
import { dirname, isAbsolute, join, relative, resolve, sep } from 'node:path'
import { env } from '../config/env.js'
+import type { FolderSetting } from '../engines/facets/hooks.js'
import { loginShellEnvironment } from './loginShellEnv.js'
const claudeHomes: string[] = []
@@ -127,7 +128,12 @@ function movedHome(value: string | undefined): string | null {
* Codex's trust prompt in a folder Harness had just made.
*/
export function launchCodexHome(codexHome: string | null | undefined, environment: NodeJS.ProcessEnv = launchEnvironment()): string {
- return codexHome || movedHome(environment.CODEX_HOME) || env.CODEX_HOME
+ return launchHome('CODEX_HOME', codexHome, environment)
+}
+
+/** The same, for the home any daemon setting names (an engine's launch contract declares which: engines/launches.ts). */
+export function launchHome(setting: FolderSetting, profile: string | null | undefined, environment: NodeJS.ProcessEnv = launchEnvironment()): string {
+ return profile || movedHome(environment[setting]) || env[setting]
}
/** Found by QA on a quiet machine: activity, close and Monitor looked at another server when the process's
diff --git a/cli/src/lib/engineLaunch.ts b/cli/src/lib/engineLaunch.ts
index 32e9956a9..9aab87380 100644
--- a/cli/src/lib/engineLaunch.ts
+++ b/cli/src/lib/engineLaunch.ts
@@ -5,7 +5,8 @@ import { homedir, userInfo } from 'node:os'
import { isAbsolute, basename, dirname, join } from 'node:path'
import { baseNode } from '../harnessd/baseNode.js'
import { env } from '../config/env.js'
-import { launchField } from '../engines/launches.js'
+import { launchContract, launchField } from '../engines/launches.js'
+import { startupFunctions, startupNeedsScript, startupRuns } from '../engines/kit/launchStartup.js'
import { isTerminalEngine, type AgentEngine } from '../engines/types.js'
import { isOpencodeV2 } from '../engines/opencode/version.js'
import { binaryOnPath, resolveBinaryOnPath } from './binaryOnPath.js'
@@ -15,8 +16,10 @@ import { GRID_NO_UPDATE_CHECK_VAR, gridBinaryPath } from './gridBinary.js'
import { loginShellEnvironment } from './loginShellEnv.js'
import { managedNodePath } from './nodeRuntime.js'
import { RAISE_OPEN_FILES_SH } from './openFiles.js'
-import { ENGINE_EXIT_PANE_OPTION } from './tmux.js'
-import { CODEX_STARTUP_RETRY_PROBE } from './codexStartupRetry.js'
+import { ENGINE_EXIT_PANE_OPTION } from './engineExitOption.js'
+import { shellSingleQuote } from './shellQuote.js'
+
+export { shellSingleQuote }
/**
* Best-effort "skip permission prompts" flag per engine, confirmed against each vendor's own docs.
@@ -546,8 +549,9 @@ export function buildEngineLaunchArgv(
): string[] {
if (isTerminalEngine(engine)) return buildTerminalLaunchArgv(opts, shell)
const command = buildEngineCommandArgv(engine, opts)
+ // An engine whose declared startup runs in the script gets one even where the daemon has no login shell.
const interactive = interactiveEngineShell(shell)
- ?? (engine === 'codex' ? { path: posixRunner(), args: ['-c'], label: 'shell' } : null)
+ ?? (startupNeedsScript(launchContract(engine)) ? { path: posixRunner(), args: ['-c'], label: 'shell' } : null)
if (!interactive) return command
const enginePrelude = engineFallbackPrelude(engine, interactive.path, tmuxBinary)
// The clear comes FIRST, before the install as well as before the engine. An installer is a child
@@ -655,7 +659,8 @@ export const ENGINE_INPUT_DRAIN_SH = ' if harness_tty=$(stty -g 2>/dev/null) &&
*
* A stop is not an exit: `harness_resume` continues a stopped engine, so only its real exit reaches
* `harness_after` (`STOP_PROOF_FUNCTIONS`). The engine's run itself is `engineRunScript`'s, at the
- * script's top level; for Codex these also hold its startup probe and retry.
+ * script's top level. An engine's declared startup adds its own functions here: Codex's probe for its
+ * owned-process flag and its runs again after a failed startup (engines/kit/launchStartup.ts).
*/
export function engineFallbackPrelude(engine: AgentEngine, shellPath: string, tmuxBinary: string | null): string {
const loginArgs = basename(shellPath).toLowerCase() === 'zsh' ? ' -l' : ''
@@ -680,8 +685,7 @@ export function engineFallbackPrelude(engine: AgentEngine, shellPath: string, tm
+ ` printf '\\n%s\\n' ${shellSingleQuote(`harness: ${command} exited ($harness_status). This pane is a shell now — run ${command} again, or stop the pane.`).replace('($harness_status)', `('"$harness_status"')`)}\n`
+ ` exec ${shellSingleQuote(shellPath)}${loginArgs}\n`
+ '}\n'
- + (engine === 'codex' ? codexOwnedLaunchPrelude() : '')
- + (codexRetries(engine, tmuxBinary) ? codexStartupRetryScript(tmuxBinary) : '')
+ + startupFunctions(engine, launchContract(engine), tmuxBinary, baseNode(process.execPath))
}
/**
@@ -776,119 +780,11 @@ const STOP_PROOF_FUNCTIONS = [
/**
* The engine's run, then `harness_after`, at the script's top level: the one place a stop is safe in
* every shell (`STOP_PROOF_FUNCTIONS`). `$harness_engine_bin` is the engine and `"$@"` its arguments.
- *
- * `... || harness_status=$?` rather than `...; harness_status=$?`: a rc file that turned on `set -e`
- * would end the script on the engine's non-zero exit before the fallback ran (see RAISE_OPEN_FILES_SH).
- *
- * A Codex launch can end before its conversation opens and be run again (`codexStartupRetryScript`):
- * its runs are written out one after another, since no loop or function may hold the engine.
+ * An engine's declared startup decides how it is run: Codex's with its probed flag, and once more after a
+ * startup that never opened its conversation (engines/kit/launchStartup.ts).
*/
function engineRunScript(engine: AgentEngine, tmuxBinary: string | null): string {
- const run = `"$harness_engine_bin"${engine === 'codex' ? ' ${harness_codex_no_daemon:+--no-daemon}' : ''} "$@"`
- if (!codexRetries(engine, tmuxBinary)) {
- return [
- ...(engine === 'codex' ? ['harness_codex_probe "$harness_engine_bin"'] : []),
- 'harness_status=0',
- `${run} || harness_status=$?`,
- 'harness_resume',
- 'harness_after',
- ].join('\n')
- }
- const attempt = [
- 'harness_codex_start "$harness_engine_bin"',
- `[ "$harness_codex_go" != 1 ] || ${run} || harness_status=$?`,
- 'harness_resume',
- 'harness_codex_next',
- ]
- return [
- 'harness_codex_attempt=1',
- 'harness_codex_updated=0',
- 'harness_codex_go=1',
- ...Array.from({ length: CODEX_STARTUP_RUNS }, () => attempt).flat(),
- 'harness_after',
- ].join('\n')
-}
-
-/** Codex's runs at most: the first, one more after a startup update, two more after a timed-out
- * account lookup (`codexStartupRetryScript`). */
-const CODEX_STARTUP_RUNS = 4
-
-/** Codex is run again after a failed startup only where the pane can be read: through the daemon's tmux. */
-function codexRetries(engine: AgentEngine, tmuxBinary: string | null): tmuxBinary is string {
- return engine === 'codex' && !!tmuxBinary && isAbsolute(tmuxBinary)
-}
-
-/** Keep a successful startup update or transient account lookup failure in the original launch.
- * Only the final exit gets the pane's engine-exit marker. The short backoff also
- * keeps discovery from archiving the row between attempts. Never reparse "$@": it
- * includes the original prompt, images, model, permissions and resume/fork arguments.
- * Codex's updater runs before the conversation opens, so replay that exact launch
- * once, without choosing an unrelated conversation via `resume --last`.
- *
- * `harness_codex_start` readies a run and `harness_codex_next` decides whether another
- * follows; the runs are `engineRunScript`'s, at the top level. The probes and the backoff
- * run in command substitutions, out of a Ctrl+Z's reach (`STOP_PROOF_FUNCTIONS`).
- *
- * The probe is written once, as `harness_codex_check`: tmux refuses a command longer than
- * 16KiB, and the launch, first prompt and all, goes to it as one (`tmux new-session`). */
-function codexStartupRetryScript(tmuxBinary: string): string {
- const probe = 'harness_codex_check'
- const tmux = shellSingleQuote(tmuxBinary)
- return 'harness_codex_check() {\n'
- + ` ${shellSingleQuote(baseNode(process.execPath))} -e ${shellSingleQuote(CODEX_STARTUP_RETRY_PROBE)} "$@"\n`
- + '}\n'
- + 'harness_codex_start() {\n'
- + ' [ "$harness_codex_go" = 1 ] || return 0\n'
- + ' harness_codex_before=\n'
- + ` if [ -n "\${TMUX_PANE:-}" ]; then harness_codex_before=$(${probe} before ${tmux} "$TMUX_PANE") || harness_codex_before=; fi\n`
- + ' harness_codex_probe "$1"\n'
- + ' harness_status=0\n'
- + '}\n'
- + 'harness_codex_next() {\n'
- + ' [ "$harness_codex_go" = 1 ] || return 0\n'
- + ' harness_codex_go=0\n'
- + ' if [ "$harness_status" -eq 0 ] && [ "$harness_codex_updated" -eq 0 ] && [ -n "$harness_codex_before" ] &&\n'
- + ` harness_codex_seen=$(${probe} after-update ${tmux} "$TMUX_PANE" "$harness_codex_before"); then\n`
- + ' harness_codex_updated=1\n'
- + ` printf '\\n%s\\n' 'harness: Codex updated. Continuing startup…'\n`
- + ' harness_codex_go=1\n'
- + ' return 0\n'
- + ' fi\n'
- + ' [ "$harness_status" -eq 1 ] && [ "$harness_codex_attempt" -lt 3 ] && [ -n "$harness_codex_before" ] || return 0\n'
- + ` harness_codex_seen=$(${probe} after ${tmux} "$TMUX_PANE" "$harness_codex_before") || return 0\n`
- + ' harness_codex_delay=$((harness_codex_attempt * 2))\n'
- + ' harness_codex_attempt=$((harness_codex_attempt + 1))\n'
- + ' harness_codex_cancelled=0\n'
- + " trap 'harness_codex_cancelled=1' INT\n"
- + ` printf '\\n%s\\n' "harness: Codex account lookup timed out. Retrying startup ($harness_codex_attempt/3) in \${harness_codex_delay}s; Ctrl-C cancels."\n`
- + ' harness_codex_seen=$(sleep "$harness_codex_delay") || harness_codex_cancelled=1\n'
- + ' trap : INT\n'
- + ' if [ "$harness_codex_cancelled" -eq 1 ]; then harness_status=130; return 0; fi\n'
- + ' harness_codex_go=1\n'
- + '}\n'
-}
-
-/** Codex 0.157+ otherwise puts the writer outside tmux in a shared server. Keep
- * Harness-owned launches process-owned so Close, hook attribution, provider env
- * and RAM accounting describe the same lifetime. Probe the binary AFTER any
- * install, in the exact pane shell; older versions simply omit the flag. The
- * probe is bounded and never changes the user's Codex configuration.
- *
- * It sets `harness_codex_no_daemon` for the run rather than rewriting "$@", so each
- * run of the retry probes its binary afresh (an update may have replaced it) without
- * adding the flag to the saved arguments again; and it runs in a command substitution,
- * out of a Ctrl+Z's reach (`STOP_PROOF_FUNCTIONS`). */
-function codexOwnedLaunchPrelude(): string {
- const probe = `const {execFileSync}=require('node:child_process');try { const h=execFileSync(process.argv[1],['--help'],{timeout:5000,maxBuffer:1048576,encoding:'utf8',stdio:['ignore','pipe','pipe']});process.exit(/--no-daemon(?:[^A-Za-z0-9-]|$)/.test(h)?0:64); } catch { process.exit(2); }`
- return 'harness_codex_probe() {\n'
- + ' harness_codex_mode=0\n'
- + ` harness_codex_seen=$(${shellSingleQuote(baseNode(process.execPath))} -e ${shellSingleQuote(probe)} "$1") || harness_codex_mode=$?\n`
- + ' case "$harness_codex_mode" in\n'
- + ' 0) harness_codex_no_daemon=1 ;;\n'
- + ' 64) harness_codex_no_daemon= ;;\n'
- + ` *) printf '%s\\n' 'harness: could not verify Codex startup options. Please try opening this session again.' >&2; exit 1 ;;\n`
- + ' esac\n'
- + '}\n'
+ return startupRuns(engine, launchContract(engine), tmuxBinary)
}
/**
@@ -1042,10 +938,6 @@ function installFirstScript(install: string): string {
].join('\n')
}
-export function shellSingleQuote(value: string): string {
- return `'${value.replace(/'/g, `'"'"'`)}'`
-}
-
/**
* Make npm recipes work on machines where Harness owns Node instead of installing it system-wide.
*
diff --git a/cli/src/lib/launchOverrides.spec.ts b/cli/src/lib/launchOverrides.spec.ts
index 797ddae9f..5143d766e 100644
--- a/cli/src/lib/launchOverrides.spec.ts
+++ b/cli/src/lib/launchOverrides.spec.ts
@@ -130,7 +130,7 @@ describe('buildLaunchOverrides — coming back off a grid', () => {
// leaves the NAME stored with nothing defining it, and `codex resume` dies before the TUI is up:
// thread/resume failed: failed to load configuration: Model provider `grid` not found
// The daemon's only answer was to abandon the conversation ("retrying fresh"). Reproduced against
- // codex-cli 0.155.1; see `engines/codex/ownLoginProvider.ts`.
+ // codex-cli 0.155.1; see `ownProvider` in `engines/codex/launch.ts`.
it('names a provider for Codex even when no model is remembered', async () => {
// The case a model-shaped fix misses entirely: nothing to re-select, and the stale provider is
diff --git a/cli/src/lib/launchOverrides.ts b/cli/src/lib/launchOverrides.ts
index 41a569cbb..c53591a12 100644
--- a/cli/src/lib/launchOverrides.ts
+++ b/cli/src/lib/launchOverrides.ts
@@ -15,7 +15,7 @@
import { join } from 'node:path'
import type { AgentEngine } from '../engines/types.js'
import { subscriptionModelLaunch } from './subscriptionModel.js'
-import { ownLoginProviderArgs } from '../engines/codex/ownLoginProvider.js'
+import { ownLoginProviderArgs } from '../engines/launches.js'
import { namedAgentArgs, supportsNamedAgent } from './engineLaunch.js'
import {
buildGridEngineLaunch,
@@ -74,7 +74,7 @@ export interface LaunchOverridesDeps {
* A seam rather than a direct read: without it every relaunch built in a test would consult
* whatever Codex configuration the machine running the test happens to have, and a developer who
* had set `model_provider` would watch unrelated specs change their answer. Absent ⇒ the real
- * file. See `engines/codex/ownLoginProvider.ts`.
+ * file. See `ownProvider` in `engines/codex/launch.ts`.
*/
readCodexConfig?: (path: string) => string | null
/** Prepare the saved harness context before restarting. Missing or broken packages refuse the
@@ -209,8 +209,8 @@ async function buildBaseLaunchOverrides(
// `subscriptionModel.ts` for why an engine with no cited mechanism is given nothing rather
// than a guess.
// * The PROVIDER — named again, because Codex persists the grid's in state of its own that
- // outlives the argv defining it, and a resume then fails before the TUI is up. See
- // `engines/codex/ownLoginProvider.ts`.
+ // outlives the argv defining it, and a resume then fails before the TUI is up. See `ownProvider`
+ // in `engines/codex/launch.ts`.
//
// Accumulated rather than returned, because a Codex agent needs its profile (below) as well, and
// an early return here used to drop it: a row with both a remembered model and a CODEX_HOME came
diff --git a/cli/src/lib/shellQuote.ts b/cli/src/lib/shellQuote.ts
new file mode 100644
index 000000000..891b2c62a
--- /dev/null
+++ b/cli/src/lib/shellQuote.ts
@@ -0,0 +1,4 @@
+/** `value` as one word to a POSIX shell: single-quoted, each `'` closed, given in double quotes, and reopened. */
+export function shellSingleQuote(value: string): string {
+ return `'${value.replace(/'/g, `'"'"'`)}'`
+}
diff --git a/cli/src/lib/tmux.ts b/cli/src/lib/tmux.ts
index 047a571cf..25894ac5d 100644
--- a/cli/src/lib/tmux.ts
+++ b/cli/src/lib/tmux.ts
@@ -15,6 +15,7 @@ import {
type AgentCommandOwnershipSnapshot,
} from './engineBin.js'
import { BYPASS_PERMISSION_FLAGS, PERMISSION_MODES, permissionModeApproves } from './engineLaunch.js'
+import { ENGINE_EXIT_PANE_OPTION } from './engineExitOption.js'
import { psEnv } from './childLocale.js'
import { processStartTicks } from './processLiveness.js'
import { nativeProcessImages } from './nativeProcessImages.js'
@@ -1253,13 +1254,7 @@ export async function setPaneStyle(pane: string, style: string): Promise<boolean
}
/** What tmux knows about a pane right now. See `agentCreateDiagnosis.ts` for why this is read. */
-/**
- * The pane option an engine's launch wrapper sets when the engine exits and the pane falls back to
- * a shell (engineLaunch.ts, `harness_after`): the engine's exit status. Empty/absent while the
- * wrapper is still running the engine — and for the whole life of the fallback shell after that,
- * once something reads it, so `respawn` clears it before every new launch in the same pane.
- */
-export const ENGINE_EXIT_PANE_OPTION = '@harness_engine_exit'
+export { ENGINE_EXIT_PANE_OPTION }
export interface TmuxPaneState {
dead: boolean
diff --git a/docs/design/2026-10-08-engine-launch.md b/docs/design/2026-10-08-engine-launch.md
new file mode 100644
index 000000000..5b3b4d034
--- /dev/null
+++ b/docs/design/2026-10-08-engine-launch.md
@@ -0,0 +1,115 @@
+# Engine launch
+
+Batch (c) of [the remaining facets](2026-10-08-engine-remaining-facets.md): launching, discovering and
+resuming Claude Code and Codex. Launching an agent is session control, so none of it moves into an engine
+worker. As with [hooks](2026-10-08-engine-hooks.md), the engines' code leaves the core and each engine
+declares what it needs as data on its launch contract (`Engine.launch`, `engines/{claude,codex}/launch.ts`).
+Shared mechanics in `engines/kit` read that data, and core runs them in line.
+
+(c) is too large to land as one change. It is split into five sub-batches, each green on its own. This
+document records (c1), which is done, and plans the other four.
+
+## (c1) Launch argv and the pane script: done
+
+| Was | Now |
+| --- | --- |
+| `lib/engineLaunch.ts`: Codex's `--no-daemon` probe (`codexOwnedLaunchPrelude`), its startup retry (`codexStartupRetryScript`, `CODEX_STARTUP_RUNS`, `codexRetries`), the runs in `engineRunScript`, and the POSIX runner a Codex launch got where the daemon has no login shell | `EngineLaunch.startup`: `ownedFlag` (probe `sharedServer.ownedFlag` before each run, and the message for a probe that fails) and `retry` (the update line and its status, the transient failure's exact line, status, window, attempts and backoff, and the messages). `engines/kit/launchStartup.ts` writes the script from this data, and the engine's id names its functions (`harness_codex_*`). |
+| `lib/codexStartupRetry.ts`, the evidence probe the retry runs in the pane | `kit/launchStartup.ts` `startupProbe`, with the two lines and the window taken from `startup.retry` |
+| `engines/codex/ownLoginProvider.ts`, `-c model_provider=` from `config.toml` | `EngineLaunch.ownProvider` (the home setting, the file, the top-level key, the fallback and the argv), read by `kit/launchArgs.ts` (`topLevelString`, `ownProviderArgs`). `lib/engineHomes.ts` `launchHome` finds the home for any home setting, and `launchCodexHome` now calls it. |
+| `contextArgs` (Claude) and `codexEnvArgs` (Codex), functions in the contracts | `ContextArgsTemplate` and `EnvArgsTemplate`, data, which `kit/launchArgs.ts` turns into the functions the DSH adapters call |
+
+`engines/launches.ts` builds what callers use from each contract: `launchContract`, `launchField`,
+`harnessAdapters` and `ownLoginProviderArgs`. No caller changed: create, fork, restart, restore, resume,
+retarget and adoption still go through `buildEngineLaunchArgv` and `buildLaunchOverrides`.
+`lib/engineLaunch.ts` no longer checks `engine === 'codex'` anywhere. `ENGINE_EXIT_PANE_OPTION` moved to
+its own file (`lib/engineExitOption.ts`). Building a launch used to load `lib/tmux.ts` just for that one
+constant, and with it the registry.
+
+### The same bytes
+
+**Golden record.** `engines/launchArgv.golden.spec.ts` was recorded from the code as it stood before the
+change, in its own commit. It holds:
+
+- **369 launches**, giving the pane's argv, the script sourced from the one-time file and the engine's
+ command. They cover:
+ - every caller's shape: create; adoption, both resuming and waiting out a turn; fork; restart and its
+ fresh fallback; restore; resume; retarget onto a grid;
+ - every permission mode, first prompts, and install-when-missing (npm recipes);
+ - the npm Codex wrapper and Claude at paths of the person's choosing;
+ - a remote server's flag passed through;
+ - eight shell families, with tmux absolute, relative and absent;
+ - a managed grid binary, the zsh new-user guard, and no data folder.
+
+ Claude Code and Codex are recorded in every shape. The other 13 engines are recorded in the common shapes,
+ since they share the wrapper.
+- **71 relaunch overrides** (`buildLaunchOverrides`): env, extra argv, cleared variables, hook installs and
+ config reads. They cover:
+ - own login, a model to return to, grid, a saved API, a harness, and SCM;
+ - seven `config.toml` shapes, each read from the default home, a profile, and a profile on a grid;
+ - a CODEX_HOME moved by the person's shell (absolute, relative, `~`, a trailing slash);
+ - the real file.
+- **The DSH adapters' context and env flags** for every engine.
+
+The 170 distinct scripts are stored as runs of their 243 distinct lines.
+
+**Result.** The spec passes unchanged against the new code. These mutations each fail it:
+
+- Codex's backoff, its fallback provider, or its env-name rule;
+- Claude's context text;
+- the runner fallback, the flag variable's name, the run count, or the TOML header rule.
+
+**The bundle.** The release bundle is minified and has non-Latin-1 characters escaped (`asciiOnly`). Built
+that way, a probe of both builders printed the same 71,434 bytes from the base commit and from this change.
+That covers Claude and Codex, four shells, tmux present and absent, overrides and adapters. Codex's update
+line is a tagged template in the contract, as the probe was before, so the bundle escapes its emoji in the
+same place.
+
+**Unchanged suites.** The former `codexStartupRetry.spec.ts` and `ownLoginProvider.spec.ts` run
+unchanged against the kit and the composition (`engines/kit/launchStartup.spec.ts`,
+`engines/launches.spec.ts`), and new cases cover the kit's own branches. `lib/engineLaunch.spec.ts` and
+`lib/launchOverrides.spec.ts` are unchanged.
+
+### Core closure (esbuild, `core/main.ts`, dynamic imports external)
+
+| | Lines | Files |
+| --- | --- | --- |
+| Before (after #1045) | 73,056 | 388 |
+| After | 73,162 | 390 |
+
+**Left:** `engines/codex/ownLoginProvider.ts` (105 lines) and `lib/codexStartupRetry.ts` (41 lines), plus
+the Codex branches of `lib/engineLaunch.ts`, which is 108 lines shorter. **Came in:** `kit/launchStartup.ts`
+(202 lines, about half of it the comments that moved with the script), `kit/launchArgs.ts` (73),
+`lib/engineExitOption.ts` (10) and `lib/shellQuote.ts` (5). The Codex contract grew by 38 lines of data and
+comments. Line counts are informational.
+
+`architecture.spec.ts` lists `engines/codex/ownLoginProvider.ts` and `lib/codexStartupRetry.ts` as edge
+files. It also checks two sets of closures:
+
+- **The launch builders** (`lib/engineLaunch.ts`, `lib/launchOverrides.ts`, `engines/launches.ts`, the two
+ kit modules, `dsh/adapters.ts`) reach no Claude Code or Codex file but the two launch contracts.
+- **The launch callers** (create, fork, restart, swap, the resume service) reach only those contracts, the
+ hook contracts, and `engines/codex/rollout.ts`. The registry still holds `rollout.ts` until (c4).
+
+`core/agents/launch.ts` still imports `engines/codex/portableHistory.ts`. That is (c2).
+
+## The plan for the rest of (c)
+
+The sub-batches are ordered by risk: pure functions first, then async writes, then the hot and synchronous
+paths. Each one records today's behavior in a golden spec first, in its own commit.
+
+| | Scope | Why it is in this place | Golden proof |
+| --- | --- | --- | --- |
+| **(c2) Launch preparation** | Folder trust (`lib/claudeTrust.ts`, 129 lines, and the `engine === 'claude' / 'codex'` branches in `core/agents/create.ts` and `launches.ts`). Codex's rollout repair for resume (`engines/codex/portableHistory.ts`, 220 lines, `core/agents/launch.ts` `prepareSessionResume`). The instruction-file fallback in `dsh/runtime.ts` and `lib/apiInstructions.ts`. | Async callers, before the spawn. These write into the person's engine homes and into rollouts, so their bytes matter, but no hot path depends on them. The order must stay: repair, then `setTail`, then spawn. | Every file's bytes before and after, as the hooks batch did. The trust contract declares the file, the format (a JSON path, or a TOML table) and the rule that trust inherits downward. The resume repair declares which records it drops. |
+| **(c3) Discovery and process matching** | `lib/tmux.ts` process signatures and `RESUME_ARGS`, `claudeNativeInstallPath`, `lib/gridAssignment.ts` `MODEL_IN_ARGV`, `lib/codexHomeProbe.ts`, `lib/claudeProject.ts`, `lib/cwdRepair.ts`, and the moved homes in `lib/engineHomes.ts` (with the `CODEX_HOME` env literal at create and relaunch). | This is static data, but it is read for every process row on every discovery pass, and a wrong answer adopts or drops agents. | A recorded classification of a corpus of process rows: executable, argv, environment → engine, session, bypass, model, home. |
+| **(c4) Registry load and session identity** | The registry's Codex child-rollout repair (`lib/registry.ts` with `engines/codex/rollout.ts`), `lib/sessionRepair.ts` (about 190 of 716 lines), `lib/captureResumeIdentity.ts`, `lib/handoffDiscovery.ts`. | Synchronous, at load before any worker exists, and on the hook path. A wrong answer loses bindings at every restart. It goes after (c3) because it reuses (c3)'s homes. | Recorded transcripts and pid records → binding, session id and repair, read with the same bounds. |
+| **(c5) Adoption readers and shared normalizers** | `lib/sessionSearch/externals/{claude,codex}.ts`, `lib/transcriptPages.ts`, `lib/transcriptReader.ts` and `lib/transcriptActivity.ts`. Also splitting the functions `engines/claude/normalize.ts` and `engines/codex/{normalizer,subagent}.ts` share with other engines into `engines/kit`. | The largest (1,000 to 2,000 lines) but async. Listing and paging sessions for adoption is not session control. Those readers may run in a worker, as long as adoption fails safe when it is down: refused with a reason, never a wrong session. | The adoption and paging specs, unchanged, plus a recorded corpus of transcripts → pages. |
+
+**Out of (c).** These stay as they are, as tables over every engine:
+
+- `lib/engineBin.ts` (`CLAUDE_PATH`, `CODEX_PATH`);
+- `lib/engineInstall.ts` (install recipes);
+- `lib/gridLaunch.ts` (grid contracts).
+
+Their Claude and Codex rows are data, not code paths. The engine-specific wording in
+`lib/messageHolds.ts` and `core/cardText.ts`, and the screen check in `core/main.ts` `activityText`, belong
+to (a) and the screen facet.
diff --git a/docs/design/2026-10-08-engine-remaining-facets.md b/docs/design/2026-10-08-engine-remaining-facets.md
index b174971f1..9744974e8 100644
--- a/docs/design/2026-10-08-engine-remaining-facets.md
+++ b/docs/design/2026-10-08-engine-remaining-facets.md
@@ -44,6 +44,11 @@ About 230 lines would leave. Transport, credential, routes and `registry.registe
## (c) Launch, discovery and resume
+Split into five sub-batches. See [engine launch](2026-10-08-engine-launch.md), which records (c1) and plans
+(c2) to (c5). (c1) is done: the Codex pane script's startup probe and retry, its own-login provider, and
+the two engines' context and env flags are now declared data, applied by `engines/kit`. Like (b), nothing
+moved into a worker. The map below is as it stood before (c1).
+
| File | Engine-specific behavior | Stays in core | Can move | Risk |
| --- | --- | --- | --- | --- |
| `engines/{claude,codex}/launch.ts`, `engines/launches.ts` | argv contracts | building argv | nothing: stays declared data | `buildEngineLaunchArgv` is synchronous, also at restore |
@@ -109,11 +114,10 @@ About 220 lines would leave, and with them core's only native child process and
With this approach nothing moves into a worker. About 230 lines of Claude/Codex code leave the core
closure, and a few dozen lines of declared data come in.
4. **(c) Launch, discovery and resume.** The largest. It has the most synchronous call sites (registry
- load, discovery tables, argv). Split it into sub-batches:
- - resume preparation and trust writes (async callers, before spawn)
- - session repair and adoption readers
- - splitting the shared normalizers into `engines/kit`
- - static tables and argv stay declared data
+ load, discovery tables, argv). It is split by risk into (c1) launch argv and the pane script (done),
+ (c2) launch preparation (trust writes and the resume repair), (c3) discovery and process matching,
+ (c4) registry load and session identity, and (c5) adoption readers and the shared normalizers
+ ([engine launch](2026-10-08-engine-launch.md)). Session control stays worker-free throughout, as in (b).
This puts (d) before (b) and (c), unlike the order the owner listed. The reason: async work that is
self-contained goes first; work with synchronous hot paths and dependencies at daemon start goes last.