Skip to content

/eval-plan refuses gpt-4o and older-generation models in every role, and asks for 100 judge labels from 2026-11-22 (GST-3384) - #4630

Merged
capy-ai[bot] merged 4 commits into
mainfrom
eval-plan-refuses-older-models
Nov 21, 2026
Merged

capy-ai[bot] merged 4 commits into
mainfrom
eval-plan-refuses-older-models

Conversation

@garrytan

@garrytan garrytan commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

/eval-plan now refuses gpt-4o and older-generation models in every role a plan picks (arms, judge, readers, simulators) and names the replacement; a competitor tested as its vendor ships it keeps its built-in model on its own arm.
Why: eval numbers should come from current frontier models, and from 2026-11-22 a model judge must agree with 100 hand labels, not 40.
Nothing to do.

What changed

A plan that names gpt-4o as an arm used to pass; now prereg --check refuses it and names the replacement

A plan that names gpt-4o as an arm used to pass; now prereg --check refuses it and names the replacement.

Before/after as text: A plan that names gpt-4o as an arm used to pass; now prereg --check refuses it and names the replacement
--- Before · before.txt · captured output
+++ After · after.txt · captured output
 $ gstack-eval-plan prereg --check prereg.md   # arms: gpt-4o, gpt-4o#plain
