Skip to content

Give Guardian classifications distinct turn identities - #41385

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/78757f2ad031844e4b545802f634c678a9ee2298
Aug 28, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/78757f2ad031844e4b545802f634c678a9ee2298

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 28, 2026

Copy link
Copy Markdown

Give Guardian classifications distinct turn identities

What changed

  • Generate a UUIDv7 turn ID for each Guardian classification and preserve it across retries.
  • Record the owning turn as parent_turn_id and propagate its trusted root_turn_id when known, including through the tool lifecycle extension API.
  • Omit ambiguous or unknown root lineage and keep classification identities distinct when reusing Guardian sessions and WebSocket connections.

Testing

  • Cover classification metadata across retries, connection reuse, concurrent samples, auth refresh, and consecutive owning turns.

## What changed

- Generate a UUIDv7 turn ID for each Guardian classification and preserve it across retries.
- Record the owning turn as `parent_turn_id` and propagate its trusted `root_turn_id` when known, including through the tool lifecycle extension API.
- Omit ambiguous or unknown root lineage and keep classification identities distinct when reusing Guardian sessions and WebSocket connections.

## Testing

- Cover classification metadata across retries, connection reuse, concurrent samples, auth refresh, and consecutive owning turns.

GitOrigin-RevId: 78757f2ad031844e4b545802f634c678a9ee2298
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/78757f2ad031844e4b545802f634c678a9ee2298 branch from 3ad7a64 to 60fc699 Compare August 28, 2026 18:25
@copyberry
copyberry Bot merged commit 60fc699 into main Aug 28, 2026
27 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/78757f2ad031844e4b545802f634c678a9ee2298 branch August 28, 2026 18:26
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants