Agents

Simon Willison Launches Commit-Rewriter 0.1

Open-source developer Simon Willison has released commit-rewriter 0.1, a Python web application designed to clean up AI agent clutter and private references from Git commit histories.

Simon Willison3 days agoAgents
Image: Simon Willison

Simon Willison has launched commit-rewriter 0.1, a new Python-based web application designed to streamline the process of editing Git commit histories. Willison originally developed the utility to clean up the commit logs for recent security releases of Datasette, his popular open-source tool for exploring and publishing data.

The utility addresses a growing challenge in modern software development: the messy output left behind by automated AI coding assistants. Willison noted that his initial commits for the project were cluttered with what he described as "coding agent cruft" alongside references to private repository issue IDs, making them unsuitable for public release. The tool provides a simple local web interface to easily modify these messages before publishing them to a public host.

To use the tool, developers run the Python application directly within their local repository directory. When a user submits their edits through the web interface, commit-rewriter automatically generates a timestamped backup branch of the current repository state. This safety feature ensures that developers can easily revert their changes if they make a mistake during the rewriting process. Once the backup is secured, the application automatically rewrites every commit starting from the first edited entry up to the most recent one.

For software practitioners, especially those integrating autonomous AI agents into their daily workflows, commit-rewriter 0.1 offers a straightforward way to maintain clean, professional public repositories. By automating the tedious process of interactive Git rebasing for message edits, the tool helps developers quickly scrub internal notes, agent-generated noise, and sensitive issue trackers before pushing code to public platforms. This reduces the friction of maintaining high-quality documentation in collaborative environments.

This is our own summary of reporting by Simon Willison

More in Agents