Skip to content

fix(pstack): use rolling Claude model aliases - #39

Merged
ericlitman merged 2 commits into
mainfrom
codex/issue-38-model-aliases
Sep 1, 2026
Merged

fix(pstack): use rolling Claude model aliases#39
ericlitman merged 2 commits into
mainfrom
codex/issue-38-model-aliases

Conversation

@ericlitman

@ericlitman ericlitman commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Closes #38

What changed

  • replace active Fable and Opus model IDs with Claude's rolling fable and opus aliases
  • normalize older generated descriptors in memory before route selection
  • let setup-pstack persist that migration after its existing probes and confirmation
  • reject any versioned Fable or Opus model that reaches the external runner
  • verify alias requests against Claude's concrete provider-reported family
  • add a static guard against reintroducing active version pins
  • bump Open Pstack to 1.2.1

Verification

  • Bun tests, strict typecheck, static invariants, and plugin validation pass.
  • The exact candidate is installed in every affected harness.
  • The changed behavior passes from each real user surface.
  • The installed version, action, and observed result appear below.

Repository checks at 91dfdec041db540bb7a655eb62a82d09effa6e7a:

  • GitHub CI verify: passing, including the required parallel bun run test
  • complete local Bun suite: 158 passing, 657 assertions
  • strict TypeScript typecheck
  • PSTACK_STATIC_ONLY=1 bash tests/skill-collision-repro.sh
  • Claude plugin and marketplace validation
  • all four manifests parse
  • no active Fable 5 or Opus 5 references
  • static guard probe rejects a standalone model: "claude-fable-5" value
  • Fable completion review: Fix on the setup-only migration, then Ship after read-time normalization and the runner backstop
  • Greptile P2 on standalone TypeScript pins fixed in 91dfdec; review thread resolved

The review-only commit changed no shipped plugin bytes: the plugins/pstack tree remains 4821300b9bc564d826bb4a828523ddc967c6d9d3.

Live evidence from installed Open Pstack 1.2.1:

  • studio2 Claude Code: tracked plugin mismatches against the candidate: 0; native pstack-fable-low returned the requested marker and reported claude-fable-5-1; native pstack-opus-low returned the requested marker and reported claude-opus-5
  • studio2 Codex: tracked plugin mismatches: 0; the installed setup skill reports first-run descriptors claude:fable@max and claude:opus@xhigh with zero writes
  • studio2 Codex external runner: --model fable and --model opus both completed with nonempty output; receipts verified claude-fable-5-1 and claude-opus-5 from provider reports
  • pro14 Claude Code: installed at the normal user scope with tracked plugin mismatches: 0; native provider requests currently fail before model selection because that host's OAuth refresh token is expired
  • pro14 Codex: tracked plugin mismatches: 0; the installed setup skill read the real legacy sheet and normalized claude:claude-fable-5@xhigh to claude:fable@xhigh and claude:claude-opus-5@xhigh to claude:opus@xhigh in memory with zero writes
  • both installed Codex runners reject an unnormalized version pin with exit 64 before provider preflight

The exact candidate therefore passes the installed Claude Code and Codex user-surface gate. pro14's host-specific Claude login does not affect package behavior or the completed cross-harness release gate.

@greptile-apps

greptile-apps Bot commented Sep 1, 2026

Copy link
Copy Markdown

Greptile Summary

Open Pstack 1.2.1 moves Fable and Opus execution to Claude’s rolling aliases while preserving concrete provider-model verification.

  • Normalizes legacy descriptors before routing and during setup migration.
  • Rejects versioned Fable and Opus models at the external runner boundary.
  • Updates native profiles, defaults, documentation, manifests, and regression checks.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
tests/skill-collision-repro.sh Adds production TypeScript and JavaScript scanning that addresses the prior standalone-pin guard gap.
plugins/pstack/skills/poteto-mode/scripts/runner/model-aliases.ts Defines strict rolling-alias recognition, legacy revision normalization, and concrete-family matching.
plugins/pstack/skills/poteto-mode/scripts/runner/run.ts Rejects versioned Claude family pins before external provider execution and applies provider-aware model proof.
plugins/pstack/skills/poteto-mode/scripts/runner/parse-output.ts Verifies alias requests against concrete Claude model-family reports while retaining existing matching for other providers.
plugins/pstack/skills/setup-pstack/SKILL.md Documents in-memory normalization and confirmation-gated persistence of legacy model descriptors.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Configured Claude descriptor] --> B{Legacy version pin?}
  B -->|Yes| C[Normalize to fable or opus]
  B -->|No| D[Use current descriptor]
  C --> E{Parent route}
  D --> E
  E -->|Claude Code| F[Native rolling-alias profile]
  E -->|Codex parent| G[External Claude runner]
  G --> H[Reject missed version pins]
  H --> I[Invoke rolling alias]
  I --> J[Verify concrete reported family]
Loading

Reviews (2): Last reviewed commit: "test(pstack): catch standalone Claude mo..." | Re-trigger Greptile

Comment thread tests/skill-collision-repro.sh
@ericlitman
ericlitman marked this pull request as ready for review September 1, 2026 20:36
@mergify

mergify Bot commented Sep 1, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ericlitman
ericlitman merged commit f466256 into main Sep 1, 2026
4 checks passed
@ericlitman
ericlitman deleted the codex/issue-38-model-aliases branch September 1, 2026 20:39
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.

Use rolling Fable and Opus model aliases

1 participant