+PREREG: incomplete present=10/10 stack=none models=refused file=prereg.md
+MODEL_GENERATION: refused gpt-4o role=arm replacement=gpt-6.2-sol (R116, docs/TESTING_INTERNALS.md#frontier-models-under-test)
+gstack-eval-plan prereg: an arm, judge, reader or simulator is gpt-4o or a model lib/pricing.ts marks superseded_by (R116), or an arm is not the newest id of a family the eval model rules order newest first (gpt-4o as arm is an older generation; use gpt-6.2-sol (R116)); fix: use the replacement the MODEL_GENERATION or EVAL_MODEL line names; a competitor system tested as its vendor ships it declares its built-in model with a vendor-default: line in ## Models; or reorder families in .gstack/eval-models.json in a reviewed PR (EVAL_MODEL_OLD_GENERATION)
+exit 1
-PREREG: ok present=10/10 stack=none file=prereg.md
-exit 0
 

An eval plan could pick gpt-4o, or a model a newer generation has replaced, as an arm, a judge or a helper model, and nothing stopped it. Now gstack-eval-plan prereg --check refuses gpt-4o (any variant) and every model lib/pricing.ts marks with the new superseded_by field (11 rows), in each role: arms, the Scoring judge, and reader: and simulator: lines in a new optional ## Models section. dry-run and pilot start refuse such arms too. Each refusal prints the model, its role and the current replacement.

A competitor system tested as its vendor ships it declares its built-in model on a vendor-default: <model> <system> line. That exempts only the arm whose loadout names the system (gpt-4o-mini#mem0), never a plain or #no-gstack arm on the same model; results --check then wants the results to name the model. Plans frozen before 2026-11-21 keep their models.

Plans frozen on or after 2026-11-22, or with no frozen date, need 100 hand labels behind a model judge instead of 40; the agreement bar stays at kappa 0.6.

gstack's own eval warmup and distill defaults, the recommendation judge and five canary tests move from Claude Haiku 4.5 to Haiku 5.5, and the eval harness version moves from 6 to 7 because judge behaviour changed.

Why

"No gpt-4o or older-generation model sits in a role we choose; a competitor's vendor defaults and plans frozen earlier keep theirs." A published eval number is only useful if it was measured on the models people use today, and a judge checked against 40 labels was too thin a check, so the label bar rises for new plans.

Blast radius

The refusal only runs inside gstack-eval-plan (prereg, dry-run, pilot start, results) and in the shared eval defaults; plans frozen before 2026-11-21 skip it and older plans keep the 40-label bar (tests on both sides of each date in test/eval-plan-model-generations.test.ts and test/eval-plan-result-checks.test.ts, script ran). No preregistration in this repository names a refused arm (scanned every ## Arms section with checkModelGenerations, script ran).

Test Coverage

16 changed behaviours traced; 15 have value-level tests and one is weakly covered (the dry-run command-line message names the rule only in the library test). One regression test added in review: a vendor-default line no longer exempts a plain or #no-gstack arm on the same model; it failed before the fix and passes after.

Pre-Landing Review

Two full passes over the whole branch, then the second-model review and a focused money/auth reader on the final code. Pass 1 found one blocking problem, confirmed by running the CLI: a vendor-default line exempted every arm on that model, including gstack's own plain arm, against the documented rule. Fixed in this PR with a test. Pass 2 and the final readers found nothing blocking. The second-model review (GPT-6.1 Sol) and the focused reader returned clean.

Review notes

Below the blocking floor; recorded here and not fixed in this PR.

  • INFORMATIONAL lib/eval-plan-checks.ts:155 The arm exemption matches any loadout that is a prefix of the vendor-default system text; no test pins a different-system or too-short loadout (#zep, #m).
  • INFORMATIONAL sf-23c1f0362417 security finding, details recorded privately
  • INFORMATIONAL sf-3766698700e6 security finding, details recorded privately
  • INFORMATIONAL lib/eval-plan-checks.ts:154 Any loadout that is a prefix of the system text is exempt (#m, #the); match the system's first word instead.
  • INFORMATIONAL lib/eval-plan-checks.ts:157 A plain arm refused despite a declared vendor-default gets no hint to name the arm #.
  • INFORMATIONAL lib/eval-plan.ts:404 dry-run and pilot start never honour vendor-default (predates the fix range).
  • INFORMATIONAL lib/eval-plan-checks.ts:148 bare() keeps provider prefixes containing digits (01-ai/); fails closed.
  • INFORMATIONAL lib/eval-plan.ts:456 dry-run and pilot start check arms without the plan's frozen date, so a plan frozen before 2026-11-21 that names an older arm passes prereg --check but is refused at dry-run (no plan in this repository is affected).
  • INFORMATIONAL two more pass-1 findings: security finding, details recorded privately.
Exploratory QA

Command-line probes of gstack-eval-plan on synthetic plans, no network and no paid calls. The required checks pass on the final code: a current plan passes; gpt-4o arms, an older judge, and older reader and simulator lines are refused with their replacements; a plan frozen 2026-11-20 keeps its models; the 100-label bar applies from 2026-11-22 and 40 still passes before; dry-run refuses a gpt-4o arm. The probes found the vendor-default problem above (failed, replayed, fixed, then passed). Two optional probes stay open: one used a bad fixture, and one showed dry-run cannot see a plan's vendor-default line (listed in Review notes). Overall status: inconclusive on those two, required checks passing.

Eval Results

Prompt and judge files changed, so bun run eval:select picked 105 behavioural probes (no quality judges). They run in this PR's own E2E Evals CI run rather than a separate dispatch.

Scope Drift

Scope Check: CLEAN

TODOS

No TODO items completed in this PR.

Documentation

Status: updated. Two stale factual lines were fixed and there are no blockers.

Scope: the 3 commits on eval-plan-refuses-older-models (base 6263e0e, head 97a6ae0). /eval-plan now refuses gpt-4o and any model lib/pricing.ts marks superseded_by in every role (R116). Judges now need 100 labels for plans frozen on or after 2026-11-22. Eval warmup and distill defaults move to Haiku 5.5.

Documentation health:

  • CONTRIBUTING.md: updated. The warmup and distill defaults now say claude-haiku-5-5, matching lib/eval-model.ts.
  • docs/troubleshooting.md: updated. The PREREG_INCOMPLETE entry now gives 100 labels, or 40 for a plan frozen before 2026-11-22. The branch already updated the EVAL_MODEL_OLD_GENERATION entry.
  • docs/TESTING_INTERNALS.md: current. The branch updated the R116 section and the Scoring row.
  • eval-plan/SKILL.md.tmpl: current. The branch added the Models section and the model-generation check.
  • README.md, AGENTS.md: current. Neither needs a change.

Coverage debt: the new ## Models lines (reader:, simulator:, vendor-default:) have reference coverage in TESTING_INTERNALS, the eval-plan template and troubleshooting. There is no how-to or worked example yet (a common gap).

Diagram drift: none found.

Tests
  • bun test on the eval-plan, pricing and module-size tests (8 files): 125 pass, 0 fail
  • bun run typecheck and bun run typecheck:test: no new errors
  • bun test test/troubleshooting-anchors.test.ts: 412 pass
  • Free test suite in CI on the earlier head: green (run 44947383929); the final head's run starts with this PR
Agent notes

Refs GST-3384 (lane GSTA-747; rule R116, R78 amendment approved by Garry 2026-11-21)

Approvals

No approvals recorded for branch eval-plan-refuses-older-models.
Plan: exempt: crew:R116 rule upkeep
Plan check: exempt crew:r116 rule upkeep

REVIEW_LOOP: passes=2 blocking_found=1 deferred=0 noted=7 fixed=2 scope=frozen ledgers_read=3 dispatches=8
Gate edits: none detected (GATE_SCAN tagged=0 at 97a6ae0)
Outside review: openai/gpt-6.1-sol reasoning=medium, VERDICT: CLEAN
Evals: 105 behavioural probes selected by eval:select (PR profile); left to the PR's E2E Evals pull_request run.
Exploratory QA evidence: kept in the /ship run directory (captures 001-021, materialize verdict inconclusive: captures 005 and 011 open).

🤖 Generated with Claude Code

{
  "schema_version": 1,
  "pr": 4630,
  "head": "fc24a382fe6345f22ea20054086f779363f4096b",
  "version": "1.102.1.0",
  "base": "main",
  "gate": {
    "free": {
      "pass": 38706,
      "fail": 0,
      "skip": 0
    }
  },
  "ci_carried": [
    {
      "lane": "free",
      "run": 44950445749,
      "attempt": 1,
      "tree": "56a599f4cb6f1bb873af703dae99d4ea08d69289"
    }
  ],
  "calls": 20,
  "session_kind": "unattended",
  "run": "gsta747-ship2",
  "head_tree": "56a599f4cb6f1bb873af703dae99d4ea08d69289",
  "product_patch_id": "ae7b600c5434503ddf267ae58630357e4f38859b",
  "gstack_version": "1.102.1.0",
  "review_depth": {
    "depth": "full",
    "class": "gate",
    "runtime_lines": 263,
    "rules": "85b3923b1a978e41",
    "base": "6263e0ef33fc5827a7642fc5c8b2757affed7fbc",
    "registry": "6263e0ef33fc5827a7642fc5c8b2757affed7fbc",
    "gate_scan": {
      "tagged": 0,
      "head": "fc24a382fe6345f22ea20054086f779363f4096b"
    },
    "reasons": [
      "gate-class",
      "risk:money",
      "risk:auth",
      "runtime=263"
    ],
    "risk": [
      "money",
      "auth"
    ],
    "mode": "panel"
  },
  "pregate": "requires-remote cleared @56a599f4cb6f (8 checks, current for fc24a382fe63)",
  "requires_remote": [
    "free-tests.yml/cso-macos-launcher: https://github.com/garrytan/gstack/actions/runs/44950445749/attempts/1",
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/44950445749/attempts/1",
    "windows-smoke.yml/windows-smoke: https://github.com/garrytan/gstack/actions/runs/44950445643/attempts/1",
    "pregate.json/remote_gate: remote-gate tree=56a599f4cb6f tests=38706 skipped=106 runs=44950445749/1 profiles=ci-reuse/free-tests heads=fc24a382fe63 verified=2026-11-21T21:22:47.627Z"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  },
  "docs": {
    "status": "updated",
    "scope": "docs/, README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md, eval-plan/SKILL.md.tmpl, changelog.d/"
  },
  "review_loop": {
    "passes": 2,
    "blocking_found": 1,
    "deferred": 0,
    "noted": 7,
    "fixed": 2,
    "scope": "frozen",
    "rounds": 2,
    "dispatches": {
      "specialist": 6,
      "red-team": 2
    }
  },
  "gate_dispositions": [],
  "review_targeted": {
    "classes": [
      "money",
      "auth"
    ],
    "rules": "b3f6f8b4843c0c30",
    "brief_sha": "7f92a0d0a8319c3c0e076fb3b1a4689c45120b2be2c14dfc7d4cb03aafa9d6a5",
    "product_patch_id": "ae7b600c5434503ddf267ae58630357e4f38859b",
    "status": "done",
    "findings": 0,
    "raised_by": "targeted"
  }
}

garrytan and others added 4 commits November 21, 2026 20:25
…and asks for 100 judge labels from 2026-11-22

A preregistration's arms, judge, readers and simulators, and every dry-run and pilot arm, are checked against gpt-4o and the models lib/pricing.ts marks superseded_by; each refusal names the model, role and replacement. A competitor system tested as shipped keeps its built-in model on a recorded vendor-default: line. Plans frozen on or after 2026-11-22 check a judge against 100 labels instead of 40. Eval warmup, distill and recommendation-judge defaults and five canaries move from Haiku 4.5 to Haiku 5.5. (GST-3384)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…ate judges now run on Haiku 5.5

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Review-Finding: lib/eval-plan-checks.ts:153:functional-contract reader=qa
Review-Finding: p1/red-team#2 reader=red-team
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>
@trunk-io

trunk-io Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai
capy-ai Bot merged commit 5db285c into main Nov 21, 2026
61 checks passed
capy-ai Bot added a commit that referenced this pull request Nov 21, 2026
…4.5 again (GST-3407) (#4639)

The live /autoplan publication guard test goes back to a Claude Haiku
4.5 actor; the four other canaries and the eval defaults stay on Haiku
5.5.

Why: since #4630 moved the actor to Haiku 5.5, the test failed 8 of 8
tries and holds the stable release, because the new actor runs ahead of
the background reviewer's notice and never reaches the path the test
checks.

Nothing to do.

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