Repository navigation
Feature Cascading Memory
⚠️ STATUS: UPDATED (v1.41.0) The legacy 4-tier system has been decommissioned. A.I.M. now utilizes the 5-Stage Waterfall Pipeline with configurable intervals and the Consume & Clean protocol.
The Cascading Memory Engine is the digestive system of A.I.M. It takes the "Raw mind" (JSON terminal logs) and processes it through multiple filters until it becomes "Durable Truth" (the MEMORY.md file).
The refinement process is governed by time-based triggers. Each stage only processes the "unrefined" output of the stage below it.
- Tier 1 (Harvester): Runs every 1 hour. Extracts the "Signal Skeleton" and produces reasoning-backed ARC reports (Adds/Removes/Contradicts).
- Tier 2 (Proposer): Runs every 12 hours. Consolidates the hourly reports into a structured Delta.
- Tier 3 (Refiner): Runs every 24 hours. Synthesizes multiple proposals into a single Daily State.
- Tier 4 (Consolidator): Runs every 72 hours (3 Days). Distills the daily states into macro architectural milestones.
- Tier 5 (Archivist): Runs every 144 hours (6 Days). Converts the weekly milestones into dense, factual axioms and automatically applies them to the durable memory file.
To prevent redundancy and token burn, each stage "consumes" its inputs.
- Once Tier 2 has successfully refined the Tier 1 reports, it immediately Archives or Deletes those reports.
- This ensures that every refinement turn is only looking at new data.
The operator does not have to wait for the waterfall. You can run aim commit at any time to instantly trigger an AI-driven merge of the latest refinement proposal into your durable memory.
All intervals and the cleanup mode (Archive vs Delete) are live-configurable via:
aim tui # Option 13: Configure Waterfall PipelineFor the complete technical breakdown, see: Waterfall Memory Architecture
- 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)