Building persistent memory for AI agents at Mnemoverse.
I write about the unglamorous half: forgetting, contradiction, and the moment an agent confidently repeats a fact you retracted.
A correction and a revocation end the same way in the passport, though they are different operations. The schema has one time axis, valid_from and valid_until, which records when a fact was true in the user's life. A mistyped birthday was never true, so on that axis erasure is the only honest move, and the check is right to reward it. "Forget everything about my ex" is erased too, and afterwards neither passport records that anything was there before.
They differ in what the assistant may know later. If it had sent a birthday message on the 14th before the correction, it can explain that only if it still knows the passport once held the 14th, and after a revocation it must not know. Temporal databases handle this with a second axis, the period during which the store held a row as current, and SQL:2011 calls the first axis application time and the second system time. On the second axis a correction closes the wrong row and inserts the right value with the same valid time, and a revocation is the one case where the history itself has to go.
The read task could separate them with a question the one-axis passport cannot answer, asked as of a date before the correction: what birthday was on file then. After a correction the right answer is the typo, marked as corrected, and after a revocation there is nothing to give. Scoring that on the write side needs the second axis in each entry, when the passport started holding it and when it stopped.
Another good question, that axis you named is indeed left out by the benchmark. The passport scores valid time only, a typo on a birthday and “forget everything about my ex” both end as absence, so the checks cannot tell a correction from a revocation.
The second axis fits the task. Add a read question dated before the correction: what birthday was on file then. A correction answers with the typo, marked corrected. A revocation answers with nothing. The write side would score a recorded-from and recorded-to on each entry.
I work on a memory layer where this already exists in part. Each write is a stamp with its own clock; the old stamp stays in the log even after a correction while a forget redacts it. Replaying the log as of a date gives the second axis directly. I have not built that replay yet, and your comment gives me the test for it.
One open point from your revocation case. A redacted stamp keeps its id and clock so replicas converge, so it records that something was there. Your standard says even that should go. For brevity and portability of the passport, I am working out whether convergence can survive without it.
Building persistent memory for AI agents at Mnemoverse.
I write about the unglamorous half: forgetting, contradiction, and the moment an agent confidently repeats a fact you retracted.
Convergence needs the redacted stamp only until every replica has applied the redaction, not for good. At that point the redaction is what the CRDT literature calls causally stable, no replica can bring the original write back, and the tombstone has nothing left to cancel. Cassandra runs the same trade in production: a tombstone is kept for gc_grace_seconds, ten days by default, and can then be purged at compaction, with an option to purge only tombstones whose data has been repaired. Its documentation also names the cost, a node that stays down past the window brings the deleted value back as a zombie. So the residue can be bounded by acknowledgment rather than kept, and the price is a limit on how long a replica may stay offline before it resyncs from scratch.
Two details decide whether the residue says more than that something was there while it exists. The stamp id must not be derived from the content, since a hash of a phone number can be recovered by trying numbers. And the as-of replay has to skip redacted stamps rather than report a gap, otherwise the question asked as of a date before the revocation answers that something was on file then, which is the one thing a revocation is meant to take away.
For the passport that gives a line the checks can score, Rairo: after a revocation the as-of answer is nothing, and the stored entry may keep only an opaque id and clock until every replica has acknowledged it, after which the check expects no trace.
We're a place where coders share, stay up-to-date and grow their careers.
A correction and a revocation end the same way in the passport, though they are different operations. The schema has one time axis, valid_from and valid_until, which records when a fact was true in the user's life. A mistyped birthday was never true, so on that axis erasure is the only honest move, and the check is right to reward it. "Forget everything about my ex" is erased too, and afterwards neither passport records that anything was there before.
They differ in what the assistant may know later. If it had sent a birthday message on the 14th before the correction, it can explain that only if it still knows the passport once held the 14th, and after a revocation it must not know. Temporal databases handle this with a second axis, the period during which the store held a row as current, and SQL:2011 calls the first axis application time and the second system time. On the second axis a correction closes the wrong row and inserts the right value with the same valid time, and a revocation is the one case where the history itself has to go.
The read task could separate them with a question the one-axis passport cannot answer, asked as of a date before the correction: what birthday was on file then. After a correction the right answer is the typo, marked as corrected, and after a revocation there is nothing to give. Scoring that on the write side needs the second axis in each entry, when the passport started holding it and when it stopped.
Another good question, that axis you named is indeed left out by the benchmark. The passport scores valid time only, a typo on a birthday and “forget everything about my ex” both end as absence, so the checks cannot tell a correction from a revocation.
The second axis fits the task. Add a read question dated before the correction: what birthday was on file then. A correction answers with the typo, marked corrected. A revocation answers with nothing. The write side would score a recorded-from and recorded-to on each entry.
I work on a memory layer where this already exists in part. Each write is a stamp with its own clock; the old stamp stays in the log even after a correction while a forget redacts it. Replaying the log as of a date gives the second axis directly. I have not built that replay yet, and your comment gives me the test for it.
One open point from your revocation case. A redacted stamp keeps its id and clock so replicas converge, so it records that something was there. Your standard says even that should go. For brevity and portability of the passport, I am working out whether convergence can survive without it.
Convergence needs the redacted stamp only until every replica has applied the redaction, not for good. At that point the redaction is what the CRDT literature calls causally stable, no replica can bring the original write back, and the tombstone has nothing left to cancel. Cassandra runs the same trade in production: a tombstone is kept for gc_grace_seconds, ten days by default, and can then be purged at compaction, with an option to purge only tombstones whose data has been repaired. Its documentation also names the cost, a node that stays down past the window brings the deleted value back as a zombie. So the residue can be bounded by acknowledgment rather than kept, and the price is a limit on how long a replica may stay offline before it resyncs from scratch.
Two details decide whether the residue says more than that something was there while it exists. The stamp id must not be derived from the content, since a hash of a phone number can be recovered by trying numbers. And the as-of replay has to skip redacted stamps rather than report a gap, otherwise the question asked as of a date before the revocation answers that something was on file then, which is the one thing a revocation is meant to take away.
For the passport that gives a line the checks can score, Rairo: after a revocation the as-of answer is nothing, and the stored entry may keep only an opaque id and clock until every replica has acknowledged it, after which the check expects no trace.