Repository navigation
fix(pstack): allow same-provider model fallback - #180
Merged
Merged
Conversation
arjitj2
marked this pull request as ready for review
November 4, 2026 03:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Allow a saved alternate model on the same provider to recover model capacity without retrying an exhausted account.
What changed
Verification
bun run test: 1,044 passed, five platform skips, no failures.bun run typecheckpassed.claude plugin validate ./plugins/pstackpassed.The shipped policy CLI validates the three-attempt chain and selects the exact second native Codex model for synthetic capacity and unavailable-route events. Quota skips to Claude. A quota-only sheet stops on capacity. Synthetic executable fixtures verify both providers' receipt diagnostics and success precedence.
Statechart typecheck passed. Its full suite initially had 79 failures: 74 renderer cache errors and five process-cleanup failures. All 74 renderer tests passed with a writable cache. A cleanup failure also reproduces on untouched
origin/main, where the killed child remains a zombie under PID 1. The full Statechart suite is not green in this environment.Documentation impact
Updated
provider-dispatch.md,setup-pstack/SKILL.md, and the routing verification recipe. Existing sheets and spending choices are preserved.Draft blockers
Release
Owner approved 1.18.0 (Nov 3, 2026). Version mirrors bumped to 1.18.0 with a CHANGELOG entry; tag
v1.18.0follows merge. The version bump commit changes only version metadata and the changelog.