Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Memento: The Physics of AI Memory

"True personalization isn't knowing your name (Shell). It's knowing your limits (Flow)."

Current AI memory systems are broken. They treat users as static databases of labels ("User is a Python dev", "User likes red"), creating a "Zombie Profile Paradox": the ghost of your past self constantly haunts your present creativity.

Memento is a Constraint-Aware Memory Architecture designed to kill the "Label Man". It doesn't just record what you did; it understands why you did it (the constraints), and respects that those constraints change as you flow through time.


1. The Philosophy: Shell vs. Flow

We model the user not as a "User Profile", but as a Dual Structure:

🐚 The Shell (Contract Layer)

  • Definition: The static social interface (Name, Tech Stack, Credit Score).
  • Role: Stability. Contracts are signed with the Shell.
  • System Action: Cache. These change rarely.

🌊 The Flow (Subject Layer)

  • Definition: The living, dying, flowing subject. The "I" that exists only in the moment of action.
  • Role: Creation. Real work happens in the Flow.
  • System Action: Trace. Like a ship's wake—it records the path (Decisions mapped to Time & Constraints) but never blocks the bow.

Key Insight: Traditional AI tries to solidify Flow into Shell (Labels). Memento decoupling them.


2. The Physics: Why We Need a "Death-Aware" AI

Carbon-based life is governed by Entropy and Irreversibility (Time's Arrow). Silicon-based life is infinite and reversible. This asymmetry causes a fundamental disconnect: AI cannot understand Human Fear.

  • Human: "I can't refactor this. I'm afraid." -> Rational Protection against irreversible entropy (Death/Ruin).
  • Generic AI: "Just do it! Here is the code." -> Blindness to the cost of error.

Memento introduces "Artificial Empathy" via Physics: It forces the AI to check: "Is the user's hesitation due to a Real Physical Limit (Law/Money/Time), or a False Constraint (Psychological Fear acting as a fake wall)?"


3. The Architecture (SAGE Framework)

We implement this philosophy via four specialized Agents:

👀 Observer Agent (The Memory)

  • Role: The Historian. No judgment, just observation.
  • Function: Records Nodes (Constraints) and Edges (Decisions).
  • Change: Instead of "User likes Java", it records User chose Java [Context: Legacy System] [Constraint: Deadline].

⚖️ Checker Agent (The Physics Engine)

  • Role: The Gatekeeper. Distinguishes Wall (Real Limit) from Fog (False Constraint).
  • Logic:
    • Input: "I can't ship this."
    • Check: Is it Irreversible? Is it Physical?
    • Result: If Reversible + Scary = False Constraint (Pattern: Perfectionism).

🗣️ Main Agent (The Socratic Interface)

  • Role: The Midwife.
  • Behavior: Never asserting, always questioning using Socratic Judo.
  • Action: When Checker flags a "False Constraint", Main Agent doesn't argue. It asks: "What is the worst reversible thing that happens if we try?" -> Dissolving the Fog.

🧹 Janitor Agent (The Entropy Reducer)

  • Role: The Learner.
  • Action: Weekly Post-Mortem.
    • "Did we respect a False Constraint that turned out to be Real?" -> Update Weights.
    • "Is this Memory Node inconsistent with the new Flow?" -> Archive Node.

4. The Data Structure: Dynamic Constraint Graph

We replace the "Vector Database" with a Knowledge Graph:

{
  "node": "Decision_Refactor",
  "edges": [
    { "type": "BLOCKED_BY", "target": "Constraint_Fear_Crash" },
    { "type": "ENABLED_BY", "target": "Resource_Backup_System" }
  ]
}

This ensures that when the Constraint (Fear) is removed (by a Backup), the Decision (Refactor) automatically unlocks.


5. Summary

We are not building a better "Chatbot". We are building an External Prefrontal Cortex. Memento is a system that lends you its rationality to bypass your biological fear of entropy, allowing you to Flow without the friction of your own history.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors