Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.
Shell agent-teamsai-agentai-automationanthropicautonomous-agentawsbusiness-operationsclaudeclaude-codeclaude-code-plugindevopsecommerceinbox-zeroklaviyomarketingmcpmorning-briefingpr-automationshopifyterminal
fix(hooks): scan only added lines for secrets & check all rm -rf targets
auroracapital722dfc5e330b
diff --git a/claude-ops/bin/ops-prevent-secret-commit b/claude-ops/bin/ops-prevent-secret-commitindex 2e6c7c85..9fbda4e5 100755--- a/claude-ops/bin/ops-prevent-secret-commit+++ b/claude-ops/bin/ops-prevent-secret-commit@@ -31,6 +31,10 @@ FULL_DIFF="$(git diff --cached --no-color 2>/dev/null | head -c 524288 || true)"# Keep +++ headers for file attribution, strip --- headers and context lines.DIFF="$(echo "$FULL_DIFF" | grep -E '^(\+|\+\+\+ b/)' | grep -v '^--- ' || true)"[[ -z "$DIFF" ]] && exit 0+# Only scan added lines — removals of secrets should be allowed.+# Filter to '+' lines, excluding '+++ b/' diff headers.+ADDED_LINES="$(echo "$DIFF" | grep '^+' | grep -v '^+++' || true)"+[[ -z "$ADDED_LINES" ]] && exit 0# Patterns: label|regex (POSIX ERE, BSD-grep compatible — no \d, no \b lookarounds).PATTERNS=(@@ -53,7 +57,7 @@ HITS=()for entry in "${PATTERNS[@]}"; dolabel="${entry%%|*}"regex="${entry#*|}"- if echo "$DIFF" | grep -Eq "$regex"; then+ if echo "$ADDED_LINES" | grep -Eq "$regex"; then# Find which file contains the match (best-effort — last "+++ b/" before hit).file="$(echo "$DIFF" | grep -E "(^\\+\\+\\+ b/|$regex)" | grep -B1 -E "$regex" | grep -E '^\+\+\+ b/' | tail -1 | sed 's|^+++ b/||' || true)"if [[ -n "$file" ]]; then