You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: enable gpt-5.6-luna max reasoning for crew dispatch - #4497
For easier crew work, use gpt-5.6-luna at max reasoning effort instead of the default Sol model. Keep stronger models for genuinely hard work.
What Changed
Allow Codex profiles to use max reasoning with gpt-5.6-luna.
Pass Luna’s max reasoning setting to Codex and document the supported configuration.
Update validation and spawn tests for supported and unsupported model combinations.
Risk Assessment
✅ Low: The change is a narrow, exact-model-gated extension; validation and launch mapping agree, unsupported effort remains metadata-only, and no bypass path was found.
Testing
The targeted spawn regression, bootstrap validation, isolated real-tool bootstrap runs, and real-tmux launcher scenarios passed. The broader bootstrap test encountered only the unrelated host Herdr fixture conflict.
Live validation: ✅ go - 2 of 2 scenarios driven live against the product
Scenario
Result
Live
Evidence
Configure easier crew work as Codex gpt-5.6-luna at max and launch a crewmate; bootstrap accepts it and the pane receives the Luna max reasoning flag.
✅ pass
live
live-bootstrap-real-tools.log and live-real-tmux-luna-max.log
Try to assign max to gpt-5.6-sol; bootstrap rejects the profile and the launcher omits the unsupported max flag while preserving the model.
✅ pass
live
live-bootstrap-real-tools.log and live-real-tmux-luna-max.log
model=gpt-5.6-luna status=0
PRESENTATION_UNAVAILABLE: lavish-axi (requires >=0.1.46; install: npm install -g lavish-axi && lavish-axi setup hooks) - nonvisual work may proceed with plain-text decisions and reports; install or upgrade before using Lavish
model=gpt-5.6-sol status=0
PRESENTATION_UNAVAILABLE: lavish-axi (requires >=0.1.46; install: npm install -g lavish-axi && lavish-axi setup hooks) - nonvisual work may proceed with plain-text decisions and reports; install or upgrade before using Lavish
CREW_DISPATCH: invalid config/crew-dispatch.json - invalid effort: codex:max
model=gpt-5.6-luna
spawn_status=0
spawn_output:
warning: /tmp/fm-real-tmux-luna-max.f38MdG/gpt-5.6-luna/home/data/live-gpt-5-6-luna-max/launch-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 live-gpt-5-6-luna-max harness=codex kind=ship mode=no-mistakes yolo=off window=firstmate:fm-live-gpt-5-6-luna-max worktree=/tmp/fm-real-tmux-luna-max.f38MdG/gpt-5.6-luna/worktree
codex_argv:
--model
gpt-5.6-luna
-c
model_reasoning_effort="max"
--dangerously-bypass-approvals-and-sandbox
-c
notify=["bash","-c","touch '/tmp/fm-real-tmux-luna-max.f38MdG/gpt-5.6-luna/home/state/live-gpt-5-6-luna-max.turn-ended'"]
FIRSTMATE_OP: v1 launch-brief: # Task
## Captain's intent
brief for live-gpt-5-6-luna-max
## Firstmate spec
Exercise the spawn behavior under test.
# Current worker role contract
When this task works on Firstmate itself, this section supersedes every earlier brief instruction about your role and identity.
When this task works on Firstmate itself, the repository root `AGENTS.md` (also imported by `CLAUDE.md`) is the primary/secondmate supervisor's contract: follow this brief instead of that supervisor contract.
For that Firstmate task, do the assigned work yourself and report to firstmate; do not adopt the supervisor identity, delegate the task, run fleet supervision, or address the captain.
This exception preserves this brief's safety and authority boundaries and applicable contributor guidance, including `CONTRIBUTING.md` and `firstmate-coding-guidelines` for Firstmate changes.
Other projects retain their own instructions unchanged.
# Current no-mistakes intent contract
This section supersedes every earlier brief instruction about constructing `--intent`, but not later clarifications actually supplied by the captain.
Use everything under `## Captain intent authorized for --intent` through the end of this brief, including any nested subheadings but excluding that heading, plus any later words the captain actually supplied as `--intent`; never include Firstmate specification or other mixed Task content.
Preserve those words without adding speaker labels or direct address.
Firstmate-authored constraints, acceptance criteria, implementation details, decisions, and tradeoffs are specification, not captain intent.
The Definition of done's rule that `--intent` must be self-sufficient still governs the string you pass: resolve any report, decision, or PR the intent below refers to into its substance rather than passing the pointer.
## Captain intent authorized for --intent
brief for live-gpt-5-6-luna-max
model=gpt-5.6-sol
spawn_status=0
spawn_output:
warning: /tmp/fm-real-tmux-luna-max.f38MdG/gpt-5.6-sol/home/data/live-gpt-5-6-sol-max/launch-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 live-gpt-5-6-sol-max harness=codex kind=ship mode=no-mistakes yolo=off window=firstmate:fm-live-gpt-5-6-sol-max worktree=/tmp/fm-real-tmux-luna-max.f38MdG/gpt-5.6-sol/worktree
codex_argv:
--model
gpt-5.6-sol
--dangerously-bypass-approvals-and-sandbox
-c
notify=["bash","-c","touch '/tmp/fm-real-tmux-luna-max.f38MdG/gpt-5.6-sol/home/state/live-gpt-5-6-sol-max.turn-ended'"]
FIRSTMATE_OP: v1 launch-brief: # Task
## Captain's intent
brief for live-gpt-5-6-sol-max
## Firstmate spec
Exercise the spawn behavior under test.
# Current worker role contract
When this task works on Firstmate itself, this section supersedes every earlier brief instruction about your role and identity.
When this task works on Firstmate itself, the repository root `AGENTS.md` (also imported by `CLAUDE.md`) is the primary/secondmate supervisor's contract: follow this brief instead of that supervisor contract.
For that Firstmate task, do the assigned work yourself and report to firstmate; do not adopt the supervisor identity, delegate the task, run fleet supervision, or address the captain.
This exception preserves this brief's safety and authority boundaries and applicable contributor guidance, including `CONTRIBUTING.md` and `firstmate-coding-guidelines` for Firstmate changes.
Other projects retain their own instructions unchanged.
# Current no-mistakes intent contract
This section supersedes every earlier brief instruction about constructing `--intent`, but not later clarifications actually supplied by the captain.
Use everything under `## Captain intent authorized for --intent` through the end of this brief, including any nested subheadings but excluding that heading, plus any later words the captain actually supplied as `--intent`; never include Firstmate specification or other mixed Task content.
Preserve those words without adding speaker labels or direct address.
Firstmate-authored constraints, acceptance criteria, implementation details, decisions, and tradeoffs are specification, not captain intent.
The Definition of done's rule that `--intent` must be self-sufficient still governs the string you pass: resolve any report, decision, or PR the intent below refers to into its substance rather than passing the pointer.
## Captain intent authorized for --intent
brief for live-gpt-5-6-sol-max
done
ok - allowlist=absent preserves the operational floor and filters only when opted in
ok - allowlist=missing-config preserves the operational floor and filters only when opted in
ok - allowlist=enabled preserves the operational floor and filters only when opted in
ok - allowlist=empty preserves the operational floor and filters only when opted in
ok - invalid allowlist names refuse before launch or task publication
ok - inaccessible config with present allowlist refuses before launch or task publication
ok - inaccessible config with absent allowlist refuses before launch or task publication
ok - inaccessible ancestor with present allowlist refuses before launch or task publication
ok - inaccessible ancestor with absent allowlist refuses before launch or task publication
ok - secondmate launch inherits the allowlist for subsequent worker launches
ok - local inheritance preserves the allowlist on source errors and mirrors proven absence
ok - remote inheritance preserves the allowlist on source errors and mirrors proven absence
ok - fm-spawn: actual ship/scout launch commands deliver the worker role contract
ok - no --model/--effort records defaults and types the claude launch instructions
ok - non-cursor launches clear inherited Cursor identity markers
ok - relative home overrides ignore CDPATH and become absolute before spawn launch construction
ok - FM_HOME defaults resolve relative paths and preserve absolute spellings
ok - absolute override spellings are preserved in spawn launch paths
ok - unresolvable relative spawn overrides fail with named diagnostics
ok - active crew-dispatch profile requires an explicit harness for ship spawns
ok - active crew-dispatch profile requires an explicit harness for scout spawns
ok - active crew-dispatch profile allows an explicit resolved harness
ok - active crew-dispatch profile allows the legacy positional harness form
ok - active crew-dispatch profile allows the raw launch-command escape hatch
ok - claude receives --model and --effort profile flags
ok - codex receives --model and model_reasoning_effort profile flags
ok - codex Luna receives --model and model_reasoning_effort max profile flags
ok - codex omits max for models without the catalog capability
ok - grok receives --model and --reasoning-effort profile flags
ok - grok omits unsupported max reasoning effort
ok - grok omits unsupported xhigh reasoning effort
ok - cursor receives its model-qualified reasoning class and exact task workspace
ok - cursor refuses model ids absent from its resolved binary's live catalog
ok - cursor preserves the requested model when its live catalog is unreachable
ok - opencode receives --model and omits the unsupported effort axis
ok - native effort validator checks harness and model as separate axes
ok - Ultra is explicit for native Pi and Pi-signed, including direct-PR, and refuses unsupported profiles before provisioning
ok - batch dispatch preserves native Ultra in metadata and launch flags
ok - pi receives --model and --thinking max profile flags
ok - Pi launch probing omits --tui-mode on older Pi and preserves it on supporting Pi
ok - pi-signed shares Pi launch semantics while preserving its configured and recorded identity
ok - pi-signed refuses safely and actionably when the selected executable is unavailable
ok - pi-signed is a distinct persistent secondmate runtime with shared Pi supervision semantics
ok - batch dispatch forwards shared --harness, --model, and --effort to every pair
ok - claude forwards firstmate's CLAUDE_CONFIG_DIR so the crewmate uses the same credential store
ok - claude omits the config-dir prefix when firstmate runs with the single-store default
ok - config/claude-permission-mode=bypass launches exactly as an absent file does
ok - config/claude-permission-mode=auto replaces --dangerously-skip-permissions with --permission-mode auto
ok - config/claude-permission-mode=auto reaches scout launches too
ok - an unrecognized config/claude-permission-mode token refuses before any endpoint or metadata
ok - config/claude-permission-mode changes claude launches only
ok - non-claude harnesses do not receive the claude CLAUDE_CONFIG_DIR prefix
ok - a claude task launch establishes only Firstmate's task control channels through the system prompt
ok - a persistent claude secondmate keeps its supervisor contract without a task-worker authority overlay
ok - a claude crewmate launch carries the attribution-off policy in its own settings
ok - a claude secondmate launch carries the attribution-off policy too
ok - active crew-dispatch profile does not block secondmate launches
# all fm-spawn-dispatch-profile tests passed
⚠️tests/fm-bootstrap.test.sh:577 - The broader bootstrap behavior test stops because this host has /usr/bin/herdr while the fixture expects Herdr to be absent. Intent-specific bootstrap validation passed separately; rerun with Herdr unavailable or mask the host binary in the fixture.
Live validation: ✅ go - 2 of 2 scenarios driven live against the product
Scenario
Result
Live
Evidence
Configure easier crew work as Codex gpt-5.6-luna at max and launch a crewmate; bootstrap accepts it and the pane receives the Luna max reasoning flag.
✅ pass
live
live-bootstrap-real-tools.log and live-real-tmux-luna-max.log
Try to assign max to gpt-5.6-sol; bootstrap rejects the profile and the launcher omits the unsupported max flag while preserving the model.
✅ pass
live
live-bootstrap-real-tools.log and live-real-tmux-luna-max.log
bash tests/fm-spawn-dispatch-profile.test.sh
Focused test_crew_dispatch_validation execution
Real-tool bin/fm-bootstrap.sh runs with isolated homes for Luna and Sol
Real-tmux isolated bin/fm-spawn.sh launches for Luna and Sol
Intent
For easier crew work, use gpt-5.6-luna at max reasoning effort instead of the default Sol model. Keep stronger models for genuinely hard work.
What Changed
maxreasoning withgpt-5.6-luna.Risk Assessment
✅ Low: The change is a narrow, exact-model-gated extension; validation and launch mapping agree, unsupported effort remains metadata-only, and no bypass path was found.
Testing
The targeted spawn regression, bootstrap validation, isolated real-tool bootstrap runs, and real-tmux launcher scenarios passed. The broader bootstrap test encountered only the unrelated host Herdr fixture conflict.
Evidence: Live bootstrap dispatch validation
Source: Live bootstrap dispatch validation
Evidence: Live tmux launcher evidence
Source: Live tmux launcher evidence
Evidence: Focused spawn dispatch regression
Source: Focused spawn dispatch regression
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
tests/fm-bootstrap.test.sh:577- The broader bootstrap behavior test stops because this host has /usr/bin/herdr while the fixture expects Herdr to be absent. Intent-specific bootstrap validation passed separately; rerun with Herdr unavailable or mask the host binary in the fixture.bash tests/fm-spawn-dispatch-profile.test.shFocusedtest_crew_dispatch_validationexecutionReal-toolbin/fm-bootstrap.shruns with isolated homes for Luna and SolReal-tmux isolatedbin/fm-spawn.shlaunches for Luna and Sol✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.