Skip to content

Add model fallback strategy for agent execution failures #233

@snipcodeit

Description

@snipcodeit

Description

When an agent fails after retry exhaustion, implement a model fallback strategy: try re-running with a different model tier (e.g., opus -> sonnet -> haiku for analysis tasks). Integrate with gsd-tools resolve-model to get the fallback model chain. Add a fallback_attempts field to diagnostic logs. Configurable via .mgw/config.json retry.model_fallback: true/false.

Acceptance Criteria

  • Add model fallback strategy for agent execution failures

Milestone Context

  • Milestone: v8 — Agent Reliability & Failure Recovery
  • Phase: Phase 45: Retry Policies & Fallback Strategies
  • GSD Route: plan-phase

Dependencies

implement-configurable-retry-policy-engine

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions