arXiv:2609.01235cs.CRSep 2026

Manuscript Offprint

arXiv:2609.01235

MutMem-V2: Cryptographically Authorized Mutation in Persistent Agent Memory Portable Verification and Reproducible Evidence

Walid Saidi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Portable Verification and Reproducible Evidence

Walid Saidi

Independent researcher

Evidence-audited manuscript candidate, September 2026

Reproducibility and release status. Repository: https://github.com/wallidsaydi-creator/HOM-AIMOS. Published predecessor: arXiv:2608.02843. The evidence source commit is eb0166fd45964ebb47ca053bcfeb0ab3ddc68999, and the closed publication-evidence root is 99bed29dcf0cc5c2f597f17b69be8d6dc990bae4ae5dd30838a1d1f34d92a76b. The public release is https://github.com/wallidsaydi-creator/HOM-AIMOS/releases/tag/v1.0.0, immutable tag v1.0.0, commit fcda26d1e05c729185c09dd11446db2f79c14a0d, with source-manifest root f0cdb75763c70ce83bfd1e5f6c956e7502b65a812c3a43f311f8039ba0c3b7f1.

Offline verification is exactly npm run verify; deterministic evidence regeneration is exactly npm run evidence:regenerate. For an ordinary agent identifier stored in shell variable AGENT_ID after installer onboarding, the exact multi-line utility reproduction command is:

npm run reproduce -- --installed-instance canonical
--agent-id "$AGENT_ID" --full --benchmark both
--protocol canonical-blind-v1

Source code is AGPL-3.0-or-later. The repository license applies to AIMOS-authored artifact files. Dataset text is not redistributed; downloaded materials retain upstream licenses. Historical V1 utility used GPT-5.4 for generation and GPT-5.6 Terra for judgment; the historical poisoning lane used GPT-5.5 and GPT-5.6 Terra. Provider access is operator-authenticated, and no credential or provider payload is released.

Highest support level: the protocol and evidence are independently verifiable, and one clean installation is qualified; the empirical findings have not been independently replicated. The immutable public tag, release commit, GitHub Release, and source-manifest root are mutually bound. This manuscript is publication-authorized for arXiv submission; the arXiv identifier is necessarily recorded after submission acceptance.

Abstract

MutMem V1, published as “MutMem: Cryptographically Authorized Mutation in Persistent Agent Memory,” introduced retention-preserving, cryptographically authorized mutation for persistent agent memory and reported utility, mutation-integrity, and targeted-poisoning results. Its principal publication gap was not another retrieval mechanism: it was the absence of a complete portable verification contract and a reviewer-facing path from a clean installation to independently checkable evidence. MutMem V2 closes that gap without creating a second memory engine. It specifies exact canonical bytes, domain-separated object and bundle commitments, mandatory recall-evidence membership and order, external trust anchors, identity epochs, revocation state, authorization, request receipts, ordered disclosure, and three mutation terminals. The current protocol contains 18 versioned object schemas, 39 recall predicate vectors, 15 mutation vectors, and 37 closed recall failure reasons. Independent Node and Python implementations agree on verdict and primary reason for all 72 structural and cryptographic terminals; a separate production-conformance corpus agrees on 42/42 cases spanning 28 required classes. A clean Node v26.8.1 installation reaches first-boot, restart, and scheduler readiness with no experimental memories. A separately scoped Canary experiment completes 120 explicit-marker and clean units; it is evidence of declared marker traversal only. Every public table is regenerated from a self-hashed aggregate, and an independent verifier reconstructs its statistics and claim boundaries. Historical V1 empirical results remain historical rather than being relabeled as V2 reruns. MutMem V2 supports claims about portable integrity, authorization, traceability, conformance, and reproducibility under stated assumptions. It does not establish semantic truth, universal robustness, or independent replication.

1 Introduction

Persistent memory creates two separable research problems. The first is how an agent may adapt retained evidence while preserving authorship, prior state, and the reason for change. MutMem V1 addressed that problem with append-only outcome evidence, bounded bidirectional weight transitions, signed provenance, and ordered recall receipts [1]. The second problem is how a reviewer can verify those claims without trusting the production database, its runtime, or a prose description of the system. A self-consistent implementation is not yet a portable protocol: its object boundaries, byte encodings, trust roots, failure reasons, result cardinality, and terminal states must be explicit.

MutMem V2 addresses the second problem. MutMem denotes the portable protocol; HOM-AIMOS is one producer and case study. The portable verifier does not select memories, authorize requests, sign events, mutate storage, or operate a second runtime. It consumes finite evidence objects and returns a deterministic terminal verdict. [V2-PORTABLE-PROTOCOL]

The paper makes four contributions:

  1. It defines a versioned recall-disclosure envelope whose complete membership is 13+5r13 + 5r objects for rr disclosed results, with deterministic ordering, exact canonical bytes, and domain-separated SHA-256 commitments.

  2. It defines cross-object predicates for external trust, actor and Housekeeper epochs, revocation, effective authorization, signed request and receipt parity, native decision bindings, per-result provenance and occurrence evidence, Merkle order, and signed terminal receipts.

  3. It defines a portable mutation profile that preserves the native outcome schema and distinguishes an authorized transition, a signed no-op, and an occurrence observation.

  4. It supplies independent Node and Python verifiers, a production-derived conformance corpus, a clean installer qualification, deterministic publication regeneration, an attempt ledger, and a complete claim-to-evidence map.

The contribution is deliberately narrower than “secure memory.” Cryptographic integrity does not imply that remembered content is true. A fixed poisoning experiment does not imply universal detection. Exact verifier parity does not imply independent empirical replication. These are protocol boundaries, not disclaimers added after observing results. [CONTENT-TRUTH] [UNIVERSAL-DEFENSE] [INDEPENDENT-REPLICATION]