nexo-brain 5.3.26 → 5.3.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/package.json +1 -1
  3. package/src/hook_guardrails.py +44 -0
  4. package/src/server.py +3 -0
  5. package/src/tools_sessions.py +6 -1
  6. package/src/dashboard/static/favicon 2.svg +0 -32
  7. package/src/dashboard/static/nexo-logo 2.png +0 -0
  8. package/src/dashboard/static/nexo-logo 2.svg +0 -40
  9. package/src/dashboard/static/style 2.css +0 -2458
  10. package/src/dashboard/templates/adaptive 2.html +0 -118
  11. package/src/dashboard/templates/artifacts 2.html +0 -133
  12. package/src/dashboard/templates/backups 2.html +0 -136
  13. package/src/dashboard/templates/base 2.html +0 -417
  14. package/src/dashboard/templates/calendar 2.html +0 -591
  15. package/src/dashboard/templates/chat 2.html +0 -356
  16. package/src/dashboard/templates/claims 2.html +0 -259
  17. package/src/dashboard/templates/cortex 2.html +0 -321
  18. package/src/dashboard/templates/credentials 2.html +0 -128
  19. package/src/dashboard/templates/crons 2.html +0 -370
  20. package/src/dashboard/templates/dashboard 2.html +0 -494
  21. package/src/dashboard/templates/dreams 2.html +0 -252
  22. package/src/dashboard/templates/email 2.html +0 -160
  23. package/src/dashboard/templates/evolution 2.html +0 -189
  24. package/src/dashboard/templates/feed 2.html +0 -249
  25. package/src/dashboard/templates/followup_health 2.html +0 -170
  26. package/src/dashboard/templates/graph 2.html +0 -201
  27. package/src/dashboard/templates/guard 2.html +0 -259
  28. package/src/dashboard/templates/inbox 2.html +0 -251
  29. package/src/dashboard/templates/memory 2.html +0 -420
  30. package/src/dashboard/templates/operations 2.html +0 -608
  31. package/src/dashboard/templates/plugins 2.html +0 -185
  32. package/src/dashboard/templates/protocol 2.html +0 -199
  33. package/src/dashboard/templates/rules 2.html +0 -246
  34. package/src/dashboard/templates/sentiment 2.html +0 -247
  35. package/src/dashboard/templates/sessions 2.html +0 -218
  36. package/src/dashboard/templates/skills 2.html +0 -329
  37. package/src/dashboard/templates/somatic 2.html +0 -73
  38. package/src/dashboard/templates/triggers 2.html +0 -133
  39. package/src/dashboard/templates/trust 2.html +0 -360
  40. package/src/db/__init__ 2.py +0 -259
  41. package/src/db/_core 2.py +0 -437
  42. package/src/db/_credentials 2.py +0 -124
  43. package/src/db/_episodic 2.py +0 -762
  44. package/src/db/_evolution 2.py +0 -54
  45. package/src/db/_fts 2.py +0 -406
  46. package/src/db/_goal_profiles 2.py +0 -376
  47. package/src/db/_hot_context 2.py +0 -660
  48. package/src/db/_outcomes 2.py +0 -800
  49. package/src/db/_personal_scripts 2.py +0 -582
  50. package/src/db/_sessions 2.py +0 -330
  51. package/src/db/_tasks 2.py +0 -91
  52. package/src/db/_watchers 2.py +0 -173
  53. package/src/doctor/formatters 2.py +0 -52
  54. package/src/doctor/models 2.py +0 -69
  55. package/src/doctor/planes 2.py +0 -87
  56. package/src/doctor/providers/__init__ 2.py +0 -1
  57. package/src/doctor/providers/deep 2.py +0 -367
  58. package/src/evolution_cycle 2.py +0 -519
  59. package/src/hooks/auto_capture 2.py +0 -208
  60. package/src/hooks/caffeinate-guard 2.sh +0 -8
  61. package/src/hooks/capture-session 2.sh +0 -21
  62. package/src/hooks/capture-tool-logs 2.sh +0 -158
  63. package/src/hooks/daily-briefing-check 2.sh +0 -33
  64. package/src/hooks/heartbeat-enforcement 2.py +0 -90
  65. package/src/hooks/heartbeat-posttool 2.sh +0 -18
  66. package/src/hooks/inbox-hook 2.sh +0 -76
  67. package/src/hooks/post-compact 2.sh +0 -152
  68. package/src/hooks/pre-compact 2.sh +0 -169
  69. package/src/hooks/protocol-guardrail 2.sh +0 -10
  70. package/src/hooks/protocol-pretool-guardrail 2.sh +0 -9
  71. package/src/hooks/session-stop 2.sh +0 -52
  72. package/src/kg_populate 2.py +0 -292
  73. package/src/maintenance 2.py +0 -53
  74. package/src/memory_backends 2.py +0 -71
  75. package/src/migrate_embeddings 2.py +0 -124
  76. package/src/nexo_sdk 2.py +0 -103
  77. package/src/observability 2.py +0 -199
  78. package/src/plugin_loader 2.py +0 -217
  79. package/src/plugins/__init__ 2.py +0 -0
  80. package/src/plugins/artifact_registry 2.py +0 -450
  81. package/src/plugins/backup 2.py +0 -127
  82. package/src/plugins/claims_tools 2.py +0 -119
  83. package/src/plugins/cognitive_memory 2.py +0 -609
  84. package/src/plugins/core_rules 2.py +0 -252
  85. package/src/plugins/cortex 2.py +0 -1155
  86. package/src/plugins/entities 2.py +0 -67
  87. package/src/plugins/episodic_memory 2.py +0 -560
  88. package/src/plugins/evolution 2.py +0 -167
  89. package/src/plugins/goal_engine 2.py +0 -142
  90. package/src/plugins/guard 2.py +0 -862
  91. package/src/plugins/impact 2.py +0 -29
  92. package/src/plugins/knowledge_graph_tools 2.py +0 -137
  93. package/src/plugins/media_memory_tools 2.py +0 -98
  94. package/src/plugins/memory_export 2.py +0 -196
  95. package/src/plugins/outcomes 2.py +0 -130
  96. package/src/plugins/personal_scripts 2.py +0 -117
  97. package/src/plugins/preferences 2.py +0 -47
  98. package/src/plugins/protocol 2.py +0 -1449
  99. package/src/plugins/simple_api 2.py +0 -106
  100. package/src/plugins/skills 2.py +0 -341
  101. package/src/plugins/state_watchers 2.py +0 -79
  102. package/src/plugins/update 2.py +0 -986
  103. package/src/plugins/user_state_tools 2.py +0 -43
  104. package/src/plugins/workflow 2.py +0 -588
  105. package/src/protocol_settings 2.py +0 -59
  106. package/src/public_contribution 2.py +0 -466
  107. package/src/public_evolution_queue 2.py +0 -241
  108. package/src/requirements 2.txt +0 -14
  109. package/src/retroactive_learnings 2.py +0 -373
  110. package/src/rules/__init__ 2.py +0 -0
  111. package/src/rules/core-rules 2.json +0 -331
  112. package/src/rules/migrate 2.py +0 -207
  113. package/src/runtime_power 2.py +0 -874
  114. package/src/script_registry 2.py +0 -1559
  115. package/src/scripts/check-context 2.py +0 -272
  116. package/src/scripts/deep-sleep/apply_findings 2.py +0 -2327
  117. package/src/scripts/deep-sleep/collect 2.py +0 -928
  118. package/src/scripts/deep-sleep/extract 2.py +0 -330
  119. package/src/scripts/deep-sleep/extract-prompt 2.md +0 -285
  120. package/src/scripts/deep-sleep/synthesize 2.py +0 -312
  121. package/src/scripts/deep-sleep/synthesize-prompt 2.md +0 -336
  122. package/src/scripts/nexo-agent-run 2.py +0 -75
  123. package/src/scripts/nexo-auto-update 2.py +0 -6
  124. package/src/scripts/nexo-backup 2.sh +0 -25
  125. package/src/scripts/nexo-brain-activation 2.sh +0 -140
  126. package/src/scripts/nexo-catchup 2.py +0 -300
  127. package/src/scripts/nexo-cognitive-decay 2.py +0 -257
  128. package/src/scripts/nexo-cortex-cycle 2.py +0 -293
  129. package/src/scripts/nexo-cron-wrapper 2.sh +0 -53
  130. package/src/scripts/nexo-daily-self-audit 2.py +0 -2161
  131. package/src/scripts/nexo-dashboard 2.sh +0 -29
  132. package/src/scripts/nexo-deep-sleep 2.sh +0 -86
  133. package/src/scripts/nexo-evolution-run 2.py +0 -1664
  134. package/src/scripts/nexo-followup-hygiene 2.py +0 -139
  135. package/src/scripts/nexo-hook-record 2.py +0 -42
  136. package/src/scripts/nexo-immune 2.py +0 -936
  137. package/src/scripts/nexo-impact-scorer 2.py +0 -117
  138. package/src/scripts/nexo-inbox-hook 2.sh +0 -74
  139. package/src/scripts/nexo-install 2.py +0 -6
  140. package/src/scripts/nexo-learning-housekeep 2.py +0 -401
  141. package/src/scripts/nexo-learning-validator 2.py +0 -266
  142. package/src/scripts/nexo-migrate 2.py +0 -260
  143. package/src/scripts/nexo-outcome-checker 2.py +0 -127
  144. package/src/scripts/nexo-postmortem-consolidator 2.py +0 -456
  145. package/src/scripts/nexo-pre-commit 2.py +0 -120
  146. package/src/scripts/nexo-prevent-sleep 2.sh +0 -35
  147. package/src/scripts/nexo-proactive-dashboard 2.py +0 -354
  148. package/src/scripts/nexo-reflection 2.py +0 -256
  149. package/src/scripts/nexo-runtime-preflight 2.py +0 -274
  150. package/src/scripts/nexo-sleep 2.py +0 -631
  151. package/src/scripts/nexo-snapshot-restore 2.sh +0 -35
  152. package/src/scripts/nexo-sync-clients 2.py +0 -16
  153. package/src/scripts/nexo-synthesis 2.py +0 -475
  154. package/src/scripts/nexo-tcc-approve 2.sh +0 -79
  155. package/src/scripts/nexo-update 2.sh +0 -306
  156. package/src/scripts/nexo-watchdog 2.sh +0 -1207
  157. package/src/scripts/nexo-watchdog-smoke 2.py +0 -119
  158. package/src/scripts/rehydrate_learnings_from_archive 2.py +0 -245
  159. package/src/server 2.py +0 -1296
  160. package/src/skills/run-nexo-audit-phase/guide 2.md +0 -43
  161. package/src/skills/run-nexo-audit-phase/skill 2.json +0 -59
  162. package/src/skills/run-nexo-core-fix-cycle/guide 2.md +0 -17
  163. package/src/skills/run-nexo-core-fix-cycle/script 2.py +0 -276
  164. package/src/skills/run-nexo-core-fix-cycle/skill 2.json +0 -58
  165. package/src/skills/run-release-final-audit/guide 2.md +0 -16
  166. package/src/skills/run-release-final-audit/script 2.py +0 -259
  167. package/src/skills/run-release-final-audit/skill 2.json +0 -77
  168. package/src/skills/run-runtime-doctor/guide 2.md +0 -12
  169. package/src/skills/run-runtime-doctor/script 2.py +0 -21
  170. package/src/skills/run-runtime-doctor/skill 2.json +0 -25
  171. package/src/skills_runtime 2.py +0 -932
  172. package/src/state_watchers_runtime 2.py +0 -475
  173. package/src/storage_router 2.py +0 -32
  174. package/src/system_catalog 2.py +0 -786
  175. package/src/tools_coordination 2.py +0 -103
  176. package/src/tools_credentials 2.py +0 -68
  177. package/src/tools_drive 2.py +0 -487
  178. package/src/tools_hot_context 2.py +0 -163
  179. package/src/tools_learnings 2.py +0 -612
  180. package/src/tools_menu 2.py +0 -229
  181. package/src/tools_reminders 2.py +0 -88
  182. package/src/tools_reminders_crud 2.py +0 -363
  183. package/src/tools_sessions 2.py +0 -1054
  184. package/src/tools_system_catalog 2.py +0 -19
  185. package/src/tools_task_history 2.py +0 -57
  186. package/src/tools_transcripts 2.py +0 -98
  187. package/src/transcript_utils 2.py +0 -412
  188. package/src/user_context 2.py +0 -46
  189. package/src/user_data_portability 2.py +0 -328
  190. package/src/user_state_model 2.py +0 -170
  191. package/templates/CLAUDE.md 2.template +0 -108
  192. package/templates/CODEX.AGENTS.md 2.template +0 -66
  193. package/templates/launchagents/README 2.md +0 -132
  194. package/templates/launchagents/com.nexo.auto-close-sessions 2.plist +0 -39
  195. package/templates/launchagents/com.nexo.catchup 2.plist +0 -39
  196. package/templates/launchagents/com.nexo.cognitive-decay 2.plist +0 -40
  197. package/templates/launchagents/com.nexo.dashboard 2.plist +0 -43
  198. package/templates/launchagents/com.nexo.deep-sleep 2.plist +0 -43
  199. package/templates/launchagents/com.nexo.evolution 2.plist +0 -44
  200. package/templates/launchagents/com.nexo.followup-hygiene 2.plist +0 -45
  201. package/templates/launchagents/com.nexo.immune 2.plist +0 -41
  202. package/templates/launchagents/com.nexo.postmortem 2.plist +0 -45
  203. package/templates/launchagents/com.nexo.self-audit 2.plist +0 -47
  204. package/templates/launchagents/com.nexo.synthesis 2.plist +0 -45
  205. package/templates/launchagents/com.nexo.watchdog 2.plist +0 -37
  206. package/templates/nexo_helper 2.py +0 -301
  207. package/templates/openclaw 2.json +0 -13
  208. package/templates/plugin-template 2.py +0 -40
  209. package/templates/script-template 2.py +0 -59
  210. package/templates/script-template 2.sh +0 -13
  211. package/templates/skill-script-template 2.py +0 -48
  212. package/templates/skill-template 2.md +0 -33
