feat(#2621): tighten bash task names to a valid ident ([a-z0-9-])

This commit is contained in:
damocles 2026-07-22 18:13:47 +02:00
commit e58457da17
5 changed files with 27 additions and 34 deletions

View file

@ -33,8 +33,8 @@ delivered the terminal result inline, in which case no todo is created
the loose-ends list — a memorable label instead of an opaque id. A name
is **reusable once its previous task has finished**; submitting a
name whose task is still `pending`/`running` is rejected. Allowed
characters: ASCII letters, digits, `.`, `_`, `-` (max 64). Omit for
the auto-generated id.
characters: `[a-z0-9-]` (a valid identifier — lowercase, digits,
hyphen; max 63). Omit for the auto-generated id.
Exposed as `mcp__bash__run`.