ai-memory 0.7.0

AI-agnostic persistent memory system โ€” MCP server, HTTP API, and CLI for any AI platform
Documentation
# ai-memory Documentation

<div align="center">

## ๐ŸŽฏ Current release ยท **v0.7.0** (`attested-cortex`) ยท โ‰ฅ92% line coverage (ratchet pinned in [`.coverage-baseline`]../.coverage-baseline)

[![Release](https://img.shields.io/badge/release-v0.7.0-brightgreen?logo=github)](https://github.com/alphaonedev/ai-memory-mcp/releases/tag/v0.7.0)
[![A2A Gate](https://img.shields.io/badge/A2A_gate-9%2F9_green-brightgreen)](https://alphaonedev.github.io/ai-memory-ai2ai-gate/)
[![Ship Gate](https://img.shields.io/badge/ship_gate-green-brightgreen)](https://alphaonedev.github.io/ai-memory-ship-gate/)
[![crates.io](https://img.shields.io/crates/v/ai-memory)](https://crates.io/crates/ai-memory)

**v0.6.3** cleared the a2a-gate certification bar (three consecutive full-testbook green runs across three agent frameworks and three transport modes โ€” **324 passing scenarios**, zero partial greens); **v0.7.0** layers on the attested-cortex epic (Ed25519 attestation, 25-event hook pipeline, postgres+AGE first-class backend, schema v55). Full release notes: [`v0.7.0/release-notes.md`](v0.7.0/release-notes.md).

**๐Ÿ“ฆ [Release v0.7.0](https://github.com/alphaonedev/ai-memory-mcp/releases/tag/v0.7.0)** ยท
**๐Ÿ“Š [A2A gate (umbrella spec)](https://alphaonedev.github.io/ai-memory-ai2ai-gate/)** ยท
**๐Ÿšข [Ship gate](https://alphaonedev.github.io/ai-memory-ship-gate/)** ยท
**๐Ÿ“– [AI-NHI insights](https://alphaonedev.github.io/ai-memory-ai2ai-gate/insights/)** ยท
**๐Ÿณ [Reproduce locally](https://alphaonedev.github.io/ai-memory-ai2ai-gate/local-docker-mesh/)**

</div>

---

Navigation hub for the `docs/` directory. Every doc below is
authoritative for its topic; this page is just the map.

## Start here

- **[QUICKSTART.md]QUICKSTART.md** โ€” first memory stored + recalled
  in under 5 minutes (CLI, MCP, HTTP paths).
- **[GLOSSARY.md]GLOSSARY.md** โ€” every concept (agent, tier, scope,
  curator, quorum, SAL, โ€ฆ) with one-paragraph definitions and links.

## For end users

- **[USER_GUIDE.md]USER_GUIDE.md** โ€” MCP tool reference (every
  `memory_*` tool), agent identity, worked examples.
- **[CLI_REFERENCE.md]CLI_REFERENCE.md** โ€” every subcommand, flag,
  env var. Synced to the clap defs in `src/daemon_runtime.rs` (+ `src/cli/`).
- **[API_REFERENCE.md]API_REFERENCE.md** โ€” every HTTP endpoint,
  payload, status code, `curl` example.
- **[INSTALL.md]INSTALL.md** โ€” install recipes per platform +
  every major MCP-capable IDE.
- **[TROUBLESHOOTING.md]TROUBLESHOOTING.md** โ€” common errors, root
  causes, fixes.

## For admins

- **[ADMIN_GUIDE.md]ADMIN_GUIDE.md** โ€” deployment, feature tiers,
  clustering, webhooks, governance, schema migration.
- **[SECURITY.md]SECURITY.md** โ€” threat model, API key, mTLS,
  SQLCipher at rest, attested identity, SSRF hardening.
- **[ARCHITECTURAL_LIMITS.md]ARCHITECTURAL_LIMITS.md** โ€” performance
  bounds and constraints under the current design.
- **[RUNBOOK-ollama-kv-tuning.md]RUNBOOK-ollama-kv-tuning.md** โ€”
  `OLLAMA_KV_CACHE_TYPE=q4_0` for 2โ€“4ร— LLM memory reduction. Zero
  ai-memory code change.
- **[RUNBOOK-chaos-campaign.md]RUNBOOK-chaos-campaign.md** โ€”
  200-cycle-per-fault-class federation chaos procedure (requires
  real 3-host infra).
- **[RUNBOOK-curator-soak.md]RUNBOOK-curator-soak.md** โ€” 168-hour
  curator soak procedure against a production corpus. Defines
  reversal rate `R` as the honest autonomy metric.
- **[RUNBOOK-adapter-selection.md]RUNBOOK-adapter-selection.md** โ€”
  design history for the `serve --store-url postgres://โ€ฆ` adapter
  selection (originally scoped to v0.7.1; **shipped in v0.7.0**).

## For developers

- **[DEVELOPER_GUIDE.md]DEVELOPER_GUIDE.md** โ€” architecture, module
  roles, recall pipeline, data model, environment variables.
- **[ENGINEERING_STANDARDS.md]ENGINEERING_STANDARDS.md** โ€” code,
  test, security, and release standards. The four gates every PR
  must pass.
- **[AI_DEVELOPER_WORKFLOW.md]AI_DEVELOPER_WORKFLOW.md** โ€” the
  eight-phase workflow AI agents must follow (recall โ†’ plan โ†’
  branch โ†’ implement โ†’ gates โ†’ self-review โ†’ PR โ†’ handoff).
- **[AI_DEVELOPER_GOVERNANCE.md]AI_DEVELOPER_GOVERNANCE.md** โ€”
  authority classes, attribution rules, memory governance, hard
  prohibitions.
- **[CONTRIBUTING.md]../CONTRIBUTING.md** (repo root) โ€”
  contributor procedures, CLA.

## Design decisions

- **[ADR-0001-quorum-replication.md]ADR-0001-quorum-replication.md** โ€”
  W-of-N quorum write model + chaos-testing methodology.
- **[ADR-0002-kg-schema-v15-backward-incompat.md]ADR-0002-kg-schema-v15-backward-incompat.md** โ€”
  KG schema v15 wire-level backward incompatibility.
- **[ADR-0003-kg-invalidation-eventual-consistency.md]ADR-0003-kg-invalidation-eventual-consistency.md** โ€”
  why KG link invalidation replicates eventually (not quorum-broadcast).

## SDKs

- **[sdk/typescript/README.md]../sdk/typescript/README.md** โ€”
  `@alphaone/ai-memory` sync client, all 25 methods + webhook verifier.
- **[sdk/python/README.md]../sdk/python/README.md** โ€” `ai-memory`
  package, sync + async clients, Pydantic v2 models.

## Release notes

- **[CHANGELOG.md]../CHANGELOG.md** โ€” Keep-a-Changelog formatted
  release history with mandatory disclosures for every GA.

## Getting help

1. Check the [Troubleshooting guide]TROUBLESHOOTING.md first.
2. Search existing issues on GitHub.
3. Open a new issue at
   <https://github.com/alphaonedev/ai-memory-mcp/issues> with:
   - `ai-memory --version`
   - Your tier (`ai-memory stats --json`)
   - The last 50 lines of the daemon log (`journalctl -u ai-memory`)
4. For security vulnerabilities: **security@alphaone.dev**. Do not
   open public issues for those.