← All posts
§ Blog

Self-hearsay

A memory your agent wrote can inform a headless run, but it cannot authorize a write. It becomes knowledge only when someone reviewed it, and you know when.


Self-hearsay

The agent setups I review now usually keep a memory file the agent writes for itself. Nobody asked it to keep a diary. It just does, because that is how the tool was set up, and in Claude Code that is the default. In an interactive session that is mostly harmless, because a person reads the answer before anything happens.

At night nobody reads the answer. The run remembers something, believes it, and acts on it. The memory was written by the same kind of process that is now quoting it back as fact. I call that self-hearsay: a run citing its own unreviewed notes as if a second witness had confirmed them.

This note is about one rule for that case. A memory the agent wrote can inform a headless run. It cannot authorize a write.

Basically the same

On November 21, Harrison Chase was asked on X what the difference is between knowledge and memory. His reply, in full:

its all basically the same

imo memory implies that its solely ai generated and ai used

knowledge implies some human in the loop to seed or review

at least internally, we’ve found this human in the loop to be invaluable

That is an opinion about words, and he marks it as one. I think it is the right distinction. The trouble is that his own post from the same day, “How to build a knowledge factory”, describes a loop where the review step is not there.

The post says knowledge “should not be kept up to date manually - too much work.” Instead, “you will want a curator agent that runs in the background, on some cadence, to update this knowledge.” In the worked example, a finance lead corrects a report with the agent during the day. “That night, the curator agent sees the flagged issue… It updates the relevant skills accordingly.”

So a human seeds the correction. An agent writes the update. Nobody in the example reviews what the agent wrote before the next run uses it. By Chase’s own definition, the seed is enough to call it knowledge. For a run that writes, I would drop the “or”: a person started the correction, and nobody checked what the agent made of it. I am not saying the loop is wrong. I am saying the word “knowledge” is doing work the process has not done yet.

Who wrote it, who checked it

The tools are honest about authorship. The Claude Code memory docs have a table with a row called “Who writes it.” For CLAUDE.md files the answer is “You.” For auto memory it is “Claude.” The same page says both are context: “They aren’t enforced configuration.” Auto memory arrived in Claude Code 2.1.59 in late February and is on by default in local sessions. You can edit or delete the files any time. The docs describe no record that you did.

Microsoft’s security guidance, “Manage AI memory safety in agentic systems” (on Learn since at least mid-2026, last updated in November), goes further. It says plainly: “Memory is candidate context, not authoritative truth.” It warns that “Hallucinations become persisted hallucinations.” It asks you to label every memory entry with “source, identity, timestamp, model version.” It also recommends letting users view, edit and delete memories.

What the vendor recordsClaude CodeCodexMicrosoft guidance
Who wrote itYes: you or ClaudeGenerated from past threadsYes: source and identity
WhenNot in the docsTracks last use, for agingYes: timestamp
Which modelNot in the docsNot in the docsYes: model version
Reviewed by, and whenNot in the docsNot in the docsNot in the guidance
Does review change whether the run may act on itNot in the docsNot in the docsNot in the guidance

Read the bottom two rows. All three say who or what wrote a memory. None of them documents a reviewed state that controls whether the memory gets used. Review, where it exists, is a user control after the fact. Provenance tells you where a note came from. It does not tell you anyone checked it.

My earlier note, Sidepromotion, was about scope: when a private correction should become shared behavior. This one is about authority: whether a remembered fact is allowed to justify an action when no person is watching.

A hint cannot sign a write

Here is the mechanism, as an illustration rather than an incident. In March an agent notices that invoices from one supplier go to a certain cost center, and it writes that down. In May finance moves the supplier to another cost center in the finance system, which is the source of record. In June a scheduled run books a new invoice. It finds the March memory, which is confident, specific and recent enough. It books the invoice to the old cost center. The memory was true when written. The run simply treated a hint as a permission.

In an interactive session a person would probably catch this. In a headless run there is no reader at use time, so any review has to happen before the memory can count. If it did not happen, the memory counts as a hint and nothing more.

That gives a simple rule for unattended runs:

Handwritten blue ballpoint note on an index card. Memory, written by the agent with no reviewer, is a hint. Knowledge, with a reviewed-by and a review date, can back a write. A remembered fact goes through a Reviewed? gate: yes leads to the write, no leads to checking the source of record, then proceed or escalate. A hint cannot sign a write.

A memory may shape what the run looks at first. It may not be the reason a write happens. Before a write, the run re-checks the fact against the source of record. If the two agree, the source of record authorized the write, not the memory. If they disagree, the run does not pick a winner. It stops that item and escalates to whoever owns the source.

The only exception is a memory that carries a reviewed-by and a review date. That is what knowledge means in practice: a named person looked at this fact, on a known day, and said it may be relied on. Chase calls that human in the loop invaluable. I agree. I just want it written on the entry, where a run can check it.

Claude Code already has a simpler switch for scripted runs: 2.1.81 added --bare for -p calls, with “auto-memory fully disabled.” For a job that writes to anything important, starting with no memory at all is a perfectly honest default.

Aging is not expiry

The other comfort people reach for is that old memories fade.

The Codex config reference has memories.max_unused_days: the “Maximum days since a memory was last used before it becomes ineligible for consolidation. Defaults to 30.” Ineligible for consolidation is not deleted, and it is not the same as never being read again. Memories in Codex are off by default, which is sensible. Once you turn them on, though, memories.disable_on_external_context defaults to false. Threads that used MCP tool calls, web search or tool search still feed memory generation unless you say otherwise. Material nobody on your team wrote can become a memory nobody on your team reviewed.

So the default trust is open, and the aging is about housekeeping, not authority. For a run that writes, I would flip it: anything a write depends on expires unless reviewed. Unreviewed notes can stay as hints. They never get to back a step that changes data.

