verify
スター0
フォーク0
更新日2026年7月10日 19:55
How to verify ari-hooks changes end-to-end against a real Claude Code session
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
How to verify ari-hooks changes end-to-end against a real Claude Code session
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | verify |
| description | How to verify ari-hooks changes end-to-end against a real Claude Code session |
The surface is a Claude Code session in a folder where the hooks are
installed. Unit tests (npm test) exercise the hook binary against a stub
HTTP server, but real verification means booting claude and watching the
hooks fire.
http.createServer on
127.0.0.1:<port> serving the endpoints the hooks call
(/agent-activities POST, /agent-tasks GET). Log method/url/auth.ARI_HOOKS_HOME at a temp dir containing
config.json: { "token": "test", "apiUrl": "http://127.0.0.1:<port>" }..claude/settings.json whose hook
commands use the absolute local bin:
node /Users/maxheckel/Sites/ari-hooks/bin/ari-hooks.js hook <event>.cd demo && ARI_HOOKS_HOME=... claude -p "...". Hooks run in -p mode; ask Claude about injected context to
confirm additionalContext landed.expect stalls (claude waits on terminal
capability queries a dumb pty never answers). Use tmux:
tmux -L verify new-session -d -x 100 -y 40 -c <demo> "env ARI_HOOKS_HOME=... claude",
sleep ~6-8s, tmux -L verify capture-pane -p. Drive with send-keys.
First boot in a new folder shows a trust dialog (send Enter).$ARI_HOOKS_HOME/error.log.Clean up: tmux -L verify kill-server, kill stub server pids.