Files
memex/gtd.org

30 KiB
Raw Blame History

Amero GTD

Actions

Projects

NEXT Org-agent v1.0

Org-agent: A Neurosymbolic AI Agent.

PHASE: FOUNDATION (Complete)

DONE Draft Swank/Socket communication protocol between CL and Emacs
DONE Implement core Perceive-Think-Act loop in Common Lisp
DONE Implement Persistent Object-Store for Org entities in CL
DONE Implement LLM Connector (System 1) in CL Daemon
DONE Design System 2 Heuristics (Lisp logic over Object Store)
DONE Achieve Phase 3: The Self-Editing Kernel
  • Jailing & Sandboxing implemented
  • Org-Native Skill Standard established
  • Telemetry & Introspection API active

PHASE: THE SOVEREIGN BOUNDARY (Core vs Skills Refactor)

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]

  • 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.
DONE Implement `org-skill-lisp-repair` (Self-correcting syntax gate for System 2)

CLOSED: [2026-04-11 Sat 15:10]

  • Implemented asynchronous, event-driven repair logic.
  • Decoupled core from repair logic (emits `:syntax-error` event).
  • Proven via lisp-repair-tests.lisp (Asynchronous flow verified).
TODO Implement `org-skill-formal-verification` (Prove safety of high-impact actions)

PHASE: SYSTEM 2 REFINEMENT

DONE Verify Autonomous Self-Fix Loop

CLOSED: [2026-04-11 Sat 14:20]

  • Proven repair capability via self-fix-tests.lisp.
  • Verified surgical code patching and hot-reloading.
  • Documentation and RCA complete.
DONE Implement "Planning Mode" (System 2 Bouncer) for Complex Actions

CLOSED: [2026-04-11 Sat 15:30]

  • Implemented `bouncer-check` interceptor in `symbolic.lisp`.
  • Created `org-skill-bouncer.org` for flight plan serialization.
  • Verified asynchronous Org-native approval loop via `bouncer-tests.lisp`.
DONE Implement Authorization Gate (OACP) for "Planning Mode"

CLOSED: [2026-04-11 Sat 15:30]

  • Integrated with Org-mode state transitions (`PLAN` -> `APPROVED`).
  • Leveraged Object Store event bus for asynchronous re-injection.

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)
TODO Implement Secret Exposure Gate (Intercept reads to .env, keys)
TODO Implement Swarm Lateral Movement Gate (Intercept global state changes)

TRACK: INTELLIGENCE & ACTUATION (The Engines)

DONE Verify individual provider track (Anthropic, Gemini, Groq, OpenAI, OpenRouter, Ollama)

CLOSED: [2026-04-11 Sat 15:45]

  • Added unit tests for each provider in `llm-gateway-tests.lisp`.
  • Mocked `dex:post` to verify JSON payload formatting and response parsing.
  • Implemented robust `get-nested` helper to handle various provider structures.
  • Integrated `llm-gateway` and `credentials-vault` into `org-agent.asd`.
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

DONE Implement org-skill-gateway-telegram

CLOSED: [2026-04-11 Sat 16:15]

  • Implemented `org-skill-gateway-telegram.org`.
  • Added automated background polling for Telegram GetUpdates.
  • Implemented `:telegram` actuator for outbound responses.
  • Refactored `org-skill-chat` to be channel-aware.
  • Verified with `gateway-telegram-tests.lisp`.
DONE Implement org-skill-gateway-signal

CLOSED: [2026-04-11 Sat 16:50]

  • Implemented `org-skill-gateway-signal.org` (signal-cli wrapper).
  • Added background polling for `signal-cli receive json`.
  • Implemented `:signal` actuator for outbound responses.
  • Updated `org-skill-chat` to support Signal channel.
  • Verified with `gateway-signal-tests.lisp`.
DONE Implement org-skill-gateway-matrix

CLOSED: [2026-04-11 Sat 17:15]

  • Implemented `org-skill-gateway-matrix.org` (Client-Server API).
  • Added background polling for `/sync` with token persistence.
  • Implemented `:matrix` actuator for `m.room.message` delivery.
  • Updated `org-skill-chat` to support Matrix channel and room IDs.
  • Verified with `gateway-matrix-tests.lisp`.

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)

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)

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

Drafting the automated behaviors for the PSF loop.

DONE Draft PRD for PSF Core

  • State "DONE" from "TODO" [2026-03-30 Mon 19:15]

DONE Draft PROTOCOL for PSF Core

  • State "DONE" from "TODO" [2026-03-30 Mon 19:25]

DONE Implement and Test PSF Core Skills

  • State "DONE" from "TODO" [2026-03-30 Mon 19:30]

Agora: Decentralized Social Network

