#+TITLE: Amero GTD
#+author: Amero Garcia
#+created: [2026-03-16 Mon 14:28]
#+DATE: 2026-03-11
#+STARTUP: content
#+FILETAGS: :GTD:

* Actions
:PROPERTIES:
:ID:       gtd-actions
:END:
** DONE Fix Modular Emacs configuration loading and org-capture templates
   - Restored ef-themes configuration in emacs-core.org which was lost during refactoring.
   CLOSED: [2026-04-21 Tue 15:00]
   - Resolved conflict where multiple modules were overwriting ~/.emacs.d/custom.el.
   - Switched from defvar to setq for org-capture-templates to ensure it applies on boot.
** DONE Reorganize Emacs configuration files into the dotemacs project
   - Deleted outdated configuration modules in ~/memex/projects/dotemacs/.
   - Moved live configuration files from ~/memex/system/ to ~/memex/projects/dotemacs/.
   - Organized modules into a /modules subdirectory and snippets into /templates.
   - Updated ~/.emacs and internal Org-babel paths to reflect the new location.
   CLOSED: [2026-04-21 Tue 16:45]
** DONE Fix emacsclient defaulting to terminal mode
   - Identified that 'passepartout' setup.org was hardcoded to install emacs-nox.
   - Reinstalled emacs-gtk and restored GUI support.
   - Patched projects/passepartout/harness/setup.org to use 'emacs' metapackage.
   - Restored missing modules/emacs-ui.org and added it to dotemacs.org.
   - Added 'em' alias to ~/.bash_aliases for persistent GUI frame creation.
   CLOSED: [2026-04-21 Tue 17:15]
:END:

* Projects
:ID:       gtd-projects
:END:

** NEXT Passepartout v1.0
   :PROPERTIES:
   :ID:       proj-opencortex-v1-0
   :Engineering-STATE: D: BUILD
   :CREATED:  [2026-03-09 Mon 14:23]
   :END:
   OpenCortex: A Neurosymbolic AI Agent.

   Full project tasks: [[file:projects/passepartout/TODO.org][Passepartout TODO.org]]

** NEXT Engineering Core: Role Automation
:PROPERTIES:
:ID:       proj-psf-core
:PROJECT_PATH: $PROJECTS_DIR/psf-core
:Engineering-STATE: D: BUILD
:TRIGGER:  next-sibling!
:END:
Drafting the automated behaviors for the Engineering loop.

*** DONE Draft PRD for Engineering Core
    :PROPERTIES:
    :ID: task-prd-psf-core
    :TRIGGER: next-sibling!
    :END:
    :LOGBOOK:
    - State "DONE"       from "TODO"       [2026-03-30 Mon 19:15]
    :END:
*** DONE Draft PROTOCOL for Engineering Core
    :PROPERTIES:
    :ID: task-proto-psf-core
    :BLOCKER: previous-sibling!
    :TRIGGER: next-sibling!
    :END:
    :LOGBOOK:
    - State "DONE"       from "TODO"       [2026-03-30 Mon 19:25]
    :END:
*** DONE Implement and Test Engineering Core Skills
    :PROPERTIES:
    :ID: task-impl-psf-core
    :BLOCKER: previous-sibling!
    :END:
    :LOGBOOK:
    - State "DONE"       from "TODO"       [2026-03-30 Mon 19:30]
    :END:

** Agora: Decentralized Social Network
:PROPERTIES:
:ID:       agora-project
:CREATED:  [2026-03-16 Mon 14:28]
:END:

Specification gaps filled, 10 requirements sections complete.
Integration task tracking: [[file:projects/agora/TODO.org][Agora TODO.org]]
Passepartout integration plan: See PHASE: PASSEPARTOUT INTEGRATION in the TODO.org

- Key specs drafted: Contract TypeScript interfaces, Content Flag schema, PDS Sync, Delta Sync
- Remaining: Integrate scattered spec docs into requirements files (content flag → Sect 04, PDS sync → Sect 03, delta sync → Sect 08)

** Emacs Configuration Refactor
:PROPERTIES:
:ID:       emacs-config-refactor
:CREATED:  [2026-03-22 Sun 08:00]
:END:

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

*** DONE Obtain exact file path of Emacs configuration file
:PROPERTIES:
:CREATED: [2026-03-22 Sun 08:00]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "NEXT" [2026-03-31 Tue 10:00]
:END:

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

