Files
gemini-cli/packages
Abhijit Balaji e0622a70e3 feat(core): optimize system prompts for turn and token efficiency
Integrate high-performance behavioral mandates from GEPA-optimized Candidate 12.
This shift transitions the agent to a 'Senior Systems Engineer' persona.

Key Changes:
- Elevate Turn Minimization to a CRITICAL mandate in core instructions.
- Mandate 'Execute-Test-Verify' atomic turns using shell logic (&&, ||).
- Authorize shell-first mutations (cat << 'EOF', sed -i) to bypass brittle tools.
- Implement 'Test-First' anchor: finding and reading tests is now the absolute first action.
- Add zero-tolerance for trial-and-error: require diagnostic dumps on error.
- Refine Python tooling: prioritize project conventions (Poetry/Hatch), then uv (with proactive install).
- Enhance persistence mandates for both interactive and autonomous modes.
- Optimize read strategy: favor parallel partial reads via read_file with shell fallbacks.

Verified via updated vitest snapshots and core build.
2026-04-08 11:38:03 -07:00
..