From 725bb6ee028cfc4c710f33a82e4095f0286aebd0 Mon Sep 17 00:00:00 2001 From: Coding-Dev-Tools Date: Wed, 26 Aug 2026 00:50:08 -0400 Subject: [PATCH] fix(scripts): drop unused HOOK_KEY constant from install_cc_hook.py The constant was declared but never referenced; the idempotency check in install()/uninstall() matches on the `command` string instead. Drop the dead identifier so a reviewer doesn't flag it. Follow-up to #171 (review pass 2). --- scripts/install_cc_hook.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/install_cc_hook.py b/scripts/install_cc_hook.py index c0c5a524..bc430239 100644 --- a/scripts/install_cc_hook.py +++ b/scripts/install_cc_hook.py @@ -20,7 +20,6 @@ SETTINGS_PATH = Path(os.environ.get("COMMANDCODE_SETTINGS_PATH") or Path.home() / ".commandcode" / "settings.json") HOOK_PATH = Path(__file__).resolve().parent.parent / "integrations" / "commandcode" / "session_start_hook.py" -HOOK_KEY = "cc-engraphis-session-start" def _utc_stamp() -> str: