openclaw/test/fixtures
兰之 6950e85605
fix(agents): allow hyphenated subagent task names
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>
2026-05-29 10:10:12 +01:00
..
agents/prompt-snapshots fix(agents): allow hyphenated subagent task names 2026-05-29 10:10:12 +01:00
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 Harden macOS shell wrapper allowlist parsing [AI] (#78518) 2026-05-08 10:18:41 +05:30
talk-config-contract.json Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
telegram-qa-summary-rtt.json test(rtt): expose warm sample metrics 2026-05-01 20:52:27 +05:30