Proof LibraryTechArticle10 December 2026

For CTOs and VPs of Engineering

Memory is a governance system, not a larger context window

Persistent agent memory creates a new organisational control plane. This paper explains the lifecycle, threat model and operating practices required to make that memory useful without making it invisible authority.

A governed memory archive represented by translucent records, labelled boundaries and warm review signals.

Executive summary

The first generation of agent memory was often described as a capacity problem. A model could only see a limited conversation, so the solution appeared to be a larger context window, a transcript archive or a vector database. Those tools can improve recall, but capacity is not the main organisational risk.

The moment memory persists across sessions, it becomes a control plane. A saved statement can influence future work by different people, agents and repositories. The system therefore needs to express ownership, provenance, scope, authority, retention and reversibility. Without those properties, persistent memory can amplify stale decisions, confidential material, rejected ideas and malicious instructions.

This paper proposes a practical model for engineering leaders. It separates observation from authority, treats memory admission as a governed write, keeps repository evidence distinct from organisational intent and measures success at first value: a supported agent saves or receives approved intent and later recalls it in the correct scope.

The conclusion is not that memory should be restricted to a static knowledge base. Agents can and should help identify reusable learning. The conclusion is that an agent should propose durable learning rather than silently certifying it.

1. The failure scenario

Consider a team using coding agents across several repositories. During an incident review, an engineer explains a temporary mitigation, another person proposes a permanent boundary and a third rejects an earlier approach. The transcript contains all three. A memory layer stores the conversation and, months later, retrieves the temporary mitigation for a different service because its wording is semantically similar.

The agent now has “relevant memory.” It also has the wrong authority, scope and date. The failure may not look like a hallucination because every sentence came from a real conversation. It is a governance failure: the system could not distinguish what was said from what the organisation approved.

Adding more transcript does not repair the distinction. Increasing the context window gives the model more opportunities to infer the right answer, but it still leaves authority implicit. A model may resolve the conflict correctly, or it may combine the fragments into a polished rule nobody actually chose.

Persistent memory changes the blast radius. A mistaken response in one chat is local. An admitted memory can recur across many tasks. A-MemGuard's focus on persistent-memory attacks illustrates why poisoning and contamination deserve specific controls. MemDev-Bench likewise frames development memory as a system with longitudinal effects rather than a prompt convenience.

2. Six properties of governed memory

A governance system does not require a committee for every note. It requires the product to preserve the facts needed for proportionate control.

Ownership

Every durable record needs an accountable owner or owning scope. Ownership answers who can review, supersede or remove it. “The agent wrote it” is provenance, not ownership.

Provenance

The record should state where it came from: a task, incident, document, repository finding or human decision. Provenance lets a reviewer inspect the basis of a claim and decide whether it remains useful.

Scope

Memory should be admitted to the narrowest useful boundary: personal, team, tenant, project or repository context as supported by the system. Scope prevents a valid local rule from becoming dangerous global policy.

Authority

The system should distinguish a private note, an observation, a proposed learning and approved shared intent. Semantic relevance cannot substitute for this status. Retrieval should carry the status forward instead of flattening it.

Retention

Not every memory deserves permanent storage. Episodic observations, temporary workarounds and durable decisions have different lifetimes. Retention should reflect their purpose and the applicable product or tenant policy.

Reversibility

Teams need to reject, supersede and delete memory through visible actions. A corrected record should not require editing history into a fiction. Reversibility also needs an audit path so a team can understand why later behavior changed.

Together, these properties turn memory from a bag of retrieved text into an operational system.

A governed memory lifecycle Memory moves through explicit admission, retrieval and review boundaries.
Governed memory lifecycleA work session recalls memory within the key's scope, uses it for the active task, records an event, and can file feedback or a proposed correction. Feedback changes the trust score but never the note text. A proposed correction changes a durable note only after approval by a key with review permission. Raw secret values belong in the separate vault rather than memory.yesnoexact-key reference onlySession startskey + namespace + scopeContext assemblydurable notes + recent eventsinside a token budgetAgent workswith bounded contextAppend an eventor save an explicit noteFeedbackupdates trust scorenever note textProposed correctionpending reviewApproved withreview permission?Durable note updatedwith a version checkRejectednote text unchangedSeparate vaultsecret values never searched

Scroll sideways to see the whole diagram, or open it full size.

Read this diagram as text
  1. Capture a candidate with provenance.
  2. Classify its scope, tier and retention.
  3. Review it before shared use.
  4. Recall it only where the scope allows.
  5. Supersede, reject or delete it when evidence changes.

The control plane is part of the memory system, not an administrative afterthought.

3. Admission: the critical boundary

