mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
- Update `package.json` to include `TORCH.md` and `scripts/memory/` in distribution. - Update `README.md` to reference `TORCH.md` correctly. - Update `src/ops.mjs` to robustly handle memory policy paths in `torch-config.json` generation. - Update `.gitignore` to exclude `.scheduler-memory/`. - Update `torch-config.example.json` to include memory policy with standard defaults. Co-authored-by: PR0M3TH3AN <[email protected]>
71 lines
1.8 KiB
JSON
71 lines
1.8 KiB
JSON
{
|
|
"nostrLock": {
|
|
"namespace": "torch-example",
|
|
"relays": [
|
|
"wss://relay.damus.io",
|
|
"wss://nos.lol",
|
|
"wss://relay.primal.net"
|
|
],
|
|
"ttlSeconds": 7200,
|
|
"queryTimeoutMs": 30000,
|
|
"publishTimeoutMs": 15000,
|
|
"minSuccessfulRelayPublishes": 2,
|
|
"minActiveRelayPool": 2,
|
|
"relayFallbacks": [
|
|
"wss://relay.snort.social",
|
|
"wss://relay.nostr.band"
|
|
]
|
|
},
|
|
"dashboard": {
|
|
"defaultCadenceView": "daily",
|
|
"defaultStatusView": "active",
|
|
"auth": "admin:password"
|
|
},
|
|
"scheduler": {
|
|
"firstPromptByCadence": {
|
|
"daily": "scheduler-update-agent",
|
|
"weekly": "bug-reproducer-agent"
|
|
},
|
|
"memoryPolicyByCadence": {
|
|
"daily": {
|
|
"mode": "required",
|
|
"retrieveCommand": "node torch/scripts/memory/retrieve.mjs",
|
|
"storeCommand": "node torch/scripts/memory/store.mjs",
|
|
"retrieveSuccessMarkers": [
|
|
"MEMORY_RETRIEVED"
|
|
],
|
|
"storeSuccessMarkers": [
|
|
"MEMORY_STORED"
|
|
],
|
|
"retrieveArtifacts": [
|
|
".scheduler-memory/latest/daily/retrieve.ok"
|
|
],
|
|
"storeArtifacts": [
|
|
".scheduler-memory/latest/daily/store.ok"
|
|
]
|
|
},
|
|
"weekly": {
|
|
"mode": "required",
|
|
"retrieveCommand": "node torch/scripts/memory/retrieve.mjs",
|
|
"storeCommand": "node torch/scripts/memory/store.mjs",
|
|
"retrieveSuccessMarkers": [
|
|
"MEMORY_RETRIEVED"
|
|
],
|
|
"storeSuccessMarkers": [
|
|
"MEMORY_STORED"
|
|
],
|
|
"retrieveArtifacts": [
|
|
".scheduler-memory/latest/weekly/retrieve.ok"
|
|
],
|
|
"storeArtifacts": [
|
|
".scheduler-memory/latest/weekly/store.ok"
|
|
]
|
|
}
|
|
},
|
|
"paused": {
|
|
"daily": [],
|
|
"weekly": []
|
|
}
|
|
}
|
|
}
|