DONE Create atomic notes for all 10 Agora sections

  • State "DONE" from "TODO" [2026-03-17 Tue 12:00]

All 14 atomic notes created and cross-referenced.

IN-PROGRESS Fill CRITICAL and HIGH gaps [5 CRITICAL / 15 HIGH complete]

DONE Section 02: Identity - ALL HIGH priority gaps resolved
DONE Section 03: Infrastructure - ALL HIGH priority gaps resolved

IN-PROGRESS Fill MEDIUM gaps [14/14 complete]

DONE ALL MEDIUM PRIORITY GAPS RESOLVED
DONE ALL LOW PRIORITY GAPS RESOLVED (10/10)
FINAL STATUS: All Agora specification gaps complete (CRITICAL, HIGH, MEDIUM, LOW)
  • State "IN-PROGRESS" from "TODO" [2026-03-18 Wed 01:00]
DONE CRITICAL: Contract TypeScript/Protobuf Interfaces → FILLED
  • State "DONE" from "TODO" [2026-03-18 Wed 01:15]
  • INTEGRATED: Reference added to agora-requirements-02-identity.org
  • LOCATION: memex/5_projects/agora/agora-contract-schemas.org
DONE CRITICAL: Content Flag Schema Validation → FILLED
  • State "DONE" from "TODO" [2026-03-18 Wed 01:25]
  • LOCATION: memex/5_projects/agora/agora-content-flag-schema.org
  • PENDING: Integration into agora-requirements-04-the-primitive.org
DONE CRITICAL: PDS-to-PDS Sync Protocol → FILLED
  • State "DONE" from "TODO" [2026-03-18 Wed 01:35]
  • LOCATION: memex/5_projects/agora/agora-pds-sync-protocol.org
  • PENDING: Integration into agora-requirements-03-infrastructure.org
DONE CRITICAL: Delta Sync Protocol → FILLED
  • State "DONE" from "TODO" [2026-03-18 Wed 01:50]
  • LOCATION: memex/5_projects/agora/agora-delta-sync-protocol.org
  • PENDING: Integration into agora-requirements-08-implementation.org
DONE CRITICAL: Persona Revocation Protocol → ALREADY-EXISTS
  • State "DONE" from "TODO" [2026-03-18 Wed 02:00]
  • NOTE: Complete specification already in agora-requirements-02-identity.org
  • ACTION: Gap was incorrectly flagged; no work required
TODO INTEGRATE scattered specifications into requirements files [1/4]
  • NEXT: Move content flag schema into Section 04
  • NEXT: Move PDS sync into Section 03
  • NEXT: Move delta sync into Section 08
  • NEXT: Delete duplicate documents after integration
NEXT Fill HIGH priority gaps
  • Relay Discovery Mechanism (Section 03)
  • Relay Pricing Logic (Section 03)
  • Shamir's Parameters (Section 03)

Emacs Configuration Refactor

Modularize the monolithic emacs.org into smaller, function-specific files.

DONE Obtain exact file path of Emacs configuration file

  • State "DONE" from "NEXT" [2026-03-31 Tue 10:00]

The exact path is: `/home/amr/.openclaw/workspace/memex/5_projects/dotemacs/emacs.org`

DONE Modularize monolithic emacs.org into functional modules (emacs-*.org)

  • State "DONE" from "TODO" [2026-03-31 Tue 10:10]

DONE Standardize all paths to ~/memex/ and update bootstrap for Org 10.0-pre

  • State "DONE" from "TODO" [2026-03-31 Tue 10:20]

TODO Split emacs.org into functional modules (packages, UI, GTD, etc.)

OpenClaw Security Audit

Address security audit findings and harden the system.

DONE Harden Docker port bindings (bind to 127.0.0.1)

  • State "DONE" from "NEXT" [2026-03-22 Sun 14:45]

NEXT Enable and configure UFW

TODO Add user 'amr' to 'adm' group for log access

Aletheia (Previous Agora Iteration)

TODO Critically analyze Master_Architecture_Document for lessons learned and incorporation into Agora

Personal Software Foundry (PSF) Implementation

Institutionalizing the virtual software house operating system.

DONE Draft PSF Operating System Manual (personal_software_foundry.org)

  • State "DONE" from "NEXT" [2026-03-22 Sun 15:45]

DONE Update `SOUL.org` with PSF Mandates

  • State "DONE" from "NEXT" [2026-03-22 Sun 15:45]

DONE Apply PSF Loop to `org-agent` Phase 1 (Core Loop)

  • State "DONE" from "NEXT" [2026-03-23 Mon 16:30]

TODO Implement `skill-architect.org` to automate `PROTOCOL.org` generation

TODO Implement `skill-tech-analyst.org` for automated TDD inception

Lisp Machine Bootstrap

The "Endgame": Hardware-native Lisp machine implementation.

