blitzdotdev/blitzos/codex-update-compat

Claude Code and agent skill by blitzdotdev/blitzos

Trust tier 2
  • community
LLM review pending
Source check pending

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-compat

SKILL.md

Codex Update Compat

Use this workflow to safely upgrade Codex and close update-induced regressions.

Workflow

  1. Inspect update scope before changing code.

Run:

bash
git log --oneline -n 5
git show --name-only --oneline -n 1

Focus first on package.json, package-lock.json, and generated src/app-server/** changes.

  1. Run typecheck and tests immediately.

Run:

bash
npm run typecheck
npm test

Treat type errors as the migration guide for required protocol changes.

  1. Fix runtime compatibility in source files.

Typical hotspots:

  • src/CodexAcpClient.ts: thread start/resume params and initialize capabilities
  • src/AgentMode.ts: sandbox policy shape changes
  • src/CodexEventHandler.ts: new/changed server notifications
  • src/CodexAcpServer.ts: history replay for new ThreadItem variants
  • src/CodexToolCallMapper.ts: mapping new tool-like items to ACP events
  1. 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.

  1. Re-run targeted suites, then full checks.

Run focused tests for touched behavior, then:

bash
npm run typecheck
npm test

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/blitzdotdev/blitzos/codex-update-compat/badge)](https://verified-skill.com/skills/blitzdotdev/blitzos/codex-update-compat)

Something wrong with this skill or its page? Tell us.