diff --git a/scripts/ci-triage-minimax-run b/scripts/ci-triage-minimax-run index e4bb71c..04f9089 100755 --- a/scripts/ci-triage-minimax-run +++ b/scripts/ci-triage-minimax-run @@ -46,7 +46,7 @@ while [[ $# -gt 0 ]]; do *) echo "error: unknown argument '$1'" >&2; usage >&2; exit 1 ;; esac done -if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3[1m]"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash-Preview"; EFFORT="${EFFORT_ARG:-low}"; fi +if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3[1m]"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash"; EFFORT="${EFFORT_ARG:-low}"; fi [[ -z "$EFFORT" || "$EFFORT" =~ ^(low|medium|high|xhigh|max)$ ]] || { echo "error: --effort must be low|medium|high|xhigh|max" >&2; exit 1; } # --- CT-1 preflight ----------------------------------------------------------- diff --git a/scripts/explore-minimax-run b/scripts/explore-minimax-run index 2c98b56..8537576 100755 --- a/scripts/explore-minimax-run +++ b/scripts/explore-minimax-run @@ -46,7 +46,7 @@ while [[ $# -gt 0 ]]; do *) echo "error: unknown argument '$1'" >&2; usage >&2; exit 1 ;; esac done -if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash-Preview"; EFFORT="${EFFORT_ARG:-medium}"; fi +if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash"; EFFORT="${EFFORT_ARG:-medium}"; fi [[ -z "$EFFORT" || "$EFFORT" =~ ^(low|medium|high|xhigh|max)$ ]] || { echo "error: --effort must be low|medium|high|xhigh|max" >&2; exit 1; } [[ ${#ROOTS[@]} -gt 0 ]] || { echo "error: at least one --root required" >&2; exit 1; } diff --git a/scripts/mm-worktree-task b/scripts/mm-worktree-task index 0017b21..ca45383 100755 --- a/scripts/mm-worktree-task +++ b/scripts/mm-worktree-task @@ -33,7 +33,7 @@ Options: --docs all|recent|none Which item documents to bundle (default: recent) --tools "" Extra --allowedTools entries (comma-separated) --timeout Sub-session timeout (default: 1800) - --m3 Use MiniMax-M3[1m] instead of the default MiniMax-M3.1-Flash-Preview + --m3 Use MiniMax-M3[1m] instead of the default MiniMax-M3.1-Flash --effort Thinking depth low|medium|high|xhigh|max (default: max; not sent with --m3 unless given) --gate "" Re-run this command in the worktree yourself, after @@ -105,7 +105,7 @@ while [[ $# -gt 0 ]]; do esac done -if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3[1m]"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash-Preview"; EFFORT="${EFFORT_ARG:-max}"; fi +if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3[1m]"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash"; EFFORT="${EFFORT_ARG:-max}"; fi [[ -z "$EFFORT" || "$EFFORT" =~ ^(low|medium|high|xhigh|max)$ ]] || { err "--effort must be low|medium|high|xhigh|max"; exit 1; } case "$DOCS" in all|recent|none) ;; *) err "--docs must be all|recent|none"; exit 1 ;; esac diff --git a/scripts/review-loop-run b/scripts/review-loop-run index 1bf4086..f48c608 100755 --- a/scripts/review-loop-run +++ b/scripts/review-loop-run @@ -259,7 +259,7 @@ cmd_launch() { *) die "unknown option: $1" 2 ;; esac done - if [[ $use_m3 -eq 1 ]]; then model="MiniMax-M3"; effort="$effort_arg"; else model="MiniMax-M3.1-Flash-Preview"; effort="${effort_arg:-max}"; fi + if [[ $use_m3 -eq 1 ]]; then model="MiniMax-M3"; effort="$effort_arg"; else model="MiniMax-M3.1-Flash"; effort="${effort_arg:-max}"; fi [[ -z "$effort" || "$effort" =~ ^(low|medium|high|xhigh|max)$ ]] || die "--effort must be low|medium|high|xhigh|max" 2 [[ " $KINDS " == *" $kind "* ]] || die "--kind must be one of: $KINDS" 2 [[ "$name" =~ ^[A-Za-z0-9._-]+$ ]] || die "--name must match ^[A-Za-z0-9._-]+\$" 2 diff --git a/scripts/review-minimax-run b/scripts/review-minimax-run index 841d57c..ab0cc8c 100755 --- a/scripts/review-minimax-run +++ b/scripts/review-minimax-run @@ -47,7 +47,7 @@ while [[ $# -gt 0 ]]; do *) echo "error: unknown argument '$1'" >&2; usage >&2; exit 1 ;; esac done -if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3[1m]"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash-Preview"; EFFORT="${EFFORT_ARG:-max}"; fi +if [[ $USE_M3 -eq 1 ]]; then MODEL="MiniMax-M3[1m]"; EFFORT="$EFFORT_ARG"; else MODEL="MiniMax-M3.1-Flash"; EFFORT="${EFFORT_ARG:-max}"; fi [[ -z "$EFFORT" || "$EFFORT" =~ ^(low|medium|high|xhigh|max)$ ]] || { echo "error: --effort must be low|medium|high|xhigh|max" >&2; exit 1; } # --- RM-1 preflight ----------------------------------------------------------- diff --git a/specs/ci-triage-minimax-run.spec.md b/specs/ci-triage-minimax-run.spec.md index 373ea20..fa8bcbd 100644 --- a/specs/ci-triage-minimax-run.spec.md +++ b/specs/ci-triage-minimax-run.spec.md @@ -20,7 +20,7 @@ ci-triage-minimax-run --repo --run [--job ] \ | `--tail` | 2000 | Log lines fetched (gac `--tail`) | | `--max-turns` | 25 | Sub-session turn cap | | `--timeout` | 300 | Internal timeout (logs-only task; well under the harness Bash 600s cap) | -| `--m3` | off | Use `MiniMax-M3[1m]` instead of the default `MiniMax-M3.1-Flash-Preview` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | +| `--m3` | off | Use `MiniMax-M3[1m]` instead of the default `MiniMax-M3.1-Flash` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | | `--effort ` | `low` | Thinking depth `low\|medium\|high\|xhigh\|max`, passed to `ask-minimax-run --effort`. Any other value exits 1. | | `--dryrun`, `-n` | off | Print resolved config, the gac command, the full prompt, and the sub-session command line; invoke neither gac's log fetch nor the sub-session | diff --git a/specs/explore-minimax-run.spec.md b/specs/explore-minimax-run.spec.md index e31449c..582bb2f 100644 --- a/specs/explore-minimax-run.spec.md +++ b/specs/explore-minimax-run.spec.md @@ -20,7 +20,7 @@ explore-minimax-run --root [--root ...] \ | `--breadth` | `medium` | `medium` (stop when confidently answered) or `very-thorough` (full sweep, alternate naming conventions) | | `--max-turns` | 40 | Sub-session turn cap | | `--timeout` | 540 | Internal timeout in seconds (keeps callers under the harness Bash 600s cap) | -| `--m3` | off | Use `MiniMax-M3` instead of the default `MiniMax-M3.1-Flash-Preview` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | +| `--m3` | off | Use `MiniMax-M3` instead of the default `MiniMax-M3.1-Flash` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | | `--effort ` | `medium` | Thinking depth `low\|medium\|high\|xhigh\|max`, passed to `ask-minimax-run --effort`. Any other value exits 1. | ## Behaviour / requirements diff --git a/specs/mm-worktree-task.spec.md b/specs/mm-worktree-task.spec.md index af79ef9..ab97ec3 100644 --- a/specs/mm-worktree-task.spec.md +++ b/specs/mm-worktree-task.spec.md @@ -26,7 +26,7 @@ mm-worktree-task [OPTIONS] | `--docs all\|recent\|none` | `recent` | Which item documents to bundle. `recent` = documents updated in the last 14 days; falls back to `all` if the CLI does not expose update dates. The full list of document names is always included in the prompt regardless of which are bundled. | | `--tools ""` | โ€” | Extra `--allowedTools` entries merged into the default allowlist (comma-separated). | | `--timeout ` | `1800` | Max seconds the sub-session may run (`timeout ` wrapper). | -| `--m3` | off | Use `MiniMax-M3[1m]` instead of the default `MiniMax-M3.1-Flash-Preview` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | +| `--m3` | off | Use `MiniMax-M3[1m]` instead of the default `MiniMax-M3.1-Flash` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | | `--effort ` | `max` | Thinking depth `low\|medium\|high\|xhigh\|max`, passed to `ask-minimax-run --effort`. Any other value exits 1. | | `--gate ""` | โ€” | Supervisor gate: after the sub-session exits, `mm-worktree-task` itself re-runs this command in the worktree against the sub-session's LAST commit and appends a `## Supervisor gate` section to the result file (see Behaviour ยง8). Never trust the agent's own "tests pass" claim โ€” this re-run is the check. | | `--gate-timeout ` | `900` | Max seconds `--gate`'s command may run before it is killed and recorded as a timed-out (failed) gate. | diff --git a/specs/review-loop-run.spec.md b/specs/review-loop-run.spec.md index 7e0549f..6160c48 100644 --- a/specs/review-loop-run.spec.md +++ b/specs/review-loop-run.spec.md @@ -35,7 +35,7 @@ review-loop-run --help | `--prev` | auto | Explicit previous-round result file (overrides the auto lookup). | | `--tools` | kind default | Extra `--allowedTools` entries (comma-separated). | | `--timeout` | 1500 | Seconds before the sub-session is killed. | -| `--m3` | off | Use `MiniMax-M3` instead of the default `MiniMax-M3.1-Flash-Preview` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | +| `--m3` | off | Use `MiniMax-M3` instead of the default `MiniMax-M3.1-Flash` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | | `--effort ` | `max` | Thinking depth `low\|medium\|high\|xhigh\|max`, passed to `ask-minimax-run --effort`. Any other value exits 1. | | `--project` | current repo root | Repo to `cd` into before launching. | | `--dryrun`, `-n` | off | Print the assembled prompt and the exact launch command; write nothing; launch nothing. | diff --git a/specs/review-minimax-run.spec.md b/specs/review-minimax-run.spec.md index 7cf6083..982e71d 100644 --- a/specs/review-minimax-run.spec.md +++ b/specs/review-minimax-run.spec.md @@ -21,7 +21,7 @@ review-minimax-run --worktree [--base ] [--out ] \ | `--max-diff-lines` | 6000 | Diff budget; larger diffs exit 1 with the count | | `--max-turns` | 40 | Sub-session turn cap | | `--timeout` | 540 | Internal timeout (keeps callers under the harness Bash 600s cap). Why: a longer run invoked synchronously from a skill is killed by the harness with no findings file. | -| `--m3` | off | Use `MiniMax-M3[1m]` instead of the default `MiniMax-M3.1-Flash-Preview` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | +| `--m3` | off | Use `MiniMax-M3[1m]` instead of the default `MiniMax-M3.1-Flash` (1M window natively, always thinks). No effort is sent unless `--effort` is given. | | `--effort ` | `max` | Thinking depth `low\|medium\|high\|xhigh\|max`, passed to `ask-minimax-run --effort`. Any other value exits 1. | | `--dryrun`, `-n` | off | Print resolved config, materialised-input plan, full prompt, and the exact sub-session command line; create/invoke nothing beyond the scratch dir | diff --git a/tests/test-ci-triage-minimax-run.sh b/tests/test-ci-triage-minimax-run.sh index 123a5fc..c376baf 100755 --- a/tests/test-ci-triage-minimax-run.sh +++ b/tests/test-ci-triage-minimax-run.sh @@ -80,7 +80,7 @@ echo "== dryrun ==" DRY_OUT="$("$SCRIPT" --repo skynet/gac-scratch --run 42 --dryrun 2>&1)" assert_eq "dryrun exits 0" 0 $? assert_contains "dryrun shows gac command" "inspect skynet/gac-scratch --run 42" "$DRY_OUT" -assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash-Preview" "$DRY_OUT" +assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash" "$DRY_OUT" assert_contains "dryrun default effort low" "--effort low" "$DRY_OUT" assert_contains "dryrun defers fetch" "not fetched in dryrun" "$DRY_OUT" assert_contains "dryrun shows job passthrough default" "job: auto" "$DRY_OUT" diff --git a/tests/test-mm-worktree-task.sh b/tests/test-mm-worktree-task.sh index c47fbb5..61c19aa 100755 --- a/tests/test-mm-worktree-task.sh +++ b/tests/test-mm-worktree-task.sh @@ -83,7 +83,7 @@ assert_contains "dryrun shows worktree path" ".claude/worktrees/mm-testslug" "$D assert_contains "dryrun shows branch name" "mm/testslug" "$DRY_OUT" assert_contains "dryrun shows bundle path" "testslug-bundle.md" "$DRY_OUT" assert_contains "dryrun shows the ask-minimax-run command" "ask-minimax-run" "$DRY_OUT" -assert_contains "dryrun command defaults to Flash model" 'MiniMax-M3.1-Flash-Preview' "$DRY_OUT" +assert_contains "dryrun command defaults to Flash model" 'MiniMax-M3.1-Flash' "$DRY_OUT" assert_contains "dryrun default effort max" "--effort max" "$DRY_OUT" M3_OUT="$("$SCRIPT" "$TEST_UUID" --slug testslug --m3 --dryrun 2>&1)" assert_eq "m3 dryrun exits 0" "0" "$?" diff --git a/tests/test-review-loop-run.sh b/tests/test-review-loop-run.sh index 576054a..11f0bbf 100755 --- a/tests/test-review-loop-run.sh +++ b/tests/test-review-loop-run.sh @@ -19,7 +19,7 @@ assert_contains "dryrun banner" "[dryrun]" "$out" assert_contains "nothing launched" "nothing launched" "$out" assert_contains "task text is the spec template" "OUT OF SCOPE: reporting that a symbol" "$out" assert_contains "context included" "Context: closes bug 1234" "$out" -assert_contains "defaults to Flash" "--model MiniMax-M3.1-Flash-Preview --effort max" "$out" +assert_contains "defaults to Flash" "--model MiniMax-M3.1-Flash --effort max" "$out" out_m3=$("$SCRIPT" launch --kind spec --name spec-Y --file "$TMP/spec.diff" --m3 -n 2>&1) assert_contains "--m3 uses M3 with no effort" "--model MiniMax-M3 --allowedTools" "$out_m3" assert_contains "output path uses tag" "spec-X-r1-result.md" "$out" diff --git a/tests/test-review-minimax-run.sh b/tests/test-review-minimax-run.sh index c1b0aeb..c94db15 100755 --- a/tests/test-review-minimax-run.sh +++ b/tests/test-review-minimax-run.sh @@ -78,7 +78,7 @@ echo "== dryrun ==" DRY_OUT="$("$SCRIPT" --worktree "$REPO" --dryrun 2>&1)" assert_eq "dryrun exits 0" 0 $? assert_contains "dryrun shows branch" "branch: feature" "$DRY_OUT" -assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash-Preview" "$DRY_OUT" +assert_contains "dryrun defaults to Flash" "MiniMax-M3.1-Flash" "$DRY_OUT" assert_contains "dryrun default effort max" "--effort max" "$DRY_OUT" M3_OUT="$("$SCRIPT" --worktree "$REPO" --m3 --dryrun 2>&1)" assert_eq "m3 dryrun exits 0" 0 $?