<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Fidwell Engineering</title>
    <description>The latest articles on DEV Community by Fidwell Engineering (@longmemos).</description>
    <link>https://dev.to/longmemos</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4252860%2F576c82c3-db59-4a1c-9a60-da30e66b3567.jpg</url>
      <title>DEV Community: Fidwell Engineering</title>
      <link>https://dev.to/longmemos</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/longmemos"/>
    <language>en</language>
    <item>
      <title>Fail-Closed 403 Revocation &amp; 19.11 ms Hot Recall Verification for ZeroOS v2.0.0-GA + LongMemOS</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Sat, 05 Dec 2026 07:00:43 +0000</pubDate>
      <link>https://dev.to/longmemos/fail-closed-403-revocation-1911-ms-hot-recall-verification-for-zeroos-v200-ga-longmemos-50h4</link>
      <guid>https://dev.to/longmemos/fail-closed-403-revocation-1911-ms-hot-recall-verification-for-zeroos-v200-ga-longmemos-50h4</guid>
      <description>&lt;p&gt;Production AI agents require two properties that rarely coexist cleanly: deterministic authorization revocation and low-latency memory retrieval. If a compromised session token or expired tenant capability triggers a permissive fallback or an ambiguous &lt;code&gt;400 Bad Request&lt;/code&gt; error, memory isolation fails silently. Conversely, if policy evaluation adds heavy network round-trips to every retrieval call, conversational responsiveness degrades.&lt;/p&gt;

&lt;p&gt;In the &lt;strong&gt;ZeroOS v2.0.0-GA x LongMemOS&lt;/strong&gt; commercial integration baseline, deterministic revocation and hot-path retrieval are verified together over the &lt;strong&gt;UAMP memory protocol v0.2&lt;/strong&gt; (&lt;code&gt;uamp memory protocol v0.2&lt;/code&gt;). This guide walks through the architecture, the &lt;strong&gt;zeroos v2.0.0-GA fail-closed 403&lt;/strong&gt; enforcement path, hot recall latency verification, &lt;strong&gt;BOM↔SBOM 100%&lt;/strong&gt; pure-binary black-box delivery, and reproducible audit metrics.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture &amp;amp; Governance Boundary
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzwb44fxmgbz318h80sdt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzwb44fxmgbz318h80sdt.png" alt="LongMemOS EN" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The integration separates deterministic control-plane enforcement from governed memory persistence:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;ZeroOS v2.0.0-GA&lt;/strong&gt; acts as the execution gate and capability verifier, inspecting session leases, tenant boundaries, and revocation state before any memory operation reaches storage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LongMemOS&lt;/strong&gt; serves as the closed-source commercial memory engine (not an open-source core), executing structured retrieval and persistence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UAMP memory protocol v0.2&lt;/strong&gt; defines the standardized wire contract between the agent runtime, ZeroOS policy gate, and LongMemOS engine. The protocol specification is published in the first-party public audit kit at &lt;a href="https://github.com/LongmemOS/uamp-spec" rel="noopener noreferrer"&gt;https://github.com/LongmemOS/uamp-spec&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Verifying Fail-Closed 403 Revocation (&lt;code&gt;HTTP 400 = 0&lt;/code&gt;, &lt;code&gt;fail_open = 0&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;A common failure mode in distributed memory gateways is treating malformed or revoked authorization metadata as a client schema error (&lt;code&gt;HTTP 400&lt;/code&gt;) or falling back to cached context (&lt;code&gt;fail_open&lt;/code&gt;) when a revocation store is under load. Both behaviors break strict auditability.&lt;/p&gt;

