mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-15 15:13:48 -06:00
38a5390e2e
sessions.create reset-in-place persists the retired worktree's removedAt before the RPC resolves, but a successor worktree create that rolled the same random crustacean slug (1/420) hit nameIsUnavailable's owner-match bypass and silently restored the retired registry record, clearing removedAt and reviving the old branch (flaked server.sessions.create.test.ts reset-in-place). Generated names (title slugs and random slugs) now treat the caller's removed records as collisions and take a numeric suffix; explicit worktree names keep their documented reuse/restore semantics.