Skip to content

feat: chain fallback for named agent handoffs#55

Merged
Manavarya09 merged 1 commit intomainfrom
feat/chain-fallback
Apr 15, 2026
Merged

feat: chain fallback for named agent handoffs#55
Manavarya09 merged 1 commit intomainfrom
feat/chain-fallback

Conversation

@Manavarya09
Copy link
Copy Markdown
Owner

Summary

  • relay handoff --to codex now cascades to next agent if codex fails (both unavailable and execution failure)
  • New --no-chain flag disables cascade (old behavior)
  • relay replay also benefits from chain fallback
  • Warning messages printed when falling back

Test plan

  • cargo check compiles cleanly
  • All 62 tests pass
  • relay handoff --to nonexistent cascades to first available
  • relay handoff --to nonexistent --no-chain fails without cascade

🤖 Generated with Claude Code

When using --to <agent> and that agent fails, relay now automatically
cascades to the next available agent instead of stopping. Use --no-chain
to disable this behavior.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Manavarya09 Manavarya09 merged commit c90291b into main Apr 15, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant