Skip to content

Sojourner

How I build software with agents

When I work with coding agents, I start by describing the result I want to see. A request to improve search can mean faster responses, better matches, or fewer dead ends. Each of those needs a different change and a different way to tell whether it worked.

Decide what the change must do

I read the existing code and follow the path a user takes. I write down an example of the behavior I want, the constraints it needs to respect, and what I’ll check before calling it done. When a decision changes the data model or will be expensive to reverse, I settle the vocabulary and record why I chose the approach. If the uncertainty is about the interface, I compare working prototypes before writing the full spec. Matt Pocock shows this sequence in his feature walkthrough.

Build and review a slice

I give the agent enough context to deliver one behavior from input to result. Independent jobs can run in parallel in separate worktrees. If two jobs change the same API or data model, I settle that contract first. I review the integrated diff and ask for evidence that fits the change. A rule can have a focused Vitest test. A user journey may need Playwright and a browser walkthrough. An AI feature may need evaluations or a run with the actual model. Ras Mic’s workflow shows how to collect that evidence with the pull request.

What that looks like in Riffin

Riffin helps people find, study, and save creative references. Its TypeScript stack spans a React interface, a typed API, and account-backed storage. A saved-reference change crosses those layers. I’d verify that the right user can save a reference, reload the page, and find the same record again. A change to drafting asks a different question. Automated browser checks can exercise the flow with deterministic inputs. A separate run with the configured on-device model can show what the model produces in practice.

I decide when the evidence is enough to ship. If a review keeps catching the same mistake, I turn that finding into a check or a short instruction in the repo so the next change starts with what we learned.