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-10 06:13:38 +01:00
2026-05-10 00:18:36 -04:00
2026-04-04 13:36:58 +09:00
2026-05-10 02:05:31 -04:00
2026-05-10 13:53:58 +08:00
2026-05-07 19:43:06 -07:00
2026-05-09 21:34:33 -07:00
2026-05-10 06:39:54 +01:00
2026-05-06 08:49:27 -07:00
2026-05-02 07:49:12 +01:00
2026-05-10 02:13:55 -04:00
2026-05-10 06:39:54 +01:00
2026-04-13 18:03:44 +08:00
2026-05-10 11:37:37 +05:30
2026-05-09 21:20:06 -04:00
2026-05-03 13:46:26 +09:00
2026-05-07 13:07:03 +01:00
2026-05-10 06:29:08 +01:00
2026-05-10 06:17:58 +01:00
2026-05-10 00:18:36 -04:00
2026-05-10 10:28:48 +08:00
2026-05-08 01:18:04 +10:00
2026-04-28 03:13:20 +01:00
2026-05-09 23:53:57 +01:00
2026-05-02 22:37:01 +01:00
2026-05-10 11:37:37 +05:30
2026-05-10 00:50:10 -04:00
2026-05-08 06:01:23 +01:00
2026-05-07 10:24:19 +01:00
2026-05-02 04:42:55 +01:00
2026-05-09 20:44:18 -04:00
2026-04-12 09:09:50 +01:00
2026-05-05 21:14:55 -07:00
2026-05-09 19:02:50 -07:00
2026-05-07 13:07:03 +01:00
2026-05-06 03:02:02 -07:00
2026-05-05 21:14:55 -07:00
2026-05-05 17:38:21 +01:00
2026-04-26 23:57:10 -07:00
2026-05-05 21:14:55 -07:00
2026-04-23 20:40:15 -07:00
2026-04-17 16:05:10 +01:00
2026-04-23 20:40:15 -07:00
2026-04-29 14:36:33 -07:00