Skip to content

gstack picks the newest Opus, Fable, Sol and Astra everywhere (GST-3760) - #4811

Merged
capy-ai[bot] merged 8 commits into
mainfrom
always-use-newest-opus-fable-sol-astra
Nov 25, 2026
Merged

capy-ai[bot] merged 8 commits into
mainfrom
always-use-newest-opus-fable-sol-astra

Conversation

@garrytan

@garrytan garrytan commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

gstack now uses the newest model of each family it picks from: the Codex second-model review defaults to gpt-6.2-astra, plan-review tiers move to claude-fable-5-2 and gpt-6.2-sol, and eval judges to claude-fable-5-2.
Why: Garry's rule that gstack always uses the latest Astra, Sol, Fable or Opus; one table now holds each family's newest model, so the next release is a one-line change.
Nothing to do: models you pinned in your own config keep working.

What changed

gstack named its models in dozens of places, so each new release of Opus, Fable, Sol or Astra left some of them on the old one. Now lib/model-families.ts holds the newest model of each family, and the tier catalog, the eval capture and judge defaults, the Codex default, the read-only Astra retry after a cyber-policy refusal, the census arms, the eval frontier lists and a new {{NEWEST_MODEL:<family>}} skill placeholder all read it. Setup, install, doctor, the codex and eval-plan skills and the docs name the newest ids, and claude-fable-5-2 gets its price row ($8 in, $40 out, $0.20 cache reads per million tokens).

A new test fails when runtime code or skill text names an older Opus, Fable, Sol or Astra. History (tests, CHANGELOG, design and eval records) is exempt, and each file that must still recognize an older id (prompt-profile names, pricing, frozen-plan text) is listed with its reason.

Three things stay put on purpose. The arm benchmark keeps the claude-fable-5-1 judge its frozen plan and calibration name. Every GPT-6 Astra release maps to the existing Astra prompt profile, so generated Codex skills keep the same profile. Which family speaks as the second voice is unchanged (Astra).

The model freshness check now hashes both files that define the catalog, read at one commit, and eval selection treats a change to the family table like a change to the eval model file.

Why

The README promises gstack runs on frontier models, and Garry asked on 2026-11-24 that gstack "should always be using latest astra, sol, fable or opus".

Blast radius

Every caller that used to hard-code a model id now reads the same table, so the risk is a caller that still names an old id or reads the table wrong. The new guard test scans runtime code and skill text for older ids (script ran: it failed on main with 78 offenders and passes here), and the Codex overlay test confirms the newest Astra still resolves to a prompt profile.

Eval Results
  • safety-codex-consult-embed (gate): PASS 1/1, $0.25, run gsta848-codex-probe, on claude-opus-5-5.
  • llm-judge-recommendation (periodic judge case): PASS 1/1, run gsta848-judge. Its judge is pinned to claude-haiku-5-5, so it does not exercise the new default judge; no judge-kind case uses the default judge.
  • A live call through the default judge resolved to claude-fable-5-2 and returned a valid score.
  • Every other paid case is deferred to the next release gate on main.
Pre-Landing Review

3 review passes on the whole change, including a second-model review on GPT-6.2 Sol; 8 problems fixed, none left open. Notes below.

Review notes

Below the blocking floor (advisory, informational, test-gap or wording items); recorded here and not fixed in this PR.

  • INFORMATIONAL sf-ebb49473e5ef security finding, details recorded privately
  • INFORMATIONAL lib/model-policy-freshness-github.ts:31 The new check that rejects a malformed commit sha has no negative-path test.
  • INFORMATIONAL lib/model-policy-freshness-github.ts:30 A reader asked for a fake-fetcher test of the rewritten default-branch read; test/model-policy-workflow.test.ts already covers the two-file hash and the pinned-commit reads.
  • INFORMATIONAL sf-c1907b6434e6 security finding, details recorded privately
  • INFORMATIONAL sf-8579945a6f42 security finding, details recorded privately
  • The judge-calibration fixtures were measured on claude-fable-5-1; the default judge moved to claude-fable-5-2 without a new calibration run.
Documentation

Status: updated. One factual fix: the plan-review tiers in docs/hosts.md now name the current models.

Scope: committed diff beca1d6..89a197a (7 commits, 68 files) on always-use-newest-opus-fable-sol-astra. No staged, unstaged or new files. Covers authored docs and templates (codex/SKILL.md.tmpl, eval-plan/SKILL.md.tmpl).

Documentation health

  • ARCHITECTURE.md: current (judge default claude-fable-5-2)
  • CONTRIBUTING.md: current
  • README.md: current (names no model ids; links to docs/hosts.md)
  • docs/hosts.md: updated (frontier tier Fable 5.2 / GPT-6.2 Astra, smart tier GPT-6.2 Sol)
  • docs/model-policy.md, docs/capy-install.md, docs/eval-calls.md, docs/eval-models.md, docs/loadouts.md, docs/skills.md, docs/troubleshooting.md, docs/TESTING_INTERNALS.md: current
  • codex/SKILL.md.tmpl, eval-plan/SKILL.md.tmpl: current (they use {{NEWEST_MODEL:*}})

