← Work
Open source
Fixing what breaks for real users
bottomless/agent-duel · Battle sandboxCleanup commands no longer refused
- Problem
- The sandbox misread a command that deletes a folder as a write to a file called f, so an agent cleaning up its own temp folder was blocked.
- What I did
- File commands now know which of their options take a path and treat the rest as switches. Every other command works as before.
- Result
- Merged, with tests for each case raised in review.
bottomless/agent-duel · Battle sandboxA sandbox gap closed
- Problem
- The sandbox skipped every word that starts with a dash, even after the marker that ends a command's options, so a path named that way could write outside an agent's folders unchecked.
- What I did
- Those words are now checked as files too, while build commands that pass options through still run as before.
- Result
- Merged. I found it while my previous sandbox fix was in review.
bottomless/agent-duel · Changes viewNo phantom last line in diffs
- Problem
- Every file in a battle's Changes view showed an extra empty row after its last line, so a 12 line file looked like 13.
- What I did
- The side by side and single column views now drop the final newline the way the merged view already did, and a real empty last line still shows.
- Result
- Merged, with tests that fail on the old code.
bottomless/agent-duel · Chat historyOld chats that open again
- Problem
- After Agent Duel switched to Arena models only, chats saved before the switch wouldn't open, and Retry failed the same way.
- What I did
- Reproduced it on the latest beta and traced it to the old saved model being reapplied when a chat resumes. Fixed the resume path so saved chats keep their history, with a regression test.
- Result
- Merged, and it ships in the next desktop release.
bottomless/agent-duel · Battle summariesSummaries that keep the ending
- Problem
- On long battles, the summary that compares the two agents dropped each agent's final answer, so voters were judging without the ending.
- What I did
- Helped trace it to the input being cut off. The summary now keeps the end of each timeline, and the whole prompt stays within a safe size.
- Result
- Merged into Agent Duel. The team built their next summary fix on top of it.