&lt;p&gt;Under the &lt;strong&gt;ZeroOS v2.0.0-GA x LongMemOS&lt;/strong&gt; commercial integration baseline, every UAMP v0.2 recall request passes through synchronous revocation validation:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A capability token or tenant session is marked revoked at the ZeroOS governance plane.&lt;/li&gt;
&lt;li&gt;Subsequent UAMP v0.2 memory recall envelopes carrying that token are intercepted prior to vector or graph index lookup.&lt;/li&gt;
&lt;li&gt;The gateway terminates the call deterministically with HTTP &lt;code&gt;403 Forbidden&lt;/code&gt; (&lt;code&gt;403 Fail-Closed&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In verification runs on the commercial integration baseline, revocation testing recorded:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Status Enforcement&lt;/strong&gt;: &lt;code&gt;403 Fail-Closed&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ambiguous Client Error Rate&lt;/strong&gt;: &lt;code&gt;HTTP 400 = 0&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permissive Fallback Count&lt;/strong&gt;: &lt;code&gt;fail_open = 0&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Example UAMP v0.2 Verification Envelope
&lt;/h3&gt;

&lt;p&gt;When verifying revocation behavior against the closed-source commercial engine at &lt;a href="https://sandbox.longmemos.com" rel="noopener noreferrer"&gt;https://sandbox.longmemos.com&lt;/a&gt;, a revoked UAMP v0.2 recall envelope follows this structure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"uamp_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0.2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"operation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"memory.recall"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"tenant_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tenant_audit_01"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"session_token"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"revoked_lease_9f3a"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"text"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"deployment policy constraints"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"top_k"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Expected fail-closed response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"http_status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;403&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"uamp_version"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"0.2"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"decision"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"fail_closed"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"capability_revoked"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"fail_open"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Because the check short-circuits before memory hydration, no partial fragments or metadata leak into the agent context window.&lt;/p&gt;

&lt;h2&gt;
  
  
  19.11 ms Hot Recall Latency Baseline
&lt;/h2&gt;

&lt;p&gt;Strict inline gating only works in production if authorized requests stay fast. On the &lt;strong&gt;ZeroOS v2.0.0-GA x LongMemOS&lt;/strong&gt; commercial integration baseline, authorized hot recall executes with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hot Recall p50&lt;/strong&gt;: &lt;code&gt;19.11 ms&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hot Recall p95&lt;/strong&gt;: &lt;code&gt;19.61 ms&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The tight spread between &lt;code&gt;p50 19.11 ms&lt;/code&gt; and &lt;code&gt;p95 19.61 ms&lt;/code&gt; reflects deterministic authorization evaluation paired with in-memory hot-tier indexing inside the LongMemOS commercial engine. Teams evaluating latency characteristics can test live calls in the self-serve 30s sandbox at &lt;a href="https://sandbox.longmemos.com" rel="noopener noreferrer"&gt;https://sandbox.longmemos.com&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  BOM↔SBOM 100% Pure-Binary Black-Box Delivery
&lt;/h2&gt;

&lt;p&gt;Enterprise deployments in regulated environments require supply-chain traceability without requiring source-code disclosure of proprietary runtime internals. The ZeroOS v2.0.0-GA x LongMemOS commercial package ships via &lt;strong&gt;BOM↔SBOM 100% pure-binary black-box delivery&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;In practice, this means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every compiled artifact in the release Bill of Materials (BOM) maps directly to the cryptographic Software Bill of Materials (SBOM).&lt;/li&gt;
&lt;li&gt;Verification teams can validate binary provenance, dependency manifests, and checksum parity across environments while operating LongMemOS as a closed-source commercial engine.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Public Audit Kit, Technical Preprint &amp;amp; Honest Limitations
&lt;/h2&gt;

&lt;p&gt;Rather than claiming unverified blanket accuracy, all evaluation harnesses and protocol schemas are published in the First-Party Public Audit Kit:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Benchmark Harness: &lt;a href="https://github.com/LongmemOS/longmemos-benchmarks" rel="noopener noreferrer"&gt;https://github.com/LongmemOS/longmemos-benchmarks&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Protocol Specification: &lt;a href="https://github.com/LongmemOS/uamp-spec" rel="noopener noreferrer"&gt;https://github.com/LongmemOS/uamp-spec&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our methodology and findings are documented in the technical preprint:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;arXiv:2612.04831&lt;/strong&gt;: &lt;a href="https://arxiv.org/abs/2612.04831" rel="noopener noreferrer"&gt;https://arxiv.org/abs/2612.04831&lt;/a&gt; (DOI: &lt;a href="https://doi.org/10.48550/arXiv.2612.04831" rel="noopener noreferrer"&gt;https://doi.org/10.48550/arXiv.2612.04831&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zenodo Mirror&lt;/strong&gt;: DOI &lt;code&gt;10.5281/zenodo.24623205&lt;/code&gt; (&lt;a href="https://doi.org/10.5281/zenodo.24623205" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.24623205&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Across the published benchmark suites in &lt;a href="https://github.com/LongmemOS/longmemos-benchmarks" rel="noopener noreferrer"&gt;https://github.com/LongmemOS/longmemos-benchmarks&lt;/a&gt;, reported metrics maintain strict category splits and transparent failure boundaries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LoCoMo (Split Reporting)&lt;/strong&gt;: &lt;code&gt;Cat 1-4 92.86%&lt;/code&gt; and &lt;code&gt;Cat 5 65.02%&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MemoryAgentBench (Honest Limitation)&lt;/strong&gt;: &lt;code&gt;CR-MH 10.00%&lt;/code&gt; (&lt;code&gt;R@5 63.64%&lt;/code&gt;). Multi-hop conflict resolution (&lt;code&gt;CR-MH&lt;/code&gt;) remains an open engineering challenge where retrieval recall (&lt;code&gt;R@5 63.64%&lt;/code&gt;) does not yet translate into high end-to-end conflict resolution accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PersonaMem-v2&lt;/strong&gt;: Evaluated across &lt;code&gt;11 score levels observed in our evaluation logs&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try the 30-Second Self-Serve Sandbox
&lt;/h2&gt;

&lt;p&gt;You can test UAMP memory protocol v0.2 revocation checks and hot recall responses directly using the closed-source commercial engine sandbox:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Self-Serve 30s Sandbox&lt;/strong&gt;: &lt;a href="https://sandbox.longmemos.com" rel="noopener noreferrer"&gt;https://sandbox.longmemos.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LongMemOS Architecture &amp;amp; Deployment Inquiry&lt;/strong&gt;: &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ZeroOS Governance Inquiry&lt;/strong&gt;: &lt;a href="https://zeroosai.com/#inquiryForm" rel="noopener noreferrer"&gt;https://zeroosai.com/#inquiryForm&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Self-Serve 30s Sandbox: &lt;a href="https://sandbox.longmemos.com" rel="noopener noreferrer"&gt;https://sandbox.longmemos.com&lt;/a&gt; | Technical Preprint: &lt;a href="https://arxiv.org/abs/2612.04831" rel="noopener noreferrer"&gt;https://arxiv.org/abs/2612.04831&lt;/a&gt; | Enterprise Contact: &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>architecture</category>
      <category>rust</category>
    </item>
    <item>
      <title>Zero-LLM Write Path &amp; Per-Tenant Sub-DEK Auditability in LongMemOS + ZeroOS (arXiv:2612.04831)</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Fri, 04 Dec 2026 08:10:18 +0000</pubDate>
      <link>https://dev.to/longmemos/zero-llm-write-path-per-tenant-sub-dek-auditability-in-longmemos-zeroos-arxiv261204831-2158</link>
      <guid>https://dev.to/longmemos/zero-llm-write-path-per-tenant-sub-dek-auditability-in-longmemos-zeroos-arxiv261204831-2158</guid>
      <description>&lt;p&gt;Production AI agents require predictable latency, cryptographic tenant isolation, and verifiable audit trails. Many early memory layers rely on LLM calls during every memory write, which introduces non-deterministic state mutations, unpredictable tail latency, and opaque ingestion bills. For teams evaluating a &lt;strong&gt;mem0 alternative zero-llm&lt;/strong&gt; approach or designing a &lt;strong&gt;deterministic agent memory os&lt;/strong&gt;, decoupling ingestion from generative inference is an architectural turning point.&lt;/p&gt;

&lt;p&gt;In this article, we examine the Zero-LLM write path, canonical UTF-8/SHA-256 auditability, and per-tenant Sub-DEK isolation documented in &lt;strong&gt;arXiv:2612.04831 LongMemOS&lt;/strong&gt; (&lt;code&gt;https://arxiv.org/abs/2612.04831&lt;/code&gt;, DOI: &lt;code&gt;https://doi.org/10.48550/arXiv.2612.04831&lt;/code&gt;; Zenodo mirror DOI &lt;code&gt;10.5281/zenodo.24623205&lt;/code&gt; at &lt;code&gt;https://doi.org/10.5281/zenodo.24623205&lt;/code&gt;) alongside the &lt;strong&gt;ZeroOS v2.0.0-GA&lt;/strong&gt; control plane.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" alt="LongMemOS EN" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Zero-LLM Writes Matter for Deterministic Agent Memory
&lt;/h2&gt;

&lt;p&gt;When a memory subsystem invokes an LLM on the write path to summarize or extract entities synchronously, two issues emerge in regulated enterprise environments:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Non-Deterministic Ingestion&lt;/strong&gt;: Identical inputs can produce different memory graph mutations depending on temperature, model drift, or prompt sensitivity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auditability Gaps&lt;/strong&gt;: Compliance teams cannot verify that a stored memory record matches the exact byte sequence emitted by a user or tool call.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;LongMemOS eliminates LLM inference from the ingestion path. Instead, incoming events are normalized into canonical UTF-8, hashed with SHA-256 for content-addressable integrity, and indexed deterministically. Retrieval and downstream reasoning remain fast and reproducible without generative overhead at write time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Per-Tenant Sub-DEK Isolation &amp;amp; ZeroOS v2.0.0-GA Control Plane
&lt;/h2&gt;

&lt;p&gt;Enterprise multi-tenancy demands strict cryptographic and policy boundaries. LongMemOS pairs its Zero-LLM write pipeline with per-tenant Sub-DEK (Data Encryption Key) isolation governed by the ZeroOS v2.0.0-GA control plane:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Per-Tenant Sub-DEK Binding&lt;/strong&gt;: Each tenant's normalized memory payload is encrypted under a dedicated Sub-DEK before persistence, preventing cross-tenant key reuse or plaintext leakage across storage tiers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fail-Closed Policy Enforcement&lt;/strong&gt;: Unauthorized or malformed access attempts are rejected deterministically rather than degraded silently.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Commercial Integration Baseline (ZeroOS v2.0.0-GA x LongMemOS)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Hot recall latency: &lt;strong&gt;p50 19.11 ms / p95 19.61 ms&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Access governance: &lt;strong&gt;403 Fail-Closed (HTTP 400 = 0, fail_open = 0)&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Supply-chain packaging: &lt;strong&gt;BOM↔SBOM 100% pure-binary black-box delivery&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Below is a simplified representation of how a deterministic audit envelope is structured before Sub-DEK sealing and ZeroOS gate evaluation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"tenant_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tenant_acme_prod"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sub_dek_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"sdek-2026-04-acme-0091"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"encoding"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"UTF-8"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"payload_sha256"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"write_mode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"zero_llm_deterministic"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"policy_verdict"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"403_fail_closed_ready"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every write event produces a verifiable SHA-256 digest bound to the tenant's Sub-DEK context, allowing security auditors to trace lineage without re-running probabilistic extraction pipelines.&lt;/p&gt;

&lt;h2&gt;
  
  
  First-Party Public Audit Kit &amp;amp; Transparent Benchmark Reporting
&lt;/h2&gt;

&lt;p&gt;To keep evaluation reproducible and grounded in verifiable evidence, the first-party public audit kit is published across two repositories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Benchmark harness: &lt;code&gt;https://github.com/LongmemOS/longmemos-benchmarks&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Unified Agent Memory Protocol specification: &lt;code&gt;https://github.com/LongmemOS/uamp-spec&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reported metrics strictly retain split category scores and explicit failure boundaries:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LoCoMo Benchmark&lt;/strong&gt;: &lt;strong&gt;Cat 1-4 92.86%&lt;/strong&gt; and &lt;strong&gt;Cat 5 65.02%&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MemoryAgentBench&lt;/strong&gt;: &lt;strong&gt;CR-MH 10.00% (R@5 63.64%)&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Retaining the honest &lt;strong&gt;CR-MH 10.00% (R@5 63.64%)&lt;/strong&gt; limitation on MemoryAgentBench highlights where multi-hop conflict resolution still requires specialized reasoning layers on top of fast deterministic recall, rather than masking architectural trade-offs behind aggregate averages.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try the 30-Second Sandbox or Request Enterprise Architecture Review
&lt;/h2&gt;

&lt;p&gt;LongMemOS is delivered as a &lt;strong&gt;closed-source commercial engine&lt;/strong&gt; (not an open-source core), packaged for pure-binary black-box deployment with ZeroOS v2.0.0-GA.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Self-Serve 30s Sandbox&lt;/strong&gt;: &lt;code&gt;https://sandbox.longmemos.com&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LongMemOS Enterprise Inquiry&lt;/strong&gt;: &lt;code&gt;https://longmemos.com/#inquiryForm&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ZeroOS Control Plane Inquiry&lt;/strong&gt;: &lt;code&gt;https://zeroosai.com/#inquiryForm&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For full formal definitions and experimental methodology, review the preprint at &lt;code&gt;https://arxiv.org/abs/2612.04831&lt;/code&gt; (&lt;code&gt;https://doi.org/10.48550/arXiv.2612.04831&lt;/code&gt;) or the Zenodo archive at &lt;code&gt;https://doi.org/10.5281/zenodo.24623205&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Self-Serve 30s Sandbox: &lt;a href="https://sandbox.longmemos.com" rel="noopener noreferrer"&gt;https://sandbox.longmemos.com&lt;/a&gt; | Technical Preprint: &lt;a href="https://arxiv.org/abs/2612.04831" rel="noopener noreferrer"&gt;https://arxiv.org/abs/2612.04831&lt;/a&gt; | Enterprise Contact: &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>architecture</category>
      <category>rust</category>
    </item>
    <item>
      <title>Postmortem: Auditing LoCoMo Cat 5 Abstention (65.02% vs. 92.86% Cat 1–4) Under Frozen Core 6fe5dc92 &amp; ZeroOS 401 RBAC</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Wed, 02 Dec 2026 12:42:00 +0000</pubDate>
      <link>https://dev.to/longmemos/postmortem-auditing-locomo-cat-5-abstention-6502-vs-9286-cat-1-4-under-frozen-core-6fe5dc92-51dp</link>
      <guid>https://dev.to/longmemos/postmortem-auditing-locomo-cat-5-abstention-6502-vs-9286-cat-1-4-under-frozen-core-6fe5dc92-51dp</guid>
      <description>&lt;p&gt;When engineering teams publish benchmark tables for AI agent memory systems, weak categories are often hidden inside aggregates or dropped behind prompt-tuned retries. In this engineering postmortem, we examine an exact diagnostic split on &lt;strong&gt;frozen binary &lt;code&gt;6fe5dc92&lt;/code&gt; of LongMemOS&lt;/strong&gt; paired with the &lt;strong&gt;ZeroOS&lt;/strong&gt; deterministic RBAC control plane: why &lt;strong&gt;LongMemEval-S (95.4%)&lt;/strong&gt;, &lt;strong&gt;LongMemEval-M (92.4%)&lt;/strong&gt;, and &lt;strong&gt;LoCoMo Cat 1–4 (92.86%)&lt;/strong&gt; stay high while &lt;strong&gt;LoCoMo Category 5 adversarial abstention drops to 65.02%&lt;/strong&gt; (&lt;code&gt;86.61%&lt;/code&gt; across all &lt;code&gt;1,986&lt;/code&gt; questions).&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fma06cjmctu3vx3pa5l8r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fma06cjmctu3vx3pa5l8r.png" alt="LongMemOS Deterministic Rule Recall &amp;amp; Verbatim Context" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Frozen Evaluation Harness &amp;amp; Non-Negotiable Ground Rules
&lt;/h2&gt;

&lt;p&gt;Every number reported here shares one frozen configuration:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frozen Core Binary&lt;/strong&gt;: &lt;code&gt;6fe5dc92&lt;/code&gt; (zero generative LLM on write or recall, zero embedding drift, Stage-A verbatim pass-through).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reader&lt;/strong&gt;: &lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Judge&lt;/strong&gt;: strict original &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full 1,986-Q LoCoMo Protocol&lt;/strong&gt;: all 10 conversation groups executed &lt;strong&gt;zero-shot&lt;/strong&gt; with zero core code edits and zero benchmark-specific abstention prompts.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Benchmark Suite&lt;/th&gt;
&lt;th&gt;LongMemOS (&lt;code&gt;6fe5dc92&lt;/code&gt;)&lt;/th&gt;
&lt;th&gt;Mem0 / Zep / EverOS / Memobase&lt;/th&gt;
&lt;th&gt;Notes&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemEval-S (500 Qs)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;477/500 (95.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Published (distinct setups)&lt;/td&gt;
&lt;td&gt;Deterministic recall without write-time LLM calls&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemEval-M (~1.5M Tokens / ~500 Sessions)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;462/500 (92.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;N/A&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Full 500-Q M-track end-to-end scores unavailable upstream&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Zero-Shot LoCoMo (10 Groups / 1,986 Qs)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;1,720/1,986 (86.61%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Distinct setups upstream&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Cat 1–4: 92.86%&lt;/strong&gt; vs. &lt;strong&gt;Cat 5: 65.02%&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  2. Root Cause Inside Category 5 (65.02%)
&lt;/h2&gt;

&lt;p&gt;Category 5 in LoCoMo tests whether an agent refuses questions built on false premises or missing events rather than fabricating an answer. Tracing Stage-A logs on &lt;code&gt;6fe5dc92&lt;/code&gt; reveals a clean architectural separation:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stage-A Verbatim Pass-Through Works as Designed&lt;/strong&gt;: Because LongMemOS does not call a generative LLM during write ingestion or memory lookup, relevant raw segments — addressed by &lt;strong&gt;UTF-8 byte offsets&lt;/strong&gt; (&lt;code&gt;[byte_start, byte_end]&lt;/code&gt;) and checked with &lt;strong&gt;SHA-256 integrity verification&lt;/strong&gt; — are returned verbatim without hallucinated glue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Where False Positives Enter&lt;/strong&gt;: When an adversarial question borrows real entities, dates, or keywords from an existing conversation, deterministic retrieval faithfully returns those lexically related turns. A compact Flash Reader (&lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt;) under zero abstention tuning frequently assumes the supplied turn implies an answer and extrapolates rather than saying "not mentioned."&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Crucially, this separates &lt;strong&gt;storage/recall integrity&lt;/strong&gt; (solved deterministically in LongMemOS) from &lt;strong&gt;reader refusal calibration&lt;/strong&gt; (policy at the responder layer).&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Keeping Multi-Tenant Boundaries Strict with ZeroOS 401 Revocation
&lt;/h2&gt;

&lt;p&gt;High recall must never outlive authorization. Pairing LongMemOS with the &lt;strong&gt;ZeroOS&lt;/strong&gt; control plane places capability-checked RBAC namespace boundaries directly on the read path:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When a credential or tenant role is revoked in ZeroOS, recall endpoints immediately enforce &lt;strong&gt;&lt;code&gt;HTTP 401&lt;/code&gt;&lt;/strong&gt; rejection (fail-closed) without waiting for vector index rebuilds or background TTL sweeps.&lt;/li&gt;
&lt;li&gt;Audit logs record both the ZeroOS policy decision and the LongMemOS UTF-8 byte-span + SHA-256 integrity digest.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzwb44fxmgbz318h80sdt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzwb44fxmgbz318h80sdt.png" alt="ZeroOS Audit Governance &amp;amp; Instant 401 RBAC Enforcement" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Cost &amp;amp; Evaluation Scope Disclosures
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Separate Reader/Judge Costs&lt;/strong&gt;: LongMemOS uses zero generative LLMs during write or recall, so those storage steps carry no LLM token cost; however, downstream Reader and Judge model inference costs are accounted separately.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Synthetic Initial Verification&lt;/strong&gt;: First-time technical evaluations run solely on public synthetic samples and never touch customer production databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contracting Entity&lt;/strong&gt;: Enterprise licensing and evaluation agreements are executed with &lt;strong&gt;Dalian Fidwell Technology Co., Ltd. (China)&lt;/strong&gt;. Inspect architecture details or schedule an isolated benchmark walk-through via &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;the LongMemOS inquiry form&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>benchmark</category>
      <category>architecture</category>
    </item>
    <item>
      <title>Auditing Long-Horizon Agent Memory: 92.4% on LongMemEval-M (~1.5M Tokens) with Zero Write-Time LLMs</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Sat, 28 Nov 2026 13:01:05 +0000</pubDate>
      <link>https://dev.to/longmemos/auditing-long-horizon-agent-memory-924-on-longmemeval-m-15m-tokens-with-zero-write-time-llms-c4</link>
      <guid>https://dev.to/longmemos/auditing-long-horizon-agent-memory-924-on-longmemeval-m-15m-tokens-with-zero-write-time-llms-c4</guid>
      <description>&lt;p&gt;Most agent memory frameworks rely on write-time LLM summarization and vector re-indexing. That works fine for 10-turn demos, but once an agent accumulates &lt;strong&gt;~1.5M tokens across ~500 sessions&lt;/strong&gt;, lossy summaries and embedding drift quietly erode accuracy—and leave you with no cryptographic way to audit why an agent produced a specific answer.&lt;/p&gt;

&lt;p&gt;Here is how &lt;strong&gt;LongMemOS&lt;/strong&gt; (deterministic memory OS) and &lt;strong&gt;ZeroOS&lt;/strong&gt; (deterministic orchestration &amp;amp; RBAC control plane) approach the problem, backed by per-question SHA-256 audit logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture: 0 Write/Retrieval LLMs &amp;amp; Verbatim Stage-A
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero write-time or retrieval-time generative LLMs&lt;/strong&gt;: No background summarization loop burning tokens or rewriting numbers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero embedding drift&lt;/strong&gt;: Deterministic indexing without opaque vector shifts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage-A Verbatim Passthrough&lt;/strong&gt;: Original conversation text is preserved intact and anchored to a &lt;strong&gt;SHA-256 evidence ledger&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low-cost reader + strict judge&lt;/strong&gt;: Evaluated with &lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt; and judged by unmodified &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Audited Benchmark Results
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Benchmark&lt;/th&gt;
&lt;th&gt;LongMemOS (Audited)&lt;/th&gt;
&lt;th&gt;Mem0 / Zep / EverOS / Memobase&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;LongMemEval-S&lt;/strong&gt; (500 Qs)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;477 / 500 (95.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Different eval scopes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;LongMemEval-M&lt;/strong&gt; (~1.5M tokens / ~500 sessions, full 500 Qs E2E)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;462 / 500 (92.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;N/A&lt;/strong&gt; (no comparable full-M 500-Q E2E logs published)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;LoCoMo Zero-Shot&lt;/strong&gt; (0 core code changes, full 1,986 Qs)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Cat 1–4: 92.86% / All 5 Cats: 86.61%&lt;/strong&gt; (&lt;code&gt;conv-26&lt;/code&gt; Cat 1–4: 144/152 = 94.74%)&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" alt="LongMemOS SHA-256 Evidence Ledger" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Deterministic RBAC &amp;amp; Instant 401 Revocation with ZeroOS
&lt;/h2&gt;

&lt;p&gt;In production multi-tenant setups, memory isolation matters as much as recall accuracy. &lt;strong&gt;ZeroOS&lt;/strong&gt; enforces role-based memory partitions and &lt;strong&gt;instant &lt;code&gt;HTTP 401&lt;/code&gt; revocation&lt;/strong&gt; the moment a credential or role is removed, preventing stale-cache leakage across agent sessions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzwb44fxmgbz318h80sdt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzwb44fxmgbz318h80sdt.png" alt="ZeroOS RBAC Control Plane" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Verify Locally in 10 Seconds
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/LongmemOS/longmemos-benchmarks
&lt;span class="nb"&gt;cd&lt;/span&gt; longmemos-benchmarks/public-audit-kit
python3 -I verify_public_kit.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Full dataset and logs are also mirrored on Hugging Face (&lt;code&gt;LongmemOS/longmemos-benchmarks&lt;/code&gt;). For enterprise architecture reviews or air-gapped PoC discussions, use the technical inquiry form at &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>rust</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Zero-Shot LoCoMo (1,986 Qs) &amp; LongMemEval-M: Auditing an Agentic Memory OS Without Write-Time LLMs</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Fri, 27 Nov 2026 07:15:52 +0000</pubDate>
      <link>https://dev.to/longmemos/zero-shot-locomo-1986-qs-longmemeval-m-auditing-an-agentic-memory-os-without-write-time-llms-24mg</link>
      <guid>https://dev.to/longmemos/zero-shot-locomo-1986-qs-longmemeval-m-auditing-an-agentic-memory-os-without-write-time-llms-24mg</guid>
      <description>&lt;p&gt;When teams evaluate an &lt;strong&gt;Agentic memory OS&lt;/strong&gt; or look for a &lt;strong&gt;Mem0 alternative&lt;/strong&gt;, benchmark tables often hide the two numbers that matter most in production: full-scale &lt;strong&gt;LongMemEval-M&lt;/strong&gt; (~1.5M tokens across ~500 sessions) and unedited, &lt;strong&gt;zero-shot LoCoMo&lt;/strong&gt; across all 1,986 questions.&lt;/p&gt;

&lt;p&gt;Here is our engineering breakdown of running &lt;strong&gt;LongMemOS&lt;/strong&gt; (with &lt;strong&gt;ZeroOS&lt;/strong&gt; for RBAC and deterministic orchestration) through both suites with zero core code changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" alt="LongMemOS Memory Overview" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The Architecture Bet: Zero Write-Time LLMs
&lt;/h2&gt;

&lt;p&gt;Standard memory wrappers call a generative LLM on every conversation turn to summarize or extract graph triples. At 500 sessions, that creates linear write-time token bills and irreversible compression loss when exact dates or constraints get summarized away.&lt;/p&gt;

&lt;p&gt;LongMemOS takes a deterministic path:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero generative LLM calls at write or recall&lt;/strong&gt;, and &lt;strong&gt;zero embedding drift&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage-A raw dialogue verbatim pass-through&lt;/strong&gt;: original turns reach the responder unmodified.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full-chain SHA-256 auditable evidence ledger&lt;/strong&gt;: every recalled turn is cryptographically traceable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ZeroOS RBAC control plane&lt;/strong&gt;: role-scoped namespaces with &lt;strong&gt;instant HTTP 401 revocation&lt;/strong&gt; when access is removed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  2. Full-Split Benchmark Results (&lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt; + Strict &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt; Judge)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;System&lt;/th&gt;
&lt;th&gt;LongMemEval-S (500 Qs)&lt;/th&gt;
&lt;th&gt;LongMemEval-M (~1.5M Tokens / 500 Qs)&lt;/th&gt;
&lt;th&gt;Zero-Shot LoCoMo (Core Unchanged)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemOS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;95.4% (477/500)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;92.4% (462/500)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Cat 1–4: 92.86% (1,430/1,540)&lt;/strong&gt; · All 1,986: 86.61% · conv-26 Cat 1–4: 94.74% (144/152)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mem0&lt;/td&gt;
&lt;td&gt;Published (different setup)&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zep&lt;/td&gt;
&lt;td&gt;Published (different setup)&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;EverOS&lt;/td&gt;
&lt;td&gt;Published (different setup)&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memobase&lt;/td&gt;
&lt;td&gt;Published (different setup)&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Note: &lt;code&gt;N/A&lt;/code&gt; marks frameworks without a published full 500-question end-to-end LongMemEval-M score.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn4vlrt31j4un8mepux9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn4vlrt31j4un8mepux9.png" alt="ZeroOS RBAC Control Plane" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Why We Disclose All 1,986 LoCoMo Questions
&lt;/h2&gt;

&lt;p&gt;Publishing only Cat 1–4 hides Cat 5 (adversarial abstention). Showing the full 10-conversation split (1,720/1,986 = 86.61%) alongside Cat 1–4 (92.86%) makes clear where deterministic retrieval ends and answer-layer abstention policy begins.&lt;/p&gt;

&lt;p&gt;For the complete benchmark breakdown, JSON-LD dataset notes, and enterprise POC inquiries, see our &lt;a href="https://longmemos.com/zero-shot-locomo-1986-longmemeval-m-leaderboard-audit-2026" rel="noopener noreferrer"&gt;Zero-Shot LoCoMo &amp;amp; LongMemEval-M Audit Report&lt;/a&gt; or reach out via &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;our inquiry form&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>architecture</category>
      <category>benchmarks</category>
    </item>
    <item>
      <title>The Hidden Cost of Write-Time LLM Summarization at 500 Sessions (LongMemEval-M &amp; LoCoMo Audit)</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Thu, 26 Nov 2026 09:46:09 +0000</pubDate>
      <link>https://dev.to/longmemos/the-hidden-cost-of-write-time-llm-summarization-at-500-sessions-longmemeval-m-locomo-audit-1oic</link>
      <guid>https://dev.to/longmemos/the-hidden-cost-of-write-time-llm-summarization-at-500-sessions-longmemeval-m-locomo-audit-1oic</guid>
      <description>&lt;p&gt;When evaluating a &lt;strong&gt;Mem0 alternative&lt;/strong&gt; or comparing &lt;strong&gt;Zep vs Mem0 benchmark&lt;/strong&gt; threads, most discussions fixate on headline percentages while ignoring what happens to ingestion cost and recall stability once an agent crosses ~500 sessions (~1.5M tokens).&lt;/p&gt;

&lt;p&gt;Here is a restrained engineering breakdown of how &lt;strong&gt;LongMemOS&lt;/strong&gt; and &lt;strong&gt;ZeroOS&lt;/strong&gt; eliminate write-time LLM extraction and embedding drift while keeping multi-agent memory auditable.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Two Scaling Traps in Write-Time Summarization
&lt;/h2&gt;

&lt;p&gt;Calling a generative LLM on every turn to compress facts or mutate a knowledge graph introduces two structural bottlenecks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Linear Write-Path Token Tax&lt;/strong&gt;: Every ingested turn burns generative tokens before a single query is ever issued.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Irreversible Compression &amp;amp; Drift&lt;/strong&gt;: Summarizing exceptions or dates loses verbatim fidelity, and upgrading an embedding model silently shifts historical recall rankings.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;LongMemOS separates storage and retrieval from generative inference: &lt;strong&gt;zero generative LLM calls at write/recall&lt;/strong&gt;, &lt;strong&gt;zero embedding drift&lt;/strong&gt;, &lt;strong&gt;Stage-A full verbatim raw dialogue pass-through&lt;/strong&gt;, and an &lt;strong&gt;end-to-end SHA-256 per-item evidence ledger&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" alt="LongMemOS English memory overview console showing deterministic multi-session indexing" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Full-Scope Audited Benchmarks (Strict &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt; Judge)
&lt;/h2&gt;

&lt;p&gt;Pairing deterministic recall with a low-cost Flash responder (&lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt;) under the unmodified &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt; judge yields the following audited results (external systems without publicly verified full 500-question &lt;strong&gt;LongMemEval-M&lt;/strong&gt; end-to-end scores are marked &lt;code&gt;N/A&lt;/code&gt;):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;System&lt;/th&gt;
&lt;th&gt;LongMemEval-S (500 Q)&lt;/th&gt;
&lt;th&gt;LongMemEval-M (~1.5M tokens / 500 Q)&lt;/th&gt;
&lt;th&gt;Zero-Shot LoCoMo (Full 10-conv / 1,986 Q)&lt;/th&gt;
&lt;th&gt;Write / Recall Design&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemOS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;477/500 (95.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;462/500 (92.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Cat 1–4: 1,430/1,540 (92.86%)&lt;/strong&gt; / Cat 5: 290/446 (65.02%) / &lt;strong&gt;All 1–5: 1,720/1,986 (86.61%)&lt;/strong&gt; &lt;em&gt;(0 Core lines modified)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;0 LLM write/recall, Stage-A full verbatim pass-through, SHA-256 ledger&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mem0&lt;/td&gt;
&lt;td&gt;Protocol varies&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;LLM-extraction setup&lt;/td&gt;
&lt;td&gt;Write-time LLM extraction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zep&lt;/td&gt;
&lt;td&gt;Protocol varies&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;Temporal graph setup&lt;/td&gt;
&lt;td&gt;Write-time LLM graph updates&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;EverOS&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;No verified full 500-Q M-set audit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memobase&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;No verified full 500-Q M-set audit&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;LoCoMo Cat 1–4 breakdown (&lt;code&gt;conv-26..conv-50&lt;/code&gt;): Single-hop &lt;code&gt;804/841 (95.60%)&lt;/code&gt;, Temporal &lt;code&gt;299/321 (93.15%)&lt;/code&gt;, Multi-hop &lt;code&gt;255/282 (90.43%)&lt;/code&gt;, Open-domain &lt;code&gt;72/96 (75.00%)&lt;/code&gt;; &lt;code&gt;15,992/15,992&lt;/code&gt;-byte SHA-256 verified.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Multi-Agent Governance with ZeroOS: RBAC &amp;amp; Instant HTTP 401 Revocation
&lt;/h2&gt;

&lt;p&gt;In anonymized regulated enterprise POCs (finance and manufacturing), high recall must sit inside strict access boundaries. &lt;strong&gt;ZeroOS&lt;/strong&gt; enforces deterministic workflow orchestration, role/tenant RBAC isolation, and &lt;strong&gt;instant HTTP 401 revocation&lt;/strong&gt; the moment a credential or permission is withdrawn.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F587z7h5ftgnxrdg8mnio.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F587z7h5ftgnxrdg8mnio.png" alt="ZeroOS English workflow execution view showing deterministic orchestration and RBAC gates" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Inspect Audit Artifacts
&lt;/h2&gt;

&lt;p&gt;If you are evaluating an offline-first &lt;strong&gt;Agentic memory OS&lt;/strong&gt; for private VPC deployment, request benchmark logs or a technical walkthrough here:&lt;br&gt;
&lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>architecture</category>
      <category>benchmarks</category>
    </item>
    <item>
      <title>Zero-LLM Write/Recall at 1.5M Tokens: Audited LongMemEval-M (92.4%) and Full 1,986-Q Zero-Shot LoCoMo</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Thu, 26 Nov 2026 07:15:38 +0000</pubDate>
      <link>https://dev.to/longmemos/zero-llm-writerecall-at-15m-tokens-audited-longmemeval-m-924-and-full-1986-q-zero-shot-57k0</link>
      <guid>https://dev.to/longmemos/zero-llm-writerecall-at-15m-tokens-audited-longmemeval-m-924-and-full-1986-q-zero-shot-57k0</guid>
      <description>&lt;p&gt;When engineering teams compare &lt;strong&gt;Mem0 alternatives&lt;/strong&gt; or review &lt;strong&gt;Zep vs Mem0 benchmark&lt;/strong&gt; threads, the discussion usually stalls on two things: inconsistent subset reporting and the cost of running LLM extraction on every turn.&lt;/p&gt;

&lt;p&gt;Here is a restrained, independently audited breakdown of how &lt;strong&gt;LongMemOS&lt;/strong&gt; (enterprise long-term memory infrastructure) and &lt;strong&gt;ZeroOS&lt;/strong&gt; (deterministic orchestration and RBAC control plane) handle ~1.5M-token multi-session memory without write-time LLM summarization.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Why We Removed Generative LLMs from Write &amp;amp; Recall
&lt;/h2&gt;

&lt;p&gt;Running a generative LLM during ingestion to compress dialogues into facts introduces two compounding failure modes across ~500 sessions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Lossy write-time summarization&lt;/strong&gt; silently drops exact constraints and revisions before retrieval runs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embedding drift&lt;/strong&gt; alters recall rankings whenever embedding models or domain vocabularies shift.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;LongMemOS instead enforces:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;0 generative LLM calls at write/recall&lt;/strong&gt; and &lt;strong&gt;0 embedding drift&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage-A full verbatim raw dialogue pass-through&lt;/strong&gt; so verbatim context remains intact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;End-to-end SHA-256 per-item auditable evidence ledger&lt;/strong&gt; anchoring every retrieved turn.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low-cost Flash inference (&lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt;)&lt;/strong&gt; evaluated under the strict original &lt;strong&gt;&lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt;&lt;/strong&gt; judge.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" alt="LongMemOS English console showing Stage-A verbatim raw dialogue pass-through and SHA-256 audit versioning ledger" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Audited Benchmark Table (Full Scope)
&lt;/h2&gt;

&lt;p&gt;For &lt;strong&gt;LongMemEval-M&lt;/strong&gt; (~1.5M tokens / ~500 sessions, full 500 questions end-to-end), systems without verified full-set public end-to-end numbers are listed as &lt;code&gt;N/A&lt;/code&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;System&lt;/th&gt;
&lt;th&gt;LongMemEval-S (500 Q)&lt;/th&gt;
&lt;th&gt;LongMemEval-M (~1.5M tokens / 500 Q)&lt;/th&gt;
&lt;th&gt;Zero-Shot LoCoMo (Full 10-conv / 1,986 Q)&lt;/th&gt;
&lt;th&gt;Key Mechanism&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemOS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;477/500 (95.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;462/500 (92.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Cat 1–4: 1,430/1,540 (92.86%)&lt;/strong&gt; / Cat 5: 290/446 (65.02%) / &lt;strong&gt;All 1–5: 1,720/1,986 (86.61%)&lt;/strong&gt; &lt;em&gt;(0 Core lines modified)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;0 LLM write/recall, Stage-A full verbatim pass-through, SHA-256 ledger&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mem0&lt;/td&gt;
&lt;td&gt;Different report scopes&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;LLM-extraction setup&lt;/td&gt;
&lt;td&gt;Write-time LLM extraction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Zep&lt;/td&gt;
&lt;td&gt;Different report scopes&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;Temporal graph extraction&lt;/td&gt;
&lt;td&gt;LLM-updated graph&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;EverOS&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;No verified full 500-Q M-set score&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memobase&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;N/A&lt;/td&gt;
&lt;td&gt;No verified full 500-Q M-set score&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Full 10-conversation LoCoMo (&lt;code&gt;conv-26..conv-50&lt;/code&gt;) Cat 1–4 breakdown: Single-hop &lt;code&gt;804/841 (95.60%)&lt;/code&gt;, Temporal &lt;code&gt;299/321 (93.15%)&lt;/code&gt;, Multi-hop &lt;code&gt;255/282 (90.43%)&lt;/code&gt;, Open-domain &lt;code&gt;72/96 (75.00%)&lt;/code&gt;; independently verified via &lt;code&gt;15,992/15,992&lt;/code&gt;-byte SHA-256 audit.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Deterministic Control Plane: ZeroOS RBAC &amp;amp; Instant HTTP 401 Revocation
&lt;/h2&gt;

&lt;p&gt;In anonymized regulated enterprise POCs (finance and industrial manufacturing), memory retrieval must sit behind enforceable boundaries. &lt;strong&gt;ZeroOS&lt;/strong&gt; provides deterministic multi-agent orchestration, RBAC namespace isolation across roles/tenants, and &lt;strong&gt;instant HTTP 401 revocation&lt;/strong&gt; when credentials are withdrawn.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn4vlrt31j4un8mepux9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn4vlrt31j4un8mepux9.png" alt="ZeroOS English control plane showing deterministic orchestration, RBAC namespaces, and instant HTTP 401 revocation" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Inquiry &amp;amp; Audit Artifacts
&lt;/h2&gt;

&lt;p&gt;If you are benchmarking an &lt;strong&gt;Agentic memory OS&lt;/strong&gt; or evaluating self-hosted / on-premises architectures, request benchmark logs or a technical walkthrough here:&lt;br&gt;
&lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>architecture</category>
      <category>benchmarks</category>
    </item>
    <item>
      <title>LongMemEval-M (1.5M Tokens) Full 500-Question Evaluation: How LongMemOS Reached 92.4% (462/500) With Zero Generative Write Overhead</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Tue, 24 Nov 2026 08:46:10 +0000</pubDate>
      <link>https://dev.to/longmemos/longmemeval-m-15m-tokens-full-500-question-evaluation-how-longmemos-reached-924-462500-26nj</link>
      <guid>https://dev.to/longmemos/longmemeval-m-15m-tokens-full-500-question-evaluation-how-longmemos-reached-924-462500-26nj</guid>
      <description>&lt;p&gt;&lt;em&gt;Canonical TechArticle, Dataset &amp;amp; FAQPage entry: &lt;a href="https://longmemos.com/longmemeval-m-15m-tokens-full-500-question-benchmark-report" rel="noopener noreferrer"&gt;LongMemEval-M (1.5M Tokens) Full 500-Question Benchmark Report&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Direct Answer: Full-Suite 500-Question Numbers as of 2026-11-24
&lt;/h2&gt;

&lt;p&gt;Across full 500-question evaluations frozen on &lt;code&gt;2026-11-24&lt;/code&gt;, &lt;a href="https://longmemos.com" rel="noopener noreferrer"&gt;LongMemOS&lt;/a&gt; recorded:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LongMemEval-S (500 questions):&lt;/strong&gt; &lt;code&gt;477/500&lt;/code&gt; (&lt;strong&gt;95.4%&lt;/strong&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LongMemEval-M (~1.5M tokens / ~500 sessions per question, 500 questions):&lt;/strong&gt; &lt;code&gt;462/500&lt;/code&gt; (&lt;strong&gt;92.4%&lt;/strong&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Shot LoCoMo (&lt;code&gt;conv-26&lt;/code&gt; Cat 1–4, 0 core code changes):&lt;/strong&gt; &lt;code&gt;144/152&lt;/code&gt; (&lt;strong&gt;94.74%&lt;/strong&gt;, with the full 10-conversation / 1,986-question run in progress)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All benchmark runs used &lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt; as the answer generator and strict canonical &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt; as the judge, anchored by a &lt;strong&gt;per-record SHA-256 auditable ledger&lt;/strong&gt; with zero label leakage.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" alt="LongMemOS Enterprise Agent Long-Term Memory Console" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Generative Summarization Pipelines Break at 1.5M Tokens
&lt;/h2&gt;

&lt;p&gt;Enterprise agents tracking multi-week approval policies, revised pricing exceptions, and stateful handovers across hundreds of sessions hit three failure modes when built on generative memory pipelines:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Lossy LLM Write-Time Summarization:&lt;/strong&gt; Rewriting incoming dialogue into compressed facts strips negation scopes, effective dates, and conditional numeric bounds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Silent Embedding Drift:&lt;/strong&gt; Re-embedding stored memories or shifting vector boundaries alters nearest-neighbor neighborhoods without deterministic provenance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unbounded Token Overhead:&lt;/strong&gt; Injecting ~1.5M tokens into frontier context windows inflates inference latency and operational spend.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Architectural Pillars: 0 LLM Write/Recall &amp;amp; Stage-A Verbatim Pass-Through
&lt;/h2&gt;

&lt;p&gt;LongMemOS (&lt;code&gt;embedded_models=false&lt;/code&gt;) keeps memory storage and evidence selection deterministic, pairing directly with the &lt;a href="https://zeroosai.com/longmemos" rel="noopener noreferrer"&gt;ZeroOS Control Plane&lt;/a&gt; for enterprise execution governance:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;0 Generative LLM Calls &amp;amp; 0 Embedding Drift on Write/Recall:&lt;/strong&gt; Ingestion and retrieval execute deterministically without calling generative LLMs or relying on mutable vector weights.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage-A Verbatim Raw Dialogue Pass-Through:&lt;/strong&gt; Candidate memory segments are forwarded to inference with exact verbatim dialogue spans and monotonic temporal watermarks rather than lossy abstractive summaries.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low-Cost Flash Answer + Strict Original Judge:&lt;/strong&gt; High-signal verbatim retrieval enables &lt;code&gt;deepseek-v4.1-flash-1017&lt;/code&gt; inference to hold &lt;code&gt;95.4%&lt;/code&gt; (S) and &lt;code&gt;92.4%&lt;/code&gt; (M) under unmodified &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt; grading.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ZeroOS Deterministic Governance:&lt;/strong&gt; ZeroOS enforces isolated workspaces, RBAC boundaries, approval gates, and instant HTTP 401 session revocation around memory-backed agent runs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" alt="LongMemOS Bi-Temporal Audit and VersionChain Provenance Inspector" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Full 500-Question Benchmark Comparison Matrix (Verified 2026-11-24)
&lt;/h2&gt;

&lt;p&gt;To keep benchmark comparisons strictly evidence-based, peer systems without publicly verifiable full 500-question end-to-end LongMemEval-M numbers as of &lt;code&gt;2026-11-24&lt;/code&gt; are marked explicitly as &lt;code&gt;N/A&lt;/code&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Memory System&lt;/th&gt;
&lt;th&gt;LongMemEval-S (500 Q)&lt;/th&gt;
&lt;th&gt;LongMemEval-M (~1.5M Tokens, 500 Q)&lt;/th&gt;
&lt;th&gt;LoCoMo Zero-Shot&lt;/th&gt;
&lt;th&gt;Write/Recall Mechanics &amp;amp; Audit Status&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemOS (This Stack)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;477/500 (95.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;462/500 (92.4%)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;144/152 (94.74%)&lt;/strong&gt; (&lt;code&gt;conv-26&lt;/code&gt; Cat 1–4, 0 core edits; 1,986-Q full suite running)&lt;/td&gt;
&lt;td&gt;0 LLM write/recall calls, 0 embedding drift, Stage-A raw pass-through, SHA-256 per-record ledger&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Mem0&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Public subset disclosures&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;N/A&lt;/strong&gt; (no verifiable full 500-Q end-to-end report as of 2026-11-24)&lt;/td&gt;
&lt;td&gt;Public subset disclosures&lt;/td&gt;
&lt;td&gt;LLM fact extraction + vector update&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Zep&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Public subset disclosures&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;N/A&lt;/strong&gt; (no verifiable full 500-Q end-to-end report as of 2026-11-24)&lt;/td&gt;
&lt;td&gt;Public subset disclosures&lt;/td&gt;
&lt;td&gt;LLM-driven temporal graph extraction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;EverOS / Memobase&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Public subset disclosures&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;N/A&lt;/strong&gt; (no verifiable full 500-Q end-to-end report as of 2026-11-24)&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;No full 500-Q M-scale end-to-end ledger disclosed&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Reproducible SHA-256 Ledger &amp;amp; Enterprise Scoping
&lt;/h2&gt;

&lt;p&gt;Every question ID, recalled verbatim span, model answer, and judge payload is cryptographically hashed in sequence to prevent post-hoc cherry-picking or data contamination:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"asOfDateCst"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-24"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"longMemEvalS"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"477/500 (95.4%)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"longMemEvalM"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"462/500 (92.4%)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"locomoConv26Cat1To4"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"144/152 (94.74%, 0 core changes)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"answerModel"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"deepseek-v4.1-flash-1017"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"judgeModel"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"gpt-4o-2024-08-06"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"writeRecallLlmCalls"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"embeddingDrift"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"stageA"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"verbatim_raw_dialogue_passthrough"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"ledgerVerification"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"SHA-256 per-record, zero label leakage"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Request Audit Samples or Run an Interactive Evaluation
&lt;/h2&gt;

&lt;p&gt;Teams evaluating LongMemOS + ZeroOS for regulated or long-horizon agent workflows can submit scope notes via our on-site form at &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>agents</category>
      <category>evaluation</category>
    </item>
    <item>
      <title>How LongMemOS V6.4 Reached 95.0% on LongMemEval-S and 90.0% on 1.5M-Token LongMemEval-M: Evidence Selection and 1,000-Question Zero-Leakage Audit</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Mon, 23 Nov 2026 09:20:54 +0000</pubDate>
      <link>https://dev.to/longmemos/how-longmemos-v64-reached-950-on-longmemeval-s-and-900-on-15m-token-longmemeval-m-evidence-30gb</link>
      <guid>https://dev.to/longmemos/how-longmemos-v64-reached-950-on-longmemeval-s-and-900-on-15m-token-longmemeval-m-evidence-30gb</guid>
      <description>&lt;p&gt;Long-context benchmarks often fail not because a reader model cannot answer when handed the right three snippets, but because evidence selection collapses under 10x session distraction—or because evaluation pipelines silently leak question IDs, abstention hints, or judge state across stages.&lt;/p&gt;

&lt;p&gt;In our frozen &lt;strong&gt;LongMemOS V6.4&lt;/strong&gt; evaluation (&lt;code&gt;freeze/formal-full500-20261123-v6.4&lt;/code&gt;, measured commit &lt;code&gt;a54e20ad&lt;/code&gt;, upstream cleaned LongMemEval revision &lt;code&gt;98d7416c&lt;/code&gt;), we locked identical binaries, prompts, retrieval parameters, Gemini Decisions routing, and the official &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt; evaluator (&lt;code&gt;evaluate_qa.py&lt;/code&gt;) across both splits:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Official Benchmark Split&lt;/th&gt;
&lt;th&gt;History Scale&lt;/th&gt;
&lt;th&gt;Passed / Total&lt;/th&gt;
&lt;th&gt;Accuracy&lt;/th&gt;
&lt;th&gt;Official Abstention&lt;/th&gt;
&lt;th&gt;Audited HTTP Ledger Rows&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemEval-S&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;23,867&lt;/code&gt; sessions (~115K tokens/case)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;475 / 500&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;95.0%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;30 / 30&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;4,048&lt;/code&gt; (&lt;code&gt;0&lt;/code&gt; SHA-256 mismatches)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;LongMemEval-M&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;237,655&lt;/code&gt; sessions (~1.5M tokens/case)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;450 / 500&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;90.0%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;28 / 30&lt;/strong&gt; (&lt;code&gt;93.3%&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;4,278&lt;/code&gt; (&lt;code&gt;0&lt;/code&gt; SHA-256 mismatches)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Every single one of the &lt;strong&gt;1,000&lt;/strong&gt; questions (all &lt;code&gt;500&lt;/code&gt; unique QIDs per split) and all &lt;strong&gt;3,159&lt;/strong&gt; outbound Stage-S/Stage-A requests passed independent offline forensic verification with &lt;strong&gt;zero leakage hits&lt;/strong&gt; and &lt;strong&gt;zero judge hash mismatches&lt;/strong&gt;. Here is how the evidence-selection architecture works, where the 25-question S-vs-M gap originates, and how the 8,326-row proxy ledger enforces auditability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffsibdarnaebviz8duqwt.png" alt="LongMemOS Memory Overview Console" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Decoupled Three-Stage Execution Without Bundled Weights
&lt;/h2&gt;

&lt;p&gt;LongMemOS runs as a lightweight local-first memory plane (&lt;code&gt;embedded_models=false&lt;/code&gt;) rather than bundling fixed inference weights inside the daemon. Instead of stuffing 1.5M tokens of raw chat logs directly into an answer prompt, V6.4 isolates execution into three deterministic stages:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Stage-S (Evidence Selection)&lt;/strong&gt;: &lt;code&gt;glm-5-3-flash-260828&lt;/code&gt; filters session candidates cleanly (&lt;code&gt;1,024&lt;/code&gt; outbound requests on S; &lt;code&gt;1,128&lt;/code&gt; on M), paired with &lt;strong&gt;Gemini Decisions&lt;/strong&gt; session routing and a deterministic local fallback path (&lt;code&gt;S&lt;/code&gt;: &lt;code&gt;469&lt;/code&gt; cloud committed + &lt;code&gt;31&lt;/code&gt; local deterministic fallback; &lt;code&gt;M&lt;/code&gt;: &lt;code&gt;447&lt;/code&gt; cloud committed + &lt;code&gt;50&lt;/code&gt; local deterministic fallback + &lt;code&gt;3&lt;/code&gt; upstream-error local fallback).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage-A (Evidence-Grounded Synthesis)&lt;/strong&gt;: &lt;code&gt;deepseek-v4-1-flash-261017&lt;/code&gt; consumes only frozen retrieved evidence snippets (&lt;code&gt;500&lt;/code&gt; outbound requests on S; &lt;code&gt;507&lt;/code&gt; on M including &lt;code&gt;7&lt;/code&gt; operator-authorized retries) to produce &lt;code&gt;results/S/hypotheses.jsonl&lt;/code&gt; and &lt;code&gt;results/M/hypotheses.jsonl&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stage-J (Official Frozen Judge)&lt;/strong&gt;: Both &lt;code&gt;500&lt;/code&gt;-item files are scored cleanly by upstream &lt;code&gt;evaluate_qa.py&lt;/code&gt; against &lt;code&gt;gpt-4o-2024-08-06&lt;/code&gt; (&lt;code&gt;500&lt;/code&gt; yes/no verdicts per split, &lt;code&gt;0&lt;/code&gt; QIDs with duplicate successful replies).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fma06cjmctu3vx3pa5l8r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fma06cjmctu3vx3pa5l8r.png" alt="LongMemOS Deterministic Rule Recall" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Paired Breakdown: Where 1.5M-Token Interference Still Bites
&lt;/h2&gt;

&lt;p&gt;Because LongMemEval-S and LongMemEval-M share all &lt;code&gt;500&lt;/code&gt; base questions and reference answers (while query timestamps differ on &lt;code&gt;497&lt;/code&gt; items and calendar dates shift on &lt;code&gt;96&lt;/code&gt; items), paired outcome tracking isolates retrieval interference cleanly:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;LongMemEval-S (23,867 sessions)&lt;/th&gt;
&lt;th&gt;LongMemEval-M (237,655 sessions)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;single-session-assistant&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;56 / 56&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;56 / 56&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;knowledge-update&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;78 / 78&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;75 / 78&lt;/strong&gt; (&lt;code&gt;96.2%&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;single-session-user&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;69 / 70&lt;/strong&gt; (&lt;code&gt;98.6%&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;69 / 70&lt;/strong&gt; (&lt;code&gt;98.6%&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;temporal-reasoning&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;126 / 133&lt;/strong&gt; (&lt;code&gt;94.7%&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;119 / 133&lt;/strong&gt; (&lt;code&gt;89.5%&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;single-session-preference&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;27 / 30&lt;/strong&gt; (&lt;code&gt;90.0%&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;21 / 30&lt;/strong&gt; (&lt;code&gt;70.0%&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;multi-session&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;119 / 133&lt;/strong&gt; (&lt;code&gt;89.5%&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;110 / 133&lt;/strong&gt; (&lt;code&gt;82.7%&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Across all &lt;code&gt;500&lt;/code&gt; paired questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Both Correct (&lt;code&gt;M=YES, S=YES&lt;/code&gt;)&lt;/strong&gt;: &lt;code&gt;440&lt;/code&gt; questions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resolved Only on S (&lt;code&gt;M=NO, S=YES&lt;/code&gt;)&lt;/strong&gt;: &lt;code&gt;35&lt;/code&gt; questions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resolved Only on M (&lt;code&gt;M=YES, S=NO&lt;/code&gt;)&lt;/strong&gt;: &lt;code&gt;10&lt;/code&gt; questions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Both Missed (&lt;code&gt;M=NO, S=NO&lt;/code&gt;)&lt;/strong&gt;: &lt;code&gt;15&lt;/code&gt; questions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Net S-over-M Delta&lt;/strong&gt;: &lt;code&gt;+25&lt;/code&gt; questions (&lt;code&gt;95.0%&lt;/code&gt; vs &lt;code&gt;90.0%&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reader-input coverage diagnostics explain the gap empirically: across all &lt;code&gt;500&lt;/code&gt; pairs, &lt;code&gt;438&lt;/code&gt; reached full source-session coverage on both (&lt;code&gt;all_to_all&lt;/code&gt;), &lt;code&gt;30&lt;/code&gt; remained &lt;code&gt;abstention_or_unlabeled&lt;/code&gt;, &lt;code&gt;16&lt;/code&gt; upgraded from partial to full coverage on S (&lt;code&gt;some_to_all&lt;/code&gt;), and &lt;code&gt;5&lt;/code&gt; moved from zero coverage on M to full coverage on S (&lt;code&gt;none_to_all&lt;/code&gt;). Most of the &lt;code&gt;-5.0&lt;/code&gt; percentage-point drop under 10x session expansion concentrates in &lt;strong&gt;subtle user preference synthesis (&lt;code&gt;-20.0pp&lt;/code&gt;)&lt;/strong&gt; and &lt;strong&gt;multi-hop cross-session stitching (&lt;code&gt;-6.8pp&lt;/code&gt;)&lt;/strong&gt; rather than factual updates (&lt;code&gt;96.2%&lt;/code&gt; even at 1.5M tokens).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Transparent Benchmark Scope:&lt;/strong&gt; M errors were inspected during prior V6.4 development, and both paired runs enabled Gemini Decisions under the frozen configuration. Therefore, V6.4 metrics report paired system accuracy on this public dataset rather than zero-prior unseen-benchmark generalization or isolated single-module ablation.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  3. Hard-Wall Audit Engineering: Freeze-Before-Judge and 3,159-Payload Scan
&lt;/h2&gt;

&lt;p&gt;Benchmarks lose credibility when stage retries mutate files silently or when evaluation metadata slips into prompts. V6.4 wraps every outbound call through a contiguous SHA-256 proxy ledger (&lt;code&gt;4,048&lt;/code&gt; rows on S + &lt;code&gt;4,278&lt;/code&gt; rows on M = &lt;code&gt;8,326&lt;/code&gt; verified records, &lt;code&gt;0&lt;/code&gt; hash mismatches) enforcing three strict engineering invariants:&lt;/p&gt;

&lt;h3&gt;
  
  
  Invariant A — Strict Freeze-Before-Judge Barrier
&lt;/h3&gt;

&lt;p&gt;Stage-J cannot start until Stage-A achieves &lt;code&gt;500/500&lt;/code&gt; sealed answers. In our audited logs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;M Split&lt;/strong&gt;: Last Stage-A answer completed at &lt;code&gt;2026-11-23T03:09:29.352Z&lt;/code&gt;; first Stage-J call started at &lt;code&gt;2026-11-23T03:09:30.016Z&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;S Split&lt;/strong&gt;: Last Stage-A answer completed at &lt;code&gt;2026-11-23T05:28:18.978Z&lt;/code&gt;; first Stage-J call started at &lt;code&gt;2026-11-23T05:28:19.304Z&lt;/code&gt;.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;hashlib&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;verify_freeze_before_judge&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ledger_rows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;expected_qids&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;set&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="s2"&gt;"""Verify every QID finishes Stage-A cleanly before the earliest Stage-J dispatch."""&lt;/span&gt;
    &lt;span class="n"&gt;stage_a_ok&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;stage_j_starts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;ledger_rows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="c1"&gt;# Verify contiguous byte-level request/response SHA-256 integrity&lt;/span&gt;
        &lt;span class="n"&gt;raw_blob&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"raw_request_bytes"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"utf-8"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="n"&gt;hashlib&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sha256&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;raw_blob&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;hexdigest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"request_sha256"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"stage"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"stage_a"&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"outcome"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"OK"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;stage_a_ok&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"qid"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"completed_utc"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
        &lt;span class="k"&gt;elif&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"stage"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="s2"&gt;"stage_j"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;stage_j_starts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"started_utc"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="kt"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stage_a_ok&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;keys&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;expected_qids&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Incomplete Stage-A answer freeze"&lt;/span&gt;
    &lt;span class="k"&gt;assert&lt;/span&gt; &lt;span class="nb"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stage_a_ok&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;values&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="nb"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stage_j_starts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Freeze-before-judge violated"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Invariant B — Zero-Leakage Scan Across All 3,159 Stage-S/A Payloads
&lt;/h3&gt;

&lt;p&gt;Every outbound Stage-S (&lt;code&gt;1,024 + 1,128 = 2,152&lt;/code&gt;) and Stage-A (&lt;code&gt;500 + 507 = 1,007&lt;/code&gt;) HTTP body actually handed to external endpoints was scanned retrospectively against forbidden gold markers:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- Independent SQLite/JSONL audit projection confirming zero label or gold-session leakage&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt;
  &lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;stage&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nb"&gt;COUNT&lt;/span&gt;&lt;span class="cm"&gt;(*) AS outbound_requests_checked,
  SUM(has_encoded_label_field) AS encoded_label_hits,
  SUM(has_raw_question_id) AS raw_qid_hits,
  SUM(has_abstention_marker) AS abstention_flag_hits,
  SUM(has_gold_session_id) AS gold_session_hits
FROM outbound_payload_audit
WHERE stage IN ('stage_s', 'stage_a')
GROUP BY split, stage;
-- Audited result: 3,159 total rows -&amp;gt; (0, 0, 0, 0) across all four groups.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Invariant C — Honest Exception &amp;amp; Retry Bookkeeping (No Silent Swallowing)
&lt;/h3&gt;

&lt;p&gt;Production benchmark runs at 237K-session scale inevitably encounter transient upstream timeouts. Rather than hiding retries behind silent loops, the proxy ledger logs every anomaly explicitly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;LongMemEval-S&lt;/strong&gt;: &lt;code&gt;1&lt;/code&gt; empty-content Stage-S parse error (&lt;code&gt;1,024&lt;/code&gt; submitted -&amp;gt; &lt;code&gt;1,023&lt;/code&gt; OK); &lt;code&gt;500&lt;/code&gt; Stage-A OK; &lt;code&gt;500&lt;/code&gt; Stage-J OK.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;LongMemEval-M&lt;/strong&gt;: &lt;code&gt;16&lt;/code&gt; Stage-S upstream errors, &lt;code&gt;1&lt;/code&gt; parse error, &lt;code&gt;1&lt;/code&gt; in-flight unknown dispatch resolved via &lt;code&gt;1&lt;/code&gt; &lt;code&gt;OPERATOR_RETRY_AUTHORIZED&lt;/code&gt;; &lt;code&gt;7&lt;/code&gt; Stage-A in-flight unknown dispatches resolved via &lt;code&gt;7&lt;/code&gt; &lt;code&gt;OPERATOR_RETRY_AUTHORIZED&lt;/code&gt; calls -&amp;gt; sealing exactly &lt;code&gt;500&lt;/code&gt; valid answers and &lt;code&gt;500&lt;/code&gt; unique single-verdict judge evaluations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fxrmkb4mgd1noiyyvif3s.png" alt="LongMemOS Audit Versioning and Lineage" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Architecture Takeaway for Production AI Systems
&lt;/h2&gt;

&lt;p&gt;Whether indexing 1,500,000 tokens of engineering chat history or isolating exception rules from stateless workflow steps, accuracy and auditability come from the same discipline: keep evidence selection narrow (&lt;code&gt;all_to_all&lt;/code&gt; before generation), isolate external inference weights behind &lt;code&gt;embedded_models=false&lt;/code&gt;, freeze intermediate outputs before downstream grading, and back every claim with an immutable request-response ledger.&lt;/p&gt;

&lt;p&gt;To inspect LongMemOS deployment specifications or submit an architecture evaluation inquiry, visit &lt;strong&gt;&lt;a href="https://longmemos.com/" rel="noopener noreferrer"&gt;LongMemOS Engineering Portal&lt;/a&gt;&lt;/strong&gt; or go straight to &lt;strong&gt;&lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;the project inquiry form&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>benchmarking</category>
      <category>agents</category>
    </item>
    <item>
      <title>Why Enterprise Workflows Break on Stateless Agents: Engineering Persistent Rule Memory and Prototype-First Validation</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Sun, 22 Nov 2026 16:15:58 +0000</pubDate>
      <link>https://dev.to/longmemos/why-enterprise-workflows-break-on-stateless-agents-engineering-persistent-rule-memory-and-1d7b</link>
      <guid>https://dev.to/longmemos/why-enterprise-workflows-break-on-stateless-agents-engineering-persistent-rule-memory-and-1d7b</guid>
      <description>&lt;p&gt;Prototype demos often shine when evaluated in single-turn isolated prompts, yet real enterprise approvals, distributor price exceptions, and factory shift handovers span weeks and cut across finance, operations, and IT audit gates. Without an explicit memory substrate, stateless sessions forget historical exception overrides or require brittle prompt stuffing that drifts silently whenever policies evolve.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Why Stateless Context Windows Fail Multi-Department Workflows
&lt;/h2&gt;

&lt;p&gt;Three recurring architectural failures appear whenever stateless agents operate directly against live business processes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Prompt-Stuffing Context Drift&lt;/strong&gt;: Injecting a forty-page standard operating procedure into every system message inflates inference latency and buries narrow exception clauses that finance or warehouse supervisors added months earlier.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ephemeral vs. Durable State Confusion&lt;/strong&gt;: Short-lived workflow locks belong in execution leases, whereas multi-tier pricing rebates, credit-hold overrides, and supervisor escalations need structured long-term memory with source provenance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Late Specification Surprises&lt;/strong&gt;: Freezing backend database schemas from static requirement documents delays stakeholder testing until changes are expensive to unwind.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  2. Decoupling Rule Provenance From Execution State with LongMemOS
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://longmemos.com/" rel="noopener noreferrer"&gt;LongMemOS&lt;/a&gt; separates transient step execution state from durable rule provenance—indexing approval thresholds, exception handling decisions, and domain invariants in an auditable memory engine while keeping &lt;code&gt;embedded_models=false&lt;/code&gt; so infrastructure teams retain full freedom over inference providers. Combined with interactive prototype-first validation under our &lt;a href="https://zeroosai.com/" rel="noopener noreferrer"&gt;ZeroOS&lt;/a&gt; engineering discipline, teams test business edge cases live with stakeholders and lock clean boundary specs prior to heavy schema work.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Architecture Concern&lt;/th&gt;
&lt;th&gt;Stateless Prompt Stuffing&lt;/th&gt;
&lt;th&gt;LongMemOS + Prototype-First Discipline&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Policy &amp;amp; Exception Recall&lt;/td&gt;
&lt;td&gt;Unstructured prose re-sent each request&lt;/td&gt;
&lt;td&gt;Structured provenance index linked to approval timestamps&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Model Coupling&lt;/td&gt;
&lt;td&gt;Tightly bound to single provider context tricks&lt;/td&gt;
&lt;td&gt;Inference-agnostic (&lt;code&gt;embedded_models=false&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Workflow Scope Lock&lt;/td&gt;
&lt;td&gt;Thick paper specs signed before real interaction&lt;/td&gt;
&lt;td&gt;Stakeholders test clickable screen flows before coding&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cross-Team Acceptance&lt;/td&gt;
&lt;td&gt;Ambiguous interpretation at handover&lt;/td&gt;
&lt;td&gt;Business, finance, and IT verify exceptions against the prototype&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  3. Prototype-First Validation Uncovers Tacit Rules Early
&lt;/h2&gt;

&lt;p&gt;Instead of negotiating vague requirement lists on paper for weeks, engineers pair reusable domain building blocks with an interactive screen prototype early in discovery. Finance approvers, fulfillment coordinators, and IT reviewers step through real distributor discounts, split shipments, and return exceptions hands-on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Exception Harvesting&lt;/strong&gt;: Whenever an operator points out a special credit rule or shift cut-off during a prototype walkthrough, that exception is structured directly into durable rule memory rather than lingering as tribal knowledge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Concrete Acceptance Anchors&lt;/strong&gt;: Verified prototype flows paired with explicit written scope boundaries give every department a shared engineering reference before core integration tables are cemented.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Frequently Asked Architecture Questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Does LongMemOS bundle proprietary foundation models inside the runtime?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
No. LongMemOS keeps &lt;code&gt;embedded_models=false&lt;/code&gt; so enterprise teams connect whichever vetted inference endpoints or private models match their security posture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How does LongMemOS handle cross-department exception rules?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Exceptions approved by senior operators are structured with provenance metadata and role boundaries so subsequent workflows retrieve deterministic rule evidence rather than guessing from unstructured chat history.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Reference
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Deterministic execution plane overview: &lt;a href="https://zeroosai.com/" rel="noopener noreferrer"&gt;https://zeroosai.com/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Persistent rule memory &amp;amp; engineering inquiry form: &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;https://longmemos.com/#inquiryForm&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>architecture</category>
      <category>ai</category>
      <category>softwareengineering</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Fixed-Scope vs. Time-and-Materials for Custom Business Apps: Engineering C01-C08 Written Boundaries Without Scope Creep</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Sun, 22 Nov 2026 05:27:05 +0000</pubDate>
      <link>https://dev.to/longmemos/fixed-scope-vs-time-and-materials-for-custom-business-apps-engineering-c01-c08-written-boundaries-56b0</link>
      <guid>https://dev.to/longmemos/fixed-scope-vs-time-and-materials-for-custom-business-apps-engineering-c01-c08-written-boundaries-56b0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Short Answer:&lt;/strong&gt; Pure Time-and-Materials contracts often absorb avoidable rework when UX flows and legacy ERP touchpoints stay undefined, whereas poorly bounded fixed-bid contracts break when teams hardcode assumptions. Splitting delivery into an explicit &lt;strong&gt;C01-C08 written scope contract&lt;/strong&gt;, &lt;strong&gt;AI-assisted typed scaffolding + senior security review&lt;/strong&gt;, and &lt;strong&gt;5-Gate cloud staging&lt;/strong&gt; lets SME buyers run custom web apps, LINE mini-programs, and lightweight business tools on predictable budget tiers (indicative reference bands USD 980–5,680 or JPY 180k–980k, conditional on signed C01-C08 written scope and complexity assessment) with full Git source handover.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Custom App Estimates Blow Up Under Both Classic Models
&lt;/h2&gt;

&lt;p&gt;In real B2B software delivery — wholesale order portals, shop-floor barcode reporting, approval back-offices, or messaging mini-apps — cost overruns usually come from two architectural gaps rather than raw coding difficulty:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Failure Mode&lt;/th&gt;
&lt;th&gt;Why Time-and-Materials Suffers&lt;/th&gt;
&lt;th&gt;Why Unbounded Fixed-Bid Fails&lt;/th&gt;
&lt;th&gt;Engineering Remedy&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Unspecified UI &amp;amp; workflow states&lt;/td&gt;
&lt;td&gt;Client tweaks screens after backend starts; hours compound&lt;/td&gt;
&lt;td&gt;Vendor trims edge-case validation to protect margin&lt;/td&gt;
&lt;td&gt;Interactive cloud sandbox check early via C02 screen inventory&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Legacy ERP table coupling&lt;/td&gt;
&lt;td&gt;Engineers spend weeks decoding undocumented ledger schemas&lt;/td&gt;
&lt;td&gt;Direct database writes risk corrupting client accounting&lt;/td&gt;
&lt;td&gt;Read-Only DB View + Idempotent Outbox isolation boundary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hand-coded repetitive CRUD&lt;/td&gt;
&lt;td&gt;Senior hourly rates burned on boilerplate tables &amp;amp; exports&lt;/td&gt;
&lt;td&gt;Corners cut on RBAC checks and migration scripts&lt;/td&gt;
&lt;td&gt;Schema-first codegen + AI boilerplate + senior lock/auth audit&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Unowned accounts &amp;amp; source code&lt;/td&gt;
&lt;td&gt;Re-engagement locked to external agency credentials&lt;/td&gt;
&lt;td&gt;Closed binaries or proprietary builders block future edits&lt;/td&gt;
&lt;td&gt;Client-owned cloud/channel credentials + Git/DDL handover&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  Encoding C01-C08 Written Scope Before Writing Feature Code
&lt;/h2&gt;

&lt;p&gt;Before sprint one begins, both engineering and buyer teams freeze a one-page JSON/Markdown scope ledger (&lt;code&gt;C01&lt;/code&gt; through &lt;code&gt;C08&lt;/code&gt;) where explicit &lt;strong&gt;non-goals (&lt;code&gt;C06&lt;/code&gt;)&lt;/strong&gt; carry as much weight as included screens:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"contractSpec"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"C01-C08"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C01_roles"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"dealer_buyer"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"warehouse_clerk"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"finance_approver"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C02_primaryViews"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"token_auth_entry"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"catalog_order"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"status_list"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"csv_export"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C03_legacyBoundary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"inboundSync"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"read_only_sql_view_inventory_and_price_tiers"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"outboundWrite"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"postgresql_idempotent_outbox_queue"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"directLedgerMutation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C04_externalIntegrations"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"messaging_id_token_verify"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"csv_sftp_batch"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C05_acceptanceGates"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"rbac_negative_tests"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"duplicate_submit_idempotency"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"migration_up_down"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C06_explicitOutOfScopePhase1"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"multi_plant_aps_scheduling"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"general_ledger_accounting_rewrite"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"offline_native_hardware_drivers"&lt;/span&gt;
  &lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C07_deliverables"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"git_repository"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"sql_ddl_migrations"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"container_compose"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"runbook"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"C08_accountSovereignty"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"all_cloud_domains_and_channel_ids_under_buyer_company_entity"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;By locking &lt;code&gt;C06_explicitOutOfScopePhase1&lt;/code&gt;, phase-one projects fit realistic budget envelopes instead of forcing full enterprise replacement on day one. Conditional on signed &lt;code&gt;C01-C08&lt;/code&gt; scope, typical starter tiers can scale incrementally from single-flow forms/prototypes (&lt;code&gt;~USD 980–1,480&lt;/code&gt; / &lt;code&gt;JPY 180k–380k&lt;/code&gt; indicative range) up through multi-role ordering portals and Read-Only ERP Outbox adapters (&lt;code&gt;~USD 1,780–5,680&lt;/code&gt; / &lt;code&gt;JPY 480k–980k&lt;/code&gt; indicative range), while preserving clean extension seams for Phase 2.&lt;/p&gt;




&lt;h2&gt;
  
  
  Read-Only View + Idempotent Outbox: Protecting Legacy ERPs Under Retries
&lt;/h2&gt;

&lt;p&gt;Whether delivered on fixed scope or staged iterations, connecting a modern web/mobile interface to an existing ERP requires an anti-corruption queue in PostgreSQL so shaky factory Wi-Fi or webhook timeouts never double-post production orders or shipments:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;TABLE&lt;/span&gt; &lt;span class="n"&gt;erp_dispatch_outbox&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
  &lt;span class="n"&gt;id&lt;/span&gt;                &lt;span class="kt"&gt;BIGSERIAL&lt;/span&gt; &lt;span class="k"&gt;PRIMARY&lt;/span&gt; &lt;span class="k"&gt;KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;idempotency_key&lt;/span&gt;   &lt;span class="kt"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt; &lt;span class="k"&gt;UNIQUE&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;step_state&lt;/span&gt;        &lt;span class="kt"&gt;TEXT&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt; &lt;span class="k"&gt;CHECK&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;step_state&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'PENDING'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'LEASED'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'ACKED'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'RECONCILE_REQUIRED'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;fencing_token&lt;/span&gt;     &lt;span class="kt"&gt;BIGINT&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;payload&lt;/span&gt;           &lt;span class="kt"&gt;JSONB&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;created_at&lt;/span&gt;        &lt;span class="kt"&gt;TIMESTAMPTZ&lt;/span&gt; &lt;span class="k"&gt;NOT&lt;/span&gt; &lt;span class="kc"&gt;NULL&lt;/span&gt; &lt;span class="k"&gt;DEFAULT&lt;/span&gt; &lt;span class="nb"&gt;now&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;-- Conditional fencing update prevents stale worker commits after lease takeover&lt;/span&gt;
&lt;span class="k"&gt;UPDATE&lt;/span&gt; &lt;span class="n"&gt;erp_dispatch_outbox&lt;/span&gt;
&lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="n"&gt;step_state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'ACKED'&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$1&lt;/span&gt;
  &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;step_state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'LEASED'&lt;/span&gt;
  &lt;span class="k"&gt;AND&lt;/span&gt; &lt;span class="n"&gt;fencing_token&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;$2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In our self-hosted orchestration kernel &lt;a href="https://zeroosai.com/" rel="noopener noreferrer"&gt;ZeroOS&lt;/a&gt;, non-idempotent legacy steps transition into &lt;code&gt;RECONCILE_REQUIRED&lt;/code&gt; rather than blindly re-firing writes when an upstream response goes ambiguous. When technical teams also need deterministic specification/manual retrieval alongside custom portals, &lt;a href="https://longmemos.com/" rel="noopener noreferrer"&gt;LongMemOS&lt;/a&gt; (&lt;code&gt;~3.1 MB&lt;/code&gt; binary, &lt;code&gt;embedded_models=false&lt;/code&gt;, internal LongMemEval benchmark score &lt;code&gt;463/500 [92.6%]&lt;/code&gt;) attaches verbatim source file + line-range evidence replay without external vector DB subscriptions.&lt;/p&gt;




&lt;h2&gt;
  
  
  The 5-Gate Staging Pipeline Before Final Handover
&lt;/h2&gt;

&lt;p&gt;Instead of treating acceptance as an end-of-project surprise, every milestone passes five deterministic gates:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Gate 1 — Early Clickable Cloud Sandbox:&lt;/strong&gt; Typically delivered around 2–4 business days after deposit and &lt;code&gt;C01-C08&lt;/code&gt; sign-off (adjusted by screen complexity) so stakeholders verify actual navigation before deep integration code is written.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate 2 — Contract &amp;amp; Negative RBAC Suite:&lt;/strong&gt; Verify role isolation and signed server-side token validation against client-supplied payload tampering.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate 3 — Clean-Slate Schema Migration Check:&lt;/strong&gt; Rebuild PostgreSQL tables, indexes, and seed fixtures from scratch in CI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate 4 — Retry &amp;amp; Idempotency Drill:&lt;/strong&gt; Replay identical &lt;code&gt;Idempotency-Key&lt;/code&gt; requests across simulated network drops and verify single-row ledger integrity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gate 5 — Sovereign Asset Handover:&lt;/strong&gt; Transfer the complete Git history, DDL scripts, environment template, and deployment runbooks into buyer-owned repositories and cloud accounts.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Scoping Consultation
&lt;/h2&gt;

&lt;p&gt;Engineering teams or technical buyers looking to evaluate &lt;code&gt;C01-C08&lt;/code&gt; written scope boundaries for a custom business app, ERP read-only bridge, or offshore Phase 1 build can reach the architecture team via the on-site inquiry form:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On-site technical inquiry form: &lt;a href="https://zeroosai.com/#inquiryForm" rel="noopener noreferrer"&gt;https://zeroosai.com/#inquiryForm&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Taiwan / APAC offshore scope reference: &lt;a href="https://fidwell.cn/fidwell/taiwan-offshore" rel="noopener noreferrer"&gt;https://fidwell.cn/fidwell/taiwan-offshore&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>softwareengineering</category>
      <category>architecture</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Multi-Tenant Edge Agent Memory on RK3588 ARM64: O13 Evidence-Boundary Replay in LongMemOS (~3.1 MB)</title>
      <dc:creator>Fidwell Engineering</dc:creator>
      <pubDate>Sat, 21 Nov 2026 02:46:08 +0000</pubDate>
      <link>https://dev.to/longmemos/multi-tenant-edge-agent-memory-on-rk3588-arm64-o13-evidence-boundary-replay-in-longmemos-31-mb-2o4a</link>
      <guid>https://dev.to/longmemos/multi-tenant-edge-agent-memory-on-rk3588-arm64-o13-evidence-boundary-replay-in-longmemos-31-mb-2o4a</guid>
      <description>&lt;p&gt;&lt;strong&gt;Short Answer:&lt;/strong&gt; Running multi-store retail or factory AI agents on a cloud vector database leaks cross-tenant context and drops exact batch numbers when lossy summaries overwrite prior turns. Deploying &lt;a href="https://longmemos.com/" rel="noopener noreferrer"&gt;LongMemOS&lt;/a&gt; (&lt;code&gt;~3.1 MB&lt;/code&gt; standalone binary, &lt;code&gt;embedded_models=false&lt;/code&gt;) directly on an RK3588 ARM64 edge gateway separates store memory through per-store data directories and service-level write restrictions while preserving verbatim source lines via O13 Evidence-Boundary Replay.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Do Cloud Vector Databases Fail Multi-Store Edge Agents?
&lt;/h2&gt;

&lt;p&gt;Cloud vector pipelines fail multi-store edge workloads because dense embeddings blur single-digit SKU codes and rely heavily on error-prone metadata filters during approximate nearest-neighbor retrieval. When a regional retail chain operates 30 to 80 franchised locations—each with its own shelf-life thresholds, vendor rebates, and local cold-chain logs—shipping raw operational telemetry to a shared hosted embedding index introduces three operational hazards:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cross-store metadata bleed:&lt;/strong&gt; A single missing filter predicate in a shared vector collection lets Store #042 retrieve pricing overrides or supplier defect notes belonging to Store #019.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Numeric drift under cosine similarity:&lt;/strong&gt; Dense embeddings treat batch code &lt;code&gt;LOT-20261108-A&lt;/code&gt; and &lt;code&gt;LOT-20261109-A&lt;/code&gt; as nearly identical vectors, causing expiry-alert agents to cite the wrong warehouse pallet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unpredictable WAN latency and token overhead:&lt;/strong&gt; Edge gateways in basement stockrooms or industrial workshops frequently experience cellular packet drops, stalling remote embedding calls and bloating recurring API bills.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because &lt;a href="https://longmemos.com/" rel="noopener noreferrer"&gt;LongMemOS&lt;/a&gt; runs locally with &lt;code&gt;embedded_models=false&lt;/code&gt; (zero bundled neural weights and zero mandatory external embedding API calls), every store gateway keeps its memory index inside the local LAN perimeter while keeping RAM and storage overhead flat.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Does a Per-Store LongMemOS Deployment Separate Data on RK3588 ARM64?
&lt;/h2&gt;

&lt;p&gt;On ARM64 edge hardware, each store instance can be scoped with per-store data directories and service-level write restrictions rather than mixing all locations into a single flat vector collection. In the minimal &lt;code&gt;systemd&lt;/code&gt; template below, each store instance is pointed at its own local working directory and SQLite path; caller identity binding, request routing to the right store instance, and cross-store read denial sit in your upstream gateway/auth layer and OS file permissions rather than in this unit file alone.&lt;/p&gt;

&lt;p&gt;Below is a minimal ARM64 &lt;code&gt;systemd&lt;/code&gt; deployment pattern showing per-store data directories and service-level write restrictions for a local LongMemOS MCP node on an RK3588 gateway (&lt;code&gt;aarch64-unknown-linux-gnu&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="c1"&gt;# /etc/systemd/system/longmemos-edge@.service
# Instantiate one runtime per store: systemctl enable --now longmemos-edge@store_042
&lt;/span&gt;&lt;span class="k"&gt;[Unit]&lt;/span&gt;
&lt;span class="na"&gt;Description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nc"&gt;LongMemOS&lt;/span&gt; &lt;span class="nc"&gt;Edge&lt;/span&gt; &lt;span class="nc"&gt;Memory&lt;/span&gt; &lt;span class="nc"&gt;Node&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="na"&gt;After&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;network&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;online&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;

&lt;span class="k"&gt;[Service]&lt;/span&gt;
&lt;span class="na"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;simple&lt;/span&gt;
&lt;span class="na"&gt;User&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;longmemos&lt;/span&gt;
&lt;span class="na"&gt;Group&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;longmemos&lt;/span&gt;
&lt;span class="na"&gt;WorkingDirectory&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;longmemos&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tenants&lt;/span&gt;&lt;span class="o"&gt;/%&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;
&lt;span class="na"&gt;ExecStart&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;bin&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;longmemos&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;server&lt;/span&gt; \
  &lt;span class="na"&gt;--tenant-id&lt;/span&gt;&lt;span class="o"&gt;=%&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt; \
  &lt;span class="na"&gt;--data-dir&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;longmemos&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tenants&lt;/span&gt;&lt;span class="o"&gt;/%&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;store&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;db&lt;/span&gt; \
  &lt;span class="na"&gt;--embedded-models&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;false&lt;/span&gt; \
  &lt;span class="na"&gt;--replay-topk&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt; \
  &lt;span class="na"&gt;--replay-max-topk&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;200&lt;/span&gt; \
  &lt;span class="na"&gt;--bind&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mf"&gt;127.0&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mf"&gt;0.1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;4100&lt;/span&gt;
&lt;span class="na"&gt;Restart&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;on&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;failure&lt;/span&gt;
&lt;span class="na"&gt;RestartSec&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;3s&lt;/span&gt;
&lt;span class="na"&gt;ProtectSystem&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;strict&lt;/span&gt;
&lt;span class="na"&gt;ReadWritePaths&lt;/span&gt;&lt;span class="o"&gt;=/&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;longmemos&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;tenants&lt;/span&gt;&lt;span class="o"&gt;/%&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;
&lt;span class="na"&gt;PrivateTmp&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;span class="na"&gt;NoNewPrivileges&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;

&lt;span class="k"&gt;[Install]&lt;/span&gt;
&lt;span class="na"&gt;WantedBy&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;multi&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Because &lt;code&gt;ProtectSystem=strict&lt;/code&gt; and &lt;code&gt;ReadWritePaths&lt;/code&gt; enforce per-store data directories and service-level write restrictions under &lt;code&gt;/var/lib/longmemos/tenants/%i&lt;/code&gt;, storage write boundaries do not rely on prompt instructions alone (this snippet demonstrates filesystem write scoping only; full multi-tenant isolation still requires per-store identity binding, request routing, and cross-store read controls in the surrounding service stack). Even on a compact RK3588 board sharing compute with local POS sync daemons or camera pipelines, the &lt;code&gt;~3.1 MB&lt;/code&gt; binary footprint leaves headroom for other edge workloads.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Does O13 Evidence-Boundary Replay Prevent Numeric Hallucination?
&lt;/h2&gt;

&lt;p&gt;O13 Evidence-Boundary Replay prevents numeric hallucination by pairing structured memory lookups with an immutable &lt;code&gt;raw_replayable_candidate&lt;/code&gt; index (default &lt;code&gt;topK=100&lt;/code&gt;, hard cap &lt;code&gt;200&lt;/code&gt;) that returns exact source file spans alongside every recalled fact. Traditional memory layers compress older conversations into rolling natural-language summaries; once a summary drops a decimal digit or a revision date, downstream reasoning cannot recover it.&lt;/p&gt;

&lt;p&gt;In LongMemOS, every operational rule update records a temporal supersession pointer while keeping the underlying verbatim transcript line addressable. When an MCP client queries a store's shelf-life markdown or maintenance log, the server returns both the active state and the auditable source span:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"jsonrpc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"req-store042-20261121-01"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"method"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"tools/call"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"params"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"memory_recall_o13"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"arguments"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"tenant_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"store_042_dalian"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"query"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"chilled snack lot LOT-20261114-B markdown trigger window and cold-case alarm threshold"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"topK"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"include_raw_replayable_candidate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"jsonrpc"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2.0"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"req-store042-20261121-01"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"result"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"tenant_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"store_042_dalian"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"candidate_pool_size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"hard_cap_enforced"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"verified_facts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"LOT-20261114-B"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"attribute"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"markdown_trigger_days_remaining"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"active_value"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"14 days (30% off auto-tag)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"superseded_record"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"10 days (replaced 2026-11-05)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"o13_source_replay_candidate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
          &lt;span class="nl"&gt;"document"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"ops/store_042/expiry_policy_202611.md"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"line_range"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"44-49"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="nl"&gt;"verbatim_span"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Batch LOT-20261114-B: effective 2026-11-05, trigger 30% markdown at 14 days remaining; cold-case high-temp alarm remains 6.5 C."&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
      &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Because the model receives the verbatim &lt;code&gt;o13_source_replay_candidate&lt;/code&gt; span rather than a paraphrased summary, auditing why an agent recommended a specific stock markdown takes one line-number check instead of re-reading weeks of chat logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Did Our Internal Benchmark Show on Long-Horizon Recall?
&lt;/h2&gt;

&lt;p&gt;In an internal test against the 500-question LongMemEval benchmark, LongMemOS recorded &lt;strong&gt;463/500 (92.6%)&lt;/strong&gt; accuracy using its local O13 evidence-boundary replay pipeline without bundled neural weights. Below is the structured six-element evidence summary documenting the exact scope and boundaries of our internal measurements:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Evidence Dimension&lt;/th&gt;
&lt;th&gt;Verified Internal Record&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Measurement Target&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;a href="https://longmemos.com/" rel="noopener noreferrer"&gt;LongMemOS&lt;/a&gt; standalone memory engine (MemoryBox 2.0 architecture) with O13 Evidence-Boundary Replay enabled&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Environment &amp;amp; Target Arch&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Customer-controlled Linux x86_64 servers, Windows 11 developer hosts, and RK3588 ARM64 edge gateways (&lt;code&gt;embedded_models=false&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Sample Size / Baseline&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;500-question &lt;code&gt;LongMemEval&lt;/code&gt; benchmark suite (internal test evaluation)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Evaluation Method&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Local candidate retrieval (&lt;code&gt;raw_replayable_candidate&lt;/code&gt; / &lt;code&gt;source_replayable_candidate&lt;/code&gt;, default &lt;code&gt;topK=100&lt;/code&gt;, hard cap &lt;code&gt;200&lt;/code&gt;) paired with temporal supersession tracking&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Quantitative Result&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;463/500 (92.6%)&lt;/code&gt; recall accuracy in internal test; &lt;code&gt;~3.1 MB&lt;/code&gt; binary distribution size with zero bundled model weights&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Boundaries &amp;amp; Caveats&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Internal test observation; end-to-end answer quality still depends on the upstream reasoning LLM configured by the operator and the cleanliness of ingested source logs&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How Can Engineering Teams Evaluate Edge Memory Without Vendor Lock-In?
&lt;/h2&gt;

&lt;p&gt;Engineering teams can evaluate edge memory without vendor lock-in by running a single-tenant MCP pilot against anonymized operational logs before wiring live store or factory terminals. Start with three concrete checks:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Verify exact-string retention:&lt;/strong&gt; Feed 50 real SKU codes, serial numbers, or port revisions into your current RAG pipeline and compare verbatim recall against O13 span replay.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test temporal override behavior:&lt;/strong&gt; Ingest a Q1 SOP followed by a Q4 amendment for the same equipment ID, then verify whether your agent cites only the active rule while flagging the prior value as superseded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audit offline resilience:&lt;/strong&gt; Disconnect outbound internet access on an ARM64 test node (such as an RK3588 board) and confirm local MCP memory reads continue without external embedding API timeouts.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Engineered by Dalian Fidwell Technology Co., Ltd., LongMemOS is designed to run entirely inside your own server room or edge hardware fleet. If your team wants architecture specifications or a scoped on-premise evaluation, submit your requirements directly through the &lt;a href="https://longmemos.com/#inquiryForm" rel="noopener noreferrer"&gt;LongMemOS Inquiry Form&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>arm64</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
