Mnemoverse 0.1Architecture Documentation
Build persistent memory systems that remember, learn, and coordinate like experienced developers.
Build persistent memory systems that remember, learn, and coordinate like experienced developers.
We design these docs to be useful for both humans and machines. Pages carry predictable metadata (frontmatter), stable IDs, and consistent section ordering. This enables automated indexing, MCP doc servers, and agent navigation.
Topβlevel directories under /architecture
:
adapters/
β HTTP & MCP adapters, examples, compatibility matrixcontracts/
β canonical contracts and schemas across layersevaluation/
β benchmarks and metricsexperience-layer/
β L4 specifications and guidesmemory-layer/
β L5 policies, errors/timeouts, assemblernoosphere-layer/
β L1 architecture (vector/graph search, KG, MCP integration)orchestration/
β ACS/CEO/HCS specs, API, implementation notesproject-library/
β L2 models, indexing and operationsworkshop/
β L3 interfaces, tool registry, validation pipelinesEach directory has its own README.md
acting as a local index when present.
This documentation is served by our @mcp-x/mcp-docs-server which provides these tools:
list_documents
β List all available docs, optionally filtered by sectionget_document
β Get full content of a specific document by pathsearch_docs
β Full-text search through all documentationReal MCP configuration:
{
"name": "@mcp-x/mcp-docs-server",
"version": "1.0.0",
"description": "Universal MCP Server Demo - Template for documentation-based MCP servers",
"tools": ["list_documents", "get_document", "search_docs"],
"sections": ["guides", "api", "tutorials", "reference", "examples"],
"capabilities": {
"search": {
"maxResults": 50,
"fuzzyThreshold": 0.6
}
}
}
id
and predictable pathdocType
, version
, status
, audience
, tags
order:
in frontmatter or numeric filename prefixesLayer Technologies:
Infrastructure Requirements:
Request Lifecycle:
Unit Testing Guidelines:
Integration Testing:
End-to-End Testing:
Pre-deployment Validation:
# Performance benchmarks
npm run test:performance -- --target-p95=800ms
# Security scanning
npm run test:security -- --mode=privacy-compliance
# Integration validation
npm run test:integration -- --layers=L1,L2,L5,L8
# Documentation coverage
npm run docs:validate -- --coverage-min=95%
Acceptance Criteria:
Prerequisites:
# Required tools
node >= 18.0.0
python >= 3.9
docker >= 24.0
kubernetes >= 1.28
# Development dependencies
npm install -g @mnemoverse/cli
pip install mnemoverse-dev-tools
Local Development Stack:
# docker-compose.dev.yml
version: '3.8'
services:
redis:
image: redis:7-alpine
ports: ["6379:6379"]
postgres:
image: postgres:15
environment:
POSTGRES_DB: mnemoverse_dev
POSTGRES_PASSWORD: dev_password
ports: ["5432:5432"]
vector-db:
image: pinecone/pinecone-local:latest
ports: ["8080:8080"]
Production Environment:
CI/CD Pipeline:
# .github/workflows/deploy.yml
stages:
- test: [unit, integration, e2e]
- security: [dependency-scan, secret-scan, privacy-validation]
- build: [docker-build, artifact-registry]
- deploy: [staging, production-canary, production-full]
Scaling Procedures:
Maintenance Windows:
Disaster Recovery:
System Performance:
Quality Metrics:
Resource Utilization:
# Example monitoring queries
mnemoverse_memory_usage_ratio{layer="L5"} > 0.85
mnemoverse_query_latency_p95{layer="orchestration"} > 800
mnemoverse_error_rate{service="context-assembly"} > 0.01
Critical Alerts (PagerDuty integration):
Warning Alerts (Slack integration):
Work in progress. Some deepβdive drafts live under /architecture/orchestration
and may reference upcoming pages. The Overview and Contracts Registry are the canonical sources to align on first.
key: value
) for robust toolingorder:
to control sibling ordering when needed