execverb: per-grant argv override for friendly launch verbs #151
Labels
No labels
burndown-2026-06
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/cli-guard#151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The exec dialect appends the granted subcommand verbatim, so it can only express
bin <subcommand> <args>. That cannot model a bare interactive launch (claude) or a flag-shaped headless call (claude -p,aider --message): the mounted leaf name and the executed argv are forced equal.Add an
argv <tokens...>grant child that overrides the appended tokens, decoupling the friendly leaf name from what runs:can run launch { argv }-> bareclaude(interactive)can run headless { argv "-p" }->claude -p <args>can run whoami { argv "login" "status" }->codex login statusThe friendly name keeps the CLI path and dotted audit name; only the executed argv changes. Override tokens are trusted policy (like
argv-prefix) and skip the flag policy; caller args are still checked. Fail-closed on a wildcard grant or a duplicate override.Motivation: drives the
ward-kdl agents <cli>launchers (claude/codex/opencode/aider/goose) in the ward repo.