by wk_end · 1w ago · 0 comments
Maybe that's just marketing, but it's really intriguing how human best practices are also agent best practices; how, maybe, we've reached a point where even devs aren't recognizing agent best practices as human best practices anymore; and how suddenly best practices are being prioritized in a way they often weren't - humans could/would/were expected to suck it up and deal with poor devex, but agents simply can't. A strange sort of victory for us folks who cared about it.
AI has forced me to write out more planning documents. Not waterfall strategic planning, but tactical planning such as describing the desired behavior of a script before I write it, or pre-registering a data analysis and my expected findings in writing before I start querying data -- that goes in a PLAN.md within whatever folder I'm working on at the moment.
I now keep a systematic todo list that I call TASKS.md, which groups tasks into topical sections and every task has an ID, such as MD3 or EV7.
I also keep an append-only-ish journal of results, findings, unfinished thoughts, rejected ideas, etc.
All of that goes right into my project Git repo. It works great for both AI agents and humans.
But perhaps more interesting than my new workflows, is that I actually learn things from the AI. The idea to start pre-registering all my little analyses, not just the big tasks, was a Claude-ism that I've since adopted even when I'm not using AI.
my take is, in the current state of the ecosystem, you should use https://github.com/kunobi-ninja/kache and make agente work on separate worktrees,each with their own target directory
usually separate target dirs means multi-gigabyte artifacts for each worktrees (and waiting for the same code to compile again). but not with kache, it builds only once and reduplicate files (with reflinks if your filesystem supports it)
there's also some projects for live reloading rust, and some specific tips about faster builds during iterative development (the most relevant being, use the mold linker)
Citation is needed
But frankly I don't mind it as much with agents as I did when handwriting the code. It's on the agent to endure the slower feedback loop.
Secure? o_O
I've spent the last few years banging on a drum about teams installing linters, static analyzers, and similar in Laravel teams. I get nods of agreement from seniors but little willpower from managers, who just want to see the number of commits line go up.
Surprise surprise, now that I am in charge of a project and have enforced these standards, the team has done incredibly well with even just partial AI adoption in their work - because the guard rails are there and agents don't get tired of hitting them.
The idea that humans never needed a concise summary of where everything is, but then agents came along and suddenly it's really useful, really bugs me. But here we are, and I'm occasionally reading AGENTS.md files like some sort of weirdo. I'm not an AI, why am I being made to read this?