Files
gemini-cli/packages
Bryan Morgan b949049dcb feat(core): add error recovery guidance to non-interactive system prompt
The autonomous system prompt did not guide the agent on error recovery,
causing fallback loops. Adds a non-interactive error recovery section
to renderOperationalGuidelines() gated behind !options.interactive.

Covers: analyze before retrying, two-strike rule for trying alternatives,
avoid alternating-approach loops, verify fixes incrementally.
2026-03-12 15:16:50 -04:00
..