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.