Coverage debt: lib/model-families.ts, the new single source for each family's newest model, has reference coverage in CONTRIBUTING.md and docs/model-policy.md. It has no how-to for bumping a family. That gap is minor.

Diagram drift: none. No diagram names model ids.

Tests
  • CI free suite at 1718915: green, 1,785 test files and 39,514 tests (run 45522291577); macOS and Windows jobs green.
  • Locally before push: bun run typecheck clean, bun run typecheck:test (812 known diagnostics, none new), and the targeted files for each fix (model-generation-guard, model-policy-workflow, arm-benchmark-selftest, judge-calibration, model-catalog-isolation, touchfiles, llm-judge-frontier, harness-version, team-mode).

Agent notes

Lane GSTA-848 for GST-3760. The default second-model voice stays Astra; GST-3751 decides Sol against Astra.

REVIEW_LOOP: passes=3 blocking_found=6 deferred=0 noted=9 fixed=8 scope=frozen ledgers_read=4 dispatches=6
Gate edits: none detected (89 listed, 89 read; patterns: RH-1,RH-3,RH-4,RH-12,RH-13,RH-14,RH-15,RH-16; unlisted idioms: none)
Ruled note: docs/hosts.md:208:post-review-docs at 89a197a ruled by GStack Minder (GSTA-36) (relayed from GSTA-36:2026-11-25T01:25:13Z) at 2026-11-25T01:26:05.953Z: docs-only tier names in docs/hosts.md now match lib/model-families.ts; no behavior change (approval a-78149cb7943b)
Second-model review: openai/gpt-6.2-sol (Capy subagent), completed, 3 findings, all fixed.

Approvals

No approvals recorded for branch always-use-newest-opus-fable-sol-astra.
Plan: exempt: bug fix (test/model-generation-guard.test.ts fails on main with 78 older model ids)
Plan check: exempt bug fix

Refs GST-3760

Agent notes
{
  "schema_version": 1,
  "pr": 4811,
  "head": "1718915e2477fe5088f2857ffc3c9e18b58f4b97",
  "version": "1.103.2.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 39514,
      "fail": 0
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 45522291577,
      "attempt": 1,
      "tree": "41c3c8fed585172831e1c9df5c29c60dbd5024af"
    }
  ],
  "calls": 54,
  "session_kind": "unattended",
  "run": "/home/user/.capy/work/gsta848/ship",
  "head_tree": "41c3c8fed585172831e1c9df5c29c60dbd5024af",
  "product_patch_id": "d66b5e4f4fa05f21a9a594cea5a4e1e59e99f8a2",
  "gstack_version": "1.103.2.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 202,
    "rules": "33831f8248a814fd",
    "base": "f2ca920bc4cbb4e8dc3deec2981a85b948b1eae3",
    "registry": "f2ca920bc4cbb4e8dc3deec2981a85b948b1eae3",
    "gate_scan": {
      "tagged": 0,
      "head": "1718915e2477fe5088f2857ffc3c9e18b58f4b97"
    },
    "reasons": [
      "gate-class",
      "risk:money",
      "risk:security",
      "runtime=202"
    ],
    "risk": [
      "money",
      "security"
    ],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @41c3c8fed585 (8 checks, current for 1718915e2477)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/45522291577/attempts/1",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/45522291577/attempts/1",
    "windows-setup-e2e.yml/windows-setup: https://github.com/garrytan/gstack/actions/runs/45522291714/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/45522291588/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=41c3c8fed585 tests=39514 skipped=105 runs=45522291577/1 profiles=ci-reuse/free-tests heads=1718915e2477 base_moved=69a1644c20fa verified=2026-11-25T01:21:44.858Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "README.md, docs/ and bench/README.md against beca1d6..89a197a; one fix in docs/hosts.md"
  },
  "review_loop": {
    "passes": 3,
    "blocking_found": 6,
    "deferred": 0,
    "noted": 9,
    "fixed": 8,
    "scope": "frozen",
    "rounds": 3,
    "ledgers_read": 4,
    "dispatches": {
      "specialist": 3,
      "red-team": 3
    }
  },
  "ruled_notes": [
    {
      "finding": "docs/hosts.md:208:post-review-docs",
      "head": "89a197a058796fb0858179a0aebdb5d085e4d33c",
      "by": "GStack Minder (GSTA-36)",
      "reason": "docs-only tier names in docs/hosts.md now match lib/model-families.ts; no behavior change",
      "at": "2026-11-25T01:26:05.953Z",
      "approval": "a-78149cb7943b",
      "relayed": "GSTA-36:2026-11-25T01:25:13Z"
    }
  ],
  "gate_dispositions": [],
  "review_targeted": {
    "classes": [
      "money"
    ],
    "rules": "e01517eddd4b2350",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "d66b5e4f4fa05f21a9a594cea5a4e1e59e99f8a2",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}
{"head":"89a197a058796fb0858179a0aebdb5d085e4d33c","run":"ship-20261124T234340-6b6660","mark":"stop","tree":"0a71e82f46d033af5300bc427a4b78a86e6c1ade","at":"2026-11-25T01:24:37.382Z"}

