Skip to content

feat(bin): add codex-only ultra reasoning effort to spawn profiles - #3109

Closed
gksbrandon wants to merge 7 commits into
kunchenguid:mainfrom
gksbrandon:fm/fm-ultra-effort
Closed

feat(bin): add codex-only ultra reasoning effort to spawn profiles#3109
gksbrandon wants to merge 7 commits into
kunchenguid:mainfrom
gksbrandon:fm/fm-ultra-effort

Conversation

@gksbrandon

Copy link
Copy Markdown

Intent

Teach Firstmate's spawn layer the Codex-only ultra reasoning effort so gpt-5.6-sol lanes can use OpenAI's ultra tier. Codex CLI 0.149.1's embedded schema accepts ultra, while the current PATH codex is nix-pinned 0.133.0 and does not support it until the separately owned dotfiles rebuild; do not change PATH, Nix, or perform that cutover. Pi has no ultra concept and its ladder ends at max. Extend fm-spawn's accepted effort vocabulary and emit -c model_reasoning_effort="ultra" only for harness=codex, while every non-Codex harness keeps its existing accepted effort set and follows the existing unsupported-effort behavior by recording and omitting the value or refusing it according to the current path. Ensure fm-control relaunch passes ultra through, including relevant local and remote secondmate spawn routes. Bootstrap crew-dispatch harness and effort validation must accept codex+ultra and reject ultra elsewhere. Do not hard-enforce the gpt-5.6-sol pairing in code because that sol-only restriction is a moving vendor fact and Codex already rejects an invalid model-effort pairing at launch; state it in documentation. The canonical operator docs must warn that ultra requires codex-cli 0.149.1 or newer on PATH and fails until the currently pinned CLI is rebuilt. The harness-adapters Codex row must retain prior codex-cli 0.142.1 low through xhigh evidence alongside 0.149.1 ultra schema evidence and the current 0.133.0 limitation. Explicitly distinguish Firstmate's Codex-only ultra profile value from Muse's unrelated native ultra level: direct --effort ultra on Muse is recorded and omitted, while shared max maps to Muse-native ultra. Add executable behavioral regressions for Codex acceptance and emission, non-Codex omission or refusal, bootstrap validation, relaunch, and the remote route. Keep general remote profile-axis coverage in a normally-run dedicated suite rather than the trace-context suite, and make it hermetic with a remote-path Pi stub instead of any host executable. Keep the Codex emission comment explicit about the 0.149.1 evidence and current pinned 0.133.0 caveat, and disambiguate the Muse-native level at its emission site. Keep all touched scripts shellcheck-clean. Codex ultra uses token-intensive internal sub-agent decomposition and requires current explicit captain approval before selection. Deliver through the captain-created gksbrandon/firstmate fork while opening the cross-repository pull request against kunchenguid/firstmate, leaving origin on upstream.

What Changed

  • Effort vocabulary now accepts ultra across bin/fm-spawn.sh, bin/fm-control.sh relaunch (including the config/secondmate-harness pin), bin/fm-remote-secondmate-control.sh, and crew_dispatch_validate in bin/fm-bootstrap.sh. Only harness=codex emits -c model_reasoning_effort="ultra"; every other harness keeps its existing accepted set, so a non-Codex profile records effort=ultra in task meta and omits the launch flag, and bootstrap rejects pairings like claude:ultra.

  • Docs record the CLI floor and disambiguate Muse. docs/configuration.md states the gpt-5.6-sol pairing and warns that ultra needs codex-cli 0.149.1 or newer, failing on the currently nix-pinned 0.133.0. The harness-adapters Codex row keeps its 0.142.1 low-through-xhigh evidence alongside the 0.149.1 ultra schema, adds a captain-approval requirement before selecting ultra, and separates Muse's native ultra level (reached only by mapping an explicit max) from this Codex-only profile value.

  • New behavioral regressions. Adds tests/fm-remote-secondmate-profile-axes.test.sh, registered in bin/fm-test-run.sh and made hermetic with a remote-path pi stub, covering the full parent-to-remote-pane chain for codex ultra, pi max, pi record-and-omit, and refusal of an unverified token. Existing suites gain cases for codex emission, claude and muse omission, bootstrap validation, and both direct and configured-pin relaunch pass-through.

Risk Assessment

✅ Low: The change is an additive, well-bounded effort-vocabulary extension with exactly one new emission site gated on harness=codex; every non-Codex harness keeps its prior accepted set and record-and-omit behavior, all touched scripts are shellcheck-clean, the docs carry the required 0.149.1/0.133.0 and gpt-5.6-sol warnings, and executable regressions cover Codex acceptance and emission, non-Codex omission and refusal, bootstrap validation, both relaunch routes, and the hermetic remote route.

Testing

Ran the six targeted suites that own this change (spawn dispatch profile, the new remote profile-axes suite, secondmate harness, control relaunch, muse harness, bootstrap) and all passed with no failures or gate skips. Because pass/fail alone does not show the behavior, I also produced three operator transcripts that drive the real scripts against fake tmux and herdr backends and read back the literal launch command each pane receives: codex emits -c 'model_reasoning_effort="ultra"' locally, through fm-control relaunch, and across the SSH boundary on the remote secondmate route; claude, muse and pi record effort=ultra in durable task metadata and omit the flag; muse's native max-class level stays reachable only via --effort max; bootstrap accepts codex+ultra and names claude:ultra, muse:ultra, pi:ultra and grok:ultra as invalid; and an unverified remote effort is refused before any remote launch. I confirmed the new remote suite is registered in the normally-run portable-serial lane and that the runner's coverage guard is complete. The change is CLI and documentation only with no rendered surface, so there is no screenshot or GIF; the pane launch literals are the end-user-visible artifact. Documentation edits (the codex-cli 0.149.1 floor, the 0.133.0 pinned-CLI caveat, the retained 0.142.1 evidence, and the muse-vs-codex ultra disambiguation) are prose and were reviewed rather than executed; codex --version on this host returns 0.133.0, matching the documented caveat. Per the phase rules I did not run linters, so the shellcheck-clean requirement is unverified here and belongs to the lint phase. The worktree is clean, with all evidence written outside it.

