Implementation Plan: T5-P4-A5-WP1 Replace three-way gpt-5.5 collision in CODEX_MODEL_ALIASES#4097
Merged
Trecek merged 3 commits intoJun 12, 2026
Conversation
Replace the degenerate three-way gpt-5.5 collision in CODEX_MODEL_ALIASES with three distinct real OpenAI model IDs aligned with CODEX_EFFORT_MAPPING semantics: - gpt-5.5 (opus/xhigh) - gpt-5.4 (sonnet/high) - gpt-5.4-mini (haiku/medium) Add a model_class() utility function for cross-backend opus/sonnet/haiku tier resolution via suffix stripping, identity check on CLAUDE_MODEL_ALIASES keys, and reverse-map on CODEX_MODEL_ALIASES values. Thread the new symbol through the re-export chain and add architecture and unit tests. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Guard against silent silent-drop in _CODEX_MODEL_REVERSE dict comprehension when duplicate values in CODEX_MODEL_ALIASES would cause one alias to become unreachable via model_class(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nst TypeError Backends that cannot be default-constructed would raise TypeError rather than a meaningful assertion failure. Skip such backends with an explanatory message so the test degrades gracefully instead of masking the real invariant. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
Replace the degenerate three-way
gpt-5.5collision inCODEX_MODEL_ALIASESwith three distinct real OpenAI model IDs aligned withCODEX_EFFORT_MAPPINGsemantics:gpt-5.5(opus/xhigh),gpt-5.4(sonnet/high),gpt-5.4-mini(haiku/medium). Implement amodel_class()utility function for cross-backend opus/sonnet/haiku tier resolution via suffix stripping, identity check onCLAUDE_MODEL_ALIASESkeys, and reverse-map onCODEX_MODEL_ALIASESvalues. Thread the new symbol through the re-export chain and add architecture and unit tests.Implementation Plan
Plan file:
/home/talon/projects/autoskillit-runs/impl-20260612-150756-734470/.autoskillit/temp/make-plan/t5_p4_a5_wp1_replace_gpt55_collision_plan_2026-06-12_151500.mdCloses #4022
🤖 Generated with Claude Code via AutoSkillit
Token Usage Summary
* Step used a non-Anthropic provider; caching behavior may differ.
Token Efficiency
Model Usage Breakdown