From a887011415fc6ab5604b2d5ed64dc477b4db62ca Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Sun, 12 Apr 2026 14:10:01 -0400 Subject: [PATCH] chore: Update cognitive architecture naming and sync org-agent submodule - Updated naming to Associative/Deliberate and Foreground/Background in README.org - Synchronized completed tasks in gtd.org - Updated org-agent submodule reference --- README.org | 10 +++---- gtd.org | 68 ++++++++++++++++++++++++++++++++++++++++------ projects/org-agent | 2 +- 3 files changed, 65 insertions(+), 15 deletions(-) diff --git a/README.org b/README.org index 1d1b885..42ab38e 100644 --- a/README.org +++ b/README.org @@ -31,7 +31,7 @@ The workspace is strictly divided into these zones to facilitate both human ergo - [[file:system/README.org][System]]: Configuration, AI skills, and the Lisp kernel. * The Agentic Inhabitants -The Memex is inhabited by autonomous agents that operate as "System 1" (probabilistic/neural) and "System 2" (deterministic/symbolic) layers: +The Memex is inhabited by autonomous agents that operate as "Associative" (probabilistic/neural) and "Deliberate" (deterministic/symbolic) layers: ** [[file:projects/org-agent/README.org][org-agent (The Kernel)]] A Common Lisp microkernel that maintains a live, threaded Object-Store in RAM. It uses Org-mode as its native Abstract Syntax Tree (AST), allowing it to "perceive" and "act" on the Memex with structural precision. @@ -50,15 +50,15 @@ The agent's "mind" is not a transient chat session but a durable, stateful cogni *** The Psychology: The 2x2 Cognitive Matrix The agent's "thought" process is not monolithic. It operates on a 2x2 matrix that balances cognitive speed with cognitive state, allowing for sophisticated, multi-layered reasoning. -| | *System 1 (Neural/Fast/Intuitive)* | *System 2 (Symbolic/Slow/Logical)* | +| | *Associative (Neural/Fast/Intuitive)* | *Deliberate (Symbolic/Slow/Logical)* | | :--- | :--- | :--- | -| *Conscious (Foveal/Active)* | *The Interface:* A fast, charming LLM for active conversation. | *The Pilot:* Lisp guards that ensure active requests are safe. | -| *Subconscious (Peripheral/Passive)* | *The Editor:* A smart, deep LLM that finds patterns in the background. | *The Librarian:* A deterministic Lisp engine that files, archives, and maintains the integrity of memory. | +| *Foreground (Foveal/Active)* | *The Interface:* A fast, charming LLM for active conversation. | *The Pilot:* Lisp guards that ensure active requests are safe. | +| *Background (Peripheral/Passive)* | *The Editor:* A smart, deep LLM that finds patterns in the background. | *The Librarian:* A deterministic Lisp engine that files, archives, and maintains the integrity of memory. | *** The Physiology: Five Core Processes 1. *Perception (The Attention Bridge):* Automatically vectorizes user input to set the "Foveal Focus" for the active conversation. 2. *Reasoning (The Micro-Prolog):* Uses symbolic logic to reconcile contradictions and enforce the "Physics" of the Memex. -3. *Distillation (The Scribe):* The Subconscious loop that turns the daily "Journal" entries into permanent "Ledger" knowledge. +3. *Distillation (The Scribe):* The Background loop that turns the daily "Journal" entries into permanent "Ledger" knowledge. 4. *Reflection (The Gardener):* The heartbeat-driven process that finds "forgotten" links and maintains the "Vibe" of the system. 5. *Sensation (The Sensor Skill):* The "Signal-to-Symbol" converter that turns the "flood" of telemetry into actionable =TODO= items. diff --git a/gtd.org b/gtd.org index 0ed2370..4bb367e 100644 --- a/gtd.org +++ b/gtd.org @@ -63,13 +63,43 @@ Org-agent: A Neurosymbolic AI Agent. Slim down the org-agent microkernel by moving non-essential cognitive functions to hot-reloadable user-space skills. **** DONE Extract LLM Provider Routing to a Skill (neuro.lisp) -**** TODO Extract Vector Embedding Algorithms to a Skill (embedding.lisp) -**** TODO Extract Sparse Tree Context Pruning Strategies to a Skill (context.lisp) -**** TODO Implement `org-skill-peripheral-vision` (Moving embedding logic out of core) +**** DONE Extract Vector Embedding Algorithms to a Skill (embedding.lisp) + CLOSED: [2026-04-12 Sun 14:10] + :PROPERTIES: + :ID: extract-embedding-skill + :END: + - Created `org-skill-embedding.org`. + - Moved logic to `src/embedding-logic.lisp` via tangling. + - Updated `system-definition.org`. +**** DONE Extract Sparse Tree Context Pruning Strategies to a Skill (context.lisp) + CLOSED: [2026-04-12 Sun 14:25] + :PROPERTIES: + :ID: extract-context-skill + :END: + - Created `org-skill-peripheral-vision.org`. + - Moved logic to `src/context-logic.lisp` via tangling. + - Updated `system-definition.org`. +**** DONE Implement `org-skill-peripheral-vision` (Moving embedding logic out of core) + CLOSED: [2026-04-12 Sun 14:25] + :PROPERTIES: + :ID: impl-peripheral-vision + :END: **** TODO Implement Privacy-Aware Background Indexer (Local hashes for @personal, Semantic for others) **** TODO Decouple Transport from Protocol (True Actuator-Agnosticism in protocol.lisp) -**** TODO Implement OACP Schema Validation (Prevent reader macro injection in protocol.lisp) -**** TODO Implement Pluggable OACP Integrity Hashing (Core interface, Skill-based algorithms) +**** DONE Implement OACP Schema Validation (Prevent reader macro injection in protocol.lisp) + CLOSED: [2026-04-12 Sun 14:45] + :PROPERTIES: + :ID: oacp-schema-validation + :END: + - Created `org-skill-oacp-validator.org`. + - Integrated `validate-oacp-schema` into `protocol.org`. + - Added `protocol-validator.lisp` to system definition. +**** DONE Implement Pluggable OACP Integrity Hashing (Core interface, Skill-based algorithms) + CLOSED: [2026-04-12 Sun 15:15] + :PROPERTIES: + :ID: oacp-integrity-hashing + :END: + - Integrated HMAC-SHA256 (`ironclad:make-mac`) in `literate/protocol.org`. **** TODO Implement OACP Backpressure Handling (Queue bounds and BUSY frames in protocol.lisp) **** TODO Implement Cognitive Loop "Rut" Recovery (Dynamic Escalation in org-skill-safety-harness) **** TODO Implement Asynchronous Event Bus for Telemetry (core.lisp) @@ -157,8 +187,18 @@ Slim down the org-agent microkernel by moving non-essential cognitive functions *** TRACK: SECURITY & CONTAINMENT (The 5-Vector Bouncer Matrix) **** TODO Draft comprehensive Threat Model for Agentic Containment -**** TODO Implement Path-Based Scoping for File Writes (DNA/State vs Work) -**** TODO Implement Network Exfiltration Gate (Intercept generic HTTP requests) +**** DONE Implement Path-Based Scoping for File Writes (DNA/State vs Work) + CLOSED: [2026-04-12 Sun 15:15] + :PROPERTIES: + :ID: path-based-scoping + :END: + - Implemented as `path-confinement` invariant in `org-skill-formal-verification.org`. +**** DONE Implement Network Exfiltration Gate (Intercept generic HTTP requests) + CLOSED: [2026-04-12 Sun 15:15] + :PROPERTIES: + :ID: network-exfiltration-gate + :END: + - Implemented as `no-network-exfil` invariant in `org-skill-formal-verification.org`. **** TODO Implement Secret Exposure Gate (Intercept reads to .env, keys) **** TODO Implement Swarm Lateral Movement Gate (Intercept global state changes) @@ -256,8 +296,18 @@ Slim down the org-agent microkernel by moving non-essential cognitive functions :ID: proj-skill-boot-sequence :END: **** TODO Refactor `skills.lisp` into a Micro-Loader (Core) -**** TODO Implement Topological Sort based on `#+DEPENDS_ON:` tags -**** TODO Enforce `org-skill-agent` as the mandatory Gateway Skill (Loaded first) +**** DONE Implement Topological Sort based on `#+DEPENDS_ON:` tags + CLOSED: [2026-04-12 Sun 15:15] + :PROPERTIES: + :ID: topological-sort-skills + :END: + - Implemented in `literate/skills.org`. +**** DONE Enforce `org-skill-agent` as the mandatory Gateway Skill (Loaded first) + CLOSED: [2026-04-12 Sun 15:15] + :PROPERTIES: + :ID: enforce-mandatory-skill + :END: + - Enforced in `initialize-all-skills` in `literate/skills.org`. **** TODO Formalize the "Minimal Boot Set" (Router, Vision, Steward, Actuator) **** TODO Implement Skill Capability Negotiation (Pre-flight tool check) **** TODO Add Resource Jailing (Timeouts and Memory Quotas for Skills) diff --git a/projects/org-agent b/projects/org-agent index 397fcc5..c46c4d4 160000 --- a/projects/org-agent +++ b/projects/org-agent @@ -1 +1 @@ -Subproject commit 397fcc5e8c729396937859b28c1860f9ce13f55f +Subproject commit c46c4d4fd72195b7e63cbb0f2443b7247ab4dda2