ATHREUS
KNOWLEDGE ARCHITECTURE

Persistent Memory & Knowledge Vault

The foundation of continuity. ATHREUS anchors agent reasoning in persistent, structured memory cards rather than lossy prompt histories.

Layered Knowledge Architecture
ACID TRANSACTION PROTOCOL

Structured Memory Cards

Every durable fact, user constraint, and architectural decision is committed as a structured memory card. The ATHREUS memory store uses controlled kinds to eliminate semantic ambiguity and guarantee deterministic retrieval.

CONTROLLED KINDS

hard_constraint, project_context, durable_decision, workflow_preference, tool_preference.

ATOMIC BATCH COMMIT

Create, update, supersede, and delete operations execute inside a single transaction. If any card fails validation, the entire batch rolls back cleanly.

TRUSTED USER CITATION

Every memory requires sourceMessageIds pointing directly to authenticated user statements, preventing hallucinations from contaminating durable state.

JSON // ATOMIC MEMORY WRITE
{
  "tool": "memory_write",
  "arguments": {
    "operations": [
      {
        "operation": "create",
        "kind": "hard_constraint",
        "itemKey": "zero_legacy_branding",
        "reason": "Brand policy strictly retired previous product naming.",
        "node": {
          "title": "Strict Zero Legacy Name Policy",
          "content": "All public interfaces, documentation, and code must present ATHREUS exclusively.",
          "confidence": 1.0,
          "sourceMessageIds": ["msg_user_9011"]
        }
      },
      {
        "operation": "update",
        "targetId": "mem_arch_042",
        "expectedRevision": 3,
        "reason": "Upgraded storage engine to SQLite FTS5.",
        "valuePatch": { "indexMode": "fts5_vector" }
      }
    ]
  }
}
LIVE CARD SPECIMEN VERIFIED // REV 4

[hard_constraint] :: zero_legacy_branding

"All public interfaces, documentation, and code must present ATHREUS exclusively. Zero traces of predecessor entities."

SCOPE: profile:default CONFIDENCE: 1.00