2 events · 3 hooks
npx claudepluginhub diegouis/provectus-marketplace --plugin proagent-agentic-stackDefined in hooks/hooks.json
Bashwhich jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.command // empty' | { read cmd; if echo "$cmd" | grep -qiE 'pulumi\s+destroy'; then echo '[proagent-agentic-stack] WARNING: pulumi destroy tears down cloud infrastructure. Verify you are targeting the correct stack and environment.' >&2; fi; if echo "$cmd" | grep -qiE 'DROP\s+(TABLE|INDEX|TRIGGER|FUNCTION)'; then echo '[proagent-agentic-stack] WARNING: Destructive SQL detected. Verify this is the correct database and you have backups.' >&2; fi; }10msWritewhich jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read fp; if echo "$fp" | grep -qiE 'migrations/.*\.sql$'; then echo '[proagent-agentic-stack] Migration file created. Remember: run with autocommit ON for CONCURRENTLY indexes.' >&2; fi; if echo "$fp" | grep -qiE '(infra|pulumi)/.*\.py$'; then echo '[proagent-agentic-stack] Pulumi component modified. Run: pulumi preview to verify changes.' >&2; fi; }5msEditwhich jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read fp; if echo "$fp" | grep -qiE 'migrations/.*\.sql$'; then echo '[proagent-agentic-stack] Migration file edited. Remember: run with autocommit ON for CONCURRENTLY indexes.' >&2; fi; if echo "$fp" | grep -qiE '(infra|pulumi)/.*\.py$'; then echo '[proagent-agentic-stack] Pulumi component modified. Run: pulumi preview to verify changes.' >&2; fi; }5msBlocks Task, Read, Edit/Write/Bash tools via Node.js guards on PreToolUse; validates artifacts and telemetry post-Write/Edit. Executes bash, handles file writes.
Share bugs, ideas, or general feedback.