Proof LibraryTechArticle19 November 2026

For CTOs and VPs of Engineering

AI coding needs two sources of truth

Current code can show what a system does. It cannot, by itself, preserve why a team chose it. Reliable agents need repository evidence and governed intent without confusing the two.

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

The decision that disappeared

Imagine an agent asked to simplify an authentication path. It reads the current repository, finds a helper that looks redundant, updates the tests and writes a confident explanation. The patch is coherent. What it cannot see is the decision made after an incident six months earlier: the extra path exists to preserve a boundary that the code does not name clearly.

Now reverse the failure. Give the agent the old decision but not current repository evidence. It protects a constraint around a component that was replaced two releases ago. The answer is aligned with history and wrong about the software that will run.

These are different failures caused by the same architectural mistake: treating all context as interchangeable. Engineering agents need to answer two questions whose evidence behaves differently:

  1. What does the system do at this commit?
  2. What did the team decide, why did it decide it, and is that intent still approved for this scope?

ProofGit is designed to provide evidence for the first question. ProofMEM is designed to preserve governed intent for the second. Caveau Harness can assemble both at task time, but the labels and authorities stay separate. That boundary matters more than the convenience of putting more text into one prompt.

Two labelled authorities at task time Current repository evidence and governed intent remain separate inputs to a reviewed engineering task.
Two authorities, one taskAn engineering task goes to Caveau Harness. ProofMEM returns approved intent and ProofGit returns code evidence cited to a commit. The harness keeps the two in separate labelled sections for the plan and write phases. A person reviews the proposed change. If it is accepted, only the decision and a pointer to the evidence are saved in ProofMEM. If it is rejected, nothing is saved.recallevidenceacceptrejectEngineering taskProofMEMapproved intentProofGitcode evidence,cited to a commitCaveau Harnessassembles both,keeps them apartPLAN, then WRITEtwo labelled sectionsA personreviewsSaved in ProofMEMthe decision andan evidence pointerRejectednothing is saved

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

Read this diagram as text
  1. ProofGit retrieves current repository evidence with source coordinates.
  2. ProofMEM recalls approved intent within the relevant scope.
  3. Caveau Harness assembles both as separately labelled task context.
  4. The agent proposes a change and a person reviews the evidence, intent and patch.

A disagreement between code and memory is surfaced for review; neither silently overrides the other.

Code truth has coordinates

A useful claim about code should be openable. A reviewer should be able to see the repository, file, lines and revision behind it. Repository retrieval is therefore not simply “ask a general model about the code.” Agent Retrieval Bench treats repository retrieval as a distinct challenge, which matches our experience building coding systems: a model can be capable of producing a patch and still start from the wrong file, a stale summary or a similar-looking implementation.

Coordinates do not make the answer infallible. Retrieval can miss a file. A generated summary can omit a caveat. A cited line can expose what the code does without proving that the behavior is correct. The value is narrower and practical: a reviewer has a concrete place to challenge the claim.

Intent does not naturally have those coordinates. It may begin in a meeting, a ticket, a chat or a review comment. If it is copied into an undifferentiated transcript archive, the system can retrieve a decision beside the rejected alternative and the temporary workaround. The presence of text is not proof that the text is current policy.

Durable intent needs an admission boundary

Persistent memory changes the trust model. A short-lived chat mistake disappears with the session. A durable mistake can influence many later sessions, users and repositories. A-MemGuard examines the security risk of persistent agent memory, while MemDev-Bench treats memory in software development as a system concern rather than a simple context-window extension.

The operational lesson is straightforward: memory needs an admission boundary. Before an observation becomes shared intent, a team should be able to ask who proposed it, where it came from, which scope it belongs to, whether a person approved it and how it can be superseded or removed.

ProofMEM stores memory with scope, provenance and governance controls. A candidate lesson can be proposed for review instead of silently becoming truth. Approved intent can later be recalled for the relevant task. Rejection and supersession remain explicit actions. ProofMEM does not automatically correct bad memory; it makes the memory lifecycle inspectable so people can govern it.

Why a larger context window is not the answer

A larger context window can carry more tokens. It cannot establish approval, freshness or authority. It does not decide which source wins when an old decision conflicts with current code. In fact, expanding context without ranking its trust can make a fluent answer harder to audit because the model can blend sources into a single narrative.

The safer task shape keeps the sources visibly different:

  • current repository evidence arrives with source coordinates and freshness information;
  • recalled intent arrives with ownership, scope and provenance;
  • the prompt names which section is evidence and which is policy or rationale;
  • the agent proposes an action rather than declaring either source universally correct;
  • a reviewer examines the conflict, the patch and the supporting authorities.

If ProofMEM says “retain the compatibility path” while current repository evidence shows that the path no longer exists, the system should surface the disagreement. Smoothing it into a confident answer would hide the most valuable signal: the organisation has a decision that may be stale, or a code change that may have violated it.

What leaders should measure

The first question is often whether agents make developers faster. Speed matters, but it is not enough to establish control. A better review asks whether the organisation can inspect the context that shaped an action and correct it when necessary.

For governed intent, that means checking:

  • Provenance: can a reviewer see where the memory came from?
  • Authority: was it approved for shared use or merely observed?
  • Scope: does it belong to this tenant, repository, project or person?
  • Freshness: is it still the active decision, or has it been superseded?
  • Reversibility: can the team reject or remove it without rewriting history?
  • Separation: can reviewers distinguish remembered intent from current repository fact?

This model does not eliminate hallucination, programming errors or poor decisions. It narrows the space in which unsupported context can hide. It also gives leaders something more useful than a demo: an operational control they can inspect.

Limitations

ProofMEM is not a substitute for code review, testing, threat modelling, documentation or engineering judgement. It does not certify that a remembered decision is wise. A person can approve the wrong thing, scopes can be chosen poorly and retrieval can miss relevant memory. Governance creates a responsible path for correction; it does not remove the need to use that path.

ProofGit and ProofMEM remain standalone products with separate accounts, credentials, subscriptions and authorities. Their outputs can be assembled together, but neither becomes a hidden subsystem of the other.

A review pattern for real work

The model becomes practical when a task record preserves the two authorities. Start with the target repository and revision. Retrieve code evidence first, then recall only approved intent whose scope includes the task. Keep each section labelled in the context and require the proposed change to state where a material constraint came from.

Reviewers can then separate three outcomes. If current code and intent agree, inspect whether the patch preserves both. If they conflict, decide whether the implementation drifted or the decision became stale. If one authority is missing, treat the absence as a limitation rather than asking the model to improvise organisational policy.

That workflow creates useful follow-up work. A stale decision becomes a proposal for supersession. An implementation that violates active intent becomes an engineering issue supported by exact evidence. Neither record changes merely because the agent noticed the conflict.

The next action

Choose one decision your team repeatedly has to rediscover: a migration rule, a security boundary or a compatibility promise. Write it as a concise statement with rationale, provenance and scope. Have a person approve it. In a later supported-agent session, retrieve it for a relevant task and verify that it arrives labelled as governed intent rather than repository fact. That is a more meaningful first value than remembering a transcript: it is remembering what the team is prepared to stand behind.

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. Agent Retrieval Bench
  2. MemDev-Bench
  3. A-MemGuard