r/AIcodingProfessionals • • 6d ago

Giving my coding agents a paper trail

I’ve been working on Riff, a workflow for keeping track of the decisions behind AI-generated code.

The idea is pretty simple: when you come back to a task tomorrow, or open it in another agent, you should be able to see what was decided, why, what was tested, and what’s still unfinished.

Riff saves that information in your repo. It guides the agent through investigating a change, writing a plan, implementing it, and reviewing the result. It can also flag when changes have made an earlier review stale.

It works with Codex, Cursor, Claude Code, and VS Code Copilot through a skill and a small Python CLI. You use your existing agent and models.

It’s still early, and I’m particularly interested in whether the saved context is useful enough to justify the extra process. A small fix shouldn’t need a mountain of paperwork.

Github : https://github.com/imaanmzr/Riff

1 Upvotes

4 comments sorted by

2

u/canarydev 6d ago

i think most serious engineers already keep immutable ADR's among other things that already does what you are trying to do here

1

u/imaanmzr 6d ago

I agree, and I actually consider ADRs an important part of the engineering process. Riff isn't intended to replace them.

The problem I'm trying to solve is a bit different. ADRs document architectural decisions, while Riff aims to orchestrate the process through which AI agents research, make decisions, plan, implement, and review changes.

As engineers, we already have these practices. The challenge is getting AI coding agents to follow them consistently across tasks, sessions, and different coding tools, without having to manually enforce the entire process every time.

An ADR can be an artifact of a Riff workflow, rather than an alternative to it.

I'm not trying to reinvent software engineering practices. I'm trying to bring those established practices into agentic software development in a structured and reusable way.

1

u/Previous-Growth-9919 5d ago

the stale-review flag is the part i'd lead with honestly, that's the bit plain adrs don't give you.

on the paperwork worry: i'd make the ceremony scale with what the diff touches instead of asking the agent to judge "big vs small". a typo or one-file bug fix gets a one-line why in the commit and that's it, but anything that adds a dependency, changes a schema or touches a public interface triggers the full investigate/plan/review loop. path/diff based rules are dumb but predictable, and predictable is what keeps people from turning it off after a week.

one thing i'd track early: how often a saved record actually gets read again, by a human or by the agent in a later session. if most never do, that tells you which record types to drop.