Commit graph

3 commits

Author SHA1 Message Date
Claude
2b9ebe8ac0 fix: guard grep in classify.sh pipeline against no-match exit under pipefail
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
grep exits 1 on no match, which aborts the script under set -euo pipefail.
Wrap with { grep ... || true; } so unknown formulas fall through to default.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 19:47:05 +00:00
Claude
daa62f28c6 fix: break circular dependency classify.sh↔vault-env.sh, escape regex in formula grep
- classify.sh now sources lib/env.sh directly instead of vault-env.sh
  to prevent infinite recursion when VAULT_ACTION_FORMULA is exported
- Escape regex metacharacters in formula name before grep

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 19:45:20 +00:00
Claude
894c635783 fix: vault/classify.sh + vault/policy.toml: blast-radius classification engine (#437)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 19:45:20 +00:00