fix: handoff to codex on persistent session failure
When Claude reviewer hits retryable session failure twice, hand off to codex instead of silently failing. Adds 'session-failure' to AgentTriggerReason and shouldHandoffToCodex check.
This commit is contained in:
@@ -101,7 +101,8 @@ export type AgentTriggerReason =
|
||||
| 'org-access-denied'
|
||||
| 'overloaded'
|
||||
| 'network-error'
|
||||
| 'success-null-result';
|
||||
| 'success-null-result'
|
||||
| 'session-failure';
|
||||
|
||||
export type ClaudeRotationReason = Extract<
|
||||
AgentTriggerReason,
|
||||
|
||||
Reference in New Issue
Block a user