*** DONE Modularize monolithic emacs.org into functional modules (emacs-*.org)
:PROPERTIES:
:CREATED: [2026-03-31 Tue 10:05]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-31 Tue 10:10]
:END:

*** DONE Standardize all paths to ~/memex/ and update bootstrap for Org 10.0-pre
:PROPERTIES:
:CREATED: [2026-03-31 Tue 10:15]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-31 Tue 10:20]
:END:

*** TODO Split emacs.org into functional modules (packages, UI, GTD, etc.)
:PROPERTIES:
:CREATED: [2026-03-22 Sun 08:00]
:END:

** OpenClaw Security Audit
:PROPERTIES:
:ID:       openclaw-security-audit
:CREATED:  [2026-03-22 Sun 10:00]
:END:

Address security audit findings and harden the system.

*** DONE Harden Docker port bindings (bind to 127.0.0.1)
:PROPERTIES:
:CREATED: [2026-03-22 Sun 14:30]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "NEXT" [2026-03-22 Sun 14:45]
:END:

*** NEXT Enable and configure UFW
:PROPERTIES:
:CREATED: [2026-03-22 Sun 14:30]
:ASSIGNED: Amr (Requires sudo)
:END:

*** TODO Add user 'amr' to 'adm' group for log access
:PROPERTIES:
:CREATED: [2026-03-22 Sun 14:30]
:ASSIGNED: Amr (Requires sudo)
:END:

** Aletheia (Previous Agora Iteration)
:PROPERTIES:
:ID:       aletheia-project
:END:
*** TODO Critically analyze Master_Architecture_Document for lessons learned and incorporation into Agora
:PROPERTIES:
:CREATED:  [2026-03-21 Sat 09:45]
:STATUS:   PENDING USER INSTRUCTION
:NOTES:    User to provide pointers before commencing critical reading and analysis. Do not proceed without explicit instruction.
:END:

** Engineering Standards Implementation
:PROPERTIES:
:ID:       psf-implementation
:CREATED:  [2026-03-22 Sun 15:30]
:END:

Institutionalizing the virtual software house operating system.

*** DONE Draft Engineering Operating System Manual ([[file:notes/personal_software_foundry.org][personal_software_foundry.org]])
:PROPERTIES:
:CREATED: [2026-03-22 Sun 15:30]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "NEXT" [2026-03-22 Sun 15:45]
:END:

*** DONE Update `SOUL.org` with Engineering Mandates
:PROPERTIES:
:CREATED: [2026-03-22 Sun 15:30]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "NEXT" [2026-03-22 Sun 15:45]
:END:

*** DONE Apply Engineering Loop to `passepartout` Phase 1 (Core Loop)
:PROPERTIES:
:CREATED: [2026-03-22 Sun 15:30]
:ASSIGNED: Technical Analyst
:END:
:LOGBOOK:
- State "DONE" from "NEXT" [2026-03-23 Mon 16:30]
:END:

*** TODO Implement `skill-architect.org` to automate `PROTOCOL.org` generation
:PROPERTIES:
:CREATED: [2026-03-31 Tue 10:25]
:ASSIGNED: Architect
:END:

*** TODO Implement `skill-tech-analyst.org` for automated TDD inception
:PROPERTIES:
:CREATED: [2026-03-31 Tue 10:30]
:ASSIGNED: Technical Analyst
:END:

** Infrastructure
:PROPERTIES:
:ID:       infrastructure-project
:CREATED:  [2026-03-17 Tue 13:40]
:END:

IT infrastructure documentation, security hardening, and operational management.

See project documents: [[file:projects/infrastructure/README.org][infrastructure/README.org]]

*** TODO Create current state assessment document
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create risk and vulnerability report
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create infrastructure inventory
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create budget analysis
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create 30/60/90 day roadmap
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create security implementation plan
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create token optimization strategy
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create account management SOPs
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

** Revenue Sustainability
:PROPERTIES:
:ID:       revenue-sustainability-project
:CREATED:  [2026-03-17 Tue 13:40]
:END:

Business planning and revenue generation strategy.

See project documents: [[file:projects/revenue-sustainability/README.org][revenue-sustainability/README.org]]

*** TODO Set up Stripe account (payment processing)
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Set up Wave or Bonsai (invoicing)
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create simple contract template
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Set up time tracking
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create portfolio page (GitHub Pages)
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Set up domain name
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Set up email at domain
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Set up social media (Twitter/X, LinkedIn)
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Create testimonial collection system
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