The most important moment in the lifecycle is not retrieval. It is admission.

An agent observes potentially reusable information while working: a deployment command failed for a surprising reason, a migration must run in a particular order, or a client API behaves differently from its documentation. Capturing that observation is useful. Promoting it directly to shared policy is risky.

A safer workflow creates a candidate with the proposed statement, provenance, intended scope and verification method. A reviewer can approve it, narrow it, rewrite it or reject it. High-impact rules may require stronger review than low-risk preferences. The product does not have to impose one universal approval policy; it has to make the distinction enforceable.

This boundary prevents three common errors. First, it stops a model's confident inference from becoming durable truth. Second, it prevents a local workaround from escaping its scope. Third, it creates a place to remove secrets or confidential customer material before they enter searchable memory.

ProofMEM's governed proposal path is built around this principle. It does not claim to automatically correct bad memory. It exposes decisions to people who are authorised to make them.

4. Retrieval: relevance plus permission

Retrieval still matters. A perfectly governed record is useless if it never appears when needed, while an irrelevant record consumes attention and can distort a response. The retrieval problem has at least four filters:

  • is the requester allowed to see this record?
  • does the record's scope include the current task?
  • is the record active rather than rejected, expired or superseded?
  • is it relevant enough to justify occupying context?

These filters should be visible in the resulting context. An agent should not receive an unlabeled paragraph that could be current policy, an old note or a model-generated summary. The context assembly should preserve the record's authority and provenance.

Leaders should also expect false negatives. Retrieval may miss relevant intent because the task is phrased differently, the scope is wrong or the record was never admitted. A memory product cannot remove the need for explicit documentation and human review. Its purpose is to make the durable context it does supply more governable.

5. Keep code evidence separate

Organisational intent is not a substitute for repository evidence. An approved decision can describe what the team wants while the code has drifted away from it. Conversely, current code can implement behavior whose rationale is absent from names and comments.

ProofGit and ProofMEM therefore use separate authorities. ProofGit answers repository questions with source-linked evidence. ProofMEM holds governed intent. When Caveau Harness assembles both for a task, each section remains labelled. A conflict becomes a review signal rather than a reason for the model to average the sources together.

This separation also clarifies correction. If the cited code is stale, refresh repository evidence. If the decision is obsolete, supersede the memory. If implementation violates active intent, change the code through the normal engineering process. A single opaque context store makes it harder to know which control to operate.

6. Threat model

Persistent memory creates threats beyond ordinary prompt error.

Poisoning

An attacker or compromised tool may try to write instructions that influence future sessions. Admission review, provenance and authority states reduce the chance that an untrusted observation becomes shared intent. They do not eliminate the need for tool authentication, authorisation and monitoring.

Scope escape

A record valid for one tenant or repository may be retrieved elsewhere. Strong tenant isolation and explicit scopes are required. Namespacing in the user interface is not sufficient if the retrieval path ignores it.

Secret capture

Transcripts can contain credentials. A memory workflow should prevent secrets from entering ordinary searchable memory and direct them to an appropriate secret-management path. Reviewers and agents both need clear handling rules.

Staleness

A once-correct decision may become harmful after the architecture changes. Retention, review dates and supersession paths help, but teams also need operational habits for revisiting important intent.

Authority laundering

Model-generated prose can make a tentative source sound official. The renderer and APIs should preserve the difference between a proposal and an approved record. Human-friendly summaries must not erase status.

Over-collection

Saving everything increases privacy, security and retrieval risk. A deliberate admission model encourages minimisation: store the durable lesson, not every surrounding message.

7. An operating model for teams

Engineering leaders can introduce governed memory incrementally.

Start with a narrow use case. Deployment rules, architectural constraints and recurring incident lessons are better candidates than importing a company's entire chat history. Define who may propose and who may approve. Choose scopes that map to real responsibility. Document what must never be stored.

Review a small sample of recalled context every week. Ask whether each item was relevant, correctly scoped, still active and clear about its authority. Treat a poor retrieval as a system-learning event: improve the record, scope or query behavior through the governed process rather than silently editing the result.

Measure first value, not just account creation. For ProofMEM, a qualified trial means a target-company account connects a supported agent and a memory is successfully saved and later recalled or assembled into context. That sequence proves the core loop. It does not prove organisation-wide return on investment, but it is a better activation signal than a page view or sign-in.

Track time to first value, successful recall, review turnaround and the rate at which proposed learning is approved, revised or rejected. High approval is not automatically good; it may mean proposals are excellent or review is superficial. Use the measures to ask better questions, not to create a vanity score.

8. Limitations

Governance adds friction. A process that requires review for every harmless personal preference may be abandoned. The operating model should be proportionate to scope and impact.

