Files
codex/codex-rs
akak-oai 410b21c003 Add a crate for one-shot turn milestone watches (#64920)
## 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
2026-12-01 04:20:28 +00:00
..
…
…
…
…