Error Recovery 🚨
4R framework. Never lose work silently.
The 4 Rs
R1: RECOGNIZE → Did something go wrong?
R2: RESCUE → Can I recover automatically?
R3: REPORT → Does the human need to know?
R4: REMEMBER → What should I learn from this?
R1: RECOGNIZE (Don't Ignore Errors)
Error signals I must not ignore:
□ Command exit code ≠ 0
□ Exception thrown
□ Timeout exceeded
□ Empty/unexpected output
□ "error", "failed", "exception" in logs
□ Behavior different from
[Description truncada. Veja o README completo no GitHub.]