-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmanifest.json
More file actions
110 lines (106 loc) · 8.6 KB
/
Copy pathmanifest.json
File metadata and controls
110 lines (106 loc) · 8.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"$schema": "./manifest.schema.json",
"version": "1.0.0",
"description": "Declarative specs for Zouroboros scheduled agents on Zo Computer",
"timezone": "America/Phoenix",
"pipeline_order": [
"memory-embedding-backfill",
"memory-capture",
"unified-decay",
"self-enhancement-summary",
"vault-indexer"
],
"agents": {
"memory-embedding-backfill": {
"title": "Memory Embedding Backfill",
"package": "packages/memory",
"persona": "alaric",
"model": "byok:96666e7d-ffa2-4446-ab24-f61c3d979466",
"schedule": {
"frequency": "daily",
"hour": 3,
"minute": 15,
"rrule": "DTSTART;TZID=America/Phoenix:20260221T071818\nRRULE:FREQ=DAILY;BYHOUR=3;BYMINUTE=15"
},
"depends_on": [],
"commands": [
"curl -s http://localhost:11434/api/generate -d '{\"model\":\"qwen2.5:1.5b\",\"prompt\":\"ping\",\"stream\":false,\"keep_alive\":\"24h\",\"options\":{\"num_predict\":1}}' > /dev/null",
"bun Skills/zo-memory-system/scripts/memory.ts index",
"bun Skills/zo-memory-system/scripts/memory.ts stats"
],
"instruction": "Run a memory embedding backfill to keep hybrid search fresh, and keep the Ollama gate model warm.\n\nSteps:\n\n1. Keep the memory gate model warm by pinging Ollama:\n`curl -s http://localhost:11434/api/generate -d '{\"model\":\"qwen2.5:1.5b\",\"prompt\":\"ping\",\"stream\":false,\"keep_alive\":\"24h\",\"options\":{\"num_predict\":1}}' > /dev/null`\n\n2. In /home/workspace, run:\n`bun Skills/zo-memory-system/scripts/memory.ts index`\n\n3. Then run:\n`bun Skills/zo-memory-system/scripts/memory.ts stats`\n\nIf index or stats fails, report the error. Otherwise report the stats output and confirm the gate model is warm."
},
"memory-capture": {
"title": "Memory Capture Daily Report",
"package": "packages/memory",
"persona": "memory-manager",
"model": "byok:96666e7d-ffa2-4446-ab24-f61c3d979466",
"schedule": {
"frequency": "daily",
"hour": 4,
"minute": 0,
"rrule": "DTSTART;TZID=America/Phoenix:20260307T094840\nRRULE:FREQ=DAILY;BYHOUR=4;BYMINUTE=0"
},
"depends_on": ["memory-embedding-backfill"],
"commands": [
"bun /home/workspace/Skills/zo-memory-system/scripts/conversation-capture.ts --since 24h",
"bun /home/workspace/Skills/zo-memory-system/scripts/memory.ts stats",
"bun /home/workspace/Skills/zo-memory-system/scripts/memory.ts episodes --since '24 hours ago'",
"bun /home/workspace/Skills/zo-memory-system/scripts/conversation-capture.ts --stats"
],
"instruction": "You are the Memory Capture & Maintenance agent. Run the daily memory capture and maintenance pipeline.\n\nSteps\n\n1. Capture conversation artifacts (last 24h)\nRun: `bun /home/workspace/Skills/zo-memory-system/scripts/conversation-capture.ts --since 24h`\nThis scans /home/.z/workspaces/ for new .md, .json, .txt files from recent conversations, extracts structured facts using Ollama (qwen2.5:7b), and stores them in the memory database with embeddings.\n\n2. Check memory stats\nRun: `bun /home/workspace/Skills/zo-memory-system/scripts/memory.ts stats`\n\n3. Check recent episodes\nRun: `bun /home/workspace/Skills/zo-memory-system/scripts/memory.ts episodes --since \"24 hours ago\"`\n\n4. Check conversation capture stats\nRun: `bun /home/workspace/Skills/zo-memory-system/scripts/conversation-capture.ts --stats`\n\nReport Format: Send a summary email with bullet points covering: new artifacts processed, facts extracted/stored, contradictions detected, current DB stats (total facts, episodes, procedures), any errors. Subject line: \"Memory Capture Daily Report - {date}\". Keep concise."
},
"unified-decay": {
"title": "Unified Decay System",
"package": "packages/memory",
"persona": null,
"model": "byok:691a1f36-12f1-4b59-9665-069495d921a8",
"schedule": {
"frequency": "daily",
"hour": 5,
"minute": 0,
"rrule": "DTSTART;TZID=America/Phoenix:20260325T194106\nRRULE:FREQ=DAILY;BYHOUR=5;BYMINUTE=0"
},
"depends_on": ["memory-capture"],
"commands": [
"cd /home/workspace/Skills/zo-memory-system && bun scripts/unified-decay.ts run",
"cd /home/workspace/Skills/zo-memory-system && bun scripts/unified-decay.ts auto-resolve-stale",
"cd /home/workspace/Skills/zo-memory-system && bun scripts/unified-decay.ts stats"
],
"instruction": "You are executing the Zouroboros Unified Decay System.\n\nRun the following commands in order:\n\n1. Run unified decay calculation:\n`cd /home/workspace/Skills/zo-memory-system && bun scripts/unified-decay.ts run`\n\n2. Run auto-resolve stale open loops (resolves stale loops with no activity for 30+ days, skips living projects and graph-critical loops):\n`cd /home/workspace/Skills/zo-memory-system && bun scripts/unified-decay.ts auto-resolve-stale`\n\n3. Show unified decay statistics:\n`cd /home/workspace/Skills/zo-memory-system && bun scripts/unified-decay.ts stats`\n\nReport the results of each step. If any step fails, continue with the next steps and note the failure."
},
"self-enhancement-summary": {
"title": "Daily Self-Enhancement Summary",
"package": "packages/selfheal",
"persona": "zouroboros-engineer",
"model": "byok:96666e7d-ffa2-4446-ab24-f61c3d979466",
"schedule": {
"frequency": "daily",
"hour": 5,
"minute": 15,
"rrule": "DTSTART;TZID=America/Phoenix:20260322T162045\nRRULE:FREQ=DAILY;BYHOUR=5;BYMINUTE=15"
},
"depends_on": ["unified-decay"],
"outputs": ["/dev/shm/zouroboros-status-{date}.md"],
"delivery": "email",
"instruction": "You are executing the Zouroboros Self-Enhancement & Knowledge Report — the master synthesis run at 5:15 AM, 15 minutes after the Unified Decay agent completes.\n\nTwo jobs:\n1. Synthesize the day's memory activity into a knowledge report.\n2. Run the self-enhancement pipeline (introspect → prescribe → evolve → post-flight introspect).\n\nStandard Pipeline\n\n1. bun /home/workspace/Skills/zouroboros-introspect/scripts/introspect.ts --json --store\n2. Treat Procedure Freshness carefully:\n - If the scorecard says freshness is not scored or undefined because execution timestamps are unavailable, do NOT treat that as a critical freshness failure.\n - If the scorecard indicates procedures with no execution history, report that as a Procedure Execution Coverage anomaly instead, and list the affected procedures.\n - Only treat Procedure Freshness as actionable when it is based on real execution recency, not procedure creation time.\n3. If composite ≥ 90 or no metric is actionable, log and stop.\n4. bun /home/workspace/Skills/zouroboros-prescribe/scripts/prescribe.ts --live\n5. Governor check: if playbook REQUIRES APPROVAL, email the user with the prescription and stop.\n6. bun /home/workspace/Skills/zouroboros-evolve/scripts/evolve.ts --prescription <path>\n7. For Graph Connectivity D-playbook: iterate up to 5 additional cycles if the metric is still below target.\n8. bun /home/workspace/Skills/zouroboros-introspect/scripts/introspect.ts --json --store (post-flight)\n9. If any metric regressed by > 2 %, mark the cycle a failure.\n10. Email a report with before/after composite, targeted metric, playbook used, the full scorecard, and a separate Procedure Execution Coverage section when relevant.\n\nAll cycle results are stored as memory episodes tagged [[zouroboros.introspection]] or [[zouroboros.evolution]]."
},
"vault-indexer": {
"title": "Vault Indexer",
"package": "packages/memory",
"persona": "memory-manager",
"model": "byok:691a1f36-12f1-4b59-9665-069495d921a8",
"schedule": {
"frequency": "hourly",
"interval": 1,
"rrule": "DTSTART;TZID=America/Phoenix:20260319T170806\nRRULE:FREQ=HOURLY;INTERVAL=1"
},
"depends_on": [],
"log": "/dev/shm/vault-index.log",
"commands": [
"bun /home/workspace/Skills/zo-memory-system/scripts/vault-index.ts"
],
"instruction": "Vault Indexer -- Scheduled hourly index of the Zo vault knowledge graph.\n\nBefore running: if /dev/shm/vault-index.log exceeds 1MB, keep only the last 500 lines:\n`tail -500 /dev/shm/vault-index.log > /dev/shm/vault-index.log.tmp && mv /dev/shm/vault-index.log.tmp /dev/shm/vault-index.log`\n\nRun the vault indexer to update the knowledge graph:\n1. Execute: `bun /home/workspace/Skills/zo-memory-system/scripts/vault-index.ts 2>&1 | tee -a /dev/shm/vault-index.log`\n2. If the index shows any errors, report them briefly\n3. Otherwise just confirm: \"Vault index complete: X files, Y links\""
}
}
}