MkDev11
e37a3050d9
fix(agents): clean false-live session locks (#76854)
Summary:
- Clean false-live session locks whose live PID resolves to a non-OpenClaw owner.
- Tighten owner argv detection so generic JS entrypoints require an OpenClaw command token.
- Add regression coverage for generic non-OpenClaw entrypoints and preserve real gateway argv.
Verification:
- pnpm test src/agents/session-write-lock.test.ts src/commands/doctor-session-locks.test.ts
- pnpm test src/infra/gateway-process-argv.test.ts
- pnpm exec oxfmt --check --threads=1 src/agents/session-write-lock.ts src/agents/session-write-lock.test.ts src/commands/doctor-session-locks.ts src/commands/doctor-session-locks.test.ts docs/gateway/doctor.md CHANGELOG.md
- node scripts/run-oxlint.mjs src/agents/session-write-lock.ts src/agents/session-write-lock.test.ts src/commands/doctor-session-locks.ts src/commands/doctor-session-locks.test.ts
- CI workflow success on d42f9c46ef
Co-authored-by: mkdev11 <MkDev11@users.noreply.github.com>
2026-05-10 02:13:55 -04:00
..
2026-05-07 20:05:19 -05:00
2026-05-07 10:24:19 +01:00
2026-05-05 22:35:00 -07:00
2026-05-05 19:54:53 -07:00
2026-05-07 09:07:18 +01:00
2026-05-09 10:52:30 -04:00
2026-05-10 00:50:10 -04:00
2026-05-08 06:49:37 +01:00
2026-05-10 06:17:58 +01:00
2026-05-09 20:44:18 -04:00
2026-05-09 19:02:50 -07:00
2026-05-10 00:50:10 -04:00
2026-05-09 19:02:50 -07:00
2026-05-05 21:01:44 -07:00
2026-05-10 02:13:55 -04:00
2026-04-30 16:30:56 +01:00
2026-05-02 07:50:39 +01:00
2026-05-07 12:53:01 -07:00
2026-05-08 05:35:21 +01:00
2026-05-05 22:44:56 -07:00
2026-05-06 03:02:02 -07:00
2026-04-26 23:58:35 -07:00
2026-05-05 17:38:21 +01:00
2026-05-05 22:44:56 -07:00
2026-05-05 22:44:56 -07:00
2026-04-26 21:56:59 -07:00
2026-05-06 02:01:52 -07:00
2026-05-04 00:41:55 +01:00
2026-05-05 20:14:18 -07:00
2026-05-06 02:01:52 -07:00
2026-05-10 00:50:10 -04:00
2026-04-27 00:01:52 -07:00
2026-05-05 21:01:44 -07:00
2026-05-07 20:05:19 -05:00
2026-05-03 12:20:52 +01:00
2026-04-23 13:15:17 -07:00
2026-04-28 08:13:21 +01:00
2026-05-08 09:28:51 -04:00
2026-05-07 20:05:19 -05:00
2026-05-09 14:59:34 +01:00
2026-04-28 08:13:21 +01:00