Add a header in the responses API request for the task kind (compact, review, ...) for observability purpose The header name is `codex-task-type`
Extracting tasks in a module and start abstraction behind a Trait (more to come on this but each task will be tackled in a dedicated PR) The goal was to drop the ActiveTask and to have a (potentially) set of tasks during each turn