mirror of
https://github.com/openai/codex.git
synced 2026-09-05 15:18:41 +00:00
## Why Durable v2 sub-agents can be lazily reloaded after their root session resumes. The reload path restored the agent identity but did not reapply the agent's selected role configuration. ## What changed - Recover the agent role from the resumed session source and apply it before reloading the sub-agent. - Preserve the runtime approval policy, approval reviewer, working directory, and permission profile while applying the role. ## Testing Extend the cold-resume integration test to verify that the reloaded worker retains its role-defined instructions, model, provider, reasoning effort, and permission profile. GitOrigin-RevId: a26dbbd2599838ca317326a1223a6a0a9cb2a2ed