Crypts and Commits - Rulings

Crypts and Commits - Rulings

Partway through a feature, the agent asked me a perfectly reasonable question: did I want it to keep an architecture decision record?

If you haven't run into one, an ADR isn't a design document and it isn't a spec. It's a folder of short notes, one per decision: what we decided, and why. It's a well-known engineering pattern. I figured, we could try it out.

For the first few days it felt great. Every open question we answered and every course correction we made based on something we found got its own little file. A complete record of every decision made while building. What's not to like?

Two days of work later, I had thirty of them.

There's no way those were all equally important, and the log had no idea. It was append-only. Every decision went in, nothing ever came out, and the agent was going to carry every one of them forward whether it mattered or not. A folder with dozens of files and no process behind it isn't a history. It's a ticking time bomb.

I've been arguing for more

In This Documentation Isn't for You, I wrote about how the docs in my repositories are mostly read by the agent now. In Boss Edition, I argued that an agent can only weigh a future it can see, and I gave it a roadmap that reached further ahead. Both posts point the same way: give the agent more context.

A decision record looked like more of the same, and it didn't only show up once. While I was working with Boss Edition, two separate projects with no shared memory between them both started reaching for decision records. I think of that as emergent behavior.

I should be honest, though: it could just as easily have been an update to Claude Code that made that behavior more likely. My own tools are changing fast. The AI tools underneath them are changing even faster. This is a big reason why it's so hard to hand out clean evidence in my most recent posts...the tools don't want to stay still long enough for it to be gathered. But if you've been working with these tools for a while, I'd bet this is a feeling you are very familiar with.

Either way, this is the post where "more context" starts to break.

Do I actually care?

There's a question I ask whenever a decision gets made: do I actually care?

With the roadmap, I never noticed I was asking it. Every item passed automatically. If I didn't care about a feature, it wouldn't be on the list, because I wouldn't want to build it.

Decisions feel the same at first. Capturing them initially seemed worthwhile. Who's going to argue against writing down why you did something? But when I sat down after a chunk of work and went back through the log, the answer for most of them was... no. They mattered to the work we'd just done. They didn't need to change how the project worked from then on.

A decision being logged is not the same as a decision being important.

The easiest example to look at is one recorded when documentation started to overflow the cap placed on MCP output. It was initially capped at 40,000 characters. The documentation in question had grown past it. The decision was to raise the cap to 45,000 as a stopgap and drop the real fix, splitting the guide into separate planning and development versions, into the backlog.

Perfectly reasonable. Dutifully recorded. And here's the funny part: the agent had already written that constraint into the code, clearly, with nice inline documentation explaining why the cap was there and what it was waiting on. The decision record was a second copy of something the code already said, and said well.

If the code already makes the constraint and the rationale clear, why is the decision record still sitting in the agent's context?

That's the part that actually bothered me. The main audience of my documentation is the agent. With an append-only log, the agent reads all the project documentation, then reads all the decisions, and has to work out which ones changed the other. When a decision overrides the documentation, that isn't history. It's a discrepancy. Discrepancies should be fixed, not stacked.

I'm not out to prove that most decisions are noise. I don't have the numbers for that, and I'm not sure they'd be worth much if I did. But if you've ever kept a decision log, I suspect you already know how ignorable it gets a couple of versions in.

Rulings

Crypts and Commits v0.4.0 is my answer, and it sticks with the tabletop framing from the rest of the package.

Anyone who has sat at a gaming table knows how this goes. The Game Master makes rulings all session long. Can I make that jump? Does the spell reach around the corner? Every one of those rulings matters to the players in the moment. A few of them become house rules, written down and applied every time after. Most are forgotten by next week, and the game is better for it.

That's the whole feature. A ruling is a decision I confirm during active development, recorded by the agent.

The "aha!" for me wasn't the record. It was turning the record into a queue. Rulings pile up while we work. After each large chunk of work there's a quick planning session, and one of its jobs is to clear the queue. Each ruling goes one of two ways:

  • Canonized: folded into the sourcebook, the project documentation the agent reads before it starts working. If the decision was to use a particular Python module or design pattern, that ends up in the docs for that part of the code, or becomes a new standard the agent checks its plans against.
  • Noted: it doesn't need to live anywhere else, and a short reason gets recorded saying why.

Either way, the ruling is archived. It's still there if I go looking (rulings are never deleted), but it's no longer loaded into the agent's context by default.

That's how the agent forgets. The character-count ruling was noted and promptly forgotten.

On another project, an early development goal had explicitly left serving a computed status out of scope, and nothing else on the roadmap picked it up. Partway through the work, I decided we'd serve it after all, so the admin app could show it and work queues could filter by it. At triage, that ruling was canonized into the admin app's goal, and then archived.

In this instance, we have a ruling that we would want to capture...but it still gets removed from the activing rulings in the agent context. The decision lives on in documentation the agent already reads, and the formal record of it goes to the archive. The only difference between a canonized rule and a noted ruling is whether the decision survives somewhere else.

A few honest notes about how this works in practice.

The "hindsight" in triage isn't weeks of distance. It's coming back to a decision after a real context switch, once I've moved on to something else and can look at it fresh. I know that sounds like a short gap. I got similar pushback during review of the last post, about roadmap milestones coming too quickly to count as long-range. I still don't have a good way to explain how much AI has changed the rhythm of development work. I just know the old yardsticks don't fit anymore.

Triage is also just a conversation between me and the agent. Where I have strong feelings about a ruling, I've usually already said so. Where I don't, the agent makes a recommendation. The "do I actually care?" question is mine. The record is the agent's.

And yes, I know. "Is that sustainable? Is there really a human in the loop?" is the argument in AI coding right now. I'm aware of the irony of a human whose job in the loop is mostly deciding which of the AI's notes to throw away. I'm fine with that job. Somebody has to be the GM.

For the record, I've run about a dozen of these triage cycles. That tells you I'm actually using this in my own development. It doesn't tell you anything else.

Let your AI forget

Here's the takeaway, and it's a little awkward coming from me: don't build context that can't forget.

The failure mode is the same one you get any time you neglect the context you're sending an AI: drift and distraction. The difference is that this time, the neglect is hiding inside something that looks like diligence. Writing everything down feels responsible. It isn't, if nothing ever comes back out.

Underneath that is the lesson I actually care about. Every decision made in the moment is a signal that the agent didn't have enough context to make that call without me. That's useful. Use those decisions to refine the context, and then let the record of them go.

You don't need Crypts and Commits to try this. If you keep a decision log, a notes file, or a CLAUDE.md by hand:

  1. After each meaningful chunk of work, sit down with the agent and go through the decisions you made.
  2. For each one, ask: do I actually care?
  3. If yes, promote it into the documentation the agent actually reads.
  4. If not, archive it with a one-line reason, somewhere the agent doesn't load by default.

Then watch whether the agent drifts less. Or doesn't, and tell me I'm wrong.

Can I prove any of this works? Not really...but it does feel like it is. This has been my recurring answer to that question latetely--and I don't see it changing in the near future. Regardless, I'm off to keep building new things and reporting back what I think I am learning.