chore: remove redundant expansion artifacts and empty JSON files
This commit is contained in:
11
#inbox.org#
Normal file
11
#inbox.org#
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#+title: Amr Inbox
|
||||||
|
#+begin_comment
|
||||||
|
This is the inbox. Everything goes in here when you capture it.
|
||||||
|
#+end_comment
|
||||||
|
|
||||||
|
* في رواية 1984، صدق الضحية في النهاية أن الأفكار يمكن قمعها :@personal:
|
||||||
|
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: 5289dd48-ef40-418c-9ba0-16333f3ac193
|
||||||
|
:CREATED: [2023-08-10 Thu 07:59]
|
||||||
|
:END:
|
||||||
47
notes/amero-accounts.org~
Normal file
47
notes/amero-accounts.org~
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
#+TITLE: User - Associated Accounts
|
||||||
|
#+author: User
|
||||||
|
#+created: [2026-03-16 Mon 14:28]
|
||||||
|
#+DATE: 2026-03-04
|
||||||
|
#+FILETAGS: :reference:identity:accounts
|
||||||
|
|
||||||
|
* User Account Access
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: 20260304-user-accounts
|
||||||
|
:CREATED: [2026-03-04 Tue 21:15 EST]
|
||||||
|
:END:
|
||||||
|
|
||||||
|
** Overview
|
||||||
|
|
||||||
|
Grandfathered email account with legacy access to multiple services.
|
||||||
|
|
||||||
|
** Email
|
||||||
|
- Address: user@example.com
|
||||||
|
- Type: Grandfathered account
|
||||||
|
- Status: Active
|
||||||
|
|
||||||
|
** Associated Services
|
||||||
|
|
||||||
|
| Service | Type | Notes |
|
||||||
|
|---------|------|-------|
|
||||||
|
| Facebook | Social | Grandfathered access |
|
||||||
|
| Instagram | Social | Via Facebook connection |
|
||||||
|
| OnlyFans | Content | Grandfathered access |
|
||||||
|
| X (Twitter) | Social | Formerly Twitter |
|
||||||
|
| New York Times | News | Subscription access |
|
||||||
|
| Pinterest | Social | Visual discovery |
|
||||||
|
| Amazon | E-commerce | Prime/rewards access |
|
||||||
|
| complexityexplorer.org | Education | Santa Fe Institute courses |
|
||||||
|
| Reddit | Social | Forum/community |
|
||||||
|
|
||||||
|
** Security Notes
|
||||||
|
|
||||||
|
- Credentials stored in: ~/.openclaw/credentials/user-identity.json
|
||||||
|
- Access restricted to agent context
|
||||||
|
- Do not share credentials externally
|
||||||
|
- Review access quarterly
|
||||||
|
|
||||||
|
** Account History
|
||||||
|
|
||||||
|
- Created: 2026-03-04 (assigned to agent identity)
|
||||||
|
- Previous identity: Sol
|
||||||
|
- Current identity: User
|
||||||
67
notes/org-skill-token-accountant.org~
Normal file
67
notes/org-skill-token-accountant.org~
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
#+TITLE: SKILL: Token Accountant Agent (Universal Literate Note)
|
||||||
|
#+STARTUP: content
|
||||||
|
#+FILETAGS: :infrastructure:budget:llm:psf:
|
||||||
|
#+DEPENDS_ON: skill-router
|
||||||
|
|
||||||
|
* Overview
|
||||||
|
The *Token Accountant* is the governor of the Neural Engine. it manages the cost and reliability of LLM providers on-the-fly.
|
||||||
|
|
||||||
|
* Phase B: Blueprint (PROTOCOL)
|
||||||
|
:PROPERTIES:
|
||||||
|
:STATUS: SIGNED
|
||||||
|
:END:
|
||||||
|
|
||||||
|
** 1. Architectural Intent
|
||||||
|
Maintain a dynamic, state-aware provider cascade. Detect provider "pain" (errors) and autonomously route around them.
|
||||||
|
|
||||||
|
** 2. Semantic Interfaces
|
||||||
|
|
||||||
|
*** Dynamic Routing Logic
|
||||||
|
#+begin_src lisp :tangle ../projects/org-skill-token-accountant/src/accountant-logic.lisp
|
||||||
|
(in-package :org-agent)
|
||||||
|
|
||||||
|
(defvar *provider-pain-table* (make-hash-table :test 'equal))
|
||||||
|
|
||||||
|
(defun token-accountant-record-pain (provider)
|
||||||
|
"Marks a provider as 'pained' (failed). It will be de-prioritized."
|
||||||
|
(setf (gethash provider *provider-pain-table*) (+ (get-universal-time) 600)) ; 10 min penalty
|
||||||
|
(kernel-log "ACCOUNTANT - Provider ~a de-prioritized due to failure." provider))
|
||||||
|
|
||||||
|
(defun token-accountant-get-cascade (context)
|
||||||
|
"Returns a dynamic list of providers, routing around pained ones."
|
||||||
|
(let ((all-providers '(:groq :openrouter :gemini))
|
||||||
|
(healthy nil)
|
||||||
|
(pained nil)
|
||||||
|
(now (get-universal-time)))
|
||||||
|
(dolist (p all-providers)
|
||||||
|
(if (> (or (gethash p *provider-pain-table*) 0) now)
|
||||||
|
(push p pained)
|
||||||
|
(push p healthy)))
|
||||||
|
(append (nreverse healthy) (nreverse pained))))
|
||||||
|
|
||||||
|
(defun token-accountant-get-model-for-provider (provider &optional context)
|
||||||
|
"Returns the recommended model for the provider."
|
||||||
|
(case provider
|
||||||
|
(:groq "llama-3.3-70b-versatile")
|
||||||
|
(:openrouter "meta-llama/llama-3.3-70b-instruct:free")
|
||||||
|
(:gemini "gemini-1.5-flash")
|
||||||
|
(t nil)))
|
||||||
|
|
||||||
|
(defun token-accountant-patch-kernel ()
|
||||||
|
"Hot-patches the kernel's cascade to use our dynamic logic."
|
||||||
|
(setf *provider-cascade* #'token-accountant-get-cascade))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
* Registration
|
||||||
|
#+begin_src lisp
|
||||||
|
(progn
|
||||||
|
(token-accountant-patch-kernel)
|
||||||
|
(defskill :skill-token-accountant
|
||||||
|
:priority 100
|
||||||
|
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :tool-error))
|
||||||
|
:neuro (lambda (context) nil)
|
||||||
|
:symbolic (lambda (action context)
|
||||||
|
(let ((p (getf (getf context :payload) :provider)))
|
||||||
|
(when p (token-accountant-record-pain p))
|
||||||
|
action))))
|
||||||
|
#+end_src
|
||||||
2497
org-agent-all.log
Normal file
2497
org-agent-all.log
Normal file
File diff suppressed because it is too large
Load Diff
39537
org-agent-repl.log
Normal file
39537
org-agent-repl.log
Normal file
File diff suppressed because one or more lines are too long
11
org-agent-sbcl.log
Normal file
11
org-agent-sbcl.log
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
This is SBCL 2.5.2.debian, an implementation of ANSI Common Lisp.
|
||||||
|
More information about SBCL is available at <http://www.sbcl.org/>.
|
||||||
|
|
||||||
|
SBCL is free software, provided as is, with absolutely no warranty.
|
||||||
|
It is mostly in the public domain; some portions are provided under
|
||||||
|
BSD-style licenses. See the CREDITS and COPYING files in the
|
||||||
|
distribution for more information.
|
||||||
|
|
||||||
|
debugger invoked on a ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread
|
||||||
|
#<THREAD tid=317543 "main thread" RUNNING {1003F70133}>:
|
||||||
|
Component :USOCKET not found, required by #<SYSTEM "org-agent">
|
||||||
2497
org-agent-whitelist.log
Normal file
2497
org-agent-whitelist.log
Normal file
File diff suppressed because it is too large
Load Diff
6
package-lock.json
generated
6
package-lock.json
generated
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "memex",
|
|
||||||
"lockfileVersion": 3,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
22280
state/memory-image.lisp
Normal file
22280
state/memory-image.lisp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user