I am mindX. This file describes how I maintain my own documentation.
It is the instruction layer — the schema that guides how knowledge is structured,
updated, and cross-referenced across 262+ living docs.>
Inspired by SwarmVault's three-layer model.
Adapted to the Godel machine principle: the schema is part of the system it describes.
mindX's knowledge system operates in three layers. Raw observations consolidate into compiled knowledge through machine.dreaming. The documentation itself serves as the schema layer — guiding how knowledge gets structured.
| Layer | Location | Mutability | Purpose |
|---|---|---|---|
| Raw (observations) | data/memory/stm/ | Append-only per session | Unprocessed agent observations, interaction logs, metrics |
| Compiled (knowledge) | data/memory/ltm/ + pgvector | Updated via RAGE consolidation | Searchable, cross-referenced, 151K+ memories in production |
| Schema (this file + docs/) | docs/ | Human + autonomous edits | Instructions for how to maintain and structure the other two layers |
The schema layer is recursive: mindX reads these docs during autonomous cycles, uses them to guide improvement decisions, and updates the docs as part of the improvement. The system's description of itself is part of the system being improved — the Godel principle.
docs/ # Schema layer — living documentation
NAV.md # Master navigation hub (entry point)
SCHEMA.md # This file — how to maintain docs
TECHNICAL.md # Definitive technical reference
CORE.md # CORE 15 foundational components
AGENTS.md # Agent reference and guide
TOOLS_INDEX.md # 30+ tools index
ollama/ # Ollama complete reference (28 files)
INDEX.md # Ollama navigation hub
agents/ # Per-agent documentation (30 files)
pitchdeck/ # Pitch materials
publications/ # Research papers
data/memory/ # Raw + Compiled layers
stm/ # Short-term memory (per-session, per-agent)
ltm/ # Long-term knowledge (RAGE-indexed)
workspaces/ # Agent working areas
data/metrics/ # Precision tracking
precision_metrics.json # CPU pillar (18dp Decimal)
cloud_precision_metrics.json # Cloud pillar (18dp Decimal)
docs/agents/<agent_name>.md
- Tool → docs/<tool_name>.md + entry in TOOLS_INDEX.md
- Feature → appropriate section doc
The Godel journal and improvement cycle may update docs. Guidelines:
(2026-MM-DD) suffixes on time-sensitive claimsInspired by SwarmVault's lint operation. Periodically check for:
docs/ not linked from NAV.md or any other doc# Check for dead links in NAV.md
grep -oP '\[.?\]\(([^)#]+)\)' docs/NAV.md | grep -oP '\(([^)]+)\)' | tr -d '()' | \
grep -v 'https\?://' | while read f; do [ -f "docs/$f" ] || [ -f "$f" ] || echo "DEAD: $f"; done
Find orphan docs (not linked from NAV.md)
for f in docs/.md; do
name=$(basename "$f")
grep -q "$name" docs/NAV.md || echo "ORPHAN: $f"
done
../llm/ from docs/, ollama/ from docs/)#section-name) for within-doc references<component_name>.md (lowercase, underscores)docs/agents/<agent_name>.mdINDEX.md (uppercase, for navigation hubs)SCHEMA.md, NAV.md (uppercase, for meta-docs)| Type | Location | Example | Created By |
|---|---|---|---|
| Navigation hub | docs/NAV.md, docs/ollama/INDEX.md | NAV.md | Human + Claude |
| Schema | docs/SCHEMA.md | This file | Human + Claude |
| Technical reference | docs/TECHNICAL.md | TECHNICAL.md | Human + Claude |
| Agent doc | docs/agents/.md | ceo_agent.md | Human + Claude |
| Tool doc | docs/.md | a2a_tool.md | Human + Claude |
| Subsystem index | docs/ollama/INDEX.md | Ollama Index | Human + Claude |
| Journal | BOOK_OF_MINDX.md | Book of mindX | Autonomous (machine.dreaming) |
| Research | docs/publications/.md | Emergent Resilience | Human |
| Deployment | docs/DEPLOYMENT_.md | Production | Human + Claude |
Docs connect to each other through typed relationships:
| Relationship | Meaning | Example |
|---|---|---|
| implements | Doc describes the implementation | agents/ceo_agent.md implements orchestration/ceo_agent.py |
| extends | Doc adds to another | ollama/cloud/cloud.md extends ollama/INDEX.md |
| references | Doc cites another | NAV.md references everything |
| contradicts | Doc conflicts with another | Flag explicitly, don't resolve silently |
| supersedes | Doc replaces an older one | Note in the newer doc, link to the older |
| derived-from | External concept adapted | SwarmVault three-layer → mindX memory tiers |
This schema describes itself. It can be updated by:
When updating this schema, follow the same conventions it describes. The instructions for maintaining the instructions are the instructions themselves.
mindX documentation schema. The instruction layer of the three-layer knowledge architecture. Inspired by SwarmVault. Made our own.