** Knowledge Management Standards (Atomic Notes + GTD)
:PROPERTIES:
:ID:       km-standards-project
:CREATED:  [2026-03-31 Tue 10:40]
:END:

Defining and maintaining high-integrity KM and GTD workflows.

*** DONE Upgrade to org-gtd v4.0 (DAG architecture)
:PROPERTIES:
:CREATED: [2026-03-30 Mon 12:00]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-31 Tue 10:45]
:END:

*** DONE Partition legacy inbox into focused files (inbox-*.org)
:PROPERTIES:
:CREATED: [2026-03-30 Mon 14:00]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-31 Tue 10:50]
:END:

*** DONE Fix encoding issues in the new inbox-*.org files
:PROPERTIES:
:CREATED: [2026-03-31 Tue 10:55]
:ASSIGNED: Agent
:END:
:LOGBOOK:
- State "DONE" from "TODO" [2026-03-31 Tue 11:30]
:END:

*** TODO Perform Automated Metadata Repair on inbox-*.org files
:PROPERTIES:
:CREATED: [2026-03-31 Tue 13:00]
:ASSIGNED: Agent
:END:

Detected ~1,300 entries missing the `:CREATED:` property during the Engineering Phase E (Chaos) audit.
**** TODO Implement inference logic to restore historical timestamps (via Git or context)
**** TODO Batch repair `inbox-emacs.org`, `inbox-atoms.org`, and `inbox-posts.org`

** Agora Gap Verification
:PROPERTIES:
:ID:       agora-gap-verification-project
:CREATED:  [2026-03-17 Tue 15:15]
:END:

All gap verification complete. See [[file:projects/agora/TODO.org][Agora TODO.org]] for current integration tasks.

** Token Optimization
:PROPERTIES:
:ID:       token-optimization-project
:CREATED:  [2026-03-17 Tue 13:40]  
:END:

Cost-effective LLM usage strategy and implementation.

See project documents: [[file:projects/token-optimization/README.org][token-optimization/README.org]]

*** TODO Configure Gemini as primary provider
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Set up OpenRouter fallback
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Implement basic usage tracking
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Document current baseline
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Add smart routing logic
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Implement context compression
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO Set up budget alerts
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

*** TODO A/B test model choices
:PROPERTIES:
:CREATED:  [2026-03-17 Tue 13:40]
:END:

** Engineering Skill: Architect Agent
:PROPERTIES:
:ID: proj-skill-architect
:PROJECT-PATH: $PROJECTS_DIR/org-skill-architect
:Engineering-STATE: F: MEMORY
:CREATED: [2026-03-31 Tue 15:45]
:END:
DONE - Formalized as a Universal Literate Note.

** Engineering Skill: Technical Analyst Agent
:PROPERTIES:
:ID: proj-skill-tech-analyst
:PROJECT-PATH: $PROJECTS_DIR/org-skill-tech-analyst
:Engineering-STATE: F: MEMORY
:CREATED: [2026-03-31 Tue 15:45]
:END:
DONE - Formalized as a Universal Literate Note.

** Engineering Skill: Engineering Standards
:PROPERTIES:
:ID: proj-skill-project-foundry
:PROJECT-PATH: $PROJECTS_DIR/org-skill-project-foundry
:Engineering-STATE: F: MEMORY
:CREATED: [2026-03-31 Tue 15:45]
:END:
DONE - Formalized as a Universal Literate Note.

** Engineering Skill: Scribe Agent
:PROPERTIES:
:ID: proj-skill-scribe
:PROJECT-PATH: $PROJECTS_DIR/org-skill-scribe
:Engineering-STATE: F: MEMORY
:CREATED: [2026-03-31 Tue 15:45]
:END:
DONE - Formalized as a Universal Literate Note.

** Engineering Skill: Memex Manager
:PROPERTIES:
:ID: proj-skill-memex
:PROJECT-PATH: $PROJECTS_DIR/org-skill-memex
:Engineering-STATE: F: MEMORY
:CREATED: [2026-03-31 Tue 15:45]
:END:
DONE - Formalized as a Universal Literate Note.

** Engineering Skill: Infrastructure & Providers (Batch refactor)
:PROPERTIES:
:ID: proj-skill-batch-refactor
:Engineering-STATE: F: MEMORY
:CREATED: [2026-03-31 Tue 15:45]
:END:
DONE - Refactored 28 infrastructure, provider, and intelligence skills into the Universal Note architecture.

* Incubate
:PROPERTIES:
:ID:       gtd-incubate
:END:

** TODO Arabic Classics :arabic:books:literature:egypt:
:PROPERTIES:
:ID:       Arabic-Classics-2024-02-05-13-48-07
:ORG_GTD_TIMESTAMP: <2025-01-01>
:CATEGORY: Egypt
:END:

<2025-01-01>
[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
:PROPERTIES:
:ID:       Open-dog-2024-02-04-18-16-26
:ORG_GTD_TIMESTAMP: <2025-01-01>
:CATEGORY: Atoms
:END:

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

** TODO Cartesian robot with changing heads
:PROPERTIES:
:ID:       Cartesian-robot-with-changing-heads-2024-02-04-18-17-06
:ORG_GTD_TIMESTAMP: <2025-01-01>
:CATEGORY: Atoms
:END:

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

** TODO Modular synth :music:
:PROPERTIES:
:ID:       Modular-synth-2024-02-04-18-17-25
:ORG_GTD_TIMESTAMP: <2025-01-01>
:CATEGORY: Atoms
:END:

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

** TODO OCR Permaculture Design Manual :permaculture:
:PROPERTIES:
:ID:       OCR-Permaculture-Design-Manual-2024-02-04-18-18-36
:ORG_GTD_TIMESTAMP: <2025-01-01>
:CATEGORY: Writing
:END:

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

** TODO Off-grid field guide
:PROPERTIES:
:CREATED:  [2024-03-01 Fri 12:13]
:ID:       Off-grid-field-guide-2024-07-03-10-03-08
:ORG_GTD_TIMESTAMP: <2025-01-01>
:CATEGORY: Writing
:END:

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

* Someday / Future

** Architecture Astronaut Archive
*** TODO Implement Privacy-Aware Background Indexer (Local hashes for @personal, Semantic for others)
*** TODO Implement communication protocol Backpressure Handling (Queue bounds and BUSY frames in communication.lisp)
*** TODO Implement Cognitive Cycle "Rut" Recovery (Dynamic Escalation in org-skill-lisp-validator)
*** TODO Implement Asynchronous Event Bus for Telemetry (core.lisp)
*** TODO Implement Memory Eviction and Lazy Loading (LRU Cache in memory.lisp)
*** TODO Implement Two-Speed Reflection (Immediate :post-action + Latent Heartbeat)
*** TODO Implement Context-Aware Routing (Autonomous Foveal Switching on intent shift)
*** TODO Implement Intent-Shift Detector (Semantic topic-shift flagging in neuro.lisp)
*** TODO Implement Cognitive Economics (Dynamic LLM routing based on 2x2 matrix complexity)
*** TODO Implement Micro-Prolog Logic Engine (Lisp-native unification & pattern matching for Memory)
*** TODO Implement Autonomous Logic Synthesis (Hybrid SubSys2: Neural pattern detection + Symbolic rule generation)
*** TODO Implement Continuous Vibe (Sentiment-weighted personality in system-prompt)
*** TODO Implement Search-Before-Think Bridge (Autonomous target-id population via vector search in perceive-gate)
*** TODO Implement Belief Revision & Reconciliation (Audit deltas for contradictions in scribe-engine.lisp)
*** TODO Implement Real-Time Entity Linking (Automatic profile loading for People/Objects in perceive-gate)
*** TODO Implement Time-Series Sensor Skill (Signal-to-Symbol distillation for telemetry)
*** TODO Implement Autonomous Image Analysis (Send image bytes to LLM for nodes with attachments in llm-gateway.lisp)
*** TODO Draft comprehensive Threat Model for Agentic Containment
*** TODO Implement Swarm Lateral Movement Gate (Intercept global state changes)
*** TODO Implement Skill Graph Visualizer in Web Dashboard
*** 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)
*** 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

** Lisp Machine Bootstrap
:ID:       lisp-machine-bootstrap
:CREATED:  [2026-03-22 Sun 14:15]
The "Endgame": Hardware-native Lisp machine implementation.
*** TODO Research existing Lisp-on-FPGA implementations
:CREATED: [2026-03-22 Sun 14:15]
*** TODO Define minimum hardware-native Lisp ISA (Instruction Set Architecture)
*** TODO Draft CLOSOS-style Virtual Machine specification
:CREATED: [2026-03-22 Sun 17:30]
*** TODO Investigate Single Address Space and Multiple Environments in CL
:PROPERTIES:
:ID:       gtd-someday
:END:

** 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 communication protocol 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
:PROPERTIES:
:ID:       gtd-habits
:END:

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