google-gemini / google-gemini/gemini-cli
[Behavior Mgmt] Agent should have an explicit 'review changes' step
- Dominant language
- TypeScript
- Stars
- 107k
- Forks
- 14.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 45
Description
Gemini CLI often litters the codebase with extra changed lines that aren't really required to solve the problem. In Gemini CLI repo, this often manifests as redundant type casts. This issue tracks adding explicit instructions for a final review of the code, before calling it "done".
**Scope of work:**
- Behavioral eval that checks that the agent performs the final "review" actions.
- A 'review' step, implemented either as a step in the agent instructions, or as a subagent call. Steps include:
- `git diff`
- Introspect on changes. Are any unnecessary to minimally solve the problem or just formatting changes?
- If so, revert these.
Contributor guide
Assessment
This issue has not been assessed yet.