공통 훅·스킬(되돌릴 수 없는 명령 차단 H12, 비밀 값 알림, 예측·실측 장부 기록, estimate·retro·techdebt)은 claude-harness repo의 플러그인이 준다. 이 repo는 그 플러그인을 켜지 않아 새 세션이 그것들을 받지 못했다. .claude/settings.json에 extraKnownMarketplaces(claude-harness, git URL)와 enabledPlugins를 더했다. 기존 deny와 repo 훅은 그대로다. 사용자 전역에 같은 H12가 등록돼 있으면 플러그인 H12는 스스로 아무것도 하지 않는다 (소유자 기계가 그렇다). 비대화형(claude -p)은 플러그인을 자동 설치하지 않으므로 CLAUDE.md와 docs/upgrade/2026-11-harness.md 9번에 수동 설치 두 명령을 적었다. 위험: 이 세션은 ~/.claude를 바꾸지 않으므로 플러그인 설치 자체는 하지 않았다. 대화형 앱이 처음 열 때 설치를 묻는지는 확인하지 않았다(claude- harness README도 같은 미확인). 검증: settings.json JSON 파싱, check-work-docs.py rc=0(CLAUDE.md 10/10줄).
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"permissions": {
|
|
"deny": [
|
|
"Read(**/.env)",
|
|
"Read(**/.env.local)",
|
|
"Read(**/.env.lane)",
|
|
"Edit(**/.env)",
|
|
"Edit(**/.env.local)",
|
|
"Edit(**/.env.lane)"
|
|
]
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Edit|Write|MultiEdit",
|
|
"hooks": [
|
|
{"type": "command", "command": "python3 \"$CLAUDE_PROJECT_DIR\"/scripts/hooks/hooks.py pre-edit", "timeout": 10}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write|MultiEdit",
|
|
"hooks": [
|
|
{"type": "command", "command": "python3 \"$CLAUDE_PROJECT_DIR\"/scripts/hooks/hooks.py post-edit", "timeout": 60}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{"type": "command", "command": "python3 \"$CLAUDE_PROJECT_DIR\"/scripts/hooks/hooks.py post-bash", "timeout": 10}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{"type": "command", "command": "python3 \"$CLAUDE_PROJECT_DIR\"/scripts/hooks/hooks.py stop", "timeout": 10}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"extraKnownMarketplaces": {
|
|
"claude-harness": {
|
|
"source": {
|
|
"source": "git",
|
|
"url": "https://git.learn.hyeonworks.com/donghyeon.kang/claude-harness.git"
|
|
}
|
|
}
|
|
},
|
|
"enabledPlugins": {
|
|
"harness@claude-harness": true
|
|
}
|
|
}
|