From 5851ebcc73966274a93f21183aaf1c4f409f2611 Mon Sep 17 00:00:00 2001 From: dancinlife Date: Sun, 12 Apr 2026 02:14:12 +0900 Subject: [PATCH] =?UTF-8?q?fix(hooks):=20hook-entry.hexa=20=ED=8A=B8?= =?UTF-8?q?=EB=9E=A8=ED=8F=B4=EB=A6=B0=20=ED=8F=90=EC=A7=80=20=E2=80=94=20?= =?UTF-8?q?settings.json=20=EC=A7=81=EC=A0=91=20=ED=98=B8=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 훅 1건당 5 프로세스 (hook-entry + bash -c + cat + target hexa) → 1 프로세스로 80% 절감. 다중 Claude 세션 동시 실행 시 Mac CPU 부하 완화. - prompt/pretool/post 모드: hook-entry.hexa → target 직접 호출 - guard 모드 (Agent matcher): 기존 no-op 플레이스홀더 유지 Co-Authored-By: Claude Opus 4.6 (1M context) --- .claude/settings.json | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.claude/settings.json b/.claude/settings.json index d52d97c..fabc7aa 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -6,12 +6,12 @@ "hooks": [ { "type": "command", - "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hook-entry.hexa prompt /Users/ghost/Dev/nexus/shared/hooks/nexus-prompt-scan.hexa", + "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/nexus-prompt-scan.hexa", "timeout": 3 }, { "type": "command", - "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hook-entry.hexa prompt /Users/ghost/Dev/nexus/shared/hooks/go-parallel.hexa", + "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/go-parallel.hexa", "timeout": 3 } ] @@ -23,11 +23,11 @@ "hooks": [ { "type": "command", - "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hook-entry.hexa pretool /Users/ghost/Dev/nexus/shared/hooks/block-forbidden-ext.hexa" + "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/block-forbidden-ext.hexa" }, { "type": "command", - "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hook-entry.hexa pretool /Users/ghost/Dev/nexus/shared/hooks/absolute-rules-loader.hexa" + "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/absolute-rules-loader.hexa" } ] }, @@ -47,11 +47,7 @@ "hooks": [ { "type": "command", - "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hook-entry.hexa post /Users/ghost/Dev/nexus/shared/hooks/nexus-post-bash.hexa" - }, - { - "type": "command", - "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hook-entry.hexa post /Users/ghost/Dev/nexus/shared/hooks/hexa-grammar-guard.hexa" + "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hexa-grammar-guard.hexa" } ] }, @@ -60,7 +56,7 @@ "hooks": [ { "type": "command", - "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/hook-entry.hexa post /Users/ghost/Dev/nexus/shared/hooks/nexus-post-edit.hexa" + "command": "/Users/ghost/Dev/hexa-lang/hexa /Users/ghost/Dev/nexus/shared/hooks/nexus-post-edit.hexa" } ] }