Skip to content

Support Sonnet, GPT-6 Luna, and exact Claude model pins #54

Closed

Description

@tlmader

Current scope (maintainer, rewritten 2026-10-13)

Units U4 and U6 of the registry design ship together in one PR. Both edit registry/models.ts, the generated catalog and agents, registry.test.ts, and the verifier's catalog key and recipes. U1 to U3 have merged.

  • U4, GPT-6 Luna. One family entry, codex:gpt-6-luna, with efforts low to max and default max as the design gives. gpt-5.6-luna and gpt-5.6-terra get no entries: Codex 0.162.1 describes both as "Older", and neither is in RELEASED_PAIRS, so no existing sheet needs them. This replaces the original request's 5.6 Luna and Terra descriptors.
  • U6, exact pins and Sonnet. claude:claude-opus-5-5 is a registered exact family with generated pstack-opus-5-5-<effort> agents. Sonnet is one rolling family (revisionPrefix: "claude-sonnet-") with generated pstack-sonnet-<effort> agents. Setup and provider-dispatch.md change their normalization order to match the runner: an exact registered entry first, then a kept predecessor, then a rolling-alias revision. Without this, the parent would normalize claude-opus-5-5 to opus before matching and lose the pin. Any other claude-opus-<revision> still normalizes to opus.
  • Default roles and panels do not change. An unassigned family is not probed.
  • Checked 2026-10-13: Claude Code 2.1.294 accepts a full model ID in an agent definition. claude -p --agents with "model":"claude-haiku-5-5" ran the subagent on claude-haiku-5-5.

Acceptance criteria

  • Given a sheet uses codex:gpt-6-luna, claude:sonnet or claude:claude-opus-5-5 at a supported effort, when setup-pstack validates it, then the descriptor is valid. An unsupported effort, such as Luna at ultra, is rejected.
  • Given a rerun on a sheet that assigns Luna and the Opus 5.5 pin, plus a versioned claude:claude-sonnet-<revision>@<effort> and an old claude:claude-opus-5@<effort>, when setup writes, then Luna and the pin are kept, and the two revisions are written as claude:sonnet@<effort> and claude:opus@<effort>. (Rewritten 2026-10-13: an earlier line also claimed that each setup probe's route is certified. This PR does not change setup's probing, and the merged setup cases check only the written sheet, so the claim is dropped. The new routes are proven by the next two criteria.)
  • Given the generated pstack-sonnet-max and pstack-opus-5-5-max agents, when a Claude parent dispatches each through Agent without a model override, then each runs and returns a value only its child could read.
  • Given a configured Luna, Sonnet or pinned role, when the runner dispatches it externally, then the receipt proves the model. A Claude provider report that names another model is rejected.
  • Given an existing Fable, Sol, Grok or Opus configuration, when setup or dispatch runs, then its routing is unchanged.
  • Bun tests, strict typecheck, static invariants and plugin validation pass. The registry tests pin the new families' efforts and models deliberately.

Live checks (both harnesses, from the candidate head, with --self-test)

  • setup: one new case runs the rerun above and checks the written sheet, and on Codex the mirror block.
  • catalog: the fixture sheet adds Luna, the pin and a versioned Sonnet, and the parent reports normalized descriptors and routes equal to the catalog's. On Claude, a second case dispatches the two new native agents.
  • runner with --runner-route codex:gpt-6-luna@max --runner-route claude:claude-opus-5-5@max --runner-route claude:sonnet@max.

Original request

Problem

pstack accepts only Fable, Sol, Grok, and Opus in its model matrix.

Codex can run Luna and Terra. Claude can run Sonnet. setup-pstack rejects descriptors for these models.

Users cannot assign faster or lower-cost models to exploration and swarm roles through supported configuration.

Issue #33 tracks active-family selection. This change must not force every installation to probe all supported families.

Desired outcome

Support these provider-qualified model families in configuration, validation, dispatch, probes, and behavioral smoke tests:

  • codex:gpt-5.6-luna@<effort>
  • codex:gpt-5.6-terra@<effort>
  • claude:sonnet@<effort>

Keep the parent-owned route. Codex models run natively on a Codex parent. Claude models run natively on a Claude Code parent.

Add the Claude-native Sonnet agent definitions that the route requires. Do not add a weaker-model fallback.

