Add optional Redis-backed storage for Codex prompt cache IDs so cache keys stay stable across replicas while preserving the existing in-memory path when Redis is unset or unavailable. Wire codex prompt-cache config through YAML and environment overrides, apply the shared cache helper in both HTTP and WebSocket executors, and add tests for config defaults/sanitization, Redis TTL behavior, retention semantics, and explicit prompt_cache_key precedence.
- honors explicit prompt_cache_key before retention-based disable logic
- preserves short configured/request TTL values (for example 7s) instead of forcing a 1m minimum
- uses GET/SETNX/GET winner flow for distributed cache ID creation with local fallback on Redis errors
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
refactor codex request normalization and stream event parsing
shinmentakezo07
90d1585
ein
shinmentakezo07
d61c097
refactor(executor): split providers and preserve legacy entrypoints
shinmentakezo07+1: Claude Opus 4.6
3e5ab39
Extract provider-specific logic into refactored executors with a shared base flow, keep legacy executor files as thin compatibility wrappers, and apply static safety fixes to reduce duplication and avoid symbol/nil-path regressions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>