sync: auto-sync from HOWARD-HOME at 2026-06-21 12:25:00

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-06-21 12:25:00
This commit is contained in:
2026-06-21 12:25:45 -07:00
parent ef0398bc6b
commit 1836bfd34d
26 changed files with 197 additions and 36 deletions

View File

@@ -24,6 +24,8 @@
set -uo pipefail
REPO="$(git rev-parse --show-toplevel 2>/dev/null || echo .)"
VAULT="$REPO/.claude/scripts/vault.sh"
# Mandatory skill error logging (skill-creator rule): log GENUINE functional failures only.
logerr(){ bash "$REPO/.claude/scripts/log-skill-error.sh" "unifi-wifi/pfsense-backend" "$1" --context "${2:-}" >/dev/null 2>&1 || true; }
VP="${1:?usage: pfsense-backend.sh <vault-path> <action> [args] [--apply]}"
ACT="${2:?action: audit|pf-list|pf-disable|pf-enable|pf-delete|pf-set-ports|fw-list|fw-disable|fw-enable|block-ips|setup}"
shift 2
@@ -215,3 +217,6 @@ try:
except urllib.error.HTTPError as e: err(e)
except Exception as e: print("[FAIL]",e); sys.exit(1)
PY
rc=$?
[ "$rc" -ne 0 ] && logerr "pfsense-backend REST call failed" "vp=$VP act=$ACT rc=$rc"
exit $rc