@@ -1,132 +0,0 @@
1
- # NEXO LaunchAgent Templates
2
-
3
- macOS LaunchAgents that run NEXO's background processes automatically. These keep the system alive, consistent, and self-improving without any manual intervention.
4
-
5
- ## What are LaunchAgents?
6
-
7
- LaunchAgents are macOS's native mechanism for running programs automatically per user session. They are XML property list (`.plist`) files stored in `~/Library/LaunchAgents/`. `launchd` reads them at login and keeps them running according to their schedule. Unlike cron, they survive sleep/wake cycles and can run at load, on a fixed interval, or at a specific calendar time.
8
-
9
- ## Installation
10
-
11
- ### 1. Set your paths
12
-
13
- All templates use two placeholders that you must replace before installing:
14
-
15
- | Placeholder | Replace with |
16
- |------------|-------------|
17
- | `{{NEXO_HOME}}` | Absolute path to your NEXO knowledge base directory (default: `~/.nexo` or `$NEXO_HOME`) |
18
- | `{{HOME}}` | Your home directory (e.g. `/Users/yourname` or `$HOME`) |
19
-
20
- Replace them in every file you want to install:
21
-
22
- ```bash
23
- # Example — replace both placeholders in all files at once
24
- NEXO_HOME="$HOME/.nexo"
25
- HOME_DIR="$HOME"
26
-
27
- for f in *.plist; do
28
- sed -i '' \
29
- "s|{{NEXO_HOME}}|$NEXO_HOME|g; s|{{HOME}}|$HOME_DIR|g" \
30
- "$f"
31
- done
32
- ```
33
-
34
- ### 2. Check the Python path
35
-
36
- Each plist calls `/usr/bin/python3`. If your Python 3 is elsewhere (e.g. Homebrew at `/opt/homebrew/bin/python3`), update the `ProgramArguments` first line accordingly.
37
-
38
- ### 3. Create required directories
39
-
40
- The agents write logs to `{{NEXO_HOME}}/logs/` and `{{NEXO_HOME}}/coordination/`. Create them if they do not exist:
41
-
42
- ```bash
43
- mkdir -p "$NEXO_HOME/logs" "$NEXO_HOME/coordination"
44
- ```
45
-
46
- ### 4. Copy and load
47
-
48
- ```bash
49
- # Copy plists to LaunchAgents directory
50
- cp *.plist ~/Library/LaunchAgents/
51
-
52
- # Load each one
53
- for f in ~/Library/LaunchAgents/com.nexo.*.plist; do
54
- launchctl load "$f"
55
- done
56
- ```
57
-
58
- ### Unloading
59
-
60
- ```bash
61
- for f in ~/Library/LaunchAgents/com.nexo.*.plist; do
62
- launchctl unload "$f"
63
- done
64
- ```
65
-
66
- ### Checking status
67
-
68
- ```bash
69
- # List all loaded NEXO agents
70
- launchctl list | grep nexo
71
-
72
- # Check a specific one (exit code 0 = running or loaded OK)
73
- launchctl list com.nexo.watchdog
74
- ```
75
-
76
- ---
77
-
78
- ## Agents
79
-
80
- ### Essential
81
-
82
- These agents are required for NEXO to function correctly. Install all of them.
83
-
84
- | File | Schedule | What it does |
85
- |------|----------|-------------|
86
- | `com.nexo.auto-close-sessions.plist` | Every 5 min | Expires stale sessions (no heartbeat for 15+ min). Prevents ghost sessions from cluttering the startup menu. |
87
- | `com.nexo.watchdog.plist` | Every 30 min | Monitors that key services and cron jobs are alive. Writes `watchdog-status.json` and sets a flag when failures are detected. NEXO reads this at startup and alerts you before anything else. |
88
- | `com.nexo.catchup.plist` | At login | Processes overdue followups and missed scheduled jobs after reboot or sleep. Ensures no maintenance task is permanently skipped. |
89
-
90
- ### Core background intelligence
91
-
92
- These agents power NEXO's learning and memory systems. Strongly recommended.
93
-
94
- | File | Schedule | What it does |
95
- |------|----------|-------------|
96
- | `com.nexo.deep-sleep.plist` | Daily 04:30 | Reads full session transcripts from the previous day and extracts learnings that were not captured during live sessions. NEXO's "REM sleep." |
97
- | `com.nexo.cognitive-decay.plist` | Daily 03:00 | Applies Ebbinghaus forgetting curve to the vector memory database. Reduces confidence scores for memories that have not been reinforced recently, keeping retrieval fresh and accurate. |
98
- | `com.nexo.synthesis.plist` | Every 2 hours | Aggregates recent session diaries, error patterns, and pending items into `coordination/daily-synthesis.md`. This file is read at every session startup. |
99
- | `com.nexo.postmortem.plist` | Daily 23:30 | Produces an end-of-day consolidated summary of decisions, changes, and errors. Feeds into the next morning's synthesis. |
100
- | `com.nexo.self-audit.plist` | Daily 07:00 | Audits the learning system health. Flags repeated errors, calculates the learning repetition rate, and alerts if it exceeds 30%. |
101
- | `com.nexo.immune.plist` | Every 30 min | Scans the knowledge base for internal contradictions and stale data. Prevents memory drift over time. |
102
-
103
- ### Weekly maintenance
104
-
105
- | File | Schedule | What it does |
106
- |------|----------|-------------|
107
- | `com.nexo.evolution.plist` | Machine-staggered weekly (managed installs) | Reviews the week's patterns and proposes improvements to NEXO's own configuration. Managed installs spread each machine across the week to avoid PR spikes; the static plist template is only a manual fallback. |
108
- | `com.nexo.followup-hygiene.plist` | Sundays 05:00 | Cleans up stale followups and reminders. Archives long-pending items and deduplicates entries. Keeps the operational database noise-free. |
109
-
110
- ### Optional
111
-
112
- | File | Schedule | What it does |
113
- |------|----------|-------------|
114
- | `com.nexo.dashboard.plist` | Persistent (KeepAlive) | Runs the NEXO web dashboard on `http://localhost:6174`. Provides a browser-based view of sessions, reminders, followups, and system health. Only needed if you want the dashboard UI. |
115
-
116
- ---
117
-
118
- ## Logs
119
-
120
- All agents write stdout and stderr to files under `{{NEXO_HOME}}/logs/` (or `{{NEXO_HOME}}/coordination/` for the session-related ones). Check these first when debugging:
121
-
122
- ```bash
123
- tail -50 "$NEXO_HOME/logs/watchdog-stdout.log"
124
- tail -50 "$NEXO_HOME/logs/deep-sleep-stderr.log"
125
- ```
126
-
127
- ## Notes
128
-
129
- - All times are local machine time.
130
- - If the machine is off or sleeping when a scheduled time fires, `launchd` will NOT run the job retroactively — that is what `com.nexo.catchup` handles at the next login.
131
- - The `com.nexo.dashboard` agent uses `KeepAlive: true`, meaning macOS will restart it automatically if it exits. Unload it explicitly if you want to stop it.
132
- - Python path in the templates is `/usr/bin/python3` (macOS system Python). If your scripts require packages installed in a virtualenv or Homebrew Python, update the path to match (e.g. `/opt/homebrew/bin/python3`).
@@ -1,39 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.auto-close-sessions
3
- Runs auto_close_sessions.py every 5 minutes to expire stale NEXO
4
- sessions. Sessions are considered stale after 15 minutes of no
5
- heartbeat activity. Closing them prevents ghost sessions from
6
- appearing in the active sessions list at startup. Runs at load
7
- so it is always active immediately after login.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.auto-close-sessions</string>
14
- <key>ProgramArguments</key>
15
- <array>
16
- <string>/usr/bin/python3</string>
17
- <string>{{NEXO_HOME}}/auto_close_sessions.py</string>
18
- </array>
19
- <key>StartInterval</key>
20
- <integer>300</integer>
21
- <key>StandardOutPath</key>
22
- <string>{{NEXO_HOME}}/coordination/auto-close-stdout.log</string>
23
- <key>StandardErrorPath</key>
24
- <string>{{NEXO_HOME}}/coordination/auto-close-stderr.log</string>
25
- <key>RunAtLoad</key>
26
- <true/>
27
- <key>EnvironmentVariables</key>
28
- <dict>
29
- <key>PATH</key>
30
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
31
- <key>NEXO_SKIP_FS_INDEX</key>
32
- <string>1</string>
33
- <key>NEXO_HOME</key>
34
- <string>{{NEXO_HOME}}</string>
35
- <key>NEXO_CODE</key>
36
- <string>{{NEXO_CODE}}</string>
37
- </dict>
38
- </dict>
39
- </plist>
@@ -1,39 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.catchup
3
- Runs nexo-catchup.py at login and every 15 minutes so missed core
4
- windows are recovered after boot, wake, or prolonged sleep.
5
- Recovery is gated by cron_runs plus the manifest recovery contract,
6
- so catchup only replays jobs that are safe and still inside their
7
- allowed catch-up window.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.catchup</string>
14
- <key>ProgramArguments</key>
15
- <array>
16
- <string>/usr/bin/python3</string>
17
- <string>{{NEXO_HOME}}/scripts/nexo-catchup.py</string>
18
- </array>
19
- <key>RunAtLoad</key>
20
- <true/>
21
- <key>StartInterval</key>
22
- <integer>900</integer>
23
- <key>StandardOutPath</key>
24
- <string>{{NEXO_HOME}}/logs/catchup-stdout.log</string>
25
- <key>StandardErrorPath</key>
26
- <string>{{NEXO_HOME}}/logs/catchup-stderr.log</string>
27
- <key>EnvironmentVariables</key>
28
- <dict>
29
- <key>HOME</key>
30
- <string>{{HOME}}</string>
31
- <key>PATH</key>
32
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
33
- <key>NEXO_HOME</key>
34
- <string>{{NEXO_HOME}}</string>
35
- <key>NEXO_CODE</key>
36
- <string>{{NEXO_CODE}}</string>
37
- </dict>
38
- </dict>
39
- </plist>
@@ -1,40 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.cognitive-decay
3
- Runs nexo-cognitive-decay.py every day at 03:00 to apply Ebbinghaus
4
- forgetting curve decay to the cognitive memory database. Memories
5
- that have not been reinforced recently have their confidence scores
6
- reduced. This prevents stale or superseded information from
7
- dominating retrieval results and keeps the semantic memory fresh.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.cognitive-decay</string>
14
- <key>ProgramArguments</key>
15
- <array>
16
- <string>/usr/bin/python3</string>
17
- <string>{{NEXO_HOME}}/scripts/nexo-cognitive-decay.py</string>
18
- </array>
19
- <key>StartCalendarInterval</key>
20
- <dict>
21
- <key>Hour</key>
22
- <integer>3</integer>
23
- <key>Minute</key>
24
- <integer>0</integer>
25
- </dict>
26
- <key>StandardOutPath</key>
27
- <string>{{NEXO_HOME}}/logs/cognitive-decay-stdout.log</string>
28
- <key>StandardErrorPath</key>
29
- <string>{{NEXO_HOME}}/logs/cognitive-decay-stderr.log</string>
30
- <key>RunAtLoad</key>
31
- <false/>
32
- <key>EnvironmentVariables</key>
33
- <dict>
34
- <key>NEXO_HOME</key>
35
- <string>{{NEXO_HOME}}</string>
36
- <key>NEXO_CODE</key>
37
- <string>{{NEXO_CODE}}</string>
38
- </dict>
39
- </dict>
40
- </plist>
@@ -1,43 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.dashboard
3
- Keeps the NEXO web dashboard running persistently on port 6174.
4
- The dashboard provides a browser-based view of sessions, reminders,
5
- followups, learnings, and system health. Uses KeepAlive so macOS
6
- automatically restarts it if it crashes. Access it at
7
- http://localhost:6174 while the LaunchAgent is loaded.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.dashboard</string>
14
- <key>ProgramArguments</key>
15
- <array>
16
- <string>/usr/bin/python3</string>
17
- <string>-m</string>
18
- <string>dashboard.app</string>
19
- <string>--port</string>
20
- <string>6174</string>
21
- <string>--no-browser</string>
22
- </array>
23
- <key>WorkingDirectory</key>
24
- <string>{{NEXO_HOME}}</string>
25
- <key>KeepAlive</key>
26
- <true/>
27
- <key>RunAtLoad</key>
28
- <true/>
29
- <key>StandardOutPath</key>
30
- <string>/tmp/nexo-dashboard.log</string>
31
- <key>StandardErrorPath</key>
32
- <string>/tmp/nexo-dashboard.err</string>
33
- <key>EnvironmentVariables</key>
34
- <dict>
35
- <key>PATH</key>
36
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
37
- <key>NEXO_HOME</key>
38
- <string>{{NEXO_HOME}}</string>
39
- <key>NEXO_CODE</key>
40
- <string>{{NEXO_CODE}}</string>
41
- </dict>
42
- </dict>
43
- </plist>
@@ -1,43 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.deep-sleep
3
- Runs nexo-deep-sleep.sh every day at 04:30 to perform overnight
4
- consolidation. Reads the full transcripts from the previous day's
5
- sessions, extracts patterns and learnings that were not captured
6
- during live sessions, and writes them into the NEXO knowledge base.
7
- This is the "REM sleep" of NEXO — background processing that
8
- improves future performance without interrupting active work.
9
- -->
10
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
11
- <plist version="1.0">
12
- <dict>
13
- <key>Label</key>
14
- <string>com.nexo.deep-sleep</string>
15
- <key>ProgramArguments</key>
16
- <array>
17
- <string>/bin/bash</string>
18
- <string>{{NEXO_HOME}}/scripts/nexo-deep-sleep.sh</string>
19
- </array>
20
- <key>StartCalendarInterval</key>
21
- <dict>
22
- <key>Hour</key>
23
- <integer>4</integer>
24
- <key>Minute</key>
25
- <integer>30</integer>
26
- </dict>
27
- <key>StandardOutPath</key>
28
- <string>{{NEXO_HOME}}/logs/deep-sleep-stdout.log</string>
29
- <key>StandardErrorPath</key>
30
- <string>{{NEXO_HOME}}/logs/deep-sleep-stderr.log</string>
31
- <key>EnvironmentVariables</key>
32
- <dict>
33
- <key>PATH</key>
34
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
35
- <key>HOME</key>
36
- <string>{{HOME}}</string>
37
- <key>NEXO_HOME</key>
38
- <string>{{NEXO_HOME}}</string>
39
- <key>NEXO_CODE</key>
40
- <string>{{NEXO_CODE}}</string>
41
- </dict>
42
- </dict>
43
- </plist>
@@ -1,44 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.evolution
3
- Static fallback template for the weekly evolution cycle.
4
- Managed installs now derive a machine-staggered weekly slot from the
5
- cron manifest to avoid bunching public evolution PRs on Sunday.
6
- If you install this plist manually, customize Weekday/Hour/Minute
7
- yourself instead of assuming the managed stagger applies here.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.evolution</string>
14
- <key>ProgramArguments</key>
15
- <array>
16
- <string>/usr/bin/python3</string>
17
- <string>{{NEXO_HOME}}/scripts/nexo-evolution-run.py</string>
18
- </array>
19
- <key>StartCalendarInterval</key>
20
- <dict>
21
- <key>Hour</key>
22
- <integer>5</integer>
23
- <key>Minute</key>
24
- <integer>0</integer>
25
- <key>Weekday</key>
26
- <integer>0</integer>
27
- </dict>
28
- <key>StandardOutPath</key>
29
- <string>{{NEXO_HOME}}/logs/evolution-stdout.log</string>
30
- <key>StandardErrorPath</key>
31
- <string>{{NEXO_HOME}}/logs/evolution-stderr.log</string>
32
- <key>EnvironmentVariables</key>
33
- <dict>
34
- <key>HOME</key>
35
- <string>{{HOME}}</string>
36
- <key>PATH</key>
37
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
38
- <key>NEXO_HOME</key>
39
- <string>{{NEXO_HOME}}</string>
40
- <key>NEXO_CODE</key>
41
- <string>{{NEXO_CODE}}</string>
42
- </dict>
43
- </dict>
44
- </plist>
@@ -1,45 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.followup-hygiene
3
- Runs nexo-followup-hygiene.py every Sunday at 05:00 to clean up
4
- stale followups and reminders. Archives or closes items that have
5
- been pending for too long without activity, deduplicates near-
6
- identical entries, and generates a weekly hygiene report. Keeps the
7
- operational database from accumulating noise that would clutter
8
- NEXO's startup menu and priority queue.
9
- -->
10
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
11
- <plist version="1.0">
12
- <dict>
13
- <key>Label</key>
14
- <string>com.nexo.followup-hygiene</string>
15
- <key>ProgramArguments</key>
16
- <array>
17
- <string>/usr/bin/python3</string>
18
- <string>{{NEXO_HOME}}/scripts/nexo-followup-hygiene.py</string>
19
- </array>
20
- <key>StartCalendarInterval</key>
21
- <dict>
22
- <key>Weekday</key>
23
- <integer>0</integer>
24
- <key>Hour</key>
25
- <integer>5</integer>
26
- <key>Minute</key>
27
- <integer>0</integer>
28
- </dict>
29
- <key>StandardOutPath</key>
30
- <string>{{NEXO_HOME}}/logs/followup-hygiene-stdout.log</string>
31
- <key>StandardErrorPath</key>
32
- <string>{{NEXO_HOME}}/logs/followup-hygiene-stderr.log</string>
33
- <key>EnvironmentVariables</key>
34
- <dict>
35
- <key>HOME</key>
36
- <string>{{HOME}}</string>
37
- <key>PATH</key>
38
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
39
- <key>NEXO_HOME</key>
40
- <string>{{NEXO_HOME}}</string>
41
- <key>NEXO_CODE</key>
42
- <string>{{NEXO_CODE}}</string>
43
- </dict>
44
- </dict>
45
- </plist>
@@ -1,41 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.immune
3
- Runs nexo-immune.py every 30 minutes to perform immune-system checks
4
- on the NEXO knowledge base. Detects contradictions, stale data, and
5
- memory drift. Part of NEXO's self-maintenance layer — ensures the
6
- cognitive database stays internally consistent over time.
7
- -->
8
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
9
- <plist version="1.0">
10
- <dict>
11
- <key>Label</key>
12
- <string>com.nexo.immune</string>
13
-
14
- <key>ProgramArguments</key>
15
- <array>
16
- <string>/usr/bin/python3</string>
17
- <string>{{NEXO_HOME}}/scripts/nexo-immune.py</string>
18
- </array>
19
-
20
- <key>StartInterval</key>
21
- <integer>1800</integer>
22
-
23
- <key>StandardOutPath</key>
24
- <string>{{NEXO_HOME}}/coordination/immune-stdout.log</string>
25
-
26
- <key>StandardErrorPath</key>
27
- <string>{{NEXO_HOME}}/coordination/immune-stderr.log</string>
28
-
29
- <key>EnvironmentVariables</key>
30
- <dict>
31
- <key>HOME</key>
32
- <string>{{HOME}}</string>
33
- <key>PATH</key>
34
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
35
- <key>NEXO_HOME</key>
36
- <string>{{NEXO_HOME}}</string>
37
- <key>NEXO_CODE</key>
38
- <string>{{NEXO_CODE}}</string>
39
- </dict>
40
- </dict>
41
- </plist>
@@ -1,45 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.postmortem
3
- Runs nexo-postmortem-consolidator.py every day at 23:30 to produce
4
- an end-of-day postmortem. Consolidates the day's session diaries,
5
- decisions, changes, and errors into a single structured summary.
6
- This summary feeds into the next morning's synthesis and provides
7
- a permanent record of what happened each day. Does not run at load
8
- — only fires at the scheduled time.
9
- -->
10
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
11
- <plist version="1.0">
12
- <dict>
13
- <key>Label</key>
14
- <string>com.nexo.postmortem</string>
15
- <key>ProgramArguments</key>
16
- <array>
17
- <string>/usr/bin/python3</string>
18
- <string>{{NEXO_HOME}}/scripts/nexo-postmortem-consolidator.py</string>
19
- </array>
20
- <key>RunAtLoad</key>
21
- <false/>
22
- <key>StartCalendarInterval</key>
23
- <dict>
24
- <key>Hour</key>
25
- <integer>23</integer>
26
- <key>Minute</key>
27
- <integer>30</integer>
28
- </dict>
29
- <key>StandardOutPath</key>
30
- <string>{{NEXO_HOME}}/logs/postmortem-stdout.log</string>
31
- <key>StandardErrorPath</key>
32
- <string>{{NEXO_HOME}}/logs/postmortem-stderr.log</string>
33
- <key>EnvironmentVariables</key>
34
- <dict>
35
- <key>HOME</key>
36
- <string>{{HOME}}</string>
37
- <key>PATH</key>
38
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
39
- <key>NEXO_HOME</key>
40
- <string>{{NEXO_HOME}}</string>
41
- <key>NEXO_CODE</key>
42
- <string>{{NEXO_CODE}}</string>
43
- </dict>
44
- </dict>
45
- </plist>
@@ -1,47 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.self-audit
3
- Runs nexo-daily-self-audit.py every day at 07:00 to assess the
4
- health of NEXO's learning system. Calculates the learning repetition
5
- rate (how often new learnings duplicate existing ones), identifies
6
- the top areas with recurring errors, and flags learnings that have
7
- been ignored 3+ times. Alerts if the repetition rate exceeds 30%.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.self-audit</string>
14
-
15
- <key>ProgramArguments</key>
16
- <array>
17
- <string>/usr/bin/python3</string>
18
- <string>{{NEXO_HOME}}/scripts/nexo-daily-self-audit.py</string>
19
- </array>
20
-
21
- <key>StartCalendarInterval</key>
22
- <dict>
23
- <key>Hour</key>
24
- <integer>7</integer>
25
- <key>Minute</key>
26
- <integer>0</integer>
27
- </dict>
28
-
29
- <key>StandardOutPath</key>
30
- <string>{{NEXO_HOME}}/logs/self-audit-stdout.log</string>
31
-
32
- <key>StandardErrorPath</key>
33
- <string>{{NEXO_HOME}}/logs/self-audit-stderr.log</string>
34
-
35
- <key>EnvironmentVariables</key>
36
- <dict>
37
- <key>HOME</key>
38
- <string>{{HOME}}</string>
39
- <key>PATH</key>
40
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
41
- <key>NEXO_HOME</key>
42
- <string>{{NEXO_HOME}}</string>
43
- <key>NEXO_CODE</key>
44
- <string>{{NEXO_CODE}}</string>
45
- </dict>
46
- </dict>
47
- </plist>
@@ -1,45 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.synthesis
3
- Runs nexo-synthesis.py every 2 hours to generate a daily synthesis
4
- document. Aggregates session diaries, error patterns, pending items,
5
- and self-evaluation notes into coordination/daily-synthesis.md.
6
- This file is read at the start of each session to give NEXO context
7
- about what happened recently without replaying full session logs.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.synthesis</string>
14
-
15
- <key>ProgramArguments</key>
16
- <array>
17
- <string>/usr/bin/python3</string>
18
- <string>{{NEXO_HOME}}/scripts/nexo-synthesis.py</string>
19
- </array>
20
-
21
- <key>StartInterval</key>
22
- <integer>7200</integer>
23
-
24
- <key>RunAtLoad</key>
25
- <false/>
26
-
27
- <key>StandardOutPath</key>
28
- <string>{{NEXO_HOME}}/coordination/synthesis-stdout.log</string>
29
-
30
- <key>StandardErrorPath</key>
31
- <string>{{NEXO_HOME}}/coordination/synthesis-stderr.log</string>
32
-
33
- <key>EnvironmentVariables</key>
34
- <dict>
35
- <key>HOME</key>
36
- <string>{{HOME}}</string>
37
- <key>PATH</key>
38
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:__NEXO_HOME__/bin</string>
39
- <key>NEXO_HOME</key>
40
- <string>{{NEXO_HOME}}</string>
41
- <key>NEXO_CODE</key>
42
- <string>{{NEXO_CODE}}</string>
43
- </dict>
44
- </dict>
45
- </plist>
@@ -1,37 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!-- com.nexo.watchdog
3
- Runs nexo-watchdog.sh every 30 minutes to monitor system health.
4
- Checks that the NEXO MCP server, cron jobs, and key infrastructure
5
- services are alive. Writes results to watchdog-status.json and
6
- watchdog-report.txt. Sets a .watchdog-alert flag when failures are
7
- detected so the next Claude session can alert the user immediately.
8
- -->
9
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
10
- <plist version="1.0">
11
- <dict>
12
- <key>Label</key>
13
- <string>com.nexo.watchdog</string>
14
- <key>ProgramArguments</key>
15
- <array>
16
- <string>/bin/bash</string>
17
- <string>{{NEXO_HOME}}/scripts/nexo-watchdog.sh</string>
18
- </array>
19
- <key>StartInterval</key>
20
- <integer>1800</integer>
21
- <key>RunAtLoad</key>
22
- <true/>
23
- <key>StandardOutPath</key>
24
- <string>{{NEXO_HOME}}/logs/watchdog-stdout.log</string>
25
- <key>StandardErrorPath</key>
26
- <string>{{NEXO_HOME}}/logs/watchdog-stderr.log</string>
27
- <key>EnvironmentVariables</key>
28
- <dict>
29
- <key>PATH</key>
30
- <string>/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:__NEXO_HOME__/bin</string>
31
- <key>NEXO_HOME</key>
32
- <string>{{NEXO_HOME}}</string>
33
- <key>NEXO_CODE</key>
34
- <string>{{NEXO_CODE}}</string>
35
- </dict>
36
- </dict>
37
- </plist>