← Files AkinatorARCHIVED FILE

hooks/hooks.json

735 Bytes · Oct 3, 2026 · 06:33 UTC

↓ Download file

{
  "description": "Akinator SessionStart hook: injects the always-on contract and reports which knowledge entry points the current repo actually has, so RESOLVE starts from facts. Exec form (command + args), not shell form: the shell form 'sh \"${CLAUDE_PLUGIN_ROOT}/...\"' exits 126 on Claude Code 2.1.154 under Git Bash, so the contract silently never reached CLI sessions on Windows. Display-only: it emits context and never returns a permission decision.",
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "sh",
            "args": [
              "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh"
            ]
          }
        ]
      }
    ]
  }
}

SHA-256: 247823d4d862e02c90916b278e2ade014884519d6b8e89d6161fffc6792d80f8