CI / CI configuration security checks (push) Successful in 2s
CI / Capabilities and shell quality (push) Successful in 16s
CI / Python tests and compilation (push) Successful in 29s
CI / QMD unit tests (push) Successful in 5s
CI / Build and inspect generated packages (push) Successful in 17s
CI / PowerShell tests on Ubuntu (push) Successful in 1m10s
CI / Installed client configuration smoke tests (push) Successful in 34s
CI / Bash integration and installation guards (push) Successful in 1m9s
Add a PreToolUse hook (Show-SearchReminder/show-search-reminder.sh via agent-guards.py) that, once per session, reminds the agent to run semantic-search before the first open search. It fires on Grep/Glob and on shell search commands, never blocks, stays silent once the session ran qmd-search.mjs, and does nothing unless QMD is installed. Per-session markers are hashed and pruned after seven days. Claude matches Grep|Glob|Bash|PowerShell; Codex matches Bash. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
42 lines
2.1 KiB
JSON
42 lines
2.1 KiB
JSON
{
|
|
"permissions": {
|
|
"defaultMode": "auto",
|
|
"allow": ["Agent", "__SHELL_TOOL__(mcporter call context7.*)"],
|
|
"deny": ["PowerShell(git reset --hard*)", "PowerShell(git clean*)", "PowerShell(Remove-Item *-Recurse*)", "Bash(git reset --hard*)", "Bash(git clean*)", "Bash(rm -rf*)"]
|
|
},
|
|
"sandbox": __CLAUDE_SANDBOX__,
|
|
"env": {
|
|
"CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY": "__CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY__",
|
|
"CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS": "5",
|
|
"CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH": "1"
|
|
},
|
|
"statusLine": {
|
|
"type": "command",
|
|
"command": "__STATUSLINE_COMMAND__ \"__AI_CONFIG_ROOT__/statusline/__STATUSLINE_SCRIPT__\""
|
|
},
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{"matcher": "Bash|PowerShell", "hooks": [{"type": "command", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/scripts/__COMMAND_SAFETY_SCRIPT__\"", "timeout": 6}]},
|
|
{"matcher": "Grep|Glob|Bash|PowerShell", "hooks": [{"type": "command", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/scripts/__SEARCH_REMINDER_SCRIPT__\"", "timeout": 4}]}
|
|
],
|
|
"PreCompact": [{"hooks": [{"type": "command", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/scripts/__COMPACT_SCRIPT__\"", "timeout": 4}]}],
|
|
"SessionStart": [
|
|
{"hooks": [{"type": "command", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/scripts/__SESSION_POINTER_SCRIPT__\"", "timeout": 4}]},
|
|
{"hooks": [{"type": "command", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/scripts/__QMD_WARM_SCRIPT__\"", "timeout": 4}]}
|
|
],
|
|
"UserPromptSubmit": [{"hooks": [{"type": "command", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/scripts/__CORRECTION_PROMPT_SCRIPT__\"", "timeout": 4}]}],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__\"",
|
|
"timeout": 8
|
|
}
|
|
]
|
|
},
|
|
{"hooks": [{"type": "command", "command": "__HOOK_COMMAND__ \"__AI_CONFIG_ROOT__/hooks/scripts/__COMPLETION_EVIDENCE_SCRIPT__\"", "timeout": 6}]}
|
|
]
|
|
}
|
|
}
|