mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 09:16: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> |
||
|---|---|---|
| .. | ||
| agents/prompt-snapshots | ||
| child-process-bridge | ||
| hooks-install | ||
| plugins-install | ||
| ts-topology/basic | ||
| cli-startup-bench.json | ||
| exec-allowlist-shell-parser-parity.json | ||
| exec-wrapper-resolution-parity.json | ||
| plugin-extension-import-boundary-inventory.json | ||
| system-run-approval-binding-contract.json | ||
| system-run-approval-mismatch-contract.json | ||
| system-run-command-contract.json | ||
| talk-config-contract.json | ||
| telegram-qa-summary-rtt.json | ||