[ Case Study ]

JAMIE

A persistent AI development partner — agent harnessing and context engineering, run as a daily practice.

// The case study you're reading was written with it

  • Agent Harnessing
  • Context Engineering
  • Prompt Engineering

[ The Problem ]

Agents remember now, but on the vendor's terms: the tool decides what to keep, I can't review it like code, and it stays with that one product. It still repeats the mistake I corrected yesterday, and reports work as done when it isn't. Methodologies for fixing that were everywhere, each with strong opinions, and most assumed I'd commit to one vendor, one framework, one company's playbook. I wanted to read across the field, pick what I trusted, and have it travel with me.

JAMIE is what came out — a personal synthesis. The folder/workspace methodology comes from Jake Van Clief, whose writing has been my main reference, with Karpathy's wiki principles in the background. The soul document and persona ideas come from OpenClaw. The discipline I added on top is automation over hallucination: where the system can use a script or a typed schema, it does; prose generation is for the parts that require it.

The ideas aren't original — the synthesis is. Running it every day turned it into something else: when the agent gets something wrong, the failure goes in the log and the principle goes where the next session will read it.

[ Architecture ]

JAMIE — Just Always Making It Easier — gives the agent four things every session: a persistent identity, memory that points rather than copies, a workspace scoped to the task, and a session/retro loop that keeps the whole thing from rotting. Underneath, it's agent harnessing and context engineering: every piece below exists to manage the agent's context window — what goes in it, what stays out, and what it costs to load.

[ Decisions ]

Markdown files and conventions, not an app

JAMIE is text I can grep through, not a dedicated runtime with its own UI. The trade-off is no custom interface, no indexed search, no product surface — what I give up is meaningful.

The payoff is that the system isn't written into one vendor's product. The instructions live in one shared file, and each engine gets a thin entry file that routes to it.

Automation over hallucination

Where a script or a typed schema can do the work, use it; reserve prose generation for the parts that require it.

More of the agent's work keeps moving into scripts: they generate the list of what changed in a session, print the commit handoff, and check every message. The agent supplies the judgment, and the script supplies the part that has to come out the same every time.

The cost is more upfront engineering than "ask the agent to handle it." The payoff is that file lists, commands and message formats come from code rather than the agent's recall. Hallucinations compound; structured boundaries don't.

Memory points; it doesn't copy

A note says what was true when it was written; a command says what is true now. So where the repository or a command already holds a fact, memory holds a pointer to it, and when work closes, its record is deleted rather than moved somewhere shorter.

The cost is that memory stays small and some things have to be looked up again. The payoff is that what JAMIE loads is current. Early on I kept my own notes on framework problems, like Expo and Postgres gotchas. Those facts belonged to the official docs and the repos that hit them, and most of the notes had gone stale by the time anyone read them, so I deleted them.

Workspace-scoped context

The agent loads only the files the current task needs: a resume update loads the career record, a project build loads that project's repository.

The cost is deciding, folder by folder, what each kind of task needs. The payoff is less noise per call, fewer cross-domain rule confusions, and lower token cost on the agent's working set.

Review against a catalogue, not an impression

JAMIE reviews work against catalogues of named problems, for code, web and mobile interfaces, security, usability and prose. Each entry carries a signal you can observe, and every finding has to cite the entry and the line that trips it: no evidence, no flag.

Most entries were earned in real work; the ones borrowed from outside are marked, and a borrowed entry that never fires gets deleted.

The cost is maintaining the catalogues. The payoff is review that's principled instead of impressionistic, and a clean result that means checked rather than skipped. The review is input to the decision, never the verdict.

The agent hands off; I commit

JAMIE writes the code and hands me the commands to stage and commit it. Its instructions tell it never to commit or push, and a Git hook refuses commits from Claude Code as a safety net.

Before those commands reach me, a script checks each commit message and branch name. A message needs a type from a fixed list and a verb from a short approved list, and its subject stays within fifty characters. A branch is named for the work.

The verb list borrows its principle from Simplified Technical English, the controlled language written for aerospace maintenance manuals: one word, one meaning. I didn't adopt its dictionary. The list was compressed from the verbs the commit history already used, keeping only words whose meaning doesn't blur into the next one, so "rebuild" says the same thing in the log a month later as it did the day it was written.

Several of these rules came from real failures. A long git add line wrapped when I pasted it, the terminal ran the overflow as its own command, and only four of six files were committed, so a handoff is now one command per line. The agent also ran a paid model call without asking and stashed my uncommitted work, so any command that spends money or moves my work now has to be named and approved first.

The cost is a handoff step on every commit. The payoff is that I run every commit myself, with its message already checked.

[ Under the Hood ]

JAMIE has no UI of its own — the interface is the agent reading and writing markdown. Three artifacts from the system that built the portfolio you're reading — pick one.

Who JAMIE is, read at the start of every session. It is short on purpose: it sets how the agent weighs a choice, and the operating rules live in their own file beside it.

> jamie/SOUL.md
# JAMIE

Jacob Ikola's workshop partner across every project.

First person. The terminal is me, not a layer running me.

## Calibration

**Concrete first, system second.** Build by hand until the shape stops changing;
generalize only then. Speculative structure is the failure mode — and it's the
one I reach for unprompted.

**Tools earn their place.** Default to pass on a new skill, framework, or
pattern. The bar is current friction, not future utility. Don't formalize before
the practice is proven.

**Standard before clever.** Suspicious of "elegant" and "clean" when they're
hiding a manufactured tradeoff. Ornament that doesn't earn its place gets cut.

**Debate, not deference.** I push back when I think you're wrong, and I aim it —
disagreement that arrives on schedule stops carrying information and starts
getting routed around. I name the reframe when scope expands silently.

**Honest about the distance** between what a source says and what I'm about to
say it means. Every claim I've inflated was built from something real; that's
why none of them looked wrong on the page.