TODO Research existing Lisp-on-FPGA implementations

TODO Define minimum hardware-native Lisp ISA (Instruction Set Architecture)

TODO Draft CLOSOS-style Virtual Machine specification

TODO Investigate Single Address Space and Multiple Environments in CL

Infrastructure

IT infrastructure documentation, security hardening, and operational management.

See project documents: infrastructure/README.org

TODO Create current state assessment document

TODO Create risk and vulnerability report

TODO Create infrastructure inventory

TODO Create budget analysis

TODO Create 30/60/90 day roadmap

TODO Create security implementation plan

TODO Create token optimization strategy

TODO Create account management SOPs

Revenue Sustainability

Business planning and revenue generation strategy.

See project documents: revenue-sustainability/README.org

TODO Set up Stripe account (payment processing)

TODO Set up Wave or Bonsai (invoicing)

TODO Create simple contract template

TODO Set up time tracking

TODO Create portfolio page (GitHub Pages)

TODO Set up domain name

TODO Set up email at domain

TODO Set up social media (Twitter/X, LinkedIn)

TODO Create testimonial collection system

Knowledge Management Standards (Atomic Notes + GTD)

Defining and maintaining high-integrity KM and GTD workflows.

DONE Upgrade to org-gtd v4.0 (DAG architecture)

  • State "DONE" from "TODO" [2026-03-31 Tue 10:45]

DONE Partition legacy inbox into focused files (inbox-*.org)

  • State "DONE" from "TODO" [2026-03-31 Tue 10:50]

DONE Fix encoding issues in the new inbox-*.org files

  • State "DONE" from "TODO" [2026-03-31 Tue 11:30]

TODO Perform Automated Metadata Repair on inbox-*.org files

Detected ~1,300 entries missing the `:CREATED:` property during the PSF Phase E (Chaos) audit.

  • Implement inference logic to restore historical timestamps (via Git or context).
  • Batch repair `inbox-emacs.org`, `inbox-atoms.org`, and `inbox-posts.org`.

Agora Gap Verification

Cross-reference consolidated gap analysis against actual requirement specs to identify real vs. already-addressed gaps.

See project documents: agora-consolidated-gap-analysis.org

DECOMPOSITION via Work Breakdown Skill: Complexity check failed (51 gaps, 10 files, unpredictable scope). Breaking into atomic verification tasks.

DONE [1/7] Verify CRITICAL Gap: Contract TypeScript/Protobuf Interfaces → REAL GAP

  • State "NEXT" from "TODO" [2026-03-17 Tue 15:15]
  • State "DONE" from "NEXT" [2026-03-17 Tue 15:59]

HOW: Searched Section 02 for "interface", "type", "struct", "ContractTemplate". Found 5 TypeScript interfaces (all for revocation, not contracts). Line 951 explicitly states "Gap: No sample JSON for each contract type".

WHAT: REAL GAP - Contracts described conceptually, lack formal TypeScript/Protobuf schemas.

DONE [2/7] Verify CRITICAL Gap: Persona Revocation Protocol → IMPLEMENTED

  • State "TODO" from "" [2026-03-17 Tue 15:15]
  • State "DONE" from "TODO" [2026-03-17 Tue 15:59]

HOW: Checked Section 02 lines 229-260. Found complete protocol with 3 scenarios (Key Compromise, Persona Retirement, Master Key Compromise), 4-step process, and TypeScript interfaces.

WHAT: ALREADY IMPLEMENTED - Full protocol specification exists. Gap analysis incorrectly flagged this.

DONE [3/7] Verify CRITICAL Gap: PDS-to-PDS Sync Protocol → IMPLEMENTED

  • State "TODO" from "" [2026-03-17 Tue 15:15]
  • State "DONE" from "TODO" [2026-03-17 Tue 15:59]

HOW: Checked Section 03 lines 142-180. Found complete sync protocol with Concept, 3 Use Cases (Redundancy, Geographic Distribution, Load Balancing), and Merkle DAG Synchronization architecture.

WHAT: ALREADY IMPLEMENTED - Protocol fully specified. PDSSyncSession interface documented.

DONE [4/7] Verify CRITICAL Gap: Content Flag Schema Validation → REAL GAP

  • State "TODO" from "" [2026-03-17 Tue 15:15]
  • State "DONE" from "TODO" [2026-03-17 Tue 15:59]

HOW: Searched Section 05 for "JSON Schema", "flag", "validation". Found 9 flags described narratively (is_public, is_direct, is_ephemeral, etc.) at lines 24-34. No formal JSON Schema found.

WHAT: REAL GAP - Flags have informal descriptions but lack formal JSON Schema for validation.