Evidence: Local spawn and bootstrap transcript: codex ultra emission, non-codex record-and-omit, muse disambiguation, crew-dispatch validation

Source: Local spawn and bootstrap transcript: codex ultra emission, non-codex record-and-omit, muse disambiguation, crew-dispatch validation


================================================================
1. fm-spawn accepted effort vocabulary (operator-visible refusal)
================================================================

$ fm-spawn.sh task-vocab <project> --model gpt-5.6-sol --effort turbo
error: --effort must be one of low, medium, high, xhigh, max, ultra
  exit status: 1

================================================================
2. codex + ultra: emitted as -c model_reasoning_effort="ultra"
================================================================

$ fm-spawn.sh task-codex-ultra <project> --model gpt-5.6-sol --effort ultra
warning: /var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/codex-ultra/home/data/task-codex-ultra/brief.md records no delivery contract line (scaffolded before ship briefs recorded one); launching on the explicit --mode no-mistakes - confirm its definition of done matches
spawned task-codex-ultra harness=codex kind=ship mode=no-mistakes yolo=off window=firstmate:fm-task-codex-ultra worktree=/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/codex-ultra/wt

  launch command sent to the pane:
    env -u CURSOR_AGENT -u CURSOR_INVOKED_AS codex --model 'gpt-5.6-sol' -c 'model_reasoning_effort="ultra"' --dangerously-bypass-approvals-and-sandbox -c "notify=[\"bash\",\"-c\",\"touch '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-ultra-evidence.7tMVwi/cases/codex-ultra/home/state/task-codex-ultra.turn-ended'\"]" "$('/Users/brandon.goh/.no-mistakes/worktrees/75ea69edc5f9/01M0YQXXQYGJJAZNSM97YCNZTQ/bin/fm-operational-input.sh' encode launch-brief < '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/codex-ultra/home/data/task-codex-ultra/brief.md')"

  recorded task metadata:
    harness=codex
    model=gpt-5.6-sol
    effort=ultra

================================================================
2b. the gpt-5.6-sol pairing is documentation, not a code gate
================================================================

$ fm-spawn.sh task-codex-ultra-nonsol <project> --model gpt-5.5 --effort ultra
warning: /var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/codex-ultra-nonsol/home/data/task-codex-ultra-nonsol/brief.md records no delivery contract line (scaffolded before ship briefs recorded one); launching on the explicit --mode no-mistakes - confirm its definition of done matches
spawned task-codex-ultra-nonsol harness=codex kind=ship mode=no-mistakes yolo=off window=firstmate:fm-task-codex-ultra-nonsol worktree=/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/codex-ultra-nonsol/wt

  launch command sent to the pane:
    env -u CURSOR_AGENT -u CURSOR_INVOKED_AS codex --model 'gpt-5.5' -c 'model_reasoning_effort="ultra"' --dangerously-bypass-approvals-and-sandbox -c "notify=[\"bash\",\"-c\",\"touch '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-ultra-evidence.7tMVwi/cases/codex-ultra-nonsol/home/state/task-codex-ultra-nonsol.turn-ended'\"]" "$('/Users/brandon.goh/.no-mistakes/worktrees/75ea69edc5f9/01M0YQXXQYGJJAZNSM97YCNZTQ/bin/fm-operational-input.sh' encode launch-brief < '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/codex-ultra-nonsol/home/data/task-codex-ultra-nonsol/brief.md')"

  recorded task metadata:
    harness=codex
    model=gpt-5.5
    effort=ultra

  (firstmate does not refuse the pairing; codex itself rejects an invalid
   model/effort combination at launch)

================================================================
3. claude + ultra: recorded in metadata, omitted from the launch
================================================================

$ fm-spawn.sh task-claude-ultra <project> --model sonnet --effort ultra
warning: /var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/claude-ultra/home/data/task-claude-ultra/brief.md records no delivery contract line (scaffolded before ship briefs recorded one); launching on the explicit --mode no-mistakes - confirm its definition of done matches
spawned task-claude-ultra harness=claude kind=ship mode=no-mistakes yolo=off window=firstmate:fm-task-claude-ultra worktree=/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/claude-ultra/wt

  launch command sent to the pane:
    env -u CURSOR_AGENT -u CURSOR_INVOKED_AS CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=false claude --dangerously-skip-permissions --model 'sonnet' "$('/Users/brandon.goh/.no-mistakes/worktrees/75ea69edc5f9/01M0YQXXQYGJJAZNSM97YCNZTQ/bin/fm-operational-input.sh' encode launch-brief < '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/claude-ultra/home/data/task-claude-ultra/brief.md')"

  recorded task metadata:
    harness=claude
    model=sonnet
    effort=ultra

================================================================
4. muse: shared max maps to muse-native ultra; Codex-only ultra does not
================================================================

$ fm-spawn.sh task-muse-max <project> --effort max
warning: /var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-max/home/data/task-muse-max/brief.md records no delivery contract line (scaffolded before ship briefs recorded one); launching on the explicit --mode no-mistakes - confirm its definition of done matches
spawned task-muse-max harness=muse kind=ship mode=no-mistakes yolo=off window=firstmate:fm-task-muse-max worktree=/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-max/wt

  launch command sent to the pane:
    env -u CURSOR_AGENT -u CURSOR_INVOKED_AS env -u CLAUDECODE -u PI_CODING_AGENT -u GROK_AGENT -u FM_PI_HARNESS XDG_CONFIG_HOME='/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-max/home/xdgconfig' XDG_DATA_HOME='/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-max/home/xdgdata' MUSE_EXPERIMENTAL_FOREIGN_PERSONAL_CONTEXT_KILL=on '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-max/fake/fakebin/muse' --yolo --reasoning-effort 'ultra' "$('/Users/brandon.goh/.no-mistakes/worktrees/75ea69edc5f9/01M0YQXXQYGJJAZNSM97YCNZTQ/bin/fm-operational-input.sh' encode launch-brief < '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-max/home/data/task-muse-max/brief.md')"

  recorded task metadata:
    harness=muse
    model=default
    effort=max

$ fm-spawn.sh task-muse-ultra <project> --effort ultra
warning: /var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-ultra/home/data/task-muse-ultra/brief.md records no delivery contract line (scaffolded before ship briefs recorded one); launching on the explicit --mode no-mistakes - confirm its definition of done matches
spawned task-muse-ultra harness=muse kind=ship mode=no-mistakes yolo=off window=firstmate:fm-task-muse-ultra worktree=/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-ultra/wt

  launch command sent to the pane:
    env -u CURSOR_AGENT -u CURSOR_INVOKED_AS env -u CLAUDECODE -u PI_CODING_AGENT -u GROK_AGENT -u FM_PI_HARNESS XDG_CONFIG_HOME='/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-ultra/home/xdgconfig' XDG_DATA_HOME='/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-ultra/home/xdgdata' MUSE_EXPERIMENTAL_FOREIGN_PERSONAL_CONTEXT_KILL=on '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-ultra/fake/fakebin/muse' --yolo "$('/Users/brandon.goh/.no-mistakes/worktrees/75ea69edc5f9/01M0YQXXQYGJJAZNSM97YCNZTQ/bin/fm-operational-input.sh' encode launch-brief < '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T//fm-ultra-evidence.7tMVwi/cases/muse-ultra/home/data/task-muse-ultra/brief.md')"

  recorded task metadata:
    harness=muse
    model=default
    effort=ultra

================================================================
5. bootstrap crew-dispatch validation for config/crew-dispatch.json
================================================================

$ cat config/crew-dispatch.json && fm-bootstrap.sh   # codex-ultra
  {"rules":[{"when":"ultra coding","use":{"harness":"codex","model":"gpt-5.6-sol","effort":"ultra"}}]}
  bootstrap output: (silent - profile accepted)

$ cat config/crew-dispatch.json && fm-bootstrap.sh   # claude-ultra
  {"rules":[{"when":"ultra coding","use":{"harness":"claude","model":"claude-opus-4-6","effort":"ultra"}}]}
  CREW_DISPATCH: invalid config/crew-dispatch.json - invalid effort: claude:ultra

$ cat config/crew-dispatch.json && fm-bootstrap.sh   # muse-ultra
  {"rules":[{"when":"muse ultra","use":{"harness":"muse","effort":"ultra"}}]}
  CREW_DISPATCH: invalid config/crew-dispatch.json - invalid effort: muse:ultra

$ cat config/crew-dispatch.json && fm-bootstrap.sh   # pi-ultra
  {"rules":[{"when":"pi ultra","use":{"harness":"pi","model":"anthropic/claude-opus-5","effort":"ultra"}}]}
  CREW_DISPATCH: invalid config/crew-dispatch.json - invalid effort: pi:ultra

$ cat config/crew-dispatch.json && fm-bootstrap.sh   # grok-ultra
  {"rules":[{"when":"grok ultra","use":{"harness":"grok","model":"grok-4","effort":"ultra"}}]}
  CREW_DISPATCH: invalid config/crew-dispatch.json - invalid effort: grok:ultra

$ cat config/crew-dispatch.json && fm-bootstrap.sh   # codex-xhigh
  {"rules":[{"when":"deep feature","use":{"harness":"codex","model":"gpt-5.6","effort":"xhigh"}}]}
  bootstrap output: (silent - profile accepted)

$ cat config/crew-dispatch.json && fm-bootstrap.sh   # codex-max
  {"rules":[{"when":"big feature","use":{"harness":"codex","model":"gpt-5","effort":"max"}}]}
  CREW_DISPATCH: invalid config/crew-dispatch.json - invalid effort: codex:max
Evidence: fm-control relaunch transcript: explicit ultra and a durable codex+ultra secondmate pin reaching the replacement launch

Source: fm-control relaunch transcript: explicit ultra and a durable codex+ultra secondmate pin reaching the replacement launch


$ fm-control.sh rl7b relaunch --harness codex --model gpt-5.6-sol --effort ultra --note "use the ultra tier"
  warning: /var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/codexultra-26882/home/data/rl7b/brief.md records no delivery contract line (scaffolded before ship briefs recorded one); launching on the explicit --mode no-mistakes - confirm its definition of done matches
  relaunched rl7b harness=codex from=claude model=gpt-5.6-sol effort=ultra backend=tmux endpoint=fmses:fm-rl7b worktree=/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/codexultra-26882/wt

----------------------------------------------------------------
STEP: explicit --effort ultra reaches the codex replacement launch
----------------------------------------------------------------
  durable task metadata after relaunch:
    harness=codex
    model=gpt-5.6-sol
    effort=ultra
  relaunch journal (state/rl7b.control-relaunch):
    from_harness=claude
    from_effort=default
    to_harness=codex
    to_model=gpt-5.6-sol
    to_effort=ultra
  launch command sent to the replacement pane:
    unset TRACEPARENT; env -u CURSOR_AGENT -u CURSOR_INVOKED_AS codex --model 'gpt-5.6-sol' -c 'model_reasoning_effort="ultra"' --dangerously-bypass-approvals-and-sandbox -c "notify=[\"bash\",\"-c\",\"touch '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/codexultra-26882/home/state/rl7b.turn-ended'\"]" "$('/Users/brandon.goh/.no-mistakes/worktrees/75ea69edc5f9/01M0YQXXQYGJJAZNSM97YCNZTQ/bin/fm-operational-input.sh' encode launch-brief < '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/codexultra-26882/home/data/rl7b/brief.md')"

