Referencesince 1.0.0-alpha.3
penv guard
Write the harness rules that keep agents out of .env
Write the harness rules that keep agents out of .env.
Usage
penv guard [--all] [--check] [harness...]Every command also takes the global options.
Arguments
| Argument | Required | What it is |
|---|---|---|
[harness...] | no | The harnesses to write, instead of the installed ones. Takes more than one. |
Flags
| Flag | What it does |
|---|---|
--all | Write every harness penv knows, installed or not. |
--check | Report coverage instead of writing. |
Exit codes
| Code | Name | What it means |
|---|---|---|
0 | ok | The command did what it says. |
1 | error | Something went wrong. |
3 | validation | The schema or the values did not pass. |
Related
penv hook: Run as a harness hook; a payload it cannot read is refused.penv reveal: Print one value; an agent session needs a person's approval.- Coding agents