blitzdotdev/blitzos/codex-update-compat
Claude Code and agent skill by blitzdotdev/blitzos
- community
Checking that the SKILL.md file is still in the repository.
Upgrade Codex in this repository and resolve compatibility regressions caused by app-server schema/protocol changes. Use when bumping Codex/npm package versions, regenerating `src/app-server` types, fixing TypeScript errors after update, repairing event mappings, and updating tests/snapshots to match new Codex behavior (especially model list, thread/session fields, sandbox policy shape, and tool/event notifications).
Install
npx vskill@latest install blitzdotdev/blitzos/codex-update-compatSKILL.md
Codex Update Compat
Use this workflow to safely upgrade Codex and close update-induced regressions.
Workflow
- Inspect update scope before changing code.
Run:
Focus first on package.json, package-lock.json, and generated src/app-server/** changes.
- Run typecheck and tests immediately.
Run:
Treat type errors as the migration guide for required protocol changes.
- Fix runtime compatibility in source files.
Typical hotspots:
src/CodexAcpClient.ts: thread start/resume params and initialize capabilitiessrc/AgentMode.ts: sandbox policy shape changessrc/CodexEventHandler.ts: new/changed server notificationssrc/CodexAcpServer.ts: history replay for newThreadItemvariantssrc/CodexToolCallMapper.ts: mapping new tool-like items to ACP events
- Fix test fixtures and snapshots.
Update typed fixtures for new required fields instead of weakening types. Then update snapshots only after behavior is intentionally verified.
- Re-run targeted suites, then full checks.
Run focused tests for touched behavior, then:
Non-Trivial Changes: Ask Before Finalizing
When migration requires behavior decisions (not only schema fixes), ask the user first. Examples:
- Enabling/disabling experimental flags (
persistExtendedHistory,experimentalApi) - User-visible messaging changes for new events (e.g., model reroute wording)
- Converting integration tests to mocks or skipping env-dependent tests
Event Mapping Rule
Do not silently drop new event/item variants if they should be visible to users. Map them to ACP updates:
- Tool-like operations ->
tool_call/tool_call_update - Informational reasoning/infra events ->
agent_thought_chunk(if user-meaningful) - Internal/noise events -> explicit no-op case (documented in switch)
References
For common break patterns and ready fixes, read:
references/codex-update-playbook.md
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvendor/lody-adapters/codex/.agents/skills/codex-update-compat/SKILL.md
Popularity
- Repository stars
- 181
- Repository forks
- 21
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/blitzdotdev/blitzos/codex-update-compat)