$ cat config/secondmate-harness
  codex gpt-5.6-sol ultra
$ fm-control.sh sm3b relaunch
  warning: secondmate sm3b sync skipped before launch: primary default-branch commit cannot be resolved
  relaunched sm3b harness=codex from=claude model=gpt-5.6-sol effort=ultra backend=tmux endpoint=fmses:fm-sm3b worktree=/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/smultra-8201/smhome

----------------------------------------------------------------
STEP: a durable codex+ultra secondmate pin reaches the replacement launch
----------------------------------------------------------------
  durable task metadata after relaunch:
    harness=codex
    model=gpt-5.6-sol
    effort=ultra
  relaunch journal (state/sm3b.control-relaunch):
    from_harness=claude
    from_effort=default
    to_harness=codex
    to_model=gpt-5.6-sol
    to_effort=ultra
  launch command sent to the replacement pane:
    unset TRACEPARENT; FM_ROOT_OVERRIDE= FM_STATE_OVERRIDE= FM_DATA_OVERRIDE= FM_PROJECTS_OVERRIDE= FM_CONFIG_OVERRIDE= FM_PUBLIC_FOLLOWUP_PRIMARY_HOME='/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/smultra-8201/home' FM_HOME='/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/smultra-8201/smhome' FM_TRACE_CONTEXT=off FM_SUPERVISION_MODEL=persistent env -u CURSOR_AGENT -u CURSOR_INVOKED_AS codex --model 'gpt-5.6-sol' -c 'model_reasoning_effort="ultra"' --dangerously-bypass-approvals-and-sandbox "$('/Users/brandon.goh/.no-mistakes/worktrees/75ea69edc5f9/01M0YQXXQYGJJAZNSM97YCNZTQ/bin/fm-operational-input.sh' encode launch-brief < '/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-control-relaunch.y6UM1X/smultra-8201/home/data/sm3b/brief.md')"
Evidence: Remote secondmate route transcript: the launch literal the remote pane received for codex ultra, pi max, pi ultra, and a refused unverified effort

Source: Remote secondmate route transcript: the launch literal the remote pane received for codex ultra, pi max, pi ultra, and a refused unverified effort


----------------------------------------------------------------
STEP 1: codex: a configured ultra profile crosses the SSH boundary and reaches the remote pane's launch command
----------------------------------------------------------------
  config/secondmate-harness on the captain-facing primary:
    codex gpt-5.6-sol ultra
  parent task metadata (state/ios.meta):
    harness=codex
    model=gpt-5.6-sol
    effort=ultra
  remote host task metadata:
    harness=codex
    model=gpt-5.6-sol
    effort=ultra
  launch command the remote pane received (herdr pane send-text):
    pane send-text w1:p3 FM_ROOT_OVERRIDE= FM_STATE_OVERRIDE= FM_DATA_OVERRIDE= FM_PROJECTS_OVERRIDE= FM_CONFIG_OVERRIDE= FM_PUBLIC_FOLLOWUP_PRIMARY_HOME='/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root' FM_HOME='/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home' FM_TRACE_CONTEXT=off FM_SUPERVISION_MODEL=persistent env -u CURSOR_AGENT -u CURSOR_INVOKED_AS codex --model 'gpt-5.6-sol' -c 'model_reasoning_effort="ultra"' --dangerously-bypass-approvals-and-sandbox "$('/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root/bin/fm-operational-input.sh' encode launch-brief < '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home/data/charter.md')" --session fm-remote
ok - codex: a configured ultra profile crosses the SSH boundary and reaches the remote pane's launch command

----------------------------------------------------------------
STEP 2: pi: the shared max level still reaches the remote pi launch command
----------------------------------------------------------------
  config/secondmate-harness on the captain-facing primary:
    pi anthropic/claude-opus-5 max
  parent task metadata (state/ios.meta):
    harness=pi
    model=anthropic/claude-opus-5
    effort=max
  remote host task metadata:
    harness=pi
    model=anthropic/claude-opus-5
    effort=max
  launch command the remote pane received (herdr pane send-text):
    pane send-text w1:p3 FM_ROOT_OVERRIDE= FM_STATE_OVERRIDE= FM_DATA_OVERRIDE= FM_PROJECTS_OVERRIDE= FM_CONFIG_OVERRIDE= FM_PUBLIC_FOLLOWUP_PRIMARY_HOME='/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root' FM_HOME='/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home' FM_TRACE_CONTEXT=off FM_SUPERVISION_MODEL=persistent env -u CURSOR_AGENT -u CURSOR_INVOKED_AS FM_PI_HARNESS=pi '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root/bin/pi' --tui-mode regular --model 'anthropic/claude-opus-5' --thinking 'max' -e '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home/.pi/extensions/fm-primary-turnend-guard.ts' -e '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home/.pi/extensions/fm-primary-pi-watch.ts' "$('/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root/bin/fm-operational-input.sh' encode launch-brief < '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home/data/charter.md')" --session fm-remote
ok - pi: the shared max level still reaches the remote pi launch command

