openai: OpenClaw plugins, memory migration tooling, backup and GPU scripts

Plugins for the Adolf gateway:
  - hindsight-openclaw-plugin: expanded memory recall/retain surface for the
    Cognee -> Hindsight migration
  - todoist-capture-plugin: posts captured ideas to agap-mcp's /capture-idea,
    sending the kb#180 bearer token when AGAP_MCP_TOKEN is present
  - feedback-loop-openclaw-plugin, kimi-quota-footer-plugin, cognee-mcp,
    cognee-openclaw-plugin

Plus migrate-adolf-memory-banks.mjs for the memory-bank split,
backup-hindsight-adolf.sh / backup-llm-dbs.sh (the Hindsight and adolf-state
backups that were previously missing), and gpu_preload_check.sh for the
GTX 1070 residency checks.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-30 04:41:53 +00:00
parent b27d31b3ca
commit f67a5bee67
21 changed files with 4735 additions and 101 deletions

View File

@@ -15,6 +15,8 @@
"enabled": { "type": "boolean" },
"hindsightUrl": { "type": "string" },
"bankId": { "type": "string" },
"humanBanks": { "type": "object", "additionalProperties": { "type": "string" } },
"sharedBankId": { "type": "string" },
"agents": { "type": "array", "items": { "type": "string" } },
"budget": { "type": "string", "enum": ["low", "mid", "high"] },
"recallMaxTokens": { "type": "integer", "minimum": 128, "maximum": 32000 },
@@ -22,6 +24,7 @@
"recallTimeoutMs": { "type": "integer", "minimum": 500, "maximum": 30000 },
"retainTimeoutMs": { "type": "integer", "minimum": 500, "maximum": 60000 },
"minTextChars": { "type": "integer", "minimum": 1, "maximum": 200 },
"retainMinTurnChars": { "type": "integer", "minimum": 0, "maximum": 2000 },
"types": { "type": "array", "items": { "type": "string" } },
"injectHeader": { "type": "string" }
}
@@ -37,7 +40,15 @@
},
"bankId": {
"label": "Bank ID",
"help": "Hindsight memory bank to read/write (default \"adolf\" — the same shared bank the MCP tool surface uses, so hook-based and tool-based memory stay consistent)."
"help": "Legacy single-bank fallback. Used only when humanBanks is empty (per-human partitioning disabled) — recall/retain both target this one bank for every sender, the pre-A2A-21 (kb#153) behavior."
},
"humanBanks": {
"label": "Per-Human Private Banks",
"help": "Map of interlocutor id (Matrix sender, e.g. \"@admin:mtx.alogins.net\") -> that human's private Hindsight bank id (e.g. \"adolf-alvis\"). Non-empty enables per-human memory partitioning (kb#153/A2A-21 DESIGN §5b): recall/retain resolve the bank by the turn's sender instead of a single static bankId. A sender with no entry here is treated as unknown: recall falls back to sharedBankId only (never a guessed private bank) and retain is skipped entirely — this is the hard cross-human-leakage rule, not a gap to silently work around."
},
"sharedBankId": {
"label": "Shared Household Bank",
"help": "Hindsight bank id for facts explicitly shared across all humans (e.g. \"adolf-shared\"). Recalled alongside the sender's private bank when humanBanks is non-empty. Hooks never write here automatically — promotion from a private bank to shared is a human's explicit action/approval task, never an automatic retain (DESIGN §5b hard rule)."
},
"agents": {
"label": "Target Agents",
@@ -67,6 +78,10 @@
"label": "Minimum Text Chars",
"help": "Skip recall/retain for text shorter than this."
},
"retainMinTurnChars": {
"label": "Retain Min Turn Chars",
"help": "Skip the post-turn retain (a full 2nd Kimi call) for turns whose combined User/Assistant text is shorter than this — trivial acks carry no durable facts. 0 retains everything (kb#101 token-burn gate; default 48)."
},
"types": {
"label": "Recall Types",
"help": "Fact types to recall: world, experience, observation. Defaults to world and experience."