Add text parameter type; verify commands run in the owning repo root
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 4s
Work Records / validate (push) Has been cancelled

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 295952@bnt-lap001
Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
This commit is contained in:
tegwick 2026-09-29 08:33:47 +02:00
parent f790c3c11b
commit 7f8b55d036
5 changed files with 26 additions and 4 deletions

View file

@ -26,7 +26,10 @@ under any root given on the command line.
## Parameters
Each parameter has `id` (`[a-z][a-z0-9_]*`), `label`, `type`
(`string|enum|path|bool|int`), optional `values`, `default`, `pattern`, `help`.
(`string|text|enum|path|bool|int`), optional `values`, `default`, `pattern`, `help`.
`text` is single-line free text for use inside double quotes: spaces are allowed and
shell metacharacters (`; & | ` $ < > \ ' "`) are not. Every other type also rejects spaces.
**`secret` may only be `false`**: a parameter is never a secret. Steps refer to
parameters as `{{id}}`. An undefined placeholder, an unused parameter, an
`enum` without `values`, or a default that violates its `pattern`/`values` is a
@ -48,6 +51,9 @@ enabled for that step), `risk` (`read-only|changes-state|attended|destructive`),
A step with `risk` of `changes-state`, `attended` or `destructive` must state a
`rollback` (which may say "not reversible" and why).
Commands are relative to the root of the repository that owns the pack. Verify
commands run there, so a pack can call `make` targets and repo-relative scripts.
## Exercise status
Following the attended-procedure standard, a pack is `unexercised` until an