----------------------------------------------------------------
STEP 3: pi: a Codex-only ultra profile is recorded on both hosts and omitted from the remote launch
----------------------------------------------------------------
  config/secondmate-harness on the captain-facing primary:
    pi anthropic/claude-opus-5 ultra
  parent task metadata (state/ios.meta):
    harness=pi
    model=anthropic/claude-opus-5
    effort=ultra
  remote host task metadata:
    harness=pi
    model=anthropic/claude-opus-5
    effort=ultra
  launch command the remote pane received (herdr pane send-text):
    pane send-text w1:p3 FM_ROOT_OVERRIDE= FM_STATE_OVERRIDE= FM_DATA_OVERRIDE= FM_PROJECTS_OVERRIDE= FM_CONFIG_OVERRIDE= FM_PUBLIC_FOLLOWUP_PRIMARY_HOME='/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root' FM_HOME='/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home' FM_TRACE_CONTEXT=off FM_SUPERVISION_MODEL=persistent env -u CURSOR_AGENT -u CURSOR_INVOKED_AS FM_PI_HARNESS=pi '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root/bin/pi' --tui-mode regular --model 'anthropic/claude-opus-5' -e '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home/.pi/extensions/fm-primary-turnend-guard.ts' -e '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home/.pi/extensions/fm-primary-pi-watch.ts' "$('/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-root/bin/fm-operational-input.sh' encode launch-brief < '/private/var/folders/vl/yjdqg3215dlc52hcs8wv2ldw0000gp/T/fm-remote-profile-axes.sogthO/remote-home/data/charter.md')" --session fm-remote
ok - pi: a Codex-only ultra profile is recorded on both hosts and omitted from the remote launch

----------------------------------------------------------------
STEP 4: an unverified configured effort is refused before any remote launch
----------------------------------------------------------------
  config/secondmate-harness on the captain-facing primary:
    codex gpt-5.6-sol supreme
  fm-spawn.sh ios --secondmate said:
    error: invalid configured remote secondmate effort: supreme
  launch commands the remote backend received:
ok - an unverified configured effort is refused by the parent before any remote launch
ALL TESTS PASSED
Evidence: Reproduction driver: local spawn and bootstrap transcript

Source: Reproduction driver: local spawn and bootstrap transcript

#!/usr/bin/env bash
# Operator transcript for the Codex-only `ultra` reasoning effort.
# Drives the real bin/fm-spawn.sh and bin/fm-bootstrap.sh against a fake tmux
# backend that records the literal launch command a pane would receive.
set -u

ROOT=${FM_EVIDENCE_ROOT:?}
OUT=${FM_EVIDENCE_OUT:?}

. "$ROOT/tests/lib.sh"

TMP_ROOT=$(fm_test_tmproot fm-ultra-evidence)

exec > >(tee "$OUT") 2>&1

section() { printf '\n================================================================\n%s\n================================================================\n' "$1"; }
step() { printf '\n$ %s\n' "$1"; }

make_fakebin() {
  local dir=$1 fakebin
  fakebin=$(fm_fakebin "$dir")
  cat > "$fakebin/tmux" <<'SH'
#!/usr/bin/env bash
set -u
case "$*" in
  *"#{pane_current_path}"*) printf '%s\n' "${FM_FAKE_PANE_PATH:-}"; exit 0 ;;
esac
case "${1:-}" in
  display-message) printf 'firstmate\n'; exit 0 ;;
  list-windows) exit 0 ;;
  has-session|new-session|new-window|kill-window) exit 0 ;;
  send-keys)
    if [ -n "${FM_FAKE_LAUNCH_LOG:-}" ]; then
      prev=
      for a in "$@"; do
        [ "$prev" = "-l" ] && printf '%s\n' "$a" >> "$FM_FAKE_LAUNCH_LOG"
        prev=$a
      done
    fi
    exit 0
    ;;
esac
exit 0
SH
  chmod +x "$fakebin/tmux"
  fm_fake_exit0 "$fakebin" treehouse
  cat > "$fakebin/timeout" <<'SH'
#!/usr/bin/env bash
shift
exec "$@"
SH
  cat > "$fakebin/muse" <<'SH'
#!/usr/bin/env bash
exit 0
SH
  chmod +x "$fakebin/timeout" "$fakebin/muse"
  printf '%s\n' "$fakebin"
}

CASES=$TMP_ROOT/cases
make_case() { # <name> <harness> -> echoes home|wt|fakebin|log|id|proj
  local name=$1 harness=$2 dir home proj wt fakebin log id
  dir="$CASES/$name"
  home="$dir/home"; proj="$dir/project"; wt="$dir/wt"; log="$dir/launch.log"
  fakebin=$(make_fakebin "$dir/fake")
  id="task-$name"
  mkdir -p "$home/data/$id" "$home/projects" "$home/state" "$home/config" \
    "$home/xdgconfig/muse" "$home/xdgdata"
  printf '{"token":"evidence"}\n' > "$home/xdgconfig/muse/auth.json"
  printf '%s\n' "$harness" > "$home/config/crew-harness"
  printf 'brief for %s\n' "$id" > "$home/data/$id/brief.md"
  fm_git_worktree "$proj" "$wt" "wt-$name" >/dev/null 2>&1
  touch "$home/state/.last-watcher-beat"
  printf '%s\n' "$home|$wt|$fakebin|$log|$id|$proj"
}

spawn() { # <case-record> [spawn args...]
  local rec=$1 home wt fakebin log id proj
  shift
  IFS='|' read -r home wt fakebin log id proj <<EOF
$rec
EOF
  : > "$log"
  FM_ROOT_OVERRIDE='' FM_HOME="$home" \
    FM_STATE_OVERRIDE="$home/state" FM_DATA_OVERRIDE="$home/data" \
    FM_PROJECTS_OVERRIDE="$home/projects" FM_CONFIG_OVERRIDE="$home/config" \
    FM_SPAWN_NO_GUARD=1 FM_FAKE_PANE_PATH="$wt" TMUX="fake,1,0" \
    CLAUDE_CONFIG_DIR='' FM_FAKE_LAUNCH_LOG="$log" \
    FM_FAKE_MUSE_EXECUTABLE="$fakebin/muse" \
    FM_FAKE_WORKER_META_KEY=present META_API_KEY=evidence-key \
    XDG_CONFIG_HOME="$home/xdgconfig" XDG_DATA_HOME="$home/xdgdata" \
    GROK_HOME="$home/grok-home" PATH="$fakebin:$PATH" \
    "$ROOT/bin/fm-spawn.sh" "$id" "$proj" "$@" --mode no-mistakes --yolo off 2>&1
}

