diff --git a/CHANGES.md b/CHANGES.md index 4fb27e08..281bbd5d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,16 @@ Open Pstack lands on green: Mergify merges a ready PR to main once verify and exact-head live-gate pass and no review thread is unresolved, and a workflow resolves Unfret's own threads. A PR that touches `.github/` or the Mergify config also waits for Unfret, and workflow changes require operator queueing. This port applies the Cursor → Claude Code substitutions in skill bodies. Earlier drafts left them flagged; this revision resolves them. A later pass added a Codex build that shares the same skills; see [Codex port](#codex-port) below. +## Unreleased + +**GPT-6.2 Sol and Astra (#301).** The `sol` family moves to `codex:gpt-6.2-sol` and `astra` to `codex:gpt-6.2-astra`, both with efforts `low` to `ultra` and a default of `xhigh`, measured with `codex debug models` on Codex CLI 0.172.0. `codex:gpt-6.1-sol` joins `codex:gpt-5.6-sol` as a kept predecessor of `sol`, and `codex:gpt-6-astra` becomes a kept predecessor of `astra`, so a sheet that names them still resolves and `/setup-pstack` proposes the current model at the same effort. The default roles that name Sol (bug-fix, perf-issue, hillclimb, and the Sol lane of the arena and architect panels and interrogate reviewers) move from `codex:gpt-6.1-sol@max` to `codex:gpt-6.2-sol@xhigh`. + +**GPT-6.1 Terra (#305).** The catalog registers `codex:gpt-6.1-terra` as the optional `terra` family, with efforts `low` to `ultra` and a default of `xhigh`. + +**Gemini 4 Neon on Antigravity.** The catalog registers `agy:gemini-4-neon` as the optional `gemini-4-neon` family. Antigravity CLI 1.5.21 lists no bare `gemini-4-neon` ID, so each effort, `low` to `xhigh`, selects `gemini-4-neon-`, and the default is `high`. + +**Muse Wonder Full 1.0 lanes (#291).** Started from LuneDevelops's PR #292. The catalog registers `muse:muse-wonder-full-1.0` as an optional family with efforts `low` to `max` and a default of `xhigh`, so `/setup-pstack` can place it in a role or panel. Muse lanes keep the external runner from every parent, and a Muse writer still needs `muse writer sandbox: full-access`. The Muse preflight also passes a signed-in `muse usage` that prints `No usage data (server_sent_no_usage)`, with the evidence `subscription-no-usage-data`; measured with Muse Code 1.4.14, that output proves the login, and the model call still checks the allowance. The Muse notes were rechecked with Muse Code 1.4.25, which also accepts `ultra` as an effort; the runner does not offer it. + ## 1.21.0 adds Grok as a parent harness Open Pstack 1.21.0 keeps the Cursor pstack 0.15.36 sync. Default roles and panels are unchanged. diff --git a/plugins/pstack/skills/poteto-mode/references/model-catalog.md b/plugins/pstack/skills/poteto-mode/references/model-catalog.md index 0ac83350..0d91c884 100644 --- a/plugins/pstack/skills/poteto-mode/references/model-catalog.md +++ b/plugins/pstack/skills/poteto-mode/references/model-catalog.md @@ -9,11 +9,11 @@ Model and provider facts for [`provider-dispatch.md`](provider-dispatch.md), whi | Family | Label | Provider | Model | Default effort | Selectable efforts | Claude-native agents | Status | Upstream pstack choice | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | fable | Fable | claude | fable | max | low medium high xhigh max | `pstack-fable-` | optional | - | -| sol | GPT-6.1 Sol | codex | gpt-6.1-sol | max | low medium high xhigh max ultra | - | default | gpt-5.6-sol-max | +| sol | GPT-6.2 Sol | codex | gpt-6.2-sol | xhigh | low medium high xhigh max ultra | - | default | gpt-5.6-sol-max | | grok | Grok 4.7 | grok | grok-4.7 | xhigh | low medium high xhigh max | - | default | grok-4.7-xhigh-fast | | opus | Opus | claude | opus | max | low medium high xhigh max | `pstack-opus-` | default | opus | | luna | GPT-6 Luna | codex | gpt-6-luna | max | low medium high xhigh max | - | optional | - | -| astra | GPT-6 Astra | codex | gpt-6-astra | max | low medium high xhigh max ultra | - | optional | - | +| astra | GPT-6.2 Astra | codex | gpt-6.2-astra | xhigh | low medium high xhigh max ultra | - | optional | - | | sonnet | Sonnet | claude | sonnet | max | low medium high xhigh max | `pstack-sonnet-` | optional | - | | opus-5-5 | Opus 5.5 | claude | claude-opus-5-5 | max | low medium high xhigh max | `pstack-opus-5-5-` | optional | claude-opus-5-5-xhigh | | haiku-5-5 | Haiku 5.5 | claude | claude-haiku-5-5 | max | low medium high xhigh max | `pstack-haiku-5-5-` | optional | - | @@ -26,6 +26,9 @@ Model and provider facts for [`provider-dispatch.md`](provider-dispatch.md), whi | gemini-3.8-flash | Gemini 3.8 Flash (Antigravity) | agy | gemini-3.8-flash | high | low medium high | - | optional | - | | composer-2.5 | Composer 2.5 (Cursor) | cursor | composer-2.5 | default | default | - | optional | - | | gemini-3.7-flash | Gemini 3.7 Flash (Cursor) | cursor | gemini-3.7-flash | high | low medium high | - | optional | - | +| muse-wonder-full-1.0 | Muse Wonder Full 1.0 | muse | muse-wonder-full-1.0 | xhigh | low medium high xhigh max | - | optional | - | +| terra | GPT-6.1 Terra | codex | gpt-6.1-terra | xhigh | low medium high xhigh max ultra | - | optional | - | +| gemini-4-neon | Gemini 4 Neon (Antigravity) | agy | gemini-4-neon | high | low medium high xhigh | - | optional | - | A family is `default` when a role default names it and `optional` otherwise. A Claude-native agent exists for each selectable effort of a Claude family. @@ -45,13 +48,19 @@ Effort in the model ID: for these families the effort selects the CLI model, and | gemini-3.7-flash | low | `gemini-3.7-flash-low` | | gemini-3.7-flash | medium | `gemini-3.7-flash-medium` | | gemini-3.7-flash | high | `gemini-3.7-flash-high` | +| gemini-4-neon | low | `gemini-4-neon-low` | +| gemini-4-neon | medium | `gemini-4-neon-medium` | +| gemini-4-neon | high | `gemini-4-neon-high` | +| gemini-4-neon | xhigh | `gemini-4-neon-xhigh` | ## Kept predecessors and normalization | Provider | Kept model | Family | Current model | Selectable efforts | | --- | --- | --- | --- | --- | -| codex | gpt-5.6-sol | sol | gpt-6.1-sol | low medium high xhigh max ultra | +| codex | gpt-5.6-sol | sol | gpt-6.2-sol | low medium high xhigh max ultra | +| codex | gpt-6.1-sol | sol | gpt-6.2-sol | low medium high xhigh max ultra | | grok | grok-4.6 | grok | grok-4.7 | low medium high xhigh max | +| codex | gpt-6-astra | astra | gpt-6.2-astra | low medium high xhigh max ultra | Rolling aliases: @@ -227,13 +236,13 @@ The runner refuses an access mode outside a provider's Access modes cell before - Host prerequisites: none. - State paths: `~/.config/muse/` (the login in `auth.json`, which the CLI reads and refreshes, `settings.json` and `trust.json`); `~/.local/share/muse/` (the session index, model catalog cache, plugins, skills and runtime state it writes) and `~/Library/Application Support/Muse/` on macOS. - Child environment: only `PATH` `HOME` `USER` `LOGNAME` `SHELL` `TMPDIR` `LANG` `TERM` `COLORTERM` `TZ` `HTTP_PROXY` `HTTPS_PROXY` `NO_PROXY` `ALL_PROXY` `http_proxy` `https_proxy` `no_proxy` `all_proxy` `SSL_CERT_FILE` `SSL_CERT_DIR` `NODE_EXTRA_CA_CERTS` `META_API_KEY`, and variables starting with `LC_`, `XDG_`. -- Measured with Muse Code 1.4.14 on macOS. Every flag in the argv is in the recorded `muse --help` and `muse exec --help`. A lane runs `exec --json --model --prompt-file --workspace --worktree off --approval-mode never --approval-judge off` with web tools, reminders, `request_user_input`, foreign personal context and the session log turned off. The effort is `--reasoning-effort `, omitted for `default`; Muse also accepts `none` and `minimal`, which the runner does not offer. The parent owns the worktree, so Muse creates none. No Muse family is registered, so a lane names a catalog model, such as `muse-spark-1.3` or `muse-wonder-1.0`. +- Measured with Muse Code 1.4.14 on macOS and rechecked with Muse Code 1.4.25. Every flag in the argv is in the recorded `muse --help` and `muse exec --help`. A lane runs `exec --json --model --prompt-file --workspace --worktree off --approval-mode never --approval-judge off` with web tools, reminders, `request_user_input`, foreign personal context and the session log turned off. The effort is `--reasoning-effort `, omitted for `default`; Muse 1.4.25 also accepts `none`, `minimal` and `ultra`, which the runner does not offer. The parent owns the worktree, so Muse creates none. The registered family is `muse-wonder-full-1.0` (Muse Wonder Full 1.0), with efforts `low` to `max` and a default of `xhigh`; a lane may also name any other Muse catalog model, such as `muse-spark-1.3`, as an unregistered pair. - A read-only lane adds `--disable-write --disable-shell`. The file-reading tools remain, and a write request fails with `writes are disabled for this session`. - No Muse writer is confined, so a writer needs the model sheet's opt-in (`isolated-write-full-access`); the runner refuses a bounded `isolated-write` lane before launch. An opted-in writer drops `--disable-write` and `--disable-shell` and keeps Muse's sandbox on. Measured in a linked worktree under the home directory, whose main repository and a sibling directory sat beside it: edits, shell writes and a Python run inside the worktree succeeded. The file tools refused every path outside the workspace (`absolute path is outside the workspace`, `path escapes workspace`) except the system temporary folders. The sandboxed shell failed outside the worktree with `Operation not permitted`, except that it wrote into the main repository's shared `.git`, `/tmp` and `$TMPDIR`. With `--disable-sandbox`, the file tools and the shell wrote into every outside target, so the runner never passes it. - With `--approval-mode never --approval-judge off`, a refused tool call returns its error to the model and the run continues. Muse reports `Agent delegation: auto unavailable: workspace is untrusted` on stderr, and the lane never passes `--trust-workspace`, so the workspace's skills and rules do not load. - Muse reads `~/.config/muse/settings.json` in every lane. Its `endpoint_transport` key reroutes every lane to another endpoint: on the measured host, a value that another tool wrote sent each lane to a proxy, and every turn failed with `still unauthorized after a token refresh`. The runner does not override it. - The environment is the base allowlist plus `META_API_KEY`. The account login is found through `HOME`. `muse login --help` says `META_API_KEY` always takes priority over the account login. -- The preflight runs `muse usage`. It passes when it exits 0 and starts with `Tier: `, with the fixed evidence `authenticated`, because the output names the subscription tier. It also passes when it exits 0 and starts with `No subscription allowance (api_key)`, with the fixed evidence `api-key`, because `META_API_KEY` is the login and the model call checks access. Exit 1 with `muse usage: not logged in:` is `unauthenticated`/77. Any other output is `child-failed`/70. +- The preflight runs `muse usage`. It passes when it exits 0 and starts with `Tier: `, with the fixed evidence `authenticated`, because the output names the subscription tier. It also passes when it exits 0 and starts with `No subscription allowance (api_key)`, with the fixed evidence `api-key`, because `META_API_KEY` is the login and the model call checks access. It also passes when it exits 0 and starts with `No usage data (server_sent_no_usage)`, with the fixed evidence `subscription-no-usage-data`: measured with Muse Code 1.4.14 on Linux, a signed-in account whose window had seen no use printed `No usage data (server_sent_no_usage): the server sent no usage data for this subscription; this can happen before your first use in a new window`, and `muse usage --json` gave `{"allowance":null,"reason":"server_sent_no_usage"}`. The server answered for the subscription, so the login holds and the model call checks access; on that host the model call then returned `API error 429 ... Subscription quota exhausted` as `child-failed`/70, so this output proves the login, not an allowance. Exit 1 with `muse usage: not logged in:` is `unauthenticated`/77. Any other output is `child-failed`/70. - The `--json` stream is one envelope per line, dispatched on `payload_type`. The reply is the text of the last `run.terminal.*` event, accepted only when its `terminal` is `completed` and the text is not empty. Another terminal is `child-failed`/70 with its reason, except that `model `` does not exist or you lack access` is `unavailable-model`/69. SIGINT exits 130 and SIGTERM 143, each with no terminal event, which is `cancelled`/130; a stream with no terminal event otherwise is `malformed-output`/65. The session is the `session` stream ID, and usage sums the `run.usage` event's per-model tokens. No cost is reported. - `run.model.configured` repeats the requested model, and no event was shown to name a different served model, so the model proof is the pinned argv (`pinned-argv`). @@ -247,18 +256,18 @@ The complete first-run sheet. A sheet that lacks a role uses that role's line he Provider-qualified per-role choices. Read the installed pstack provider-dispatch reference before dispatching a configured role. Every documented role remains present. `inherit-parent` and `auto` use the parent model natively and still count as one panel lane. feature, refactoring: grok:grok-4.7@xhigh -bug-fix: codex:gpt-6.1-sol@max -perf-issue: codex:gpt-6.1-sol@max -hillclimb: codex:gpt-6.1-sol@max +bug-fix: codex:gpt-6.2-sol@xhigh +perf-issue: codex:gpt-6.2-sol@xhigh +hillclimb: codex:gpt-6.2-sol@xhigh judgment and prose: claude:opus@max hardest tasks: claude:opus@max how explorer: grok:grok-4.7@xhigh how explainer: claude:opus@max why investigators, synthesizer: inherit-parent reflect tooling, judgment, divergent, synthesizer: inherit-parent -arena runners: claude:opus@max, codex:gpt-6.1-sol@max, grok:grok-4.7@xhigh -arena cross-judge pool: claude:opus@max, codex:gpt-6.1-sol@max, grok:grok-4.7@xhigh +arena runners: claude:opus@max, codex:gpt-6.2-sol@xhigh, grok:grok-4.7@xhigh +arena cross-judge pool: claude:opus@max, codex:gpt-6.2-sol@xhigh, grok:grok-4.7@xhigh swarm workers: grok:grok-4.7@xhigh -architect runners: claude:opus@max, codex:gpt-6.1-sol@max, grok:grok-4.7@xhigh -interrogate reviewers: claude:opus@max, codex:gpt-6.1-sol@max, grok:grok-4.7@xhigh +architect runners: claude:opus@max, codex:gpt-6.2-sol@xhigh, grok:grok-4.7@xhigh +interrogate reviewers: claude:opus@max, codex:gpt-6.2-sol@xhigh, grok:grok-4.7@xhigh ``` diff --git a/plugins/pstack/skills/poteto-mode/scripts/runner/providers/fixtures/muse/usage-no-usage-data.txt b/plugins/pstack/skills/poteto-mode/scripts/runner/providers/fixtures/muse/usage-no-usage-data.txt new file mode 100644 index 00000000..f1ce1722 --- /dev/null +++ b/plugins/pstack/skills/poteto-mode/scripts/runner/providers/fixtures/muse/usage-no-usage-data.txt @@ -0,0 +1,2 @@ +No usage data (server_sent_no_usage): the server sent no usage data for this subscription; this can happen before your first use in a new window + diff --git a/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.test.ts b/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.test.ts index e104fb3b..62e32079 100644 --- a/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.test.ts +++ b/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.test.ts @@ -45,6 +45,15 @@ describe("muse preflight", () => { expect(muse.preflight.classify({ exitCode: 0, stdout: "No subscription allowance (api_key)\n", stderr: "" }, lane())) .toEqual({ kind: "passed", evidence: "api-key" }); }); + + it("passes a signed-in `muse usage` whose server sent no usage data, and keeps any other output inconclusive", () => { + expect(muse.preflight.classify({ exitCode: 0, stdout: fixture("usage-no-usage-data.txt"), stderr: "" }, lane())) + .toEqual({ kind: "passed", evidence: "subscription-no-usage-data" }); + expect(muse.preflight.classify({ exitCode: 1, stdout: fixture("usage-no-usage-data.txt"), stderr: "" }, lane())) + .toEqual({ kind: "inconclusive" }); + expect(muse.preflight.classify({ exitCode: 0, stdout: "No usage data (network_error): offline\n", stderr: "" }, lane())) + .toEqual({ kind: "inconclusive" }); + }); }); describe("muse parse", () => { diff --git a/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.ts b/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.ts index 6794ce6e..376d7de0 100644 --- a/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.ts +++ b/plugins/pstack/skills/poteto-mode/scripts/runner/providers/muse.ts @@ -5,6 +5,12 @@ import { BASE_ALLOWLIST, BASE_PREFIXES, effortArgs, finiteNumber, nullableString // SIGINT exits 130 and SIGTERM 143, each with no terminal event. Measured with Muse Code 1.4.14. const SIGNAL_EXITS = [130, 143]; +const SIGNED_IN_USAGE: readonly (readonly [prefix: string, evidence: string])[] = [ + ["Tier: ", "authenticated"], + ["No subscription allowance (api_key)", "api-key"], + ["No usage data (server_sent_no_usage)", "subscription-no-usage-data"], +]; + function events(stdout: string): JsonObject[] | null { const parsed: JsonObject[] = []; for (const line of stdout.split("\n")) { @@ -74,8 +80,10 @@ export const muse = adapter({ argv: () => ["usage"], retryAfterUnauthenticatedMs: null, classify(run) { - if (run.exitCode === 0 && run.stdout.startsWith("Tier: ")) return { kind: "passed", evidence: "authenticated" }; - if (run.exitCode === 0 && run.stdout.startsWith("No subscription allowance (api_key)")) return { kind: "passed", evidence: "api-key" }; + if (run.exitCode === 0) { + const signedIn = SIGNED_IN_USAGE.find(([prefix]) => run.stdout.startsWith(prefix)); + if (signedIn !== undefined) return { kind: "passed", evidence: signedIn[1] }; + } return run.exitCode === 1 && /^muse usage: not logged in:/m.test(run.stderr) ? { kind: "unauthenticated" } : { kind: "inconclusive" }; }, }, @@ -119,13 +127,13 @@ export const muse = adapter({ "`~/.local/share/muse/` (the session index, model catalog cache, plugins, skills and runtime state it writes) and `~/Library/Application Support/Muse/` on macOS", ], notes: [ - "Measured with Muse Code 1.4.14 on macOS. Every flag in the argv is in the recorded `muse --help` and `muse exec --help`. A lane runs `exec --json --model --prompt-file --workspace --worktree off --approval-mode never --approval-judge off` with web tools, reminders, `request_user_input`, foreign personal context and the session log turned off. The effort is `--reasoning-effort `, omitted for `default`; Muse also accepts `none` and `minimal`, which the runner does not offer. The parent owns the worktree, so Muse creates none. No Muse family is registered, so a lane names a catalog model, such as `muse-spark-1.3` or `muse-wonder-1.0`.", + "Measured with Muse Code 1.4.14 on macOS and rechecked with Muse Code 1.4.25. Every flag in the argv is in the recorded `muse --help` and `muse exec --help`. A lane runs `exec --json --model --prompt-file --workspace --worktree off --approval-mode never --approval-judge off` with web tools, reminders, `request_user_input`, foreign personal context and the session log turned off. The effort is `--reasoning-effort `, omitted for `default`; Muse 1.4.25 also accepts `none`, `minimal` and `ultra`, which the runner does not offer. The parent owns the worktree, so Muse creates none. The registered family is `muse-wonder-full-1.0` (Muse Wonder Full 1.0), with efforts `low` to `max` and a default of `xhigh`; a lane may also name any other Muse catalog model, such as `muse-spark-1.3`, as an unregistered pair.", "A read-only lane adds `--disable-write --disable-shell`. The file-reading tools remain, and a write request fails with `writes are disabled for this session`.", "No Muse writer is confined, so a writer needs the model sheet's opt-in (`isolated-write-full-access`); the runner refuses a bounded `isolated-write` lane before launch. An opted-in writer drops `--disable-write` and `--disable-shell` and keeps Muse's sandbox on. Measured in a linked worktree under the home directory, whose main repository and a sibling directory sat beside it: edits, shell writes and a Python run inside the worktree succeeded. The file tools refused every path outside the workspace (`absolute path is outside the workspace`, `path escapes workspace`) except the system temporary folders. The sandboxed shell failed outside the worktree with `Operation not permitted`, except that it wrote into the main repository's shared `.git`, `/tmp` and `$TMPDIR`. With `--disable-sandbox`, the file tools and the shell wrote into every outside target, so the runner never passes it.", "With `--approval-mode never --approval-judge off`, a refused tool call returns its error to the model and the run continues. Muse reports `Agent delegation: auto unavailable: workspace is untrusted` on stderr, and the lane never passes `--trust-workspace`, so the workspace's skills and rules do not load.", "Muse reads `~/.config/muse/settings.json` in every lane. Its `endpoint_transport` key reroutes every lane to another endpoint: on the measured host, a value that another tool wrote sent each lane to a proxy, and every turn failed with `still unauthorized after a token refresh`. The runner does not override it.", "The environment is the base allowlist plus `META_API_KEY`. The account login is found through `HOME`. `muse login --help` says `META_API_KEY` always takes priority over the account login.", - "The preflight runs `muse usage`. It passes when it exits 0 and starts with `Tier: `, with the fixed evidence `authenticated`, because the output names the subscription tier. It also passes when it exits 0 and starts with `No subscription allowance (api_key)`, with the fixed evidence `api-key`, because `META_API_KEY` is the login and the model call checks access. Exit 1 with `muse usage: not logged in:` is `unauthenticated`/77. Any other output is `child-failed`/70.", + "The preflight runs `muse usage`. It passes when it exits 0 and starts with `Tier: `, with the fixed evidence `authenticated`, because the output names the subscription tier. It also passes when it exits 0 and starts with `No subscription allowance (api_key)`, with the fixed evidence `api-key`, because `META_API_KEY` is the login and the model call checks access. It also passes when it exits 0 and starts with `No usage data (server_sent_no_usage)`, with the fixed evidence `subscription-no-usage-data`: measured with Muse Code 1.4.14 on Linux, a signed-in account whose window had seen no use printed `No usage data (server_sent_no_usage): the server sent no usage data for this subscription; this can happen before your first use in a new window`, and `muse usage --json` gave `{\"allowance\":null,\"reason\":\"server_sent_no_usage\"}`. The server answered for the subscription, so the login holds and the model call checks access; on that host the model call then returned `API error 429 ... Subscription quota exhausted` as `child-failed`/70, so this output proves the login, not an allowance. Exit 1 with `muse usage: not logged in:` is `unauthenticated`/77. Any other output is `child-failed`/70.", "The `--json` stream is one envelope per line, dispatched on `payload_type`. The reply is the text of the last `run.terminal.*` event, accepted only when its `terminal` is `completed` and the text is not empty. Another terminal is `child-failed`/70 with its reason, except that `model `` does not exist or you lack access` is `unavailable-model`/69. SIGINT exits 130 and SIGTERM 143, each with no terminal event, which is `cancelled`/130; a stream with no terminal event otherwise is `malformed-output`/65. The session is the `session` stream ID, and usage sums the `run.usage` event's per-model tokens. No cost is reported.", "`run.model.configured` repeats the requested model, and no event was shown to name a different served model, so the model proof is the pinned argv (`pinned-argv`).", ], diff --git a/plugins/pstack/skills/poteto-mode/scripts/runner/registry.test.ts b/plugins/pstack/skills/poteto-mode/scripts/runner/registry.test.ts index 857b3072..140edfb8 100644 --- a/plugins/pstack/skills/poteto-mode/scripts/runner/registry.test.ts +++ b/plugins/pstack/skills/poteto-mode/scripts/runner/registry.test.ts @@ -86,14 +86,14 @@ describe("registry data", () => { } }); - it("keeps the default efforts, the Claude rolling aliases, and ultra on Sol and Astra", () => { + it("keeps the default efforts, the Claude rolling aliases, and ultra on Sol, Astra and Terra", () => { expect(REGISTRY.families.map((entry) => [entry.name, entry.defaultEffort])).toEqual([ ["fable", "max"], - ["sol", "max"], + ["sol", "xhigh"], ["grok", "xhigh"], ["opus", "max"], ["luna", "max"], - ["astra", "max"], + ["astra", "xhigh"], ["sonnet", "max"], ["opus-5-5", "max"], ["haiku-5-5", "max"], @@ -106,6 +106,9 @@ describe("registry data", () => { ["gemini-3.8-flash", "high"], ["composer-2.5", "default"], ["gemini-3.7-flash", "high"], + ["muse-wonder-full-1.0", "xhigh"], + ["terra", "xhigh"], + ["gemini-4-neon", "high"], ]); expect(REGISTRY.families.filter((entry) => entry.provider === "claude").map((entry) => [entry.name, entry.model])) .toEqual([["fable", "fable"], ["opus", "opus"], ["sonnet", "sonnet"], ["opus-5-5", "claude-opus-5-5"], ["haiku-5-5", "claude-haiku-5-5"]]); @@ -113,8 +116,8 @@ describe("registry data", () => { .map((entry) => [entry.name, entry.rolling!.revisionPrefix])) .toEqual([["fable", "claude-fable-"], ["opus", "claude-opus-"], ["sonnet", "claude-sonnet-"]]); expect(REGISTRY.families.filter((entry) => entry.provider === "codex").map((entry) => [entry.name, entry.model])) - .toEqual([["sol", "gpt-6.1-sol"], ["luna", "gpt-6-luna"], ["astra", "gpt-6-astra"]]); - expect(REGISTRY.families.filter((entry) => effortsOf(entry).includes("ultra")).map((entry) => entry.name)).toEqual(["sol", "astra"]); + .toEqual([["sol", "gpt-6.2-sol"], ["luna", "gpt-6-luna"], ["astra", "gpt-6.2-astra"], ["terra", "gpt-6.1-terra"]]); + expect(REGISTRY.families.filter((entry) => effortsOf(entry).includes("ultra")).map((entry) => entry.name)).toEqual(["sol", "astra", "terra"]); }); it("keeps family names and (provider, model) pairs unique, and efforts ordered", () => { @@ -328,7 +331,7 @@ describe("hand-written dispatch and setup rules", () => { expect(setup).toContain("that family's model stays the kept predecessor for steps 3 to 7: probe it, render it, and write it unchanged."); expect(setup).toContain("matching a kept predecessor to its family"); expect(REGISTRY.families.flatMap((entry) => (entry.predecessors ?? []).map((kept) => `${entry.provider}:${kept.model}`))) - .toEqual(expect.arrayContaining(["codex:gpt-5.6-sol", "grok:grok-4.6"])); + .toEqual(expect.arrayContaining(["codex:gpt-5.6-sol", "codex:gpt-6.1-sol", "codex:gpt-6-astra", "grok:grok-4.6"])); }); it("passes full access only to an opted-in external writer of the named provider, and setup keeps every setting line", () => { @@ -495,12 +498,53 @@ describe("resolveLane", () => { .toThrow("effort ultra is not offered for claude:sonnet"); }); - it("resolves Astra at max by default and passes ultra to Codex", () => { - const astra = resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6-astra" })); - expect([astra.family?.name, astra.effort]).toEqual(["astra", "max"]); - const ultra = resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6-astra", effort: "ultra" })); + it("resolves Sol at xhigh by default and keeps GPT-6.1 Sol as a predecessor", () => { + const sol = resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6.2-sol", effort: "xhigh" })); + expect([sol.family?.name, sol.effort]).toEqual(["sol", "xhigh"]); + const kept = resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6.1-sol", effort: "max" })); + expect([kept.family?.name, kept.model, kept.effort]).toEqual(["sol", "gpt-6.1-sol", "max"]); + }); + + it("resolves Astra at xhigh by default, passes ultra to Codex, and keeps GPT-6 Astra as a predecessor", () => { + const astra = resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6.2-astra", effort: "xhigh" })); + expect([astra.family?.name, astra.effort]).toEqual(["astra", "xhigh"]); + const ultra = resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6.2-astra", effort: "ultra" })); expect(ultra.adapter.launch.argv(ultra, { sharedGitDir: null, providerSidecar: null })) - .toEqual(expect.arrayContaining(["gpt-6-astra", 'model_reasoning_effort="ultra"'])); + .toEqual(expect.arrayContaining(["gpt-6.2-astra", 'model_reasoning_effort="ultra"'])); + expect(resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6-astra", effort: "ultra" })).family?.name) + .toBe("astra"); + }); + + it("resolves Terra at xhigh by default, passes ultra to Codex, and rejects default", () => { + const terra = (effort = "xhigh") => resolveLane(request({ parent: "claude", provider: "codex", model: "gpt-6.1-terra", effort })); + expect([terra().family?.name, terra().effort]).toEqual(["terra", "xhigh"]); + expect(terra("ultra").adapter.launch.argv(terra("ultra"), { sharedGitDir: null, providerSidecar: null })) + .toEqual(expect.arrayContaining(["gpt-6.1-terra", 'model_reasoning_effort="ultra"'])); + expect(() => terra("default")).toThrow("effort default is not offered for codex:gpt-6.1-terra"); + }); + + it("resolves Muse Wonder Full 1.0 at xhigh by default, passes each listed effort as a flag, and rejects ultra", () => { + const muse = (effort = "xhigh") => resolveLane(request({ parent: "claude", provider: "muse", model: "muse-wonder-full-1.0", effort })); + const lane = muse(); + expect([lane.family?.name, lane.family?.label, lane.model, lane.cliModel, lane.effort]) + .toEqual(["muse-wonder-full-1.0", "Muse Wonder Full 1.0", "muse-wonder-full-1.0", "muse-wonder-full-1.0", "xhigh"]); + expect(effortsOf(REGISTRY.families.find((entry) => entry.name === "muse-wonder-full-1.0")!)).toEqual(["low", "medium", "high", "xhigh", "max"]); + expect(muse("high").adapter.launch.argv(muse("high"), { sharedGitDir: null, providerSidecar: null })) + .toEqual(expect.arrayContaining(["--model", "muse-wonder-full-1.0", "--reasoning-effort", "high"])); + expect(() => muse("ultra")).toThrow("effort ultra is not offered for muse:muse-wonder-full-1.0; choose one of: low, medium, high, xhigh, max"); + expect(resolveLane(request({ parent: "claude", provider: "muse", model: "muse-wonder-1.0", effort: "high" })).family).toBeNull(); + }); + + it("maps each Gemini 4 Neon effort to its Antigravity model ID and keeps the descriptor's model for the receipt", () => { + const neon = (effort = "high") => resolveLane(request({ parent: "claude", provider: "agy", model: "gemini-4-neon", effort })); + expect([neon().family?.name, neon().effort]).toEqual(["gemini-4-neon", "high"]); + for (const effort of ["low", "medium", "high", "xhigh"]) { + const lane = neon(effort); + expect([lane.model, lane.cliModel]).toEqual(["gemini-4-neon", `gemini-4-neon-${effort}`]); + } + for (const effort of ["max", "default"]) { + expect(() => neon(effort)).toThrow(`effort ${effort} is not offered for agy:gemini-4-neon; choose one of: low, medium, high, xhigh`); + } }); it("maps each Devin effort to its CLI model ID and keeps the descriptor's model for the receipt", () => { diff --git a/plugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts b/plugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts index 7550be7c..9b7b5ac5 100644 --- a/plugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts +++ b/plugins/pstack/skills/poteto-mode/scripts/runner/registry/models.ts @@ -16,13 +16,16 @@ export const FAMILIES = [ }), family({ name: "sol", - label: "GPT-6.1 Sol", + label: "GPT-6.2 Sol", provider: "codex", - model: "gpt-6.1-sol", - efforts: UP_TO_ULTRA, // `codex debug models`, Codex CLI 0.159.0 - defaultEffort: "max", + model: "gpt-6.2-sol", + efforts: UP_TO_ULTRA, // `codex debug models`, Codex CLI 0.172.0 + defaultEffort: "xhigh", upstream: "gpt-5.6-sol-max", - predecessors: [{ model: "gpt-5.6-sol", efforts: UP_TO_ULTRA }], + predecessors: [ + { model: "gpt-5.6-sol", efforts: UP_TO_ULTRA }, + { model: "gpt-6.1-sol", efforts: UP_TO_ULTRA }, + ], }), family({ name: "grok", @@ -55,12 +58,13 @@ export const FAMILIES = [ }), family({ name: "astra", - label: "GPT-6 Astra", + label: "GPT-6.2 Astra", provider: "codex", - model: "gpt-6-astra", - efforts: UP_TO_ULTRA, // `codex debug models`, Codex CLI 0.164.0 - defaultEffort: "max", + model: "gpt-6.2-astra", + efforts: UP_TO_ULTRA, // `codex debug models`, Codex CLI 0.172.0 + defaultEffort: "xhigh", upstream: null, + predecessors: [{ model: "gpt-6-astra", efforts: UP_TO_ULTRA }], }), family({ name: "sonnet", @@ -174,6 +178,34 @@ export const FAMILIES = [ defaultEffort: "high", upstream: null, }), + family({ + name: "muse-wonder-full-1.0", + label: "Muse Wonder Full 1.0", + provider: "muse", + model: "muse-wonder-full-1.0", + efforts: UP_TO_MAX, + defaultEffort: "xhigh", + upstream: null, + }), + family({ + name: "terra", + label: "GPT-6.1 Terra", + provider: "codex", + model: "gpt-6.1-terra", + efforts: UP_TO_ULTRA, // `codex debug models`, Codex CLI 0.172.0 + defaultEffort: "xhigh", + upstream: null, + }), + family({ + name: "gemini-4-neon", + label: "Gemini 4 Neon (Antigravity)", + provider: "agy", + model: "gemini-4-neon", + // `agy models`, Antigravity CLI 1.5.21. There is no bare `gemini-4-neon` ID. + efforts: { low: "gemini-4-neon-low", medium: "gemini-4-neon-medium", high: "gemini-4-neon-high", xhigh: "gemini-4-neon-xhigh" }, + defaultEffort: "high", + upstream: null, + }), ] as const; export type FamilyName = (typeof FAMILIES)[number]["name"]; @@ -219,4 +251,9 @@ export const RELEASED_PAIRS = [ { pair: "cursor:gemini-3.7-flash", family: "gemini-3.7-flash" }, { pair: "claude:claude-haiku-5-5", family: "haiku-5-5" }, { pair: "codex:gpt-6-astra", family: "astra" }, + { pair: "muse:muse-wonder-full-1.0", family: "muse-wonder-full-1.0" }, + { pair: "codex:gpt-6.2-sol", family: "sol" }, + { pair: "codex:gpt-6.2-astra", family: "astra" }, + { pair: "codex:gpt-6.1-terra", family: "terra" }, + { pair: "agy:gemini-4-neon", family: "gemini-4-neon" }, ] as const satisfies readonly ReleasedPair[];