mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 15:14:10 +00:00
Allow `sessions_spawn.taskName` to accept lowercase hyphenated task slugs while keeping the existing underscore support and invalid-name rejection. Update the tool schema, system prompt wording, docs, focused tests, and generated prompt snapshots so the user/model-facing contract matches the validator. Verification: - `pnpm prompt:snapshots:check` - `node scripts/run-vitest.mjs src/agents/tools/sessions-spawn-tool.test.ts src/agents/system-prompt.test.ts` - Real behavior proof gate: https://github.com/openclaw/openclaw/actions/runs/26628449324/job/78470916945 - PR CI: https://github.com/openclaw/openclaw/actions/runs/26628441940, with failures matching current `main` at https://github.com/openclaw/openclaw/actions/runs/26628128225 Co-authored-by: chenhaoqiang <chenhaoqiang@xiaomi.com> Co-authored-by: Lanzhi <lizhan3@xiaomi.com>