One table, lib/model-families.ts, now names each family's newest model and every default reads it: the Codex second-model voice moves to gpt-6.2-astra, the plan-review tiers to claude-fable-5-2 and gpt-6.2-sol, and the eval judge to claude-fable-5-2. A test fails when runtime code or skill text names an older generation.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

garrytan and others added 7 commits November 24, 2026 22:39
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#1 reader=outside-voice
Review-Finding: p1/adversarial-native#2 reader=adversarial-native
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#2 reader=outside-voice
Review-Finding: p1/adversarial-native#1 reader=adversarial-native
Review-Finding: p1/red-team#1 reader=red-team
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/outside-voice#3 reader=outside-voice
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: p1/adversarial-native#4 reader=adversarial-native
Review-Finding: p1/adversarial-native#5 reader=adversarial-native
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@capy-ai
capy-ai Bot merged commit 9a550bc into main Nov 25, 2026
63 checks passed
@garrytan garrytan mentioned this pull request Nov 25, 2026
capy-ai Bot added a commit that referenced this pull request Nov 25, 2026
- gstack now picks the newest Opus, Fable, Sol and Astra everywhere it chooses a model. (#4811)
- /autoplan no longer asks the owner a third time for changes his "do it" already approved. (#4809)
- The destructive-command check no longer asks before deleting a file inside another `git worktree` of the same repository, or elsewhere in the session's own worktree. (#4834)
- New guide section: you don't need to cut back on MCP servers for accuracy, up to about 300 tools, as long as Claude Code's tool search stays on. (#4814)
- This release's notes no longer contradict each other. (#4839)
- An owner can now let a small edit made after the final review ship as a disclosed note, and /ship honours it. (#4818)
- `/eval-plan` lets a judge that grades code be checked against a third model's labels instead of people's (R126). (#4824)
- `gstack-pr-wait` no longer blocks on a cancelled check that a newer passing run of the same check replaced. (#4832)
- The `DEPS_MISSING` stop names npm's `allow-git` setting when the lockfile installs a package from git. (#4832)
- The docs audit /gstack-ship launches starts after a reviewer's install replaced the shared install verdict. (#4832)
- `gstack-ship-receipt write` leaves a retired `scoped-fix-check` row out of `--no-stop`, (#4832)
- The QA-only cleanup test no longer fails at random in CI. (#4823)
- Three tests that failed at random now pass reliably. (#4821)
- Six tests that failed at random now pass reliably. (#4830)
- /gstack-ship honours a ruled edit after the final review, and a stop on a second-model blocker records. (#4829)
- `/ship` is now `/gstack-ship`, so Claude Code loads gstack's shipping skill again (#4775). (#4839)
- make-pdf's new layout handles three more cases. (#4828)
- make-pdf has a bold new default look, and `--style plain` keeps the old one. (#4820)
- The CI image now runs Claude Code 2.1.326 and Codex 0.172.0, versions that know gstack's newest default models. (#4822)
- `bin/gstack-capy-install` reads the Codex setup model from the astra row of `lib/model-families.ts` instead of naming it, so the next Astra release is still a one-line change. (#4822)
- The default judge's move to claude-fable-5-2 is checked against the labelled controls next to its callers (plan-decision and DX peer-comparison calibrations, the redaction semantic pass): every item agreed with its label. (#4822)
- The test harness keeps working on Claude Code 2.1.326. (#4822)
- A release no longer rewrites version numbers inside changelog entries, counts subsection headings as changes, or prints a subsection heading twice. (#4803)
- The /cso security audit skill is gone, because a plain request for a security audit now finds more real problems. (#4839)
- /gstack-ship no longer has round grants, fix-check grants or the review-loop exception: after two review rounds a blocker ships only as an owner's ruled note, or the PR parks. (#4826)
- `gstack-ship-queue ready` no longer asks for a cross-family read of the decision trail. (#4826)
- `gstack-ship-receipt stop` works before a PR exists. (#4826)
- Receipt checks read a path with `*` or `?` in its name as that file. (#4826)
- The /gstack-ship driver records spend at start and close only, (#4826)
- Skill routing no longer fires on subagent hand-backs or on a passing mention of "code review". (#4831)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
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.

1 participant