Acceptance criteria

  • Given a sheet uses Luna, Terra, or Sonnet, when setup-pstack validates it, then the descriptor is valid for a supported effort.
  • Given a new family is active, when setup-pstack probes it, then the requested model and effort run through the parent-owned route.
  • Given a supported family is inactive, when setup runs, then setup does not require a probe for that family.
  • Given setup writes an unchanged valid sheet, when setup runs again, then the sheet and parent integration remain byte-identical.
  • Given an existing Fable, Sol, Grok, or Opus configuration, when setup runs, then its current routing behavior remains unchanged.
  • Given a configured Luna, Terra, or Sonnet role, when a behavioral smoke runs, then its receipt or native transcript proves the selected route.

Activity

  1. ericlitman commented on Oct 1, 2026

    @ericlitman
    Owner

    Prior art: #55, approved on 09-08. Waits on the registry design in #103. When this lands, check whether GPT-6 Luna should replace the GPT-5.6 Luna and Terra entries.

  2. Repository owner deleted a comment from mast-factory on Oct 2, 2026
  3. changed the title [-]Support Sonnet, GPT-5.6 Luna, and GPT-5.6 Terra model families[/-] [+]Support Sonnet, GPT-6 Luna, and exact Claude model pins[/+] on Oct 11, 2026
  4. ericlitman commented on Oct 11, 2026

    @ericlitman
    Owner

    This issue now also carries the remaining scope of #85, which is closed as a duplicate. The title changed to match.

    Added from #85 (garysmall):

    • An optional GPT-6 Luna descriptor. The registry design (Design a model and provider registry before adding models or CLIs #103) decides whether GPT-6 Luna replaces the GPT-5.6 Luna and Terra entries above.
    • An exact Claude Opus 5.5 pin, claude:claude-opus-5-5@<effort>, for Codex external and Claude-native routes. The external route must stay on that model and reject a mismatched provider report. The rolling opus alias stays the default.

    Dropped: optional GPT-6 Sol. GPT-6.1 Sol became the Sol default in #115 (#102).

    This still waits on the registry design in #103.

  5. ericlitman commented on Oct 12, 2026

    @ericlitman
    Owner

    The #103 registry design was approved on 2026-10-11 (design, PR #154). It changes this issue as follows:

    • Luna is one family entry in registry/models.ts (unit U4 of the design). An unassigned family is not probed.
    • Sonnet is one rolling family (revisionPrefix: "claude-sonnet-"). Its pstack-sonnet-<effort> agents are generated.
    • Exact pins follow decision 4: a registered exact entry, such as claude-opus-5-5, wins over the rolling pattern. The descriptor grammar does not change. Any other claude-opus-<revision> still normalizes to opus, and the RELEASED_PAIRS test keeps every older sheet's pair on its family.

    This issue now waits on #155, #156 and #157.

  6. ericlitman commented on Oct 14, 2026

    @ericlitman
    Owner

    Design pass (2026-10-13, Astra high, read-only at 40d506c)

    Record: ~/projects/docs/projects/open-pstack/records/2026-10-13-batch-54/design-54.md (private docs repo).

    Accepted

    • U4 and U6 in one PR. GPT-6 Luna only, with the design's default max. The original 5.6 Luna and Terra criteria are replaced explicitly in the scope above.
    • U6 needs the normalization-order change in setup and provider-dispatch.md, not only registry entries. The runner already resolves exact entries before rolling patterns (registry/index.ts:43), but the parent instructions normalize first.
    • Regenerate the catalog and agents with render.ts, and list the ten new agent paths individually in the verifier's catalog key.
    • Expand the pinned-policy test deliberately. Add tests for pin precedence, old Opus and versioned Sonnet normalization, and Luna rejecting ultra.
    • Extend the catalog recipe fixture with Luna, the pin and a versioned Sonnet.

    Rejected

    • Tightening the Claude report check. exactOrSuffixed (providers/shared.ts:55) accepts the pin or the pin plus a suffix, and already rejects another model such as claude-opus-5-6.
    • A child-read UUID in the runner recipe. The runner-written receipt is the evidence, by the existing standard.
    • New setup cases for inactive families and byte-identical reruns. They test existing setup behavior that this PR does not change.
    • A separate observation step for the native pin. I checked it with claude -p --agents before the design pass, and the live gate confirms the generated plugin agents.
  7. added a commit that references this issue on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions