Repository navigation
v2.5.0 — self-contained install
Highlights
Setup went from ~a dozen manual steps to two commands + one doctor run.
- Plugin-native hooks — Dangi (PostToolUse) and the hcat gate (PreToolUse) register themselves via
hooks/hooks.jsonthe moment the plugin is enabled. Nosettings.jsonhook surgery. hcaton PATH — shipped inbin/, added to Claude's Bash PATH automatically.- Bundled MCP registration —
.mcp.json→scripts/mcp-launcher.shresolves your engine and execsheadroom mcp serveoffline. No manualclaude mcp add. - Doctor (
scripts/doctor.sh+/doctorskill) — read-only diagnosis of the whole chain (jq, engine, MCP, hooks, status line), then with consent: bootstraps the engine venv, writes the one thing a plugin can't self-register (thestatusLine, merge-aware), removes legacy double-firing installs, and refreshes stale copies. Hardened against symlinked/corrupt settings, brokenHCAT_PYTHON, and Debian venv dead-ends. All fixes idempotent.
Portability
- Linux
notify-sendfallback for Dangi notifications (osascript preferred on macOS). hcatSIGPIPE handling; GNU/BSDstat/date/awk-locale sweep.
Correctness & docs
- Receipt attribution is now structural on both the badge and Dangi — a quoted receipt line no longer counts as a compression.
- Test harness:
check_eqexact-match assertions for exit codes/counts; shellcheck runs at warning severity across all five scripts (now incl.doctor.shandmcp-launcher.sh). - README + skills synced to as-built behavior.
Full test suite: 268 passed, 0 failed.