Expand description
Shell-safe primitives for protocol guidance rendering.
Single-quote escaping, identifier validation, and command builder helpers. The renderer layer composes these rather than duplicating quoting logic.
Enums§
- Validation
Error - Validation error for shell-rendered values.
Functions§
- bn_
comment_ cmd - Build:
maw exec default -- bn bone comment add <id> '<message>' - bn_
do_ cmd - Build:
maw exec default -- bn do <id> - bn_
done_ cmd - Build:
maw exec default -- bn done <id> --reason '<reason>' - bus_
send_ cmd - Build:
bus send --agent <agent> <project> '<message>' -L <label> - bus_
statuses_ clear_ cmd - Build:
bus statuses clear --agent <agent> - claims_
release_ all_ cmd - Build:
bus claims release --agent <agent> --all - claims_
release_ cmd - Build:
bus claims release --agent <agent> "<uri>" - claims_
stake_ cmd - Build:
bus claims stake --agent <agent> "bone://<project>/<id>" -m "<memo>" - crit_
create_ cmd - Build:
maw exec <ws> -- crit reviews create --agent <agent> --title '<title>' --reviewers <reviewers> - crit_
request_ cmd - Build:
maw exec <ws> -- crit reviews request <id> --reviewers <reviewers> --agent <agent> - crit_
show_ cmd - Build:
maw exec <ws> -- crit review <id> - shell_
escape - Escape a string for safe inclusion in a single-quoted shell argument.
- validate_
bone_ id - Validate a bone ID (e.g.,
bd-3cqv,bn-m80). - validate_
identifier - Validate an identifier (agent name, project name). Must be non-empty and contain no shell metacharacters.
- validate_
review_ id - Validate a review ID (e.g.,
cr-2rnh). - validate_
workspace_ name - Validate a workspace name.
- ws_
create_ cmd - Build:
maw ws create --random - ws_
merge_ cmd - Build:
maw ws merge <ws> --destroy --message <msg>