mirror of
https://github.com/openai/codex.git
synced 2026-10-25 15:56:38 +00:00
## What changed - Invoke `ToolLifecycleContributor::on_tool_start` only after pre-tool hooks have finalized the invocation. - Pass hook-rewritten arguments and the post-hook conversation snapshot to the callback. - Skip the start callback when a hook denies execution or supplies input that cannot be applied. ## Testing Add lifecycle tests covering rewritten input, hook-added context, denied tool calls, and invalid rewritten input. GitOrigin-RevId: 936efaf4a8c35321f9982ff2a33bb8bece1ebf39