Opus
ADMANAGE_API_KEY missing is documented as 'Hard-fails' but script actually exits 0
- scripts/postprocess-admanage.sh:18
- scripts/postprocess-admanage.sh:46-50
- scripts/postprocess-admanage-create.sh:22
- scripts/postprocess-admanage-create.sh:49-54
The header comments in both scripts assert a hard-fail on missing key, but both scripts actually emit a warning and `exit 0` — i.e. soft-fail. This is a deceptive comment that an auditor will rely on when assessing safety posture. The behavior may even be intentional (so CI doesn't fail when key isn't injected for forks/PRs), but the docs must match the code.
Recommendation
Either change the header to 'Soft-fails (warns + notifies) if ADMANAGE_API_KEY is not set' or change the exit to `exit 1` to actually hard-fail.