Back to the work

THE SYSTEM BEHIND THE SYSTEMS

Spiral One

The system I built to build systems.

MY ROLE

System architecture · Product design · AI orchestration · Implementation direction · Validation

OUTCOME / WHAT CHANGED

A local engineering control plane that preserves context, work state, verification evidence, and reusable observations without pretending to be a cloud scheduler or autonomous swarm.

OVERVIEW

The system I built to build systems.

AI coding models are becoming more capable every day. They're getting smarter, but not always in exactly the ways I need them to.

Context has limits. Sessions have limits. Models have limits.

Important information gets locked in a thread. Work gets interrupted. You come back a couple days later and have to figure out where you left off. Sometimes you spend a decent chunk of a new context window or token budget just getting the model back to the point where it can keep working.

Do that across enough projects and you start spending a lot of intelligence solving problems you've already solved.

I didn't want that.

I wanted a system where, as I grew and became more capable, the system could grow and become more capable too.

If something worked, I wanted to keep it. If something broke, I wanted to understand why and create a countermeasure so we didn't keep doing the same thing. If a lightweight model could handle a job, I didn't want to waste frontier intelligence on it. If a difficult problem needed a stronger model, I didn't want to watch a cheaper one run into the same wall fifty times.

I wanted all of that handled underneath the actual creative process so I could sit down with an idea and build.

So I built Spiral One.

Implementation notes: Technical architecture

Spiral One is a local-first control plane around AI-assisted software development. The distinction I make is that the model is not the development system. The model is one worker inside a larger system that owns more of the continuity around the work.

The control surface is built in Next.js, React and TypeScript. Provider execution currently connects through the Codex App Server protocol. Around that, Spiral One maintains its own execution services, context compilation, adaptive objectives, runtime threads, verification evidence and local durable state.

Execution is sequential in the implemented workflow. Spiral One is not currently a parallel autonomous-agent swarm, a cloud scheduler or a complete replacement for the underlying provider environment.

THE BUILD

Save the thinking for what matters.

A coding model can do a lot on its own. The problem is that, without structure around it, it also has to spend time figuring out things I've already figured out.

How should this be structured? What information actually matters right now? What makes the interface usable? What should be tested? What evidence counts as done? Which model makes sense for this task? Did we already run into this problem somewhere else?

Spiral One gives the model a system where more of that knowledge is already available.

It has guidelines around architecture, usability, UI and UX, resource use, verification and failure handling. It can pull in the parts of a reference that matter to the task instead of making the model reread a huge document every time it needs one piece of information.

The reference system is designed to retrieve by things like user goal, component and failure mode instead of source title alone. It can preserve where a principle came from, keep hard constraints separate from softer heuristics, and return a bounded set of relevant material instead of flooding the build context.

That leaves more reasoning for the part that's actually novel.

Implementation notes: Context compiler + reference intelligence

Source material can be ingested and decomposed into smaller, addressable knowledge objects rather than remaining one giant document the model has to reread.

Those objects retain relationships and provenance back to their source. Retrieval can be scoped around objective, component, failure mode and constraints, then compiled into a bounded brief for the work in front of the model.

The point isn't to permanently compress everything. It's to avoid spending context and reasoning on information that has nothing to do with the current decision.

THE BUILD

The model is a worker inside the system.

This distinction matters to me.

Spiral One isn't a different coding model. It is the system around the model.

I can use different models for different kinds of work. Spiral One handles the surrounding structure: the objective, the context, the repository, the plan, the state of the work, the evidence and the things we've already learned.

For sufficiently complex work, it can break an objective into smaller sequential units and compile bounded context for each one instead of throwing the entire history at the model every time. It can make model and effort choices based on the task and the capabilities actually available at runtime, while manual mode still lets me choose explicitly when I want to.

The underlying worker can change.

The work doesn't have to disappear with it.

Implementation notes: Adaptive execution + model routing

Adaptive execution starts with the objective rather than immediately handing the whole thing to a model. For work complex enough to require decomposition, Spiral One can create sequential execution units and compile context for each attempt.

