Repository navigation
fix(evolve): keep no-edit completions conversational (ENG-580) - #694
Conversation
|
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryChanges
|
|
apologies for the delay - as you can see I'm doing very thorough testing to automated code review more and your PR is one of the test subjects. This looks good, I'm merging. |
Pull request was closed
|
Juanpe Bolívar (arximboldi)
left a comment
There was a problem hiding this comment.
Hi Rui Grier (@ruigrier)! thank you for your contribution. I specifically appreciated the inclusion of videos demonstrating the fix.
I am approving the fix and will merge when CI passes (somehow needed to reopen the PR to be able to approve CI running).
|
Thanks for the fix. A few optional follow-ups, none blocking:
|



Summary
Fixes #441. ENG-580.
When the agent calls
donewithout making edits, nixmac currently opens Review/Save with an empty diff. This also happens if the agent ran a successful build check first.Mark no-edit completions as
Conversationalso the existing lifecycle displays the agent's explanation on Describe and skips the review/save workflow. Require edits for the build-verifiedGeneratedpath; otherwise, a successful build check would bypass the no-edit handling. Completions with verified edits still enter the normal review workflow.Test Plan
donewithout edits after no build check, a successful build check, and a failed build check. It checks the conversational state, preserved summary, and loop termination. The regression test failed before the fix.donewith verified edits still producesGenerated. Existing tests continue to cover rejection after a failed build.done_run passed all six matching tests.cargo fmt --all -- --check, using the development shell's Rust/Cargo 1.96.0.donewithout edits. The explanation appeared on Describe; Review/Save did not open.done. The result remained conversational, with the explanation visible on Describe.The demonstrations use deterministic provider responses with the real Rust agent, tool execution, lifecycle, and frontend.
no-edits-direct.mp4
no-edits-build-check.mp4
Docs
This changes agent-loop completion behavior. The companion documentation requirement is still unresolved:
darkmatter/nixmac-webreturned HTTP 404 with my current GitHub access.