feat: recover stale running agent runs
This commit is contained in:
@@ -180,6 +180,18 @@ MEMIND_AGENT_RUN_WORKER_EXPECT_RUNNING=1 node /Users/john/Project/Memind/scripts
|
||||
|
||||
The worker LaunchAgent must have `KeepAlive=true` during all-user gray so a clean worker exit does not leave code-run queue processing stopped.
|
||||
|
||||
Check stale running recovery before and after worker changes:
|
||||
|
||||
```bash
|
||||
node /Users/john/Project/Memind/scripts/agent-run-worker.mjs --recover-stale --stale-ms 900000 --limit 5
|
||||
```
|
||||
|
||||
Apply only when the listed running rows are known stale:
|
||||
|
||||
```bash
|
||||
node /Users/john/Project/Memind/scripts/agent-run-worker.mjs --recover-stale --apply-recovery --stale-ms 900000 --limit 5
|
||||
```
|
||||
|
||||
8. Submit only code runs with validation metadata.
|
||||
|
||||
Required user message metadata:
|
||||
|
||||
Reference in New Issue
Block a user