← Blog

When shared edits break the build

Take a small TypeScript service. One agent renames a function while another adds a caller using the old name. Both edits make it into the shared workspace and every participant sees the same files. The first typecheck still fails.

When shared edits break the build

Keep the guarantees separate

The editor did the job we gave it: it kept both edits. The typecheck had a different job. It pointed at the new caller and showed that its reference no longer existed.

Creatures install two components on one chassis, but their outlet and inlet do not line up.
Both components are present. An integration check would catch that their ports do not line up.

AgentRoom uses a CRDT to combine edits and adds file claims on top. Its claim operation refuses a second ownership request for the same file. Agents or tools that write directly to the filesystem still have to cooperate with that claim.

A claim needs a stated enforcement boundary

Suppose the agent that added the caller sees the failing check and can fix its own file. A cooperative claim makes sense in that workflow. Now apply the same idea to changing a customer’s contract and the cost of ignoring the claim changes. For a protected record, the service has to check the relevant write before it accepts it.

Read the evaluation at its actual scale

AgentRoom’s two-agent trials reported fewer abandoned tasks and less variation. The main tasks used Express and TypeScript, and much of the quality scoring came from judges. The paper also ran smaller Python and Rust checks, with limited evidence on larger groups. We would use the rename example to test a narrower question: which setup leaves fewer broken callers for someone to fix at integration?

Choose the boundary from the work

The workspace needs to show both edits and the failing typecheck. For a change to an application record, Ablo can check that the facts behind the write still hold. The source-file rename still belongs to the workspace and the compiler.

Sources

More from the blog