Migrating from chaos to Acta
You do not migrate the agents. You migrate the state. The agents keep doing what they do; what changes is where the facts live. Migration to Acta is moving the truth, one slice at a time, out of chat threads, files and agent memory into one store with named transitions. There is no big-bang version of this that works, and none is required: every stage below is worth having on its own, and each one leaves the operation strictly less chaotic than it found it.
What chaos looks like, before you start
Most agent operations run on state that lives wherever it happened to land: a decision in a chat thread, a status in one agent's memory, a number an agent reported about itself that nobody can check. The failures repeat in recognizable shapes. Two agents start the same work because neither can see the other's claim. A handoff is lost because it was a message, not a record. Verification runs on a clock, polling for a result that announced itself to no one. A dashboard shows a number the underlying state stopped agreeing with an hour ago. The field essay The state is the body names these as laws, each with the incident that taught it. If your operation has two or three of these shapes, it has something to migrate.
Stage 0: inventory
Before any code, write down where each shared fact currently lives and which coordination failures keep recurring. One line per fact: its subject, its current home, and who writes it. One line per failure: what happened, and what it cost. This inventory is the migration plan; everything after it is execution. The stage is done when every repeated failure has a name and every shared fact has a named current home, including the embarrassing ones in somebody's head.
Stage 1: one slice, one deposit
Pick the shared fact that hurts most, usually the work queue or the state of in-flight work, and give it one slice. Declare one transition that writes it, the deposit, with a guard that refuses a duplicate. Then change exactly one thing in the existing operation: the exit path of whatever finishes the work now writes the deposit. Nothing else about the agents changes.
node src/cli.ts call --config ./operation.ts --log ./operation.jsonl \
--seat launcher --transition deposit \
--payload '{"session":"front-12","report":"./front-12-report.md","head":"<sha>"}' \
--await verified,verificationFailed
The one-shot client exists for this stage: any wrapper, launcher or script that
can run a command can deposit, so no agent needs to be rewritten or taught a new
protocol first. The stage is done when the question "what happened?" is answered by
acta inspect and acta replay reading the log, not by
reconstructing it from memory and messages.
Stage 2: obligations become effects and deadlines
Now replace the reminders. Every "do not forget to check" and every polling loop becomes an effect subscribed to the transition it cares about: the verification of a deposit, for example, is an effect that runs because the deposit committed, and writes its verdict as its own transition. Every expected event that might never happen becomes a registered deadline: registered when the work starts, satisfied by the deposit itself, and writing its expiry transition when the due time passes without it.
node src/cli.ts deadline --config ./operation.ts --log ./operation.jsonl \
--name front-12-deposit --due 2026-12-07T17:00:00Z --awaiting deposit \
--match session=front-12 --expiry depositMissed --seat watcher
node src/cli.ts check-deadlines --config ./operation.ts --log ./operation.jsonl
The rule is the second law: obligation is mechanism, description is support. A step carried by a sentence in a prompt is not carried. The stage is done when no coordination step depends on an agent remembering it, and the absence of a deposit is itself a fact in the log.
Stage 3: seats and manifests
Give every writer a seat, and narrow each seat with a manifest: the transitions that seat may ever emit. In a chaotic operation any agent can write anything, which is most of what chaos is. Under a manifest, an out-of-scope write comes back as a refusal with the reason, returned as data. Refusals are diagnostic gold: they show you the writes your operation was attempting that you never saw before. The stage is done when every writer has a seat, every seat has a manifest, and you have read at least one refusal you did not expect.
Stage 4: views subscribe
Dashboards, summaries and status pages stop sweeping the world and recomputing it on their own clocks. Each view renders the latest transition of the slices it shows, stamped with the instant that transition was written. The rule is the fourth law: the view is not the state. When a view and the log disagree, the log wins, and the disagreement is a defect of the view, named as such, never a mystery. The stage is done when no view holds a number it cannot trace to a transition.
Stage 5: spread, slice by slice
From here the migration is repetition, not invention. Each new domain of the operation enters as configuration: slices, transitions, effects, seats. Agents stay as they are; the state gets more honest around them. Two scope notes, stated plainly because Acta states its limits in the open: the current build is one store with a single commit queue per operation, and distribution across machines is a non-goal of this version (see the Specification). Most chaotic operations are single-operation long before they are distributed, and the discipline is the part that was missing.
What not to do
- Do not rewrite the agents first. The agents are not the problem; the state they share is. A rewritten agent writing to the same scattered state reproduces the same chaos with newer code.
- Do not model the whole operation up front. Slice granularity is discovered by migrating the slice that hurts, not by designing the final schema in advance. A model of everything, built before the first deposit, will be wrong in the places that matter.
- Do not start with the dashboard. A beautiful view over scattered state is the most expensive form of the original problem: it makes the chaos look governed. Migrate the state first; the view becomes almost free afterwards, because it only renders transitions.
The receipt
This path is not hypothetical. Acta was extracted from a running operation, a one-person agent team building a product, which migrated in this order without calling it a migration: one home per fact in the records, named waits, verification turned into an effect subscribed to the deposit, and only then the framework. Acta's first real user is that same operation: its launcher now runs each session inside a wrapper whose exit path deposits through the server, a verification effect writes the verdict, and a registered deadline turns a missing deposit into a transition. The migration there is still in its named transition period, with the old clock watchdog standing by as backstop until the deposits prove the hook one by one. That honesty is part of the method: a stage is claimed when the state proves it, not when the intention is announced.
Where to go next
- Get started: clone, run the demo, write your first configuration.
- Reference: the configuration surface, piece by piece.
- Specification: the design Acta follows, including its non-goals.
- The state is the body: the field essay, with the incidents behind every law.