Files
TORCH/torch-config.example.json
T
google-labs-jules[bot]andPR0M3TH3AN 7fdd2f7501 fix(lint): resolve duplicate exports and consolidate utilities
- `src/lock-utils.mjs`: Removed duplicate definition of `mergeRelayList` (already re-exported).
- `src/lock-publisher.mjs`: Removed duplicate definitions of `secureRandom`, `withTimeout`, and `MAX_RANDOM`. Now imports them from `src/lock-utils.mjs`. Removed unused `randomInt` import.
- `src/lock-ops.mjs`: Removed duplicate import of `relayListLabel` and local definition of `withTimeout`.
- `test/utils.test.mjs`, `test/utils-async.test.mjs`: Updated imports to point to `src/lock-utils.mjs` for moved utilities.

Verified locally with `npm run lint` and `npm test`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:33:40 +00:00

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": []
}
}
}