disclaw/src
Nick Tabeling dc4a1ef241 feat(runtime): add startup lockfile to prevent double-start
Implements acquireLock() in src/runtime/lockfile.ts that writes a PID-stamped
lock file under workspaces_root, detects live vs stale locks via process.kill(pid, 0),
and returns a release function. src/index.ts acquires the lock before DB init and
releases it in the graceful-shutdown handler. Four unit tests cover acquire, duplicate-
acquire rejection, stale-lock recovery, and release.
2026-04-09 11:49:17 +02:00
..
agent Merge pull request 'DIS-006: settings.json-Template haerten + CLAUDE.md Injection-Klausel' (#24) from phase-0/harden-settings-and-claudemd into main 2026-04-09 09:44:33 +00:00
commands fix(new-agent): add path traversal containment check 2026-04-09 11:19:28 +02:00
config fix(runner): add sanitizedEnv, remove process.env passthrough 2026-04-09 10:39:06 +02:00
db initial 2026-04-08 14:21:19 +02:00
runtime feat(runtime): add startup lockfile to prevent double-start 2026-04-09 11:49:17 +02:00
bot.ts initial 2026-04-08 14:21:19 +02:00
index.ts feat(runtime): add startup lockfile to prevent double-start 2026-04-09 11:49:17 +02:00
router.ts initial 2026-04-08 14:21:19 +02:00