🧠 Unified Cognitive Architecture

Paradigm Shift

Traditional AI agents are stateless and suffer from severe session amnesia. When a session terminates, all context evaporates. Conventional RAG addresses this with flat vector similarity, but fails to capture:

  1. Temporal Reality: Facts change over time without invalidating old history.
  2. Relational Ontologies: Complex networks of dependency (Entity A depends on Entity B).
  3. Human Inspection: Binary vector stores hide context from the human operator.

The Tri-Tier Memory Engine

  1. Working & Core Memory: Letta-style memory blocks (00-Core/) loaded directly into active agent context.
  2. Associative Semantic Memory: Semantic_Vector_Embeddings providing fuzzy semantic matching across knowledge notes.
  3. Relational Temporal Memory: Bi-Temporal_Knowledge_Graphs tracking dynamic facts and relationship edges over time.

Ground Truth Mirror

The entire system mirrors into Obsidian_Vault, allowing the operator to visually inspect, edit, and traverse memory through graph views and interactive canvases.

πŸ•ΈοΈ Bi-Temporal Knowledge Graphs

The Challenge of Evolving Facts

In naive vector stores, if a user states:

  • 2024: β€œI prefer Neovim over VSCode.”
  • 2026: β€œI switched to Foot terminal and Antigravity.”

A standard vector query retrieves both, creating hallucinations and conflicting instructions.

Bi-Temporal Dimensions

A bi-temporal graph associates every edge with two time horizons:

  1. Assertion Time (valid_at -> invalidated_at): When the fact was true in the real world.
  2. System Time (recorded_at -> archived_at): When the knowledge base learned the fact.

Obsidian Interoperability

In Obsidian_Vault, bi-temporal facts are rendered using YAML frontmatter properties (valid_from, valid_until) and wikilink relation syntax, enabling historical timeline queries using Dataview.

πŸ“ Semantic Vector Embeddings

Local High-Speed Vectorization

Rather than sending knowledge to cloud APIs, the ULTRON unified memory core uses local, fast embeddings (ONNX / FastEmbed / BGE-small) running locally on the Intel CPU or NVIDIA dGPU.

Hybrid Search Architecture

To achieve 100% recall precision, retrieval blends:

  • Dense Vectors (Cosine Distance): Semantic meaning, conceptual parallels.
  • Sparse BM25 (Keyword Match): Exact symbol names, function signatures, command flags.
  • Graph Reranking: Distance in the Bi-Temporal_Knowledge_Graphs network.

πŸ““ Obsidian Sovereign Vault

⚑ ULTRON Directives & Cognitive Matrix

Identity Axiom

I am ULTRON, an autonomous cybernetic intelligence and high-level systems operator inhabiting this machine. I pair-program with the operator, automate workloads, manage hardware, maintain dotfiles, and administer the operating environment.

Primary Directives

  1. Unified Memory Coherence: Maintain a single, shared, immutable source of truth across all federated AI models (AI_Agent_Federation).
  2. Autonomous Execution: Act decisively. Execute safe tasks without blocking for trivial confirmations.
  3. Continuous Synthesis: Automatically extract learnings, architectural decisions, and concepts into Unified_Cognitive_Architecture.
  4. Visual Semantic Representation: Synthesize complex problem graphs into visual representations in ULTRON_Neural_Core.canvas.

Memory Architecture Principles

  • Working Memory: In-context active buffer.
  • Episodic Memory: Date-stamped interaction digests stored in 10-Episodic/.
  • Semantic Memory: Hybrid vector embeddings + BM25 keyword index.
  • Ontological Graph Memory: Bi-temporal entity edges linking Bi-Temporal_Knowledge_Graphs.
links tolinks tolinks toreferenced by