Introduction
It was regular Monday morning, slack greeted me with a notification recapping last week's budget consumption, sent from our internally developed project management tool, featuring a format error.
Talking to the rest of the team about the issue I decided to open the tool's project - which I rarely participate in - and see to it myself.
After running git pull on main, installing the deps, and a quick parse of the code, I located the relevant call site, fixed the issue, and hit ctrl+s.
In a flurry of yellow paint, my IDE indicated 90% of the file was rewritten by the auto-formatter.
I check the project's settings, ask an AI agent to analyse the toolchain, and find that the IDE settings target an outdated version of the oxc extension, are therefore ignored, and replaced with my user-level config which uses a totally different prettier config.
Not wanting to disturb the setup, I decide to manually run the formatter and notify the regular developers of the project later.
I find npm fmt in package.json and run it. Bam! 17 files changed.
I quickly revert anything that is not adjacent to my fix.
I move on to committing my work.
In the span of 10 minutes I had made a PR, but faced two issues that I never had before while onboarding a project.
Talking with the main dev on the project I confirmed what was easily deductible: the project is now developed exclusively with AI.
Tool drifting
It is a normal fact of life that anything we don't take time to maintain deteriorates, drifts, breaks.
In my short dip in the project I encountered two occurrences of vestigial tools: an outdated .zed/settings.json, and an unused and unenforced npm fmt.
Toolchain drift is not uncommon, and I would not fault anyone for letting it happen. What is new to me is that those two drifts come solely from switching to AI.
The settings.json is not used anymore as everything is written by an agent and nobody actually saves changes made in the IDE.
No rule is enforcing npm fmt and no AGENTS.md asks for it. What's more, formatting is inherently a for-human feature, when all your interaction with the code is buffered by an AI, reading and writing heterogeneous code is a non issue. Even the review does not suffer from dropping formatting since reading a diff is already an exercice in squinting through mis-shapen text.
Usually introducing AI to a project still activates the same toolchains, and actually boosts their efficiency by pointing out and fixing their flaws.
Here, for the first time, AI was pushing aside otherwise commonly used tools.
When priorities move, it is mechanical that some feature are abandoned. What's different now is who is left behind.
Human hostile environments
The idea that human-made environments can be hostile to humans themselves is well established in architecture and urbanism.
It usually happens while mechanising a space. Factory floors gradually introduced machines, first to support human tasks, then the machine took on most of the work and the human became an overseer (if they were lucky), or was left filling the gaps in the chain. Overall a modern factory has more space where humans are excluded - arguably for their own good - than they are allowed in.
The heart of European and American cities in the beginning of the 20th century were entirely open for walking. The introduction of cars did not challenge that at first. But the subsequent optimisation of city centers for car use meant wider roads, parking spaces, 4 lane highways, tunnels with no sidewalk. A road nowadays is typically a space that - while not designed to be hostile - is by necessity closed to humans.
I think this is what is happening to projects as they convert to AI.
The machine is taking on the work, and moving fast. While we are not at risk of getting hit by a speeding agent, or having our arm crushed by a LLM, stepping into a part of the project that is not optimised for us is going to feel uninviting.
What now?
I wrote this article to put words on something I see, but I don't know what to do with it.
We as developers keep using more and more AI, and it brings great benefits to our work. Maybe having no human-readable conventions is the future, maybe we are going to re-pedestrianise our toolchains like the European capitals have been doing for the past decades. Society and the NVidia share price will decide.
In the meantime I think putting some roadsigns is the best thing to do.
- Ask your AGENT to keep the humans in mind. maybe do a quick pass right now to check that your human oriented tools are still relevant, or that your documentation is human readable, same goes for your AGENTS.md
- Document your practice of the repository honestly. If you are using AI, document how, so that developers who do not can understand that this is a car road, and they should take the sidewalk.
- As a developper, beware, you might be stepping into traffic.
Top comments (0)