CHORE: Consolidation VI implementation checkpoint before PSF mandate alignment

This commit is contained in:
2026-04-11 14:08:57 -04:00
parent 1b7d41444d
commit 9399f2e9f8
6 changed files with 471 additions and 186 deletions

338
gtd.org
View File

@@ -15,6 +15,160 @@
:ID: gtd-projects
:END:
** NEXT Org-agent v1.0
:PROPERTIES:
:ID: proj-org-agent-v1-0
:PSF-STATE: D: BUILD
:CREATED: [2026-03-09 Mon 14:23]
:END:
Org-agent: A Neurosymbolic AI Agent.
*** PHASE: FOUNDATION (Complete)
**** DONE Draft Swank/Socket communication protocol between CL and Emacs
:PROPERTIES:
:CREATED: [2026-03-22 Sun 14:00]
:ASSIGNED: Agent
:END:
**** DONE Implement core Perceive-Think-Act loop in Common Lisp
:PROPERTIES:
:CREATED: [2026-03-22 Sun 14:00]
:ASSIGNED: Agent
:END:
**** DONE Implement Persistent Object-Store for Org entities in CL
:PROPERTIES:
:CREATED: [2026-03-22 Sun 16:30]
:ASSIGNED: Agent
:END:
**** DONE Implement LLM Connector (System 1) in CL Daemon
:PROPERTIES:
:CREATED: [2026-03-22 Sun 17:30]
:ASSIGNED: Agent
:END:
**** DONE Design System 2 Heuristics (Lisp logic over Object Store)
:PROPERTIES:
:CREATED: [2026-03-22 Sun 17:30]
:END:
**** DONE Achieve Phase 3: The Self-Editing Kernel
:PROPERTIES:
:CREATED: [2026-03-23 Mon 16:30]
:END:
- Jailing & Sandboxing implemented
- Org-Native Skill Standard established
- Telemetry & Introspection API active
*** PHASE: THE SOVEREIGN BOUNDARY (Core vs Skills Refactor)
:PROPERTIES:
:ID: proj-sovereign-boundary
:END:
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)
**** 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)
**** 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)
**** TODO Implement Memory Eviction and Lazy Loading (LRU Cache in object-store.lisp)
**** DONE Implement Native Lisp Merkle-Tree Versioning (Short-term undo buffer in object-store.lisp)
**** DONE Performance: Implement Copy-on-Write (CoW) or Persistent Data Structures for Object Store
**** DONE Feature: Implement Latent Reflection (Proactive Gardening) using heartbeat idle cycles
**** DONE Simplification: Refactor Cognitive Loop into a Unified Reactive Signal Pipeline
**** DONE Resilience: Implement Micro-Rollbacks for the Immune System
**** DONE Implement `org-skill-memory-archivist` (Long-term IPFS checkpointing and P2P sync)
**** DONE Implement True Lisp Sandboxing (eval-safe mechanism in core and policy in skills)
**** DONE Decouple Vendor Logic from System 1 (Move Google/Anthropic/OpenAI to Skills)
**** DONE Component IV: Comprehensive Core Skill Audit (Review all 39 skills)
**** DONE Consolidation I: Unified LLM Gateway (Anthropic, Gemini, Groq, OpenAI, etc.)
**** DONE Consolidation II: Credentials Vault (Secure Enclave & Masked Logging)
**** DONE Consolidation III: Homoiconic Memory (Unified Grammar, Bridge, & ID Generation)
**** DONE Consolidation IV: State Persistence Layer (Unified Local & IPFS Checkpointing)
**** DONE Consolidation V: Event Orchestrator (Unified Cron, Hooks, & Cognitive Routing)
**** DONE Consolidation VI: Task Orchestrator (Task Integrity, Delegation, & Consensus)
CLOSED: [2026-04-11 Sat 13:45]
:PROPERTIES:
:ID: task-orchestrator-consolidation
:END:
- Implemented Parallel Multi-Backend Consensus in neuro.lisp.
- Implemented Task Integrity (GTD semantics) in symbolic.lisp.
- Integrated Consensus Gate and Delegation hooks in core.lisp.
- Verified with new task-orchestrator-tests.lisp.
**** TODO Implement `org-skill-lisp-repair` (Self-correcting syntax gate for System 2)
**** TODO Implement `org-skill-formal-verification` (Prove safety of high-impact actions)
*** PHASE: SYSTEM 2 REFINEMENT
**** NEXT Verify Autonomous Self-Fix Loop
:PROPERTIES:
:CREATED: [2026-03-23 Mon 16:30]
:END:
Trigger a deliberate error and ensure `skill-self-fix` repairs the code.
**** TODO Implement "Planning Mode" (System 2 Bouncer) for Complex Actions
:PROPERTIES:
:CREATED: [2026-04-01 Wed 17:00]
:ASSIGNED: Agent
:END:
**** TODO Implement Authorization Gate (OACP) for "Planning Mode"
:PROPERTIES:
:CREATED: [2026-04-01 Wed 17:00]
:ASSIGNED: Agent
:END:
*** TRACK: INTELLIGENCE & ACTUATION (The Engines)
**** TODO Verify provider-anthropic skill
**** TODO Verify provider-gemini skill
**** TODO Verify provider-groq skill
**** TODO Verify provider-ollama skill
**** TODO Verify provider-openai skill
**** TODO Verify provider-openrouter skill
**** TODO Verify org-skill-shell-actuator formal safety harnesses
**** TODO Implement Skill Graph Visualizer in Web Dashboard
**** TODO Build Playwright-Python Bridge for high-fidelity browsing
*** TRACK: COMMUNICATION & INTERFACES
**** TODO Implement org-skill-gateway-telegram
**** TODO Implement org-skill-gateway-signal
**** TODO Implement org-skill-gateway-matrix
*** TRACK: DEPLOYMENT & INFRASTRUCTURE
**** TODO Create Dockerfile and docker-compose.yml for containerized setup
**** TODO Create Bare Metal installation scripts/playbooks
**** TODO Create LXC (Linux Containers) template/guide
**** TODO Create VM Vagrantfiles/Cloud-init configs
*** TRACK: COMMUNITY & DOCS
**** TODO Write Quickstart Guide
**** TODO Write Skill Creation Guide
**** TODO Write Architecture Deep-Dive
**** TODO Clean up GitHub repository structure and add CI/CD
**** TODO Create Marketing Material (Landing page copy, diagrams)
**** TODO Draft Release Plan checklist
*** SUB-PROJECT: THE BOOT SEQUENCE (skills.lisp)
:PROPERTIES:
: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)
**** 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)
*** SUB-PROJECT: COGNITIVE BENCHMARKING (Claw-Code Distillation)
:PROPERTIES:
:ID: proj-claw-code-benchmarking
:END:
**** TODO Map Claw-Code Tool-Use Protocol (How it handles multi-tool steps)
**** TODO Distill Claw-Code File Editing Techniques (Surgical diffing vs overwriting)
**** TODO Analyze Claw-Code History Pruning (How it stays within context limits)
**** TODO Write a comprehensive Note in notes/ on "Lessons from the Rust Agent Explosion"
**** TODO Implement `org-skill-history-pruner` based on claw-code context checkpointing
**** TODO Implement `org-skill-tool-router` based on claw-code semantic tool selection
** NEXT PSF Core: Role Automation
:PROPERTIES:
:ID: proj-psf-core
@@ -50,94 +204,6 @@ Drafting the automated behaviors for the PSF loop.
- State "DONE" from "TODO" [2026-03-30 Mon 19:30]
:END:
** NEXT Refactor: The Sovereign Boundary (Core vs Skills)
:PROPERTIES:
:ID: proj-sovereign-boundary
:PROJECT_PATH: $PROJECTS_DIR/org-agent
:PSF-STATE: A: DEMAND
:END:
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)
*** 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)
*** 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)
*** TODO Implement Memory Eviction and Lazy Loading (LRU Cache in object-store.lisp)
*** DONE Implement Native Lisp Merkle-Tree Versioning (Short-term undo buffer in object-store.lisp)
CLOSED: [2026-04-09 Thu 14:45]
:LOGBOOK:
- State "DONE" from "TODO" [2026-04-09 Thu 14:45]
:END:
*** DONE Performance: Implement Copy-on-Write (CoW) or Persistent Data Structures for Object Store
CLOSED: [2026-04-09 Thu 14:46]
:LOGBOOK:
- State "DONE" from "TODO" [2026-04-09 Thu 14:46]
:END:
*** DONE Feature: Implement Latent Reflection (Proactive Gardening) using heartbeat idle cycles
CLOSED: [2026-04-09 Thu 20:15]
:LOGBOOK:
- State "DONE" from "TODO" [2026-04-09 Thu 20:15]
:END:
*** DONE Simplification: Refactor Cognitive Loop into a Unified Reactive Signal Pipeline
CLOSED: [2026-04-09 Thu 15:15]
:LOGBOOK:
- State "DONE" from "TODO" [2026-04-09 Thu 15:15]
:END:
*** DONE Resilience: Implement Micro-Rollbacks for the Immune System
CLOSED: [2026-04-09 Thu 15:36]
:LOGBOOK:
- State "DONE" from "TODO" [2026-04-09 Thu 15:36]
:END:
*** DONE Implement `org-skill-memory-archivist` (Long-term IPFS checkpointing and P2P sync)
CLOSED: [2026-04-09 Thu 15:35]
:LOGBOOK:
- State "DONE" from "TODO" [2026-04-09 Thu 15:35]
:END:
*** DONE Implement True Lisp Sandboxing (eval-safe mechanism in core and policy in skills)
CLOSED: [2026-04-09 Thu 16:28]
:LOGBOOK:
- State "DONE" from "TODO" [2026-04-09 Thu 16:28]
:END:
*** DONE Decouple Vendor Logic from System 1 (Move Google/Anthropic/OpenAI to Skills)
*** TODO Implement `org-skill-lisp-repair` (Self-correcting syntax gate for System 2)
*** TODO Implement `org-skill-formal-verification` (Prove safety of high-impact actions)
** NEXT Project: Cognitive Benchmarking (Claw-Code Distillation)
:PROPERTIES:
:ID: proj-claw-code-benchmarking
:PROJECT_PATH: $PROJECTS_DIR/benchmarking
:PSF-STATE: A: DEMAND
:END:
Systematically study the `claw-code` (Rust) and leaked Claude Code architectures to improve the `org-agent` kernel and skills.
*** TODO Map Claw-Code Tool-Use Protocol (How it handles multi-tool steps)
*** TODO Distill Claw-Code File Editing Techniques (Surgical diffing vs overwriting)
*** TODO Analyze Claw-Code History Pruning (How it stays within context limits)
*** TODO Write a comprehensive Note in notes/ on "Lessons from the Rust Agent Explosion"
*** TODO Implement `org-skill-history-pruner` based on claw-code context checkpointing
*** TODO Implement `org-skill-tool-router` based on claw-code semantic tool selection
** NEXT Project: The Boot Sequence (Refining skills.lisp)
:PROPERTIES:
:ID: proj-skill-boot-sequence
:PSF-STATE: B: BLUEPRINT
:END:
Implement the topological dependency loader and solve the bootstrapping paradox.
*** 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)
*** 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)
** Agora: Decentralized Social Network
:PROPERTIES:
:ID: agora-project
@@ -365,102 +431,6 @@ Institutionalizing the virtual software house operating system.
:ASSIGNED: Technical Analyst
:END:
** Org-agent
:PROPERTIES:
:CREATED: [2026-03-09 Mon 14:23]
:END:
Org-agent: A Neurosymbolic AI Agent.
*** DONE Draft Swank/Socket communication protocol between CL and Emacs
:PROPERTIES:
:CREATED: [2026-03-22 Sun 14:00]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-22 Sun 15:00]
:END:
*** DONE Implement core Perceive-Think-Act loop in Common Lisp
:PROPERTIES:
:CREATED: [2026-03-22 Sun 14:00]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "NEXT" [2026-03-22 Sun 16:00]
:END:
*** DONE Implement Persistent Object-Store for Org entities in CL
:PROPERTIES:
:CREATED: [2026-03-22 Sun 16:30]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-22 Sun 17:15]
:END:
*** DONE Implement LLM Connector (System 1) in CL Daemon
:PROPERTIES:
:CREATED: [2026-03-22 Sun 17:30]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "NEXT" [2026-03-23 Mon 16:30]
:END:
*** DONE Design System 2 Heuristics (Lisp logic over Object Store)
:PROPERTIES:
:CREATED: [2026-03-22 Sun 17:30]
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-23 Mon 16:30]
:END:
*** DONE Achieve Phase 3: The Self-Editing Kernel
:PROPERTIES:
:CREATED: [2026-03-23 Mon 16:30]
:END:
- Jailing & Sandboxing implemented
- Org-Native Skill Standard established
- Telemetry & Introspection API active
*** NEXT Verify Autonomous Self-Fix Loop
:PROPERTIES:
:CREATED: [2026-03-23 Mon 16:30]
:END:
Trigger a deliberate error and ensure `skill-self-fix` repairs the code.
*** TODO Implement "Planning Mode" (System 2 Bouncer) for Complex Actions
:PROPERTIES:
:CREATED: [2026-04-01 Wed 17:00]
:ASSIGNED: Agent
:END:
- Modify `decide` in `symbolic.lisp` to intercept core modifications, dependency installations, and configuration changes.
- Transition state to `:PLANNING` instead of executing directly.
- Draft flight plans as Org-mode artifacts in `~/memex/inbox/`.
*** TODO Implement Authorization Gate (OACP) for "Planning Mode"
:PROPERTIES:
:CREATED: [2026-04-01 Wed 17:00]
:ASSIGNED: Agent
:END:
- Send `:AUTHORIZATION-REQUEST` to Emacs.
- Display Emacs prompt for the Sovereign to review the flight plan.
- Block the cognitive thread until `:AUTHORIZATION-RESPONSE` is received.
- Run automated test suite immediately upon `:APPROVED` action execution.
*** TODO Implement Skill Graph Visualizer in Web Dashboard
:PROPERTIES:
:CREATED: [2026-03-23 Mon 16:30]
:END:
Convert the flat list to a D3.js or similar graph view.
*** TODO Build Playwright-Python Bridge for high-fidelity browsing
:PROPERTIES:
:CREATED: [2026-03-23 Mon 16:30]
:END:
Expand `skill-web-research` to handle JS-heavy sites.
** Lisp Machine Bootstrap
:PROPERTIES:
:ID: lisp-machine-bootstrap