Design an error recovery strategy for your harness. Define what happens when each tool fails: retry, switch tool, degrade, or escalate. Implement a circuit breaker for at least one tool.
Implement the Manus pattern: inject the full error message into context and have the agent try a different tool. Write pseudocode showing the context injection step.