mirror of
https://github.com/Donchitos/Claude-Code-Game-Studios
synced 2026-04-21 13:27:18 +00:00
Both SubagentStart/SubagentStop hooks were extracting `.agent_name` from the hook payload, but Claude Code emits the agent name in `agent_type`. This caused every audit log entry to fall through to the "unknown" fallback, making the entire agent audit trail useless. Fix: swap `.agent_name` -> `.agent_type` in both the jq path and the grep/sed fallback for systems without jq. Log output format is unchanged so existing audit logs remain valid. Bug reported and fix authored by @bobloy in issue #20: https://github.com/Donchitos/Claude-Code-Game-Studios/issues/20 Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent-memory/lead-programmer | ||
| agents | ||
| docs | ||
| hooks | ||
| rules | ||
| skills | ||
| settings.json | ||
| statusline.sh | ||