Routing can consider runtime availability and characteristics of the work when selecting model and reasoning effort. Manual mode still lets me explicitly select the model and effort when I want direct control.

The current cold-start router is a versioned, evidence-generating heuristic. I don't describe it as a learned ML routing policy.

THE BUILD

Work should survive the session.

One of the things that bothered me most about normal AI coding workflows was how much useful state lived inside something temporary.

If the session ended, the model changed, the process restarted or I just came back to the project later, I didn't want the system acting like none of that history mattered.

Spiral One keeps its own durable records around the work. Provider state and Spiral state are treated as different things.

That matters because if a provider interaction gets interrupted, Spiral One doesn't have to pretend the provider call somehow continued. The work can be reconciled as interrupted, paused or recoverable, with the surrounding objective and records still there.

The current implementation stores local execution records, adaptive objectives, Spiral threads and runtime events inside the project environment. It is local persistence, not some giant cloud scheduler pretending to be one.

I wanted to be able to stop, come back, see where I was and keep moving.

Implementation notes: Durable state + recovery

Spiral One deliberately separates provider-thread state from Spiral-owned state. The provider owns the active provider interaction. Spiral One owns durable records around the work.

An interruption can be represented honestly: Running → Interrupted → Reconcile → Paused / Recoverable → Inspect → Resume.

Recovery is moving toward stronger self-modification boundaries, but validated source rollback and known-good promotion are direction, not current capability.

THE BUILD

"Done" and "verified" are not the same thing.

One of the things I care about most is empirical evidence.

An AI saying it completed something doesn't necessarily mean the thing works.

Spiral One separates the model finishing its turn from evidence that the objective was actually completed.

Terminal state can matter. Command exit codes can matter. Expected artifacts can matter. File inspection can matter. The point is that an unsupported "completed" message isn't automatically treated as proof.

I want the system checking what actually happened, not just trusting the story it was told.

The same thinking shows up in the design layer. Spiral One's design intelligence is built around testing uncertain assumptions, recording what changed, and carrying validated findings back into reusable knowledge.

Implementation notes: Evidence-based verification

Provider completion and objective verification are separate states in Spiral One. A model can report that it changed something successfully. Spiral One can then ask whether there is independent evidence supporting that claim.

Evidence can include terminal state, command exit codes, declared artifacts, expected files, file inspection, tests and acceptance evidence.

The flow is Execution Complete → Collect Evidence → Compare Against Objective → Verified / Unsupported / Requires Inspection.

THE BUILD

Look at the problem from more than one direction.

Some problems deserve more than one reasoning pass.

That's where the Spiral Council comes in.

Council is a structured multi-perspective reasoning layer. Instead of asking one model to solve a difficult problem and accepting the first plausible answer, Spiral One can examine the problem through different roles, priorities and ways of looking at it.

One perspective might care more about architecture. Another might look for failure modes. Another might question assumptions, usability or whether we're solving the right problem in the first place.

The point isn't to have a bunch of models talking for the sake of having a bunch of models talking.

It's to create useful disagreement.

I want different perspectives to catch things the others miss, then bring those perspectives back together into a decision I can inspect.

Implementation notes: Spiral Council

Council sits upstream of decisions that benefit from more than one perspective. The perspectives can evaluate architecture, user interaction, failure modes, assumptions and objective alignment.

The outputs remain distinguishable long enough to expose disagreement, overlooked constraints and competing priorities. Findings can then be synthesized into something actionable.

Council isn't required for every task. Sometimes the answer really is just change the button.

THE BUILD

FHRA: Fractal Holistic Recursive Audit

FHRA stands for Fractal Holistic Recursive Audit.

It's the part of Spiral One that gives the system a way to inspect work at multiple levels instead of deciding that something is good because one piece of it looks good in isolation.

The fractal part is about looking at the same problem across different scales. A component can work by itself and still create a problem for the screen around it. A screen can look good and still make the workflow worse. A feature can pass its tests and still conflict with what the product is actually supposed to accomplish.

So FHRA moves between those levels.

Zoom in. Zoom out.

