Set turn triggers for guardian and memory requests (#44298)

## What changed

Populate `turn_trigger` in request metadata with `guardian_review` for guardian reviews, `guardian_classifier` for classifier requests, and `memory_consolidation` for both detached memory requests and consolidation agent turns.

## Testing

Extend request metadata assertions to cover each trigger across guardian reviews, classifier requests, and both memory startup phases.

GitOrigin-RevId: 2dc3c173ede6563b942b8099ad9901c32967b969
This commit is contained in:
joeytrasatti-openai authored and copyberry committed 2026-09-09 20:32:57 +00:00
1 parent 87cf20ee49
commit 742472c525
9 files changed
+29 -1

No files matched your search

+1
View File
@@ -241,6 +241,7 @@ async fn detached_memory_responses_metadata_omits_empty_workspace_metadata() {
"request_kind": "memory",
"sandbox_mode": "read-only",
"thread_source": "memory_consolidation",
"turn_trigger": "memory_consolidation",
})
);
}