🗄️

Phase 7 — System Memory Architecture

Base-99 Core AI OS™ · Persistent Truth Layer · Database Schema

Core Tables

🧠

INTENTS

CORE AI MEMORY LAYER

Nothing executes without an Intent record. Every user input is classified and stored here before routing.

FieldTypeDescription
iduuidPK — auto
user_idstringFK → User
org_keystringttucker | pickitup
raw_inputtextOriginal user input
classified_intentstringCRM | FINANCIAL | LEGAL...
confidencefloat0.0 – 1.0
sourceenumcommand_shell | api | agent
resolved_modulestringModule ID assigned
statusenumreceived → classified → executed
metadatajsonbClassifier context
created_attimestampAuto

System Memory Flow

💬USER INPUT
🧠INTENT TABLE
EXECUTION TABLE
🧩MODULE OUTPUT
📋AUDIT LOG
🖥️WORKSPACE UPDATE

System Design Rules

R1NOTHING EXECUTES WITHOUT AN INTENT RECORD

If it is not in the INTENTS table, it does not exist in the system.

R2EVERYTHING IS AUDITABLE

Every system action must create an execution record and an audit log entry.

R3MODULES ARE NOT STATEFUL

Modules DO NOT store memory. Only the database stores memory.

R4WORKSPACE IS A VIEW, NOT A SYSTEM

Workspace only reads from executions, intents, and modules — never writes its own state.

Phase 7 Complete — Persistent Memory Layer Deployed
✔ Intent Table — AI Memory Layer
✔ Execution Table — Command Kernel Output
✔ SystemModule Table — Registry Mirror
✔ WorkspaceState Table — UI State Memory
✔ AuditLog Table — Governance Layer (existing)
✔ Agent Table — AI System Layer

[LSM] System initializing...

Auto-fallback in 10s if needed