google-gemini / google-gemini/gemini-cli

[Behavior Mgmt] Gemini CLI should build and lint after every file change

Open
#17,108 1 comment 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/agent kind/enhancement priority/p2 status/bot-triaged workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

Tracks updating the system prompt and evals to ensure that Gemini CLI builds and lints and runs tests after most file changes.

Right now it seems to wait until the end of the scenario, often resulting in a tail of unnecessary changes or a 'run-on' whack-a-mole' of build and test fixes. This is particularly troublesome when doing [long, repetitive operations](#17107) because it makes it harder to resume in a new session.

The goal is to get the agent to work more like a human and aim to keep the code buildable at each stage.

**Scope of work:**
- Eval test that checks that the agent builds and runs tests after each file change.
- Prompt changes as needed to steer it to do so.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.