Tom Heffernan

Control of AI through guarantees, not review.

M.S. in Artificial Intelligence, Worcester Polytechnic Institute, May 2027 · heffnt@gmail.com

The problem, and how I ran into it

I never liked writing code by hand, but I loved thinking about systems and building things. When ChatGPT came out I switched almost at once to having AI write my code, and as the tools improved I moved to Cursor, then to Claude Code and Codex, and finally built my own environment, Jarvis, where AI agents write all of my software.

That is where I ran into the problem I now work on. My agents write code far faster than I can read it, so I stopped reading it line by line, but I still needed to know the work was right, and I found I could not rely on the agents to tell me. An agent would report a feature removed while the old code was still running. A fix for one bug would quietly cause two more. An agent asked to review another agent's work would give a different verdict each time. An agent's explanation of why it did something did not always match what had actually driven it.

These are small, everyday versions of the central problem in controlling AI that is more capable than we are. As AI systems surpass the people overseeing them, the usual safeguards fail:

I care about this because I live it every day at small scale. If my only safeguards were reading every line and trusting my agents' word, I would have to give up most of what they can do for me. The same choice at the scale of superintelligence is far worse.

The end state I'm building toward

Control has to come from programs: checks fixed ahead of time that hold whatever the AI does. In the system I am building toward:

  1. Intent is captured exactly. A person states what they want in plain language. The system keeps their exact words, and every requirement it derives is traced to them. A second agent that sees only those words derives the requirements independently, and any disagreement goes back to the person. I call this part the intent engine.
  2. A program decides what takes effect, never an agent's say-so. The riskier the change, the stronger the check it must pass, up to machine-checked proofs.
  3. The code gets better with every change. Quality means two things: how much time and compute the next change costs, and whether the code does what the person intended. Every accepted change is meant to leave both no worse, measured by counts a program keeps. I call the procedures that do this Goodify.
  4. The person's job is intent and understanding. They state what they want and understand what is guaranteed, without reading every line.

Each guarantee is a property specified in advance, holds under assumptions that are stated openly (for example, that an agent's written reasoning reflects what it actually did), and is enforced by a program whose behaviour can be analyzed before it runs.

Jarvis is my attempt to build this, with myself as the first person whose intent it serves.

Where Jarvis stands today

Jarvis is a work in progress. It has run on one server since February 2026, and agents write all of its code.

How I work

I design and specify, and agents implement. Before anything is built, I explain and shape the design. When something breaks, I fix what allowed it, so the whole class of failure cannot recur. I measure before deciding and change one thing at a time. I keep simplifying, merging what is duplicated while keeping the intent behind it.

Skills

Portfolio

Education