diff --git a/config/prometheus-exec-binary.json b/config/prometheus-exec-binary.json index 3c2a7b39..90310379 100644 --- a/config/prometheus-exec-binary.json +++ b/config/prometheus-exec-binary.json @@ -6,6 +6,6 @@ "sourcePath": "crates/prometheus-exec/target/release/prometheus-exec", "installPath": "~/.local/bin/prometheus-exec", "expectedVersion": "prometheus-exec 1.7.0", - "expectedBuildSha256": "a67de3b6c4f41a471e00bcfb683de5afa3164ddbf96af6b1ed4e434d9d079b56", + "expectedBuildSha256": "97c6b5bdb853f2db9aaabe918d9e09beecf6ac2141705e0b9181e0e19fe5958f", "installReceipt": "~/.prometheus/install/manifests/prometheus-exec.json" } diff --git a/dist/plugins/claude/prometheus-skill-pack/hooks/hooks.json b/dist/plugins/claude/prometheus-skill-pack/hooks/hooks.json index a5196ec5..fe817d78 100644 --- a/dist/plugins/claude/prometheus-skill-pack/hooks/hooks.json +++ b/dist/plugins/claude/prometheus-skill-pack/hooks/hooks.json @@ -5,7 +5,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-control' 'claude-code'", "timeout": 1000 } ], @@ -17,7 +17,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-open' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-open' 'claude-code'", "timeout": 30000 } ], @@ -29,17 +29,17 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-detect-project-context' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-detect-project-context' 'claude-code'", "timeout": 15000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-memory-outbox-flush' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-memory-outbox-flush' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-pk-health' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-pk-health' 'claude-code'", "timeout": 8000 } ] @@ -50,7 +50,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'prompt-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'prompt-karpathy-learning' 'claude-code'" } ] } @@ -60,31 +60,31 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-evolution-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-evolution-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-gitops-write' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-gitops-write' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-scope-record' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-scope-record' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-write-position-reminder' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-write-position-reminder' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-sycophancy-artifact' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-sycophancy-artifact' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-memory-writeback' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-memory-writeback' 'claude-code'", "timeout": 8000 } ], @@ -96,11 +96,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-dispatch' 'claude-code'" } ], "matcher": "assessor" @@ -109,11 +109,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-dispatch' 'claude-code'" } ], "matcher": "analyst" @@ -122,11 +122,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-dispatch' 'claude-code'" } ], "matcher": "planner" @@ -135,24 +135,24 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-karpathy-learning' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-validate-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-validate-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-evaluate-session' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-evaluate-session' 'claude-code'", "timeout": 30000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-dispatch' 'claude-code'" } ], "matcher": "executor" @@ -161,20 +161,20 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-sycophancy' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-sycophancy' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-log' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-log' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-dispatch' 'claude-code'" } ], "matcher": "reflector" @@ -183,7 +183,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-fallback-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-fallback-checkpoint' 'claude-code'" } ] } @@ -193,7 +193,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'stop-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'stop-karpathy-learning' 'claude-code'" } ] } @@ -203,7 +203,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'precompact-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'precompact-kbd-control' 'claude-code'", "timeout": 1000 } ], diff --git a/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/claude-hooks.json b/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/claude-hooks.json index a5196ec5..fe817d78 100644 --- a/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/claude-hooks.json +++ b/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/claude-hooks.json @@ -5,7 +5,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-control' 'claude-code'", "timeout": 1000 } ], @@ -17,7 +17,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-open' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-open' 'claude-code'", "timeout": 30000 } ], @@ -29,17 +29,17 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-detect-project-context' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-detect-project-context' 'claude-code'", "timeout": 15000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-memory-outbox-flush' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-memory-outbox-flush' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-pk-health' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-pk-health' 'claude-code'", "timeout": 8000 } ] @@ -50,7 +50,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'prompt-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'prompt-karpathy-learning' 'claude-code'" } ] } @@ -60,31 +60,31 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-evolution-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-evolution-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-gitops-write' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-gitops-write' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-scope-record' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-scope-record' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-write-position-reminder' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-write-position-reminder' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-sycophancy-artifact' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-sycophancy-artifact' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-memory-writeback' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-memory-writeback' 'claude-code'", "timeout": 8000 } ], @@ -96,11 +96,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-dispatch' 'claude-code'" } ], "matcher": "assessor" @@ -109,11 +109,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-dispatch' 'claude-code'" } ], "matcher": "analyst" @@ -122,11 +122,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-dispatch' 'claude-code'" } ], "matcher": "planner" @@ -135,24 +135,24 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-karpathy-learning' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-validate-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-validate-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-evaluate-session' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-evaluate-session' 'claude-code'", "timeout": 30000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-dispatch' 'claude-code'" } ], "matcher": "executor" @@ -161,20 +161,20 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-sycophancy' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-sycophancy' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-log' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-log' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-dispatch' 'claude-code'" } ], "matcher": "reflector" @@ -183,7 +183,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-fallback-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-fallback-checkpoint' 'claude-code'" } ] } @@ -193,7 +193,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'stop-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'stop-karpathy-learning' 'claude-code'" } ] } @@ -203,7 +203,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'precompact-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'precompact-kbd-control' 'claude-code'", "timeout": 1000 } ], diff --git a/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/release-manifest.json b/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/release-manifest.json index af484e6c..afeeeab1 100644 --- a/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/release-manifest.json +++ b/dist/plugins/claude/prometheus-skill-pack/shared/harnesses/generated/release-manifest.json @@ -52,7 +52,7 @@ }, { "path": "shared/scripts/enqueue-learning-job.py", - "sha256": "ead5ceb1c815c154500415b00c80722e18bd4df86e1f0ced8887c861e27ce28c", + "sha256": "fff1f6132b40bdeb82033528de3e52611cd6ca90adfeeea52dd73930ace61e05", "mode": "0755" }, { @@ -316,5 +316,5 @@ "mode": "0755" } ], - "bundleId": "1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68" + "bundleId": "7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391" } diff --git a/dist/plugins/claude/prometheus-skill-pack/shared/launchagents/ai.prometheus.surreal-memory-native.plist b/dist/plugins/claude/prometheus-skill-pack/shared/launchagents/ai.prometheus.surreal-memory-native.plist index 2ccbbd44..4ba61da1 100644 --- a/dist/plugins/claude/prometheus-skill-pack/shared/launchagents/ai.prometheus.surreal-memory-native.plist +++ b/dist/plugins/claude/prometheus-skill-pack/shared/launchagents/ai.prometheus.surreal-memory-native.plist @@ -55,8 +55,22 @@ local LOCAL_EMBEDDING_MODEL BAAI/bge-small-en-v1.5 + LOCAL_EMBEDDING_MODEL_REVISION + 5c38ec7c405ec4b44b94cc5a9bb96e735b38267a + LOCAL_EMBEDDING_DIMENSIONS + 384 + LOCAL_EMBEDDING_BACKEND + __LOCAL_EMBEDDING_BACKEND__ + LOCAL_EMBEDDING_DEVICE + __LOCAL_EMBEDDING_DEVICE__ + LOCAL_EMBEDDING_EXECUTOR + __SURREAL_MLX_EXECUTOR__ MODEL_CACHE_DIR __PROMETHEUS_HOME__/.cache/huggingface + HF_HUB_CACHE + __PROMETHEUS_HOME__/.cache/huggingface/hub + SURREAL_EXECUTOR_STARTUP_MS + 120000 SURREAL_MAX_CONNECT_RETRIES diff --git a/dist/plugins/claude/prometheus-skill-pack/shared/scripts/enqueue-learning-job.py b/dist/plugins/claude/prometheus-skill-pack/shared/scripts/enqueue-learning-job.py index 563674e7..c3c28d7d 100755 --- a/dist/plugins/claude/prometheus-skill-pack/shared/scripts/enqueue-learning-job.py +++ b/dist/plugins/claude/prometheus-skill-pack/shared/scripts/enqueue-learning-job.py @@ -69,9 +69,25 @@ def main() -> int: payload, "session_id", "sessionId", "conversation_id", "conversationId" ) or os.environ.get("CLAUDE_SESSION_ID") or os.environ.get("CODEX_THREAD_ID") or "unknown" transcript_path = first(payload, "transcript_path", "transcriptPath") + # Transcript length is the turn cursor: it advances once per completed turn + # and is identical for the twin hooks that fire for the same turn. + try: + transcript_bytes = str(Path(transcript_path).stat().st_size) if transcript_path else "" + except OSError: + transcript_bytes = "" payload_digest = hashlib.sha256(raw).hexdigest() + # ~keep The turn identity deliberately EXCLUDES `event` and `payload_digest`. + # Claude Code fires both `stop` and `subagent-executor-karpathy-learning` + # (`executor_complete`) for the same turn — measured 549 vs 548 across all + # recorded sessions, i.e. ~1:1 on ordinary turns with no subagent involved — + # and their payloads are structurally identical (same keys, sessionId, + # transcriptPath), differing only in the event name. Including either field + # made every turn unique, so the queue emitted one wiki record per hook per + # turn. Keying on the transcript position instead collapses the twins and + # still distinguishes genuinely different turns, because `transcript_bytes` + # grows monotonically as the session advances. identity = "\0".join( - (harness, event, session_id, str(project_root), transcript_path, payload_digest) + (harness, session_id, str(project_root), transcript_path, transcript_bytes) ).encode() event_id = hashlib.sha256(identity).hexdigest() diff --git a/dist/plugins/claude/prometheus-skill-pack/shared/scripts/tests/test-karpathy-dispatch.sh b/dist/plugins/claude/prometheus-skill-pack/shared/scripts/tests/test-karpathy-dispatch.sh index a457268d..f7201870 100755 --- a/dist/plugins/claude/prometheus-skill-pack/shared/scripts/tests/test-karpathy-dispatch.sh +++ b/dist/plugins/claude/prometheus-skill-pack/shared/scripts/tests/test-karpathy-dispatch.sh @@ -102,5 +102,38 @@ else fail "duplicate delivery is idempotent across durable states" fi +# Revert line: restore `event` or `payload_digest` to the `identity` tuple in +# enqueue-learning-job.py to make this test fail. +# ~keep Claude Code fires stop AND executor_complete for the SAME turn with +# structurally identical payloads (measured ~1:1, 549 vs 548, across all +# recorded sessions). Both must collapse to one job, or the worker writes two +# near-identical wiki records per turn. +mkdir -p "$TMP/twin" +printf 'line one\n' > "$TMP/twin-transcript.jsonl" +twin_payload="$(printf '{"session_id":"twin-session","cwd":"%s","transcript_path":"%s"}' \ + "$TMP/project" "$TMP/twin-transcript.jsonl")" +for ev in stop executor_complete; do + printf '%s' "$twin_payload" | HOME="$TMP/home" PATH="$TMP/bin:$PATH" \ + PROMETHEUS_LEARNING_QUEUE="$TMP/twin" "$DISPATCH" "$ev" claude-code +done +twin_jobs="$(find "$TMP/twin/pending" -type f -name '*.json' | wc -l | tr -d ' ')" +if [ "$twin_jobs" = 1 ]; then + pass "stop and executor_complete for one turn collapse to a single job" +else + fail "stop and executor_complete for one turn collapse to a single job (got $twin_jobs)" +fi + +# Revert line: drop `transcript_bytes` from the `identity` tuple to make this +# test fail (all turns would collapse into one job). +printf 'line two\n' >> "$TMP/twin-transcript.jsonl" +printf '%s' "$twin_payload" | HOME="$TMP/home" PATH="$TMP/bin:$PATH" \ + PROMETHEUS_LEARNING_QUEUE="$TMP/twin" "$DISPATCH" stop claude-code +next_jobs="$(find "$TMP/twin/pending" -type f -name '*.json' | wc -l | tr -d ' ')" +if [ "$next_jobs" = 2 ]; then + pass "a genuinely later turn still enqueues its own job" +else + fail "a genuinely later turn still enqueues its own job (got $next_jobs)" +fi + printf '\nPASS=%d FAIL=%d\n' "$PASS" "$FAIL" [ "$FAIL" -eq 0 ] diff --git a/hooks/codex-hooks.json b/hooks/codex-hooks.json index 408930f3..f688e9ac 100644 --- a/hooks/codex-hooks.json +++ b/hooks/codex-hooks.json @@ -5,7 +5,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-control' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-control' 'codex'", "timeout": 1000 } ], @@ -17,7 +17,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-open' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-open' 'codex'", "timeout": 30000 } ], @@ -29,17 +29,17 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-detect-project-context' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-detect-project-context' 'codex'", "timeout": 15000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-memory-outbox-flush' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-memory-outbox-flush' 'codex'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-pk-health' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-pk-health' 'codex'", "timeout": 8000 } ] @@ -50,7 +50,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'prompt-karpathy-learning' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'prompt-karpathy-learning' 'codex'" } ] } @@ -60,31 +60,31 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-evolution-state' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-evolution-state' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-gitops-write' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-gitops-write' 'codex'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-scope-record' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-scope-record' 'codex'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-write-position-reminder' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-write-position-reminder' 'codex'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-sycophancy-artifact' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-sycophancy-artifact' 'codex'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-memory-writeback' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-memory-writeback' 'codex'", "timeout": 8000 } ], @@ -96,11 +96,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-checkpoint' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-checkpoint' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-dispatch' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-dispatch' 'codex'" } ], "matcher": "assessor" @@ -109,11 +109,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-checkpoint' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-checkpoint' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-dispatch' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-dispatch' 'codex'" } ], "matcher": "analyst" @@ -122,11 +122,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-checkpoint' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-checkpoint' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-dispatch' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-dispatch' 'codex'" } ], "matcher": "planner" @@ -135,24 +135,24 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-karpathy-learning' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-karpathy-learning' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-validate-state' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-validate-state' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-checkpoint' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-checkpoint' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-evaluate-session' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-evaluate-session' 'codex'", "timeout": 30000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-dispatch' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-dispatch' 'codex'" } ], "matcher": "executor" @@ -161,20 +161,20 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-sycophancy' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-sycophancy' 'codex'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-log' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-log' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-checkpoint' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-checkpoint' 'codex'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-dispatch' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-dispatch' 'codex'" } ], "matcher": "reflector" @@ -183,7 +183,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-fallback-checkpoint' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-fallback-checkpoint' 'codex'" } ] } @@ -193,7 +193,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'stop-karpathy-learning' 'codex'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'stop-karpathy-learning' 'codex'" } ] } @@ -203,7 +203,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'precompact-kbd-control' 'codex'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'precompact-kbd-control' 'codex'", "timeout": 1000 } ], diff --git a/hooks/hooks.json b/hooks/hooks.json index a5196ec5..fe817d78 100644 --- a/hooks/hooks.json +++ b/hooks/hooks.json @@ -5,7 +5,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-control' 'claude-code'", "timeout": 1000 } ], @@ -17,7 +17,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-open' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-open' 'claude-code'", "timeout": 30000 } ], @@ -29,17 +29,17 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-detect-project-context' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-detect-project-context' 'claude-code'", "timeout": 15000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-memory-outbox-flush' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-memory-outbox-flush' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-pk-health' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-pk-health' 'claude-code'", "timeout": 8000 } ] @@ -50,7 +50,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'prompt-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'prompt-karpathy-learning' 'claude-code'" } ] } @@ -60,31 +60,31 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-evolution-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-evolution-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-gitops-write' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-gitops-write' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-scope-record' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-scope-record' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-write-position-reminder' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-write-position-reminder' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-sycophancy-artifact' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-sycophancy-artifact' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-memory-writeback' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-memory-writeback' 'claude-code'", "timeout": 8000 } ], @@ -96,11 +96,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-dispatch' 'claude-code'" } ], "matcher": "assessor" @@ -109,11 +109,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-dispatch' 'claude-code'" } ], "matcher": "analyst" @@ -122,11 +122,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-dispatch' 'claude-code'" } ], "matcher": "planner" @@ -135,24 +135,24 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-karpathy-learning' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-validate-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-validate-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-evaluate-session' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-evaluate-session' 'claude-code'", "timeout": 30000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-dispatch' 'claude-code'" } ], "matcher": "executor" @@ -161,20 +161,20 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-sycophancy' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-sycophancy' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-log' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-log' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-dispatch' 'claude-code'" } ], "matcher": "reflector" @@ -183,7 +183,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-fallback-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-fallback-checkpoint' 'claude-code'" } ] } @@ -193,7 +193,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'stop-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'stop-karpathy-learning' 'claude-code'" } ] } @@ -203,7 +203,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'precompact-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'precompact-kbd-control' 'claude-code'", "timeout": 1000 } ], diff --git a/scripts/install-binaries.sh b/scripts/install-binaries.sh index 31fc919d..fa2c9df4 100755 --- a/scripts/install-binaries.sh +++ b/scripts/install-binaries.sh @@ -247,6 +247,74 @@ fi # which hard-fails compile_error! on any non-Apple target); `cuda` requires an # NVIDIA GPU. Select the right accelerator instead of hardcoding `metal`. if [ -f "${REPO_ROOT}/tools/surreal-memory-server/Cargo.toml" ]; then + SM_MLX_DIR="${REPO_ROOT}/tools/surreal-memory-server/executors/mlx" + if [ "$(uname -s)" = "Darwin" ] && [ "$(uname -m)" = "arm64" ] && \ + [ -f "${SM_MLX_DIR}/Package.swift" ]; then + info "Building surreal-memory MLX executor..." + if ! $DRY_RUN; then + swift build --package-path "${SM_MLX_DIR}" -c release \ + --product surreal-memory-mlx-executor + else + info "[dry-run] would build surreal-memory-mlx-executor with SwiftPM" + fi + SM_MLX_BIN="${SM_MLX_DIR}/.build/release/surreal-memory-mlx-executor" + SM_MLX_BUNDLE="${SM_MLX_DIR}/.build/release/mlx-swift_Cmlx.bundle" + if ! $DRY_RUN && [ ! -x "${SM_MLX_BIN}" ]; then + fail "surreal-memory-mlx-executor binary not found after build" + exit 1 + fi + if ! $DRY_RUN && [ ! -f "${SM_MLX_BUNDLE}/Contents/Resources/default.metallib" ]; then + fail "MLX default.metallib resource bundle not found after build" + exit 1 + fi + if ! $DRY_RUN; then + MODEL_CACHE_DIR="${MODEL_CACHE_DIR:-${HOME}/.cache/huggingface}" \ + LOCAL_EMBEDDING_MODEL="BAAI/bge-small-en-v1.5" \ + LOCAL_EMBEDDING_MODEL_REVISION="5c38ec7c405ec4b44b94cc5a9bb96e735b38267a" \ + "${SM_MLX_BIN}" --prefetch + else + info "[dry-run] would prefetch and warm the pinned BGE snapshot" + fi + install_bin "${SM_MLX_BIN}" "${BIN_DIR}/surreal-memory-mlx-executor" + if ! $DRY_RUN; then + ditto "${SM_MLX_BUNDLE}" "${BIN_DIR}/mlx-swift_Cmlx.bundle" + fi + ok "surreal-memory-mlx-executor → ${BIN_DIR}/surreal-memory-mlx-executor" + if [ -w /usr/local/bin ] || [ "$(id -u)" = "0" ]; then + install_bin "${SM_MLX_BIN}" "/usr/local/bin/surreal-memory-mlx-executor" + if ! $DRY_RUN; then + ditto "${SM_MLX_BUNDLE}" "/usr/local/bin/mlx-swift_Cmlx.bundle" + fi + ok "surreal-memory-mlx-executor → /usr/local/bin/surreal-memory-mlx-executor" + else + fail "/usr/local/bin is not writable; MLX deployment requires both installed copies" + exit 1 + fi + if ! $DRY_RUN; then + cmp -s "${BIN_DIR}/surreal-memory-mlx-executor" \ + "/usr/local/bin/surreal-memory-mlx-executor" || { + fail "installed MLX executor copies differ" + exit 1 + } + codesign --verify "${BIN_DIR}/surreal-memory-mlx-executor" + codesign --verify "/usr/local/bin/surreal-memory-mlx-executor" + cmp -s "${SM_MLX_BUNDLE}/Contents/Resources/default.metallib" \ + "${BIN_DIR}/mlx-swift_Cmlx.bundle/Contents/Resources/default.metallib" || { + fail "user-local MLX default.metallib differs from the staged resource" + exit 1 + } + cmp -s "${SM_MLX_BUNDLE}/Contents/Resources/default.metallib" \ + "/usr/local/bin/mlx-swift_Cmlx.bundle/Contents/Resources/default.metallib" || { + fail "system MLX default.metallib differs from the staged resource" + exit 1 + } + MODEL_CACHE_DIR="${MODEL_CACHE_DIR:-${HOME}/.cache/huggingface}" \ + LOCAL_EMBEDDING_MODEL="BAAI/bge-small-en-v1.5" \ + LOCAL_EMBEDDING_MODEL_REVISION="5c38ec7c405ec4b44b94cc5a9bb96e735b38267a" \ + "/usr/local/bin/surreal-memory-mlx-executor" --smoke + fi + fi + info "Building surreal-memory-server..." SM_FEATURES="embedded,local-embeddings" if [ "$(uname -s)" = "Darwin" ]; then diff --git a/scripts/install-mcp-services.sh b/scripts/install-mcp-services.sh index fce19229..e9de033c 100755 --- a/scripts/install-mcp-services.sh +++ b/scripts/install-mcp-services.sh @@ -242,7 +242,7 @@ render_template() { local src="$1" output="$2" [ -f "$src" ] || { echo "Template not found: $src" >&2; return 1; } - local pk_cherry_bin forge_bin docker_bin surreal_bin surreal_memory_bin surface_bridge_bin sovereign_sync_bin learning_worker_bin logrotate_bin flock_bin + local pk_cherry_bin forge_bin docker_bin surreal_bin surreal_memory_bin surreal_mlx_executor surface_bridge_bin sovereign_sync_bin learning_worker_bin logrotate_bin flock_bin pk_cherry_bin="$(resolve_bin pk-cherry)"; [ -n "$pk_cherry_bin" ] || pk_cherry_bin="$BIN_FALLBACK_DIR/pk-cherry" forge_bin="$(resolve_bin forge)"; [ -n "$forge_bin" ] || forge_bin="$BIN_FALLBACK_DIR/forge" docker_bin="$(resolve_bin docker)"; [ -n "$docker_bin" ] || docker_bin="/usr/local/bin/docker" @@ -250,6 +250,12 @@ render_template() { surreal_memory_bin="$(resolve_bin surreal-memory-server)" [ -n "$surreal_memory_bin" ] || surreal_memory_bin="$REPO_ROOT/tools/surreal-memory-server/target/release/surreal-memory-server" [ -f "$surreal_memory_bin" ] || surreal_memory_bin="$BIN_FALLBACK_DIR/surreal-memory-server" + surreal_mlx_executor="$(resolve_bin surreal-memory-mlx-executor)" + [ -n "$surreal_mlx_executor" ] || surreal_mlx_executor="$BIN_FALLBACK_DIR/surreal-memory-mlx-executor" + local local_embedding_backend="${PROMETHEUS_LOCAL_EMBEDDING_BACKEND:-mlx}" + local local_embedding_device="${PROMETHEUS_LOCAL_EMBEDDING_DEVICE:-auto}" + case "$local_embedding_backend" in candle|mlx) ;; *) echo "PROMETHEUS_LOCAL_EMBEDDING_BACKEND must be candle or mlx" >&2; return 1 ;; esac + case "$local_embedding_device" in auto|cpu) ;; *) echo "PROMETHEUS_LOCAL_EMBEDDING_DEVICE must be auto or cpu" >&2; return 1 ;; esac surface_bridge_bin="$(resolve_bin surface-bridge)"; [ -n "$surface_bridge_bin" ] || surface_bridge_bin="$BIN_FALLBACK_DIR/surface-bridge" sovereign_sync_bin="$(resolve_bin sovereign-sync)"; [ -n "$sovereign_sync_bin" ] || sovereign_sync_bin="$BIN_FALLBACK_DIR/sovereign-sync" learning_worker_bin="$(resolve_bin prometheus-learning-worker)"; [ -n "$learning_worker_bin" ] || learning_worker_bin="$BIN_FALLBACK_DIR/prometheus-learning-worker" @@ -270,7 +276,8 @@ render_template() { PROMETHEUS_USER="$PROMETHEUS_USER" PROMETHEUS_HOME="$PROMETHEUS_HOME" \ PROMETHEUS_ROOT="$REPO_ROOT" PROMETHEUS_LOG_DIR="$LOG_DIR" PROMETHEUS_PATH="$PROMETHEUS_PATH" \ PK_CHERRY_BIN="$pk_cherry_bin" FORGE_BIN="$forge_bin" DOCKER_BIN="$docker_bin" \ - SURREAL_BIN="$surreal_bin" SURREAL_MEMORY_BIN="$surreal_memory_bin" SURFACE_BRIDGE_BIN="$surface_bridge_bin" \ + SURREAL_BIN="$surreal_bin" SURREAL_MEMORY_BIN="$surreal_memory_bin" SURREAL_MLX_EXECUTOR="$surreal_mlx_executor" \ + LOCAL_EMBEDDING_BACKEND="$local_embedding_backend" LOCAL_EMBEDDING_DEVICE="$local_embedding_device" SURFACE_BRIDGE_BIN="$surface_bridge_bin" \ SOVEREIGN_SYNC_BIN="$sovereign_sync_bin" LEARNING_WORKER_BIN="$learning_worker_bin" \ LOGROTATE_BIN="$logrotate_bin" FLOCK_BIN="$flock_bin" \ python3 - "$src" "$output" <<'PY' @@ -308,6 +315,9 @@ for k, env in { "__DOCKER_BIN__": "DOCKER_BIN", "__SURREAL_BIN__": "SURREAL_BIN", "__SURREAL_MEMORY_BIN__": "SURREAL_MEMORY_BIN", + "__SURREAL_MLX_EXECUTOR__": "SURREAL_MLX_EXECUTOR", + "__LOCAL_EMBEDDING_BACKEND__": "LOCAL_EMBEDDING_BACKEND", + "__LOCAL_EMBEDDING_DEVICE__": "LOCAL_EMBEDDING_DEVICE", "__SURFACE_BRIDGE_BIN__": "SURFACE_BRIDGE_BIN", "__SOVEREIGN_SYNC_BIN__": "SOVEREIGN_SYNC_BIN", "__LEARNING_WORKER_BIN__": "LEARNING_WORKER_BIN", @@ -336,6 +346,11 @@ PY if [ -n "$RENDER_ONLY_DIR" ]; then mkdir -p "$RENDER_ONLY_DIR" + if ! service_is_excluded surreal-memory-native; then + render_template \ + "$REPO_ROOT/shared/launchagents/ai.prometheus.surreal-memory-native.plist" \ + "$RENDER_ONLY_DIR/ai.prometheus.surreal-memory-native.plist" + fi if ! service_is_excluded sovereign-sync; then render_template \ "$REPO_ROOT/shared/launchagents/ai.prometheus.sovereign-sync.plist" \ diff --git a/scripts/prometheus-services.sh b/scripts/prometheus-services.sh index 223618c7..9baaa004 100755 --- a/scripts/prometheus-services.sh +++ b/scripts/prometheus-services.sh @@ -67,8 +67,8 @@ Commands: logs Tail recent service logs Managed LaunchAgents: - ai.prometheus.surrealdb-native SurrealDB 3.2.0 native binary on 127.0.0.1:28000 - ai.prometheus.surreal-memory-native Native surreal-memory-server -> SurrealDB 3.2.0 (port 23001) + ai.prometheus.surrealdb-native SurrealDB 3.2.4 native binary on 127.0.0.1:28000 + ai.prometheus.surreal-memory-native Native surreal-memory-server -> SurrealDB 3.2.4 (port 23001) ai.prometheus.pk-cherry pk-cherry HTTP MCP for Karpathy KB (port 8942) ai.prometheus.forge-mcp Forge code-enrichment MCP (port 8943) ai.prometheus.prometheus-nudge Periodic self-learning nudge (every 4h, cron-style) @@ -138,19 +138,25 @@ ensure_dirs() { render_template() { local template="$1" local output="$2" - local pk_cherry_bin forge_bin docker_bin surreal_bin surreal_memory_bin + local pk_cherry_bin forge_bin docker_bin surreal_bin surreal_memory_bin surreal_mlx_executor pk_cherry_bin="$(resolve_bin pk-cherry)" forge_bin="$(resolve_bin forge)" docker_bin="$(resolve_bin docker)" surreal_bin="$(resolve_bin surreal)" surreal_memory_bin="$(resolve_bin surreal-memory-server)" + surreal_mlx_executor="$(resolve_bin surreal-memory-mlx-executor)" [ -n "$pk_cherry_bin" ] || pk_cherry_bin="/usr/local/bin/pk-cherry" [ -n "$forge_bin" ] || forge_bin="/usr/local/bin/forge" [ -n "$docker_bin" ] || docker_bin="/usr/local/bin/docker" [ -n "$surreal_bin" ] || surreal_bin="/usr/local/bin/surreal" [ -n "$surreal_memory_bin" ] || surreal_memory_bin="/usr/local/bin/surreal-memory-server" + [ -n "$surreal_mlx_executor" ] || surreal_mlx_executor="/usr/local/bin/surreal-memory-mlx-executor" + local local_embedding_backend="${PROMETHEUS_LOCAL_EMBEDDING_BACKEND:-mlx}" + local local_embedding_device="${PROMETHEUS_LOCAL_EMBEDDING_DEVICE:-auto}" + case "$local_embedding_backend" in candle|mlx) ;; *) echo "PROMETHEUS_LOCAL_EMBEDDING_BACKEND must be candle or mlx" >&2; return 1 ;; esac + case "$local_embedding_device" in auto|cpu) ;; *) echo "PROMETHEUS_LOCAL_EMBEDDING_DEVICE must be auto or cpu" >&2; return 1 ;; esac python3 - "$REPO_ROOT/shared/launchagents/$template" "$output" </dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-control' 'claude-code'", "timeout": 1000 } ], @@ -17,7 +17,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-kbd-open' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-kbd-open' 'claude-code'", "timeout": 30000 } ], @@ -29,17 +29,17 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-detect-project-context' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-detect-project-context' 'claude-code'", "timeout": 15000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-memory-outbox-flush' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-memory-outbox-flush' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'sessionstart-pk-health' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'sessionstart-pk-health' 'claude-code'", "timeout": 8000 } ] @@ -50,7 +50,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'prompt-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'prompt-karpathy-learning' 'claude-code'" } ] } @@ -60,31 +60,31 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-evolution-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-evolution-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-validate-gitops-write' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-validate-gitops-write' 'claude-code'", "timeout": 10000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-scope-record' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-scope-record' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-write-position-reminder' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-write-position-reminder' 'claude-code'", "timeout": 5000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-sycophancy-artifact' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-sycophancy-artifact' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'posttool-memory-writeback' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'posttool-memory-writeback' 'claude-code'", "timeout": 8000 } ], @@ -96,11 +96,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-assessor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-assessor-dispatch' 'claude-code'" } ], "matcher": "assessor" @@ -109,11 +109,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-analyst-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-analyst-dispatch' 'claude-code'" } ], "matcher": "analyst" @@ -122,11 +122,11 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-planner-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-planner-dispatch' 'claude-code'" } ], "matcher": "planner" @@ -135,24 +135,24 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-karpathy-learning' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-validate-state' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-validate-state' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-evaluate-session' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-evaluate-session' 'claude-code'", "timeout": 30000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-executor-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-executor-dispatch' 'claude-code'" } ], "matcher": "executor" @@ -161,20 +161,20 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-sycophancy' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-sycophancy' 'claude-code'", "timeout": 35000 }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-log' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-log' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-checkpoint' 'claude-code'" }, { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-reflector-dispatch' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-reflector-dispatch' 'claude-code'" } ], "matcher": "reflector" @@ -183,7 +183,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'subagent-fallback-checkpoint' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'subagent-fallback-checkpoint' 'claude-code'" } ] } @@ -193,7 +193,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'stop-karpathy-learning' 'claude-code'" + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'stop-karpathy-learning' 'claude-code'" } ] } @@ -203,7 +203,7 @@ "hooks": [ { "type": "command", - "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68' 'precompact-kbd-control' 'claude-code'", + "command": "bash -c 'runner=\"$HOME/.prometheus/plugins/prometheus-skill-pack/runtime/v1/run-hook\"\nif [[ ! -x \"$runner\" ]] || ! \"$runner\" --bundle \"$1\" --resolve-only >/dev/null 2>&1; then\n plugin_root=\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-}}\"\n bootstrap=\"$plugin_root/shared/scripts/bootstrap-hook-runtime.sh\"\n if [[ -z \"$plugin_root\" || ! -x \"$bootstrap\" ]]; then\n printf '\"'\"'{\"status\":\"NOT_ACTIVATED\",\"bundle\":\"%s\"}\\n'\"'\"' \"$1\" >&2\n exit 78\n fi\n bash \"$bootstrap\" --source-root \"$plugin_root\" --expected-bundle \"$1\" || exit\nfi\nexec \"$runner\" --bundle \"$1\" --hook \"$2\" --harness \"$3\"' prometheus-hook '7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391' 'precompact-kbd-control' 'claude-code'", "timeout": 1000 } ], diff --git a/shared/harnesses/generated/release-manifest.json b/shared/harnesses/generated/release-manifest.json index af484e6c..afeeeab1 100644 --- a/shared/harnesses/generated/release-manifest.json +++ b/shared/harnesses/generated/release-manifest.json @@ -52,7 +52,7 @@ }, { "path": "shared/scripts/enqueue-learning-job.py", - "sha256": "ead5ceb1c815c154500415b00c80722e18bd4df86e1f0ced8887c861e27ce28c", + "sha256": "fff1f6132b40bdeb82033528de3e52611cd6ca90adfeeea52dd73930ace61e05", "mode": "0755" }, { @@ -316,5 +316,5 @@ "mode": "0755" } ], - "bundleId": "1e45626629cdce87b6cced49acc1bb5efbfbf0076b6eeb8fbd5d4fa25a202d68" + "bundleId": "7cf81b78dcdc1cce7734d4d6cdc3db0629a10edf622ffd91bee1e9437e97f391" } diff --git a/shared/launchagents/ai.prometheus.surreal-memory-native.plist b/shared/launchagents/ai.prometheus.surreal-memory-native.plist index 2ccbbd44..4ba61da1 100644 --- a/shared/launchagents/ai.prometheus.surreal-memory-native.plist +++ b/shared/launchagents/ai.prometheus.surreal-memory-native.plist @@ -55,8 +55,22 @@ local LOCAL_EMBEDDING_MODEL BAAI/bge-small-en-v1.5 + LOCAL_EMBEDDING_MODEL_REVISION + 5c38ec7c405ec4b44b94cc5a9bb96e735b38267a + LOCAL_EMBEDDING_DIMENSIONS + 384 + LOCAL_EMBEDDING_BACKEND + __LOCAL_EMBEDDING_BACKEND__ + LOCAL_EMBEDDING_DEVICE + __LOCAL_EMBEDDING_DEVICE__ + LOCAL_EMBEDDING_EXECUTOR + __SURREAL_MLX_EXECUTOR__ MODEL_CACHE_DIR __PROMETHEUS_HOME__/.cache/huggingface + HF_HUB_CACHE + __PROMETHEUS_HOME__/.cache/huggingface/hub + SURREAL_EXECUTOR_STARTUP_MS + 120000 SURREAL_MAX_CONNECT_RETRIES diff --git a/skill-system.json b/skill-system.json index b989cbbe..bb786049 100644 --- a/skill-system.json +++ b/skill-system.json @@ -83,7 +83,7 @@ "id": "liter-llm", "path": "tools/liter-llm", "repository": "https://github.com/GQAdonis/liter-llm.git", - "commit": "788877f7ad238eaef4173bea2481b1731b0bbe12", + "commit": "c5c6caac617eb931cd5009146a70831422ec236c", "requiredFor": ["full"] }, { @@ -97,14 +97,14 @@ "id": "prometheus-knowledge", "path": "tools/prometheus-knowledge", "repository": "https://github.com/Prometheus-AGS/prometheus-knowledge-rs.git", - "commit": "5a175d13149945685ab8dd9bc1da8ea7d5861165", + "commit": "a4c2606602ec9dc65da2e8e21d4c0f25f522845f", "requiredFor": ["full"] }, { "id": "surreal-memory-server", "path": "tools/surreal-memory-server", "repository": "https://github.com/Prometheus-AGS/surreal-memory-server.git", - "commit": "2e2188a89f444270ed1dfeb992771203d3875b80", + "commit": "53662ff8048b9230b26c403c6fd84200c6c159f7", "requiredFor": ["full"] } ], diff --git a/tools/liter-llm b/tools/liter-llm index 788877f7..c5c6caac 160000 --- a/tools/liter-llm +++ b/tools/liter-llm @@ -1 +1 @@ -Subproject commit 788877f7ad238eaef4173bea2481b1731b0bbe12 +Subproject commit c5c6caac617eb931cd5009146a70831422ec236c diff --git a/tools/surreal-memory-server b/tools/surreal-memory-server index 2e2188a8..53662ff8 160000 --- a/tools/surreal-memory-server +++ b/tools/surreal-memory-server @@ -1 +1 @@ -Subproject commit 2e2188a89f444270ed1dfeb992771203d3875b80 +Subproject commit 53662ff8048b9230b26c403c6fd84200c6c159f7