-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Background
The Error Recovery rules currently exist only in CLAUDE.md (project root, Claude Code specific):
## Error Recovery
- On CLI command failure, automatically try alternatives
- Do not wait for user confirmation on recoverable errors
- Only report to user on unrecoverable errors
- Never break the workflow on errorOther AI tools (Cursor, Codex, Q, Kiro, Antigravity) are unaware of this policy.
Proposed Fix
Add an Error Recovery section to packages/rules/.ai-rules/rules/core.md under the ACT mode section:
### Error Recovery (ACT mode)
- On recoverable errors (file not found, command failure, path issues), try alternatives immediately
- Do not wait for user confirmation on recoverable errors — recover immediately
- Only report to user on unrecoverable errors (auth failure, critical data loss risk)
- Never break the workflow on error — try alternatives and continueScope
- File:
packages/rules/.ai-rules/rules/core.md - The Error Recovery section in
CLAUDE.mdcan be replaced with a reference to shared rules - Applies consistent Error Recovery policy across all AI tools
Reactions are currently unavailable