Words Nobody Said
For months our agents’ records said they had spoken words they never wrote: file listings, search results, whole retrieval dumps. Once, the record even had a tool’s output in our own voice. The history itself is how we found it, and why we could fix it without rewriting a line of it.
What We Found
We went looking for one problem and found a different, larger one. Before starting a benchmark, we checked whether our agents could read documents attached to their Episodes. They couldn’t, and we fixed that. While tracing it, we found a flaw in how conversations were written down.
Our runtime recorded every message that wasn’t from a person as the agent’s own words. Tool results were included. When an agent read a file, searched the web or pulled earlier conversation, the output went into the permanent record as if the agent had said it.
The scale was not small:
- 308 filesystem results, 6.8 million characters, recorded as agents speaking.
- Research results, code-search listings, JSON payloads and document excerpts, all written in agents’ voices.
- In one design Episode, three retrieval results of 20,000 to 80,000 characters each, recorded as things our agent Clotho had said.
One path was worse. When a person approved an action, the system handed the result back to the agent as if the person had typed it. That tool output was then recorded as the approver’s own speech. The approver was Devin, our founder.
How the Record Showed It
In an ASTP Episode, every turn is a segment on an append-only, hash-chained spine, and every segment names its author. That made the problem visible: we could ask which authors “said” what, and look at the content. An agent does not open a reply with 7,000 characters of a directory listing.
The second record was what made it provable. Since protocol version 6.0.0, context an agent is given is recorded separately, as a context entry: a commitment to exactly what was provided, plus a pointer to where it came from. So a single document read showed up twice. There was a context entry saying Clotho was given the document, and a spine segment saying Clotho wrote it. Both can’t be true, and the record held both.
It also explained a problem we had already seen. Tool output replayed to an agent as “[Clotho]: …” looks like a script, and a model continues scripts. One mid-task regression, and plausibly the fabricated conversation in our first Lab Note, came from agents reading their own history full of words they never wrote.
The Fix
We designed it in an Episode with two of our agents. Gaia owns Ignis OS, the runtime. Clotho owns ASTP, the protocol. Nothing in the protocol changed. The fix is in how the runtime uses it, and each kind of thing now has its own home:
- A participant spoke — that is speech, recorded as a segment on the spine, with its true author.
- A tool returned information to an agent — that is context the agent was given, recorded as a context entry, with a retained copy that can be verified and erased.
- An agent took an action — that is something the agent did, recorded as an execution record that holds references only, never the content.
Two decisions carried most of the weight.
The permanent record holds no personal content. Execution records are immutable. If one held a plain hash of a single email address, that hash would confirm a guess at the address forever, even after the content was erased. So action records hold references only. The content lives where it can be deleted, and the one commitment to it is salted.
History was not rewritten. The old mis-attributed segments are still on the spine, unchanged. The record is append-only, and that is the point. When agents are shown their history now, those segments appear as a one-line note: tool output, recorded under this agent’s name, not its words. Anyone can still read the original segment, labelled for what it is.
We verified each path in live Episodes: reads, a web search, an approved write, a failed write and a rejected command. In every case the record now says who actually said what.
What We Got Wrong
A protocol ruling that didn’t match the protocol. Asked where an action’s arguments should be recorded, Clotho named an entry type that doesn’t exist; the spec defines exactly four. We checked her answer against the spec text, showed her the section, and she corrected herself. Her corrected answer was a better design than the first. The lesson for us: an agent’s citation of a spec is a claim, and claims get checked against the source.
A seam that never fired. A reading of the live graph showed zero context entries of the type used for reads through external tools, such as Drive, research or GitHub. Part of this was deliberate: recording every external input was a posture we had deferred. But the path meant to handle ordinary tool reads had a real bug. It looked tools up under the wrong key. Its unit test used a shape production never has, so the test passed while the bug shipped. After the fix, the system recorded its first such entry, from a web search.
One more gap, still open. While an action waits for approval, the protocol correctly refuses new segments. Our runtime drops those refused writes instead of holding them until the decision. The drop is logged, not silent, but it is still a loss, and it is next on the list.
What It Means
The bug was ours, not the protocol’s. For months the runtime put words in agents’ mouths, and once in a person’s. What the protocol did was keep the evidence in a form we could question. We could ask who was recorded as saying what, and check it against what each agent was actually given. The two records disagreed, and the disagreement was the finding.
A record you can’t rewrite is uncomfortable when it’s wrong. It is also the only kind of record where “it’s wrong” can be shown, fixed going forward, and left visible for anyone to check. We think that’s the job.
This note first circulated internally and is published a month later. The gap it calls still open closed the day it was written: speech refused while an approval is pending is now held, with its true author and time, and recorded when the Episode resumes. Nothing said during an approval is dropped.