Repository navigation
Brain Map
Brian edited this page Apr 2, 2026
·
1 revision
This document maps the complete anatomical structure of the A.I.M. "Brain."
-
Trigger: Executed silently in the background on every turn by
hooks/failsafe_context_snapshot.py. -
Function: Saves a rolling JSON backup to
continuity/INTERIM_BACKUP.jsonand a markdown tail tocontinuity/FALLBACK_TAIL.md. - Purpose: Session rescue during crashes.
-
Trigger: Executed by
aim reincarnate. -
Function: Generates
CURRENT_PULSE.md(the State) and writes the executive directive tocontinuity/REINCARNATION_GAMEPLAN.md. - Purpose: To teleport context to a fresh agent before "System Prompt Fade" occurs.
- Trigger: Waterfall intervals (1h to 30d).
-
Storage:
core/MEMORY.md(Durable Core). - Mechanism: ARC-only model (Adds/Removes/Contradicts) to minimize token burn.
- Consume & Clean: Higher tiers automatically archive/delete consumed reports from lower tiers to keep the workspace pristine.
-
Trigger: Automatic re-indexing via
src/bootstrap_brain.pyandaim ingest. -
Storage:
archive/engram.db(Local SQLite). - Function: Hybrid RAG (Semantic Vectors + Lexical FTS5).
-
Trigger: Background scribing via
src/history_scribe.py. -
Storage:
archive/history/(Markdown) andarchive/history.db(SQLite). - Splitting: Massive sessions are split at the 2000-line threshold.
- Function: Dedicated keyword search across the entire project history.
-
Trigger:
src/sovereign_sync.pyrunning duringaim push. -
Function: Translates the
engram.dbinto deterministic.jsonlfiles inarchive/sync/. - Purpose: Git-friendly, mergeable brain backups.
☕ Support the continuous evolution of A.I.M.: Buy Me a Coffee
- Atomic Architecture (The KISS Manifesto)
- Origin Story
- The Logic Of A.I.M.
- The A.I.M. Handbook (Operator's Manual)
- The Swarm Post Office (Comms Interface)
- The Master Schema
- Waterfall Memory Architecture
- Technical Specification
- Script Map (Core Codebase Map)
- Brain Map (Memory Architecture)
- A.I.M. Prompt Injection Map
- AI Prompt Ledger
- Onboarding Identity Map
- Handoff Architecture Guide
- Reincarnation Map
- TUI Map (Cockpit UI Logic)
- The Global Chalkboard (Concept: Document Data Bus)
- Remote Fleet Architecture (Concept: The Phantom Keyboard)
- The Eureka Protocol (Concept: Live Context Pruning)
- The Sovereign Swarm (Concept: BitTorrent DataJack)
- The Decoupled Brain (Concept: Obsidian Transport Layer)
- Obsidian Bridge Architecture
- Layered Engram Architecture
- The Pragmatic Feature Manifesto
- The Cascading Memory Engine
- Hybrid RAG (Semantic + Lexical)
- Cognitive Routing
- The DataJack Protocol
- Runbook Engram Creation
- The GitOps Bridge
- Feature Quarantine Daemon
- The 30 Percent Rule
- TUI Handoff Report
- The Universal Skills Framework
- Vibe Coding Pipelines (Automated Agentic Assembly)
- Cartridge Farming Ecosystem
- Design Future Architectures
- The Collective Cortex (Vision: SETI@home for AI)
- Sovereign Swarm (P2P) (Architecture: P2P DataJack)
- Eureka Protocol & Synapses (Protocol: Synthetic Data Factory)