Reviewers can approve incorrect information. Provenance can be incomplete. Retrieval can miss relevant memory or return too much. Permissions and tenant isolation can contain implementation defects. The system still needs security testing, operational monitoring, backup and recovery, and a clear incident process.

ProofMEM does not claim certification or universal support for every agent client. Current supported clients, offers, pricing and product state must be checked against the live site on publication day. Research cited here evaluates the broader problem; it is not an independent evaluation of ProofMEM.

9. Direction, not promise

We are exploring stronger ways to connect proposals, review outcomes and later task results; to make retrieved authority easier to inspect; and to surface conflicts between active intent and current evidence. These are product directions. They are not committed features or delivery dates.

The architectural principle is more durable than any roadmap item: persistence should increase accountability, not obscure it. Agents may do more of the preparation, classification and evidence assembly. The transition from observation to shared authority should remain explicit.

10. Review design and human factors

Adding an approval button does not create meaningful governance. Reviewers need enough context to make a decision and a workload they can sustain. A proposal should show the candidate statement, its provenance, intended scope, retention and the consequence of approval. It should make rejection or narrowing as easy as acceptance.

Teams can use risk-based review. A personal preference with no external effect may need only the owner. A repository-wide deployment rule may need a maintainer. A security boundary or regulated process may require a designated reviewer under the organisation's own policy. ProofMEM provides governance mechanisms; customers remain responsible for choosing policies appropriate to their work.

Watch for approval fatigue. If nearly every proposal is accepted instantly, inspect whether the review contains useful evidence and whether too many low-value candidates are being generated. If reviewers reject most proposals, improve the candidate quality or narrow what agents are asked to learn. The target is not a particular approval rate. It is a process that makes shared intent deliberate.

Interfaces should also preserve dissent. A reviewer may agree that an observation is accurate but reject it as durable policy. Another may approve it for one project and reject global scope. Capturing those distinctions improves later proposals without turning rejected text into active memory.

11. Data minimisation and privacy

Governed memory should collect less than a transcript archive, not more. Store the durable lesson and the provenance needed to assess it. Avoid copying surrounding conversation when a concise decision record is sufficient. Raw secrets do not belong in searchable memory; they should use an appropriate vault or secret-reference mechanism.

Personal data deserves the same discipline. Scope, retention and deletion controls should reflect the purpose for which a record was created. A team should understand whether it acts as controller or processor for content it stores and should configure the service under its own legal and security obligations. Product governance features do not confer compliance by themselves.

Operational telemetry can be minimised too. Campaign measurement, for example, can record article, campaign, source, variant, action and time without storing marketing-event email, raw query string or a persistent browser identifier. Product activation can be joined through approved account-side attribution rather than cross-site tracking.

12. Recovery and audit

A memory control plane needs recovery behavior. Teams should be able to see when a record was admitted, changed, superseded or rejected and which authorised actor performed the action. Backups and restoration should preserve tenant boundaries and not silently revive deleted or superseded active state.

Incident response should include memory-specific questions: which tasks retrieved the affected record, which scopes were exposed, whether an attacker could admit more records, and whether cached context remains in downstream systems. Revoking one credential may be insufficient if poisoned intent has already been approved or exported.

Audit should remain useful rather than performative. Record the events needed to reconstruct material decisions without logging secrets or entire prompts by default. Test reversal paths before they are needed. A governance feature that cannot be operated during an incident is only documentation.

Run periodic exercises with a deliberately obsolete record. Verify that reviewers can identify its provenance, supersede it, prevent it from appearing as active intent and explain the change to a later agent session. Repeat the exercise across tenant and project boundaries. These tests validate the operating controls around memory rather than only the happy-path retrieval API.

When an incident closes, propose any reusable lesson through the normal admission path. Urgency should not grant an agent permanent write authority. The recovery process is strongest when the same governance model applies before, during and after failure.

Conclusion

Memory becomes valuable when it lets a team carry hard-won intent into the next task. It becomes dangerous when that intent arrives without provenance, scope or a way to challenge it.

A larger context window can improve capacity. A governed memory lifecycle establishes responsibility. Engineering organisations adopting persistent agents need both technical retrieval and institutional controls, with a clear boundary between what was observed, what was approved and what the repository currently proves.

The practical first step is small: choose one recurring decision, admit it deliberately, recall it in the right task and verify that a person can understand why it appeared. That is the beginning of organisational memory that can be trusted enough to use—and corrected when it should not be.

Sources and method

External research frames the problem; it is not an independent evaluation of ProofMEM. Product statements are reverified against the published service and documentation before release.

  1. MemDev-Bench
  2. A-MemGuard