mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
## What changed Add `codex-turn-milestones` to the Cargo and Bazel builds. A single turn can take each registration, which can watch published assistant text and direct Apps tool starts independently. Callers match text candidates or resolved resource URIs and can claim each watch once. The API lets callers match outside the timing lock, claim the watch while capturing the timing snapshot, and deliver the owned observation after releasing the lock. Observations include the thread, turn, and source identities, elapsed time, and a caller-supplied critical-path snapshot. ## Testing Unit tests cover single-turn ownership and verify that two concurrent matching tool starts yield one successful claim while leaving the assistant-text watch available. GitOrigin-RevId: c42c032f320752a5963eb6b0ea2aa4a2c85a2342