There is a natural place for that review. Chase’s post notes that, as an industry, “we’ve converged on skills for ‘procedural memory.’” Promoting a remembered fact into a skill or a reviewed knowledge file is the moment to put a name and a date on it. If the curator agent proposes the change and a person accepts it, you have knowledge. If the curator agent merges it by itself, you have a well-organized memory.

Steal this

  1. Add a reviewed-by and a review date to anything a write may rely on. Two fields. If they are empty, the entry is a hint.
  2. No write on unreviewed memory. A headless run may use memory to decide where to look. It may not use memory as the reason it acted.
  3. Re-check the source of record before writing. When memory and source disagree, stop that item and escalate. Do not let the run arbitrate.
  4. Expire unless reviewed, for write paths. Aging out of consolidation is housekeeping. Losing the right to back a write is policy.
  5. Make promotion the review step. When a curator agent updates a skill or knowledge file, a named person accepts it, and the entry records who and when.

A memory is the agent telling itself something. Knowledge is someone else agreeing. In a run with nobody watching, only one of those should be allowed to sign.

Field note from the build-in-public log. NDA-safe, no client names, rounded figures only. If this matches what you are seeing, get in touch.

§

BELOW THE LINE

PODČÁRNÍK · SIDEWAYS GLANCE, NOT A SUMMARY

On the man who started a rumor about bananas. By evening it came back to him from three people, and he believed it.

Before Christmas, in the years when bananas were an event and not a fruit, our neighbor from the third floor saw a truck backing up to the greengrocer’s. He did not see what was in it. He saw a truck, and it was December. On the stairs he said to the lady from the second floor, quite casually, “Looks like bananas tomorrow.” He meant it as a guess. He said it the way you say it might rain.

He always carried a string bag folded in his coat pocket, just in case. Everyone did. That pocket was the whole economy.

At the barber’s that afternoon, the barber leaned in with the razor and whispered that bananas were coming tomorrow, he had it from a reliable source. Our neighbor nodded. On the tram home the driver told a woman in the front seat the same thing, loud enough for the whole car. And at dinner his wife put down the soup and said, “Did you hear? Bananas.” She had it from the lady on the second floor.

Three sources. He counted them on his fingers in bed. The barber, the tram driver, his wife. Independent people, different parts of town, all saying the same thing. He set the alarm for half past four.

By five the line ran from the greengrocer’s door to the tram stop and around the corner past the post office. Somebody had brought a folding chair. Somebody had brought a thermos with something stronger than tea. A man near the back was selling places in the line, and doing better than the greengrocer ever had. Our neighbor was third, frozen to the pavement, and proud, because he had been right before anyone.

At seven the shutter went up. Cabbage. The truck had been cabbage. The greengrocer looked at three hundred people with string bags and said he could do a good price on cabbage. The street had never seen such a mess outside a shop.

Our neighbor was not angry with himself. He was angry with the barber, the driver and his wife, who had all confirmed it. “Three people told me,” he said for the rest of the winter. “Three.” Every one of them was him, a few hours older, coming back around the block.

Now the agents do it overnight. A note written at midnight is found at six, and it agrees with itself completely. The agent does not stand in line in the frost. It places the order.

ČESKY. ORIGINÁL PODČÁRNÍKU

O chlapovi, který pustil fámu o banánech. Večer se mu vrátila od tří lidí a on jí uvěřil.

Před Vánoci, v letech, kdy banány byly událost, a ne ovoce, uviděl soused ze třetího patra, jak před Zeleninu couvá náklaďák. Co veze, neviděl. Viděl náklaďák a byl prosinec. Na schodech utrousil k paní z druhého patra, jen tak mimochodem: „Vypadá to, že zítra budou banány.“ Myslel to jako odhad. Řekl to, jako když se říká, že asi bude pršet.

V kapse od kabátu nosil složenou síťovku, kdyby náhodou. Nosil ji každý. V té kapse bylo celé národní hospodářství.

Odpoledne se k němu u holiče naklonil mistr s břitvou a pošeptal mu, že zítra budou banány, má to ze spolehlivého zdroje. Soused přikývl. V tramvaji cestou domů řekl řidič paní na předním sedadle totéž, a tak nahlas, že to slyšel celý vůz. A u večeře manželka odložila polívku a povídá: „Slyšels? Banány.“ Měla to od paní z druhého patra.

Tři zdroje. V posteli si je odpočítal na prstech. Holič, řidič, manželka. Nezávislí lidé, každý z jiného konce města, a všichni říkají totéž. Budík si natáhl na půl pátou.

V pět stála fronta od dveří Zeleniny až k zastávce a za roh kolem pošty. Někdo si přinesl rybářskou stoličku. Někdo termosku s něčím ostřejším než čaj. Chlap vzadu prodával místa ve frontě a vydělal víc, než kdy vydělala Zelenina. Soused byl třetí, přimrzlý k chodníku, a pyšný, protože to věděl dřív než všichni.

V sedm šla roleta nahoru. Zelí. Ten náklaďák vezl zelí. Vedoucí se podíval na tři sta lidí se síťovkami a řekl, že na zelí jim udělá dobrou cenu. Takový bordel před krámem ta ulice nepamatovala.

Soused se nezlobil na sebe. Zlobil se na holiče, na řidiče a na manželku, protože mu to všichni potvrdili. „Tři lidi mi to řekli,“ opakoval celou zimu. „Tři.“ A každý z nich byl on sám, o pár hodin starší, jak se vracel kolem bloku.

Dneska to agenti stihnou přes noc. Poznámka napsaná o půlnoci se v šest ráno najde a dokonale souhlasí sama se sebou. Agent nestojí v mrazu ve frontě. Rovnou objedná.