Look at the implementation. Look at the interaction. Look at the workflow. Look at the product. Then look at how the decision fits into the system as a whole.

The holistic part means those layers aren't evaluated independently. The recursive part means the findings can feed back into another pass. If the audit exposes a problem, the system can address it and inspect the result again instead of treating the audit as a one-time report.

That's why I think of FHRA almost like giving the system an artistic eye.

Something can technically work and still feel wrong when you step back and look at the whole thing.

Implementation notes: Fractal Holistic Recursive Audit

FHRA is essentially Spiral One's multi-scale inspection system. The same change can be evaluated across component, interaction, screen, workflow, product and system.

The recursive part matters because findings can produce another intervention, which can then be inspected again: Inspect → Find → Correct → Zoom Out → Reinspect → Repeat.

A route-contract fixture demonstrates this at a scoped level. It is not presented as proof of full recursive cross-scale correction.

THE BUILD

Keep the evidence.

None of that matters very much if the useful parts disappear when the build ends.

Spiral One maintains an Empirical Knowledge Ledger so evidence from the work can become part of what the system knows how to use later.

That can include what was attempted, what worked, what failed, what evidence supported the result, what changed after an audit, and what lesson is actually worth carrying forward.

I don't want every observation automatically becoming a permanent rule. Some things are specific to one project. Some are useful heuristics. Some become more trustworthy after they survive multiple builds. And some are concrete enough that eventually they shouldn't require reasoning at all.

That's where the ledger connects back to the rest of Spiral One.

Council can expose something we hadn't considered.

FHRA can find a problem at a different level of the system.

Verification can tell us whether the attempted solution actually worked.

The Empirical Knowledge Ledger can preserve what we learned from it.

And the next build doesn't have to start from zero.

That's what I mean when I say the build should improve the builder.

The build should improve the builder.

This is probably the most important part of Spiral One to me.

A coder doesn't finish their hundredth project knowing exactly what they knew on their first.

Why should the system they build with?

When something breaks, that's an opportunity to learn how not to do that shit again.

When something works, that's useful too.

Spiral One is built so useful lessons can survive the build that produced them. Depending on what was learned, that might become a reference, a procedure, an audit criterion, a safeguard or eventually a deterministic check.

The design intelligence follows the same principle. Successful builds can attach things like test results, user feedback and regression history to reusable knowledge. When a rule proves itself repeatedly and the thing is actually measurable, it can move closer to a deterministic check instead of being reasoned through from scratch every time.

The point isn't to make the system magically know everything.

It's simpler than that.

Solve something once. Learn from it. Start the next problem further ahead.

What I want building to feel like

It should feel collaborative.

You start with an idea. You map it out. As you map it out, it blooms.

The idea gets clearer. New possibilities show up. The architecture starts taking shape. Spiral One helps turn that intent into something concrete while building the guardrails underneath it that make the thing actually work.

All the annoying parts are still happening. Context has to be managed. Work has to be checked. Models have to be selected. State has to be preserved. Things break.

I just don't think all of that needs to sit in the middle of the creative experience.

What I want on the other side is freedom to create.

Have an idea. Explore it. Build it. Learn something.

Then do it again from somewhere further ahead.

Implementation notes: Empirical Knowledge Ledger

The Empirical Knowledge Ledger is where individual builds can start becoming reusable experience. I care about what was attempted, under what conditions, what actually happened, what evidence supports that outcome, whether it generalized and whether we should use it again.

A single successful attempt doesn't automatically become a universal rule. Some knowledge stays project-specific. Some belongs as a heuristic. Some earns confidence because it keeps surviving different builds.

When something becomes repeatable and measurable, it may become a deterministic check, a guardrail, a default or another piece of infrastructure.

BOUNDARIES

What this is not claiming.

The evidence viewer keeps the limitation attached to each artifact. Current capability is shown separately from future direction so the technical story stays useful without getting ahead of the work.

DIRECTION

What I am still testing.

  • Clean self-editing canary
  • Linked route-to-context-to-work receipt
  • Validated restart demonstration
  • Known-good promotion only after validation

NEXT SYSTEM

Courier Copilot