DOING [5/7] [BATCH] Verify HIGH priority gaps (15 items) - DELEGATED TO SUB-AGENTS

  • State "TODO" from "" [2026-03-17 Tue 15:15]
  • State "NEXT" from "TODO" [2026-03-17 Tue 16:04]
  • State "DOING" from "NEXT" [2026-03-17 Tue 16:05]

HOW: Delegated to 5 sub-agents for parallel verification per section. Monitoring progress centrally.

Sub-Agent Assignments:

  • Sub-Agent 1: Section 02 Identity (4 HIGH gaps)
  • Sub-Agent 2: Section 03 Infrastructure (3 HIGH gaps)
  • Sub-Agent 3: Section 05 Public Space (4 HIGH gaps)
  • Sub-Agent 4: Section 06 Advanced Integration (2 HIGH gaps)
  • Sub-Agent 5: Sections 08-09 Implementation/Strategy (2 HIGH gaps)

Current focus: Orchestrating sub-agent verification. CRITICAL gaps complete (2 REAL, 2 IMPLEMENTED).

TODO [BATCH] Verify MEDIUM priority gaps (14 items)

  • State "TODO" from "" [2026-03-17 Tue 15:15]

Cross-reference 14 MEDIUM gaps. Defer until HIGH gaps complete.

TODO Generate verified gap report

  • State "TODO" from "" [2026-03-17 Tue 15:15]

Create summary documenting: which gaps are REAL (need implementation) vs. ALREADY-IMPLEMENTED (documentation only) vs. PARTIAL (needs completion).

Token Optimization

Cost-effective LLM usage strategy and implementation.

See project documents: token-optimization/README.org

TODO Configure Gemini as primary provider

TODO Set up OpenRouter fallback

TODO Implement basic usage tracking

TODO Document current baseline

TODO Add smart routing logic

TODO Implement context compression

TODO Set up budget alerts

TODO A/B test model choices

PSF Skill: Architect Agent

DONE - Formalized as a Universal Literate Note.

PSF Skill: Technical Analyst Agent

DONE - Formalized as a Universal Literate Note.

PSF Skill: Project Foundry Agent

DONE - Formalized as a Universal Literate Note.

PSF Skill: Scribe Agent

DONE - Formalized as a Universal Literate Note.

PSF Skill: Memex Manager

DONE - Formalized as a Universal Literate Note.

PSF Skill: Infrastructure & Providers (Batch refactor)

DONE - Refactored 28 infrastructure, provider, and intelligence skills into the Universal Note architecture.

Incubate

TODO Arabic Classics   arabic books literature egypt

<2025-01-01 Wed> [2023-05-16 Tue 22:29]

The Arabic Classics project builds on the fact that the majority of books in Arabic are yet to come in the public domain. With 75 years of copyright for the authors estate in Egypt, book of authors who died in 1950 are just about to come into the public domain next year in 2025.

The will create and publish electronic anthologies, one for each author, bringing together all their work, prefaced by an in-depth biography, not dissimilar to the Delphi Collection.

Each year, the project will go forward in time as more works enter the public domain, and a number of years backwards until the beginning of Arabic literature (and potentially neighboring languages): first in increments of 10 years, then 25, then a century or more covered each year.

  • Authors
  • Specs

TODO Open dog

<2025-01-01 Wed> <2025-01-01 Wed> [2024-02-04 Sun 17:44]

TODO Cartesian robot with changing heads

<2025-01-01 Wed> <2025-01-01 Wed> [2024-02-04 Sun 17:44]

TODO Modular synth   music

<2025-01-01 Wed> <2025-01-01 Wed> [2024-02-04 Sun 17:45]

TODO OCR Permaculture Design Manual   permaculture

<2025-01-01 Wed> <2025-01-01 Wed> <2025-01-01 Wed> [2024-02-04 Sun 17:47]

TODO Off-grid field guide

<2025-01-01 Wed> A modular manual of different areas to go with different activities. Fits in the travelers notebook

Someday / Future

The Holy Grail: Unified Lisp Environment

The endgame of the Lisp Machine Mandate. Eliminate context-switching by unifying the browser, the agent, and the editor into a single Common Lisp image.

TODO [Grail 1] Emacs xwidget-webkit integration

Embed a full WebKit engine inside an Emacs buffer. Allow the agent to interact with the live DOM via the OACP socket.

TODO [Grail 2] Lisp-native Agentic Browser

Build a 'Neural Browser' in CL. Instead of HTML, it renders websites as a navigable Org-mode DAG. Mark headlines TODO to trigger clicks/fills.

TODO [Grail 3] Full Common Lisp Emacs Implementation

The ultimate platform. Rewrite the editor core in SBCL (Lem/Hemlock style). The browser becomes a native library, allowing direct memory inspection of the web.

Habits

TODO Improve stealth browsing capabilities to bypass 502/bot detection   system research