feat: add isolated historical replay calibration

This commit is contained in:
ImBenji
2026-08-04 22:00:11 +01:00
parent be18eb77f0
commit 5877783862
13 changed files with 308 additions and 17 deletions
+8
View File
@@ -0,0 +1,8 @@
const path = require('path');
const { runReplayWorker } = require('./replayWorker');
runReplayWorker({
archivePath: process.env.DURIIN_DB || path.resolve('/data/archive.sqlite'),
intelligencePath: process.env.INTELLIGENCE_DB || path.resolve('/data/intelligence.sqlite'),
pollMs: Number(process.env.AUTONOMY_REPLAY_POLL_MS) || 15000,
}).catch((error) => { console.error('[replay] fatal:', error); process.exit(1); });