Some checks are pending
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / preflight (push) Waiting to run
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / vps-smoke (push) Waiting to run
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:frustration-matrix,kei-frustration-loop,kei-skill-importer,kei-projects-index,kei-projects-watcher,kei-gdrive-import,kei-leak-matrix,kei-skills,kei-gateway,kei-cron-scheduler,kei-export-trajectories,kei-backend-daytona,kei-d… (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-compute-baremetal,kei-compute-vultr,kei-compute-linode,kei-compute-digitalocean,kei-svc-systemd,kei-llm-bridge-mlx name:hosted-sleep-compute]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-diff,kei-scheduler,kei-watch,kei-prune,kei-discover,kei-brain-view,kei-hibernate,kei-ledger-sign,kei-fork name:wave13-15]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-git-gitea,kei-git-forgejo,kei-git-gitlab,kei-git-bitbucket,kei-memory-sled,kei-memory-redis,kei-memory-postgres,kei-memory-sqlite,kei-auth-google,kei-auth-apple,kei-auth-magiclink,kei-auth-webauthn,kei-notify-slack,kei-n… (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-ledger,kei-migrate,kei-changelog,kei-memory,kei-store,kei-conflict-scan,kei-refactor-engine,kei-graph-check,kei-shared,kei-dna-index,kei-pet name:core]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-machine-probe,kei-llm-ollama,kei-llm-llamacpp,kei-llm-mlx,kei-llm-router,kei-model name:llm-stack]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:kei-router,kei-sage,kei-task,kei-chat-store,kei-crossdomain,kei-search-core,kei-content-store,kei-social-store,kei-curator,kei-auth,kei-artifact name:mcp-lbm]) (push) Blocked by required conditions
CI (Forgejo Actions — self-hosted runner on Mac, host mode) / rust-primitives (map[crates:keisei,kei-forge,kei-runtime,kei-runtime-core,kei-atom-discovery,kei-agent-runtime,kei-capability,kei-provision,kei-entity-store,kei-pipe,kei-cache,kei-spawn,kei-replay name:atom-substrate]) (push) Blocked by required conditions
284 lines
8.9 KiB
JSON
284 lines
8.9 KiB
JSON
{
|
|
"_comment": "Merge these entries into your ~/.claude/settings.json under the matching keys. If you already have PostToolUse/PreToolUse/Stop arrays, append the objects below to them instead of overwriting. install.sh --activate-hooks automates the merge and de-dupes by hooks[].command. statusLine (the KeiSei tamagotchi) is set ONLY when you have none — an existing statusLine is never clobbered.",
|
|
"statusLine": {
|
|
"type": "command",
|
|
"command": "~/.claude/scripts/keisei-pet.sh",
|
|
"padding": 0
|
|
},
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Write|Edit",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/assemble-agents.sh"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/site-wysiwyd-check.sh",
|
|
"statusMessage": "site-wysiwyd drift check..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/post-write-check.sh",
|
|
"statusMessage": "post-write checks..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/scripts/keisei-pet-update.sh lang"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/milestone-commit-hook.sh",
|
|
"statusMessage": "milestone self-audit check (RULE 0.14)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/post-commit-audit.sh",
|
|
"statusMessage": "post-commit audit..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Agent",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/task-timer.sh",
|
|
"statusMessage": "task duration tracker (RULE 0.18)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/agent-fork-done.sh",
|
|
"statusMessage": "agent-fork-done — close ledger lifecycle..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/agent-stub-scan.sh",
|
|
"statusMessage": "STATUS-TRUTH marker scan (RULE 0.16)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/scripts/keisei-pet-update.sh agent_done"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "ExitPlanMode",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/scripts/keisei-pet-update.sh plan"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/error-spike-detector.sh",
|
|
"statusMessage": "error-spike rolling window (RULE 0.14)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/agent-heartbeat-tick.sh"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/assemble-validate.sh"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/agent-capability-check.sh",
|
|
"statusMessage": "agent-capability-check (Agent Substrate v1, phase 4)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/destructive-guard.sh",
|
|
"statusMessage": "destructive-op guard..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/block-dangerous.sh",
|
|
"statusMessage": "dangerous-command block..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/safety-guard.sh",
|
|
"statusMessage": "safety-guard..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/disk-headroom-check.sh",
|
|
"statusMessage": "disk headroom (RULE 0.17)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/no-python-without-approval.sh",
|
|
"statusMessage": "rust-first python gate (RULE 0.2)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/no-github-push.sh",
|
|
"statusMessage": "no-github-push guard (RULE 0.1)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "CMD=$(cat | jq -r '.tool_input.command // empty'); echo \"$CMD\" | grep -qiE 'git push.*github|gh repo (create|push|sync)' && ~/.claude/scripts/keisei-pet-update.sh github_block; exit 0"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Edit|Write",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/no-hand-edit-agents.sh"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/agent-capability-check.sh",
|
|
"statusMessage": "agent-capability-check (Agent Substrate v1, phase 4)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/numeric-claims-guard.sh",
|
|
"statusMessage": "numeric-claims-guard (RULE 0.18)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/citation-verify.sh",
|
|
"statusMessage": "citation-verify (RULE 0.4)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/secrets-pre-guard.sh",
|
|
"statusMessage": "secrets-pre-guard (RULE 0.8)..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Read",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/tomd-preread.sh",
|
|
"statusMessage": "tomd pre-read auto-convert check..."
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Agent",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/agent-fork-logger.sh",
|
|
"statusMessage": "agent-fork-logger (RULE 0.12)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/orchestrator-dirty-check.sh",
|
|
"statusMessage": "orchestrator-dirty-check (RULE 0.13)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/orchestrator-branch-check.sh",
|
|
"statusMessage": "orchestrator branch ownership (RULE 0.13)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/task-timer.sh"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/scripts/keisei-pet-update.sh agent_start"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/recurrence-suggest.sh",
|
|
"statusMessage": "recurrence-escalate suggester (RULE 0.10)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/rust-first.sh",
|
|
"statusMessage": "rust-first reminder (RULE 0.2)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/no-downgrade.sh",
|
|
"statusMessage": "no-downgrade reminder (RULE -1)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/alignment-check.sh"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/chat-numeric-prewarn.sh",
|
|
"statusMessage": "chat-numeric-prewarn (RULE 0.18)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/scripts/keisei-pet-update.sh prompt"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"matcher": "*",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/session-end-dump.sh",
|
|
"statusMessage": "session-end trace dump (RULE 0.14)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/stop-verify.sh",
|
|
"statusMessage": "stop-verify (uncommitted/Modal-running warning)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/task-timer.sh"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/extract-task-durations.sh",
|
|
"statusMessage": "extract-task-durations — pull async durations from notifications..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/hooks/chat-numeric-postflag.sh",
|
|
"statusMessage": "chat-numeric-postflag (RULE 0.18)..."
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "~/.claude/scripts/keisei-pet-update.sh sleep"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|