Work collides.
TTL claims and FIFO contention replace polite assumptions with explicit, inspectable ownership.
Durable coordination / recorded office 01
BATON turns long-running agent loops into a legible institution: scheduled routines, leased claims, scoped advisories, pinned objectives, recoverable checkpoints, and memory that must earn promotion.
I / The organizational gap
Agent frameworks help a model act. BATON focuses on the institutional layer around those acts: who owns work, what changed, which warning applies, what survives a restart, and which lessons deserve to become policy.
TTL claims and FIFO contention replace polite assumptions with explicit, inspectable ownership.
Versioned handoffs pin objectives, constraints, and delivered advisories at tool boundaries.
Episodes can suggest lessons, but evaluation decides whether they are promoted, archived, or left undetermined.
II / The control surface
The primary interface borrows the grammar of an orchestral score. Each actor holds a lane; claims, advisories, checkpoints, and memory become distinct cues on one shared axis. Nothing is collapsed into a vague “agent activity” feed.
A routine creates a versioned objective and budget envelope.
Work scopes have one owner token and a deterministic queue.
Scoped advisories arrive only at explicit step boundaries.
Workspace and harness state resume from the last durable checkpoint.
Only evidence-backed lessons move into durable organizational memory.
III / Inspectable proof
The fixture proves one holder, one queued contender, token-checked release, and automatic transfer on release.
A scoped SRE advisory reaches the dependency agent at its next boundary and survives restart in the handoff.
The recorded run closes its SQLite
connection, reopens it, restores step 2, then continues. The
make reproduce-resume harness exercises 100 cycles.
Candidate scores beat their registered baselines before the fixture lesson is marked promoted. See the complete event transcript.
IV / Installed control plane
Install BATON to expose the same durable engine through a local HTTP service. Caller-owned loops register routines, coordinate work, persist tool boundaries, and resume after restart; the score can read those real events.
Versioned routine specs become durable runs with pinned constraints, budgets, subscriptions, and declared work claims.
Claims, scoped advisories, objective changes, and usage signals use explicit API transitions with structured errors and an append-only event trail.
SQLite retains checkpoints and handoffs. Resume restores the last durable edge, while the evidence endpoint returns its exact versions and events.
V / Architecture
The MVP stays deliberately small: standard-library Python and SQLite, no model SDK, and no server needed for the published fixture. The optional local service exposes the actual runtime; the score remains its projection.
Objective, schedule, budgets, claims, subscriptions, and workspace ref.
Verbatim objective, constraints, and advisory set.
Step, workspace reference, and harness state commit together.
Every organizational transition enters one ordered SQLite record.
Static Pages replays the fixture; the installed service can feed it current durable events.
VI / About & honest boundary
The full score is interactive