feat(cli): add auto-improve command#4161
Closed
DragonnZhang wants to merge 94 commits into
Closed
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/auto-improveslash command that lets Qwen Code run a session-scoped loop for small, locally verifiable repository improvements. The command supports source configuration, loop start/status/stop controls, scheduled ticks, and local state tracking for each run./auto-improve sourcesupports built-in source toggles plus an editable custom source list. Users can add multiple custom source hints, edit existing hints, delete hints, and save them into the repository-level auto-improve config./auto-improve stop.Validation
/auto-improve sourceopens source configuration, supports adding/editing/deleting custom source entries, and/auto-improve start --every <interval> [prompt]snapshots those custom sources into the loop and schedules/auto-improve tick <loop-id>. Tick instructions require PR-derived tasks to use PR head branches and prohibit push unless explicitly requested./auto-improve sourceand/auto-improve start --every 30min the CLI with cron enabled.Scope / Risk
/auto-improve. Existing draftuserContextconfig is migrated into the new custom source list on read.Testing Matrix
Testing matrix notes:
Linked Issues / Bugs
No linked issues.