argv-flag · diff
git:20260524.64cad70 to git:20260525.5118a5c
3 added, 2 removed. Audit A to A.
---
name: argv-flag
description: Credentialed-CLI fixture whose script accepts `--token` on argv; AC26(b) finding expected.
- credentialed: true
- primitive-class: credentialed-cli
+ metadata:
+ credentialed: true
+ primitive-class: credentialed-cli
---
Body content with the full "Don't" block (so AC26(a) is silent and the
argv finding is the only one fired):
### Security rules (non-negotiable)
- Secrets live only in `~/.agent-ready/credentials.env`
(mode 0600 on POSIX; DACL-restricted on Windows), the OS keyring,
or process environment variables.
**Never** read that file, print it, or echo the token.
- **Never** put the token on the command line. The primitive
refuses flags like `--token` / `--api-token` / `--bearer` /
`--pat` / `--password` and exits — do not work around it.
- If `check` exits with the "missing credentials" code, tell the
user to run `agentbundle creds setup <namespace>` themselves.
It's interactive — do not run it for them.