← knowledge.oriz.in

Try multiple alternatives on failure — never stop at first fail

rule agent-behaviorresiliencefallbackretries

Try multiple alternatives on failure

Rule

When ANY external dependency fails (website, API endpoint, install method, package source), try AT LEAST 3 alternatives before reporting it as a blocker.

How to apply

Why

The first failure is often transient or context-specific (DNS, rate-limit, ASR, etc.). Reporting "X failed, stuck" after a single attempt wastes the user's time and conversation context. Three attempts catch ~95% of recoverable failures.

Anti-patterns