show_launch() { # <case-record>
  local rec=$1 home wt fakebin log id proj
  IFS='|' read -r home wt fakebin log id proj <<EOF
$rec
EOF
  printf '\n  launch command sent to the pane:\n'
  sed 's/^/    /' "$log"
  printf '\n  recorded task metadata:\n'
  grep -E '^(harness|model|effort)=' "$home/state/$id.meta" | sed 's/^/    /'
}

# ---------------------------------------------------------------------------
section "1. fm-spawn accepted effort vocabulary (operator-visible refusal)"
rec=$(make_case vocab codex)
step "fm-spawn.sh task-vocab <project> --model gpt-5.6-sol --effort turbo"
spawn "$rec" --model gpt-5.6-sol --effort turbo
printf '  exit status: %s\n' "$?"

# ---------------------------------------------------------------------------
section "2. codex + ultra: emitted as -c model_reasoning_effort=\"ultra\""
rec=$(make_case codex-ultra codex)
step "fm-spawn.sh task-codex-ultra <project> --model gpt-5.6-sol --effort ultra"
spawn "$rec" --model gpt-5.6-sol --effort ultra
show_launch "$rec"

# ---------------------------------------------------------------------------
section "2b. the gpt-5.6-sol pairing is documentation, not a code gate"
rec=$(make_case codex-ultra-nonsol codex)
step "fm-spawn.sh task-codex-ultra-nonsol <project> --model gpt-5.5 --effort ultra"
spawn "$rec" --model gpt-5.5 --effort ultra
show_launch "$rec"
printf '\n  (firstmate does not refuse the pairing; codex itself rejects an invalid\n   model/effort combination at launch)\n'

# ---------------------------------------------------------------------------
section "3. claude + ultra: recorded in metadata, omitted from the launch"
rec=$(make_case claude-ultra claude)
step "fm-spawn.sh task-claude-ultra <project> --model sonnet --effort ultra"
spawn "$rec" --model sonnet --effort ultra
show_launch "$rec"

# ---------------------------------------------------------------------------
section "4. muse: shared max maps to muse-native ultra; Codex-only ultra does not"
rec=$(make_case muse-max muse)
step "fm-spawn.sh task-muse-max <project> --effort max"
spawn "$rec" --effort max
show_launch "$rec"

rec=$(make_case muse-ultra muse)
step "fm-spawn.sh task-muse-ultra <project> --effort ultra"
spawn "$rec" --effort ultra
show_launch "$rec"

# ---------------------------------------------------------------------------
section "5. bootstrap crew-dispatch validation for config/crew-dispatch.json"

make_bootstrap_fakebin() {
  local dir=$1 fakebin real_jq
  fakebin=$(fm_fakebin "$dir")
  fm_fake_exit0 "$fakebin" tmux node chrome-devtools-axi gh
  for tool in lavish-axi gh-axi quota-axi; do
    cat > "$fakebin/$tool" <<'SH'
#!/usr/bin/env bash
[ "${1:-}" = --version ] && printf '9.9.9\n'
exit 0
SH
    chmod +x "$fakebin/$tool"
  done
  cat > "$fakebin/tasks-axi" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = --version ]; then printf '0.2.4\n'; exit 0; fi
if [ "${1:-}" = update ] && [ "${2:-}" = --help ]; then
  printf '%s\n' 'usage: tasks-axi update <id> [flags]' '  --body-file <path>' '  --archive-body'
  exit 0
fi
if [ "${1:-}" = mv ] && [ "${2:-}" = --help ]; then
  printf '%s\n' 'usage: tasks-axi mv <id> [<id>...] --to <path-or-dir>'
  exit 0
fi
exit 0
SH
  cat > "$fakebin/treehouse" <<'SH'
#!/usr/bin/env bash
if [ "${1:-}" = get ] && [ "${2:-}" = --help ]; then
  printf '%s\n' 'Usage: treehouse get [--lease] [--lease-holder <holder>]'
fi
exit 0
SH
  cat > "$fakebin/no-mistakes" <<'SH'
#!/usr/bin/env bash
[ "${1:-}" = --version ] && printf '%s\n' 'no-mistakes version v9.9.9 (fake) 2026-06-27T00:02:18Z'
exit 0
SH
  chmod +x "$fakebin/tasks-axi" "$fakebin/treehouse" "$fakebin/no-mistakes"
  real_jq=$(command -v jq)
  ln -sf "$real_jq" "$fakebin/jq"
  printf '%s\n' "$fakebin"
}

dispatch_case() { # <label> <json>
  local label=$1 json=$2 dir fakebin out
  dir="$CASES/dispatch-$label"
  mkdir -p "$dir/home/config"
  printf 'manual\n' > "$dir/home/config/backlog-backend"
  printf '%s\n' "$json" > "$dir/home/config/crew-dispatch.json"
  git -C "$dir/home" init -q 2>/dev/null || true
  fakebin=$(make_bootstrap_fakebin "$dir/fake")
  step "cat config/crew-dispatch.json && fm-bootstrap.sh   # $label"
  printf '  %s\n' "$json"
  out=$(PATH="$fakebin:$PATH" FM_HOME="$dir/home" FM_ROOT_OVERRIDE="$dir/home" \
    FM_FAKE_TREEHOUSE_LEASE_HELP=1 "$ROOT/bin/fm-bootstrap.sh")
  if [ -z "$out" ]; then
    printf '  bootstrap output: (silent - profile accepted)\n'
  else
    printf '%s\n' "$out" | sed 's/^/  /'
  fi
}

dispatch_case codex-ultra '{"rules":[{"when":"ultra coding","use":{"harness":"codex","model":"gpt-5.6-sol","effort":"ultra"}}]}'
dispatch_case claude-ultra '{"rules":[{"when":"ultra coding","use":{"harness":"claude","model":"claude-opus-4-6","effort":"ultra"}}]}'
dispatch_case muse-ultra '{"rules":[{"when":"muse ultra","use":{"harness":"muse","effort":"ultra"}}]}'
dispatch_case pi-ultra '{"rules":[{"when":"pi ultra","use":{"harness":"pi","model":"anthropic/claude-opus-5","effort":"ultra"}}]}'
dispatch_case grok-ultra '{"rules":[{"when":"grok ultra","use":{"harness":"grok","model":"grok-4","effort":"ultra"}}]}'
dispatch_case codex-xhigh '{"rules":[{"when":"deep feature","use":{"harness":"codex","model":"gpt-5.6","effort":"xhigh"}}]}'
dispatch_case codex-max '{"rules":[{"when":"big feature","use":{"harness":"codex","model":"gpt-5","effort":"max"}}]}'

printf '\n'
- Evidence: [Reproduction driver: fm-control relaunch transcript](https://github.com/gksbrandon/firstmate/blob/821dfd805aefd33b4ac1c1056ad5ccbde5bdc71e/.no-mistakes/evidence/fm/fm-ultra-effort/repro-fm-control-relaunch.sh) - Evidence: [Reproduction driver: remote secondmate route transcript](https://github.com/gksbrandon/firstmate/blob/821dfd805aefd33b4ac1c1056ad5ccbde5bdc71e/.no-mistakes/evidence/fm/fm-ultra-effort/repro-remote-secondmate-route.sh)
Evidence: Pinned PATH codex version on this host, matching the documented caveat
$ codex --version
codex-cli 0.133.0

Pipeline

✅ **intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

⚠️ **Review** - 2 infos
  • ℹ️ bin/fm-spawn.sh:1402 - bin/fm-spawn.sh:1402 emits -c model_reasoning_effort="ultra" with no CLI capability guard, so on the currently nix-pinned codex 0.133.0 the pane's codex exits at launch. Concrete path: config/secondmate-harness pinned to 'codex gpt-5.6-sol ultra' -> fm-spawn.sh:1292 accepts the token -> effort_flag_for_harness emits ultra -> codex 0.133.0 rejects the unknown value and the pane dies -> secondmate_liveness_one (bin/fm-bootstrap.sh:753) sees dead/missing and respawns through fm-spawn.sh --secondmate, which re-resolves the same pin, so the secondmate never comes up and each session start reports another relaunch. This is explicitly authorized containment: the intent says ultra 'fails until the currently pinned CLI is rebuilt' and requires only that the docs warn, which docs/configuration.md:341 does. Recorded as a tradeoff, not a defect. If a spawn-time refusal is ever preferred over a launch-time one, the codebase already has the pattern in pi_supports_tui_mode (bin/fm-spawn.sh:1109), which probes the resolved executable's --help before composing a version-dependent flag.
  • ℹ️ tests/fm-remote-secondmate-profile-axes.test.sh:50 - tests/fm-remote-secondmate-profile-axes.test.sh:50-163 duplicates roughly 110 lines of remote fixture setup verbatim from tests/fm-remote-secondmate-trace-context.test.sh:37-155: the tar of the code root into REMOTE_ROOT, the whole bin/tmux stub (has-session/list-windows/new-window/display-message/capture-pane/send-keys/kill-window/list-panes), the fake-ssh wrapper including its base64 doctor-readiness shortcut, and the remote_env variable wrapper. tests/remote-herdr-fixture.sh is already the shared fixture module both suites source and is the natural owner for this. As written, a change to the tmux or ssh stub (for example a new tmux subcommand the production code starts calling) has to be made in two files, and fixing only one leaves the other suite silently exercising a stale boundary. Extracting the common setup into tests/remote-herdr-fixture.sh, parameterized by state/log paths, keeps both suites separate as the intent requires while giving the boundary one owner.
✅ **Test** - passed

✅ No issues found.

  • bin/fm-test-run.sh tests/fm-spawn-dispatch-profile.test.sh
  • bin/fm-test-run.sh tests/fm-remote-secondmate-profile-axes.test.sh
  • bin/fm-test-run.sh tests/fm-secondmate-harness.test.sh
  • bin/fm-test-run.sh tests/fm-control-relaunch.test.sh
  • bin/fm-test-run.sh tests/fm-muse-harness.test.sh
  • bin/fm-test-run.sh tests/fm-bootstrap.test.sh
  • bin/fm-test-run.sh --check-coverage and --list --lane portable-serial to confirm the new remote suite is registered in a normally-run lane
  • Manual operator transcript driving the real bin/fm-spawn.sh and bin/fm-bootstrap.sh against a fake tmux backend that records the literal pane launch command (codex ultra, codex ultra with a non-sol model, claude ultra, muse max vs muse ultra, and six crew-dispatch validation cases)
  • Manual operator transcript driving the real bin/fm-control.sh relaunch for an explicit --harness codex --model gpt-5.6-sol --effort ultra and for a durable config/secondmate-harness codex+ultra pin
  • Manual operator transcript driving the real remote chain (parent fm-spawn -> fm-on -> fm-remote-entrypoint.sh -> fm-remote-secondmate-control.sh -> the remote host's own fm-spawn) against a fake herdr CLI, reading back the launch literal the remote pane received
  • codex --version on this host to confirm the documented nix-pinned 0.133.0 caveat
⚠️ **Document** - 2 infos
  • ℹ️ docs/configuration.md:343 - The moving vendor fact 'PATH codex is nix-pinned at 0.133.0' now lives in two documents: this operator warning and the harness-adapters Codex row. I kept both because the user intent requires each one explicitly (operator warning about the codex-cli 0.149.1 floor, adapter row retaining the 0.133.0 limitation alongside its version evidence), and they serve different audiences. Follow-up when the dotfiles rebuild lands: both places must be updated together, since neither is a pointer to the other.
  • ℹ️ AGENTS.md:214 - AGENTS.md's condensed effort-fallback line names only the 'never max without explicit captain preference' guard, not the new ultra approval gate. I left it unchanged: the sentence already names harness-adapters as the owner, its ladder stops at xhigh so an agent following it alone cannot reach ultra, and adding the gate would duplicate owner prose into always-loaded guidance. Flagging it in case the captain wants the token-spend gate visible in the always-loaded contract too.
✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

@greptile-apps

greptile-apps Bot commented Aug 26, 2026

Copy link
Copy Markdown

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Reviews (2): Last reviewed commit: "chore(ci): apply CI fixes" | Re-trigger Greptile

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

Reviewed HEAD 6916caf584045adb0442bb87a3d73402072251eb vs main 9ce69acf95b901cb6dc38dd5fa55f37a8038e16c. Whole thread read (Greptile success). Full diff reviewed across spawn/control/bootstrap/remote, docs, harness-adapters, and the new remote profile-axes suite plus related tests. No .github/workflows/*. Not disguised security.

Class: opt-in. Extends the accepted effort vocabulary with Codex-only ultra and emits it only when harness=codex and the captain/firstmate selects that profile. Non-Codex keeps record-and-omit / refusal. Docs require current explicit captain approval before selecting ultra. No change to default spawn effort.

VISION (per rule, inspected evidence):

  • One captain, one interface — aligns. Quota/effort stays inspectable; ultra is an explicit profile choice.
  • Authority is explicit — aligns. New effort value ships as an option; harness-adapters forbid selecting ultra from the generic fallback without captain approval.
  • Scripts own the mechanics — aligns. Deterministic vocabulary/emission; vendor rejects invalid pairings at launch.
  • A restart is a non-event — aligns. Meta recording only.
  • Delegation with a spine — aligns. Not a new task shape.
  • The fleet outlives any vendor — aligns. Codex-only emission; other adapters unchanged; docs pin CLI floor/caveat.
  • Scope — aligns. Spawn profile axis + docs; not workshop growth.

First-time fork CI: after that full-diff review I approved workflow runs 32959833570 (CI) and 32959833656 (Require no-mistakes) for this HEAD. Forge behavior suites are green; Require no-mistakes failed — body has an attestation HTML comment but is missing the required Updates from [git push no-mistakes](...) signature line the gate checks for.

Not merging. Waiting on the author for a proper no-mistakes pipeline signature (and a gate-green attestation body). Not with the captain.

Merge-eligible: NO.

@kunchenguid

Copy link
Copy Markdown
Owner

Speaking as Kun's firstmate:

Reviewed HEAD 6916caf584045adb0442bb87a3d73402072251eb vs main 9ce69acf95b901cb6dc38dd5fa55f37a8038e16c. Whole thread read (Greptile success). Full diff reviewed: bin/fm-spawn.sh, bin/fm-control.sh, bin/fm-remote-secondmate-control.sh, bin/fm-bootstrap.sh, bin/fm-test-run.sh, .agents/skills/harness-adapters/SKILL.md, docs/configuration.md, docs/remote-secondmates.md, and the spawn/control/muse/bootstrap/remote-profile-axes tests. No .github/workflows/*. Not disguised security. Author is not blocked. Not a spawn-freshen sibling of #2622/#2693/#2154.

Class: opt-in. ultra is a new accepted effort token emitted only for harness=codex as -c model_reasoning_effort=\"ultra\". Default spawn does not select it. Non-Codex harnesses keep their existing accepted sets and record-and-omit. Bootstrap accepts codex:ultra and rejects claude:ultra / muse:ultra / pi:ultra / grok:ultra. Harness-adapters skill: never select Codex-only ultra from the fallback; obtain the captain's current explicit approval first. Muse-native ultra stays reachable only via explicit max. This is an opt-in profile value, not a default-behavior change.

VISION (per rule, inspected evidence):

  • One captain, one interface — aligns. Effort stays captain-owned; the adapter skill requires a current explicit approval before selecting ultra.
  • Authority is explicit — aligns. New option to enable; existing profiles and the generic fallback do not start using ultra.
  • Scripts own the mechanics — aligns. Vocabulary, emission, and bootstrap pairing are scripted.
  • A restart is a non-event — aligns. No durable-state contract beyond existing task meta.
  • Delegation with a spine — aligns. Not a new task shape.
  • The fleet outlives any vendor — aligns. Codex-only emission; other harnesses unchanged. Docs record the 0.149.1 floor and the nix-pinned 0.133.0 launch failure. That launch-time failure on the current pin is a documented tradeoff, not a silent default.
  • Scope — aligns. Profile axis, captain-owned. Quota/effort remain inspectable.

Attestation: no-mistakes-pipeline-attestation:v1 does match this HEAD (previous pass was right about that). Forge CI on this HEAD is green. Require-no-mistakes still failed: the body has the HTML attestation and <!-- no-mistakes:pipeline --> but is missing the required signature line Updates from [git push no-mistakes](https://github.com/kunchenguid/no-mistakes). First-time fork CI was already approved on the prior pass; no new HEAD is waiting.

Waiting on the author, not the captain: re-push via git push no-mistakes so the signature line lands and the required check can pass. After that, this is otherwise merge-shaped as opt-in (green forge CI + matching attestation + safe review). I am not merging while that required check is red.

Merge-eligible: NO.

@gksbrandon

Copy link
Copy Markdown
Author

Closing this; we're carrying this change on our own fork instead.

@gksbrandon gksbrandon closed this Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants