Files
MyAiConfiguration/adapters/codex/config/config.toml
T
Julian LechnerandClaude Opus 5.5 305bcdeb54
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
feat(hooks): remind agents to use semantic search before open searches
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>
2026-11-16 12:56:49 +01:00

76 lines
2.8 KiB
TOML

approval_policy = "on-request"
approvals_reviewer = "auto_review"
sandbox_mode = "danger-full-access"
[tui]
status_line = ["model", "reasoning", "fast-mode", "approval-mode", "five-hour-limit", "weekly-limit", "project-name", "git-branch", "context-window-size", "context-used", "used-tokens"]
[agents]
enabled = true
max_concurrent_threads_per_session = 5
max_depth = 1
[features]
hooks = true
api_key_model_discovery = true
[[hooks.Stop]]
[[hooks.Stop.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__HOOK_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/__POWERSHELL_HOOK_SCRIPT__"'
timeout = 8
[[hooks.Stop]]
[[hooks.Stop.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMPLETION_EVIDENCE_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMPLETION_EVIDENCE_SCRIPT__"'
timeout = 6
[[hooks.UserPromptSubmit]]
[[hooks.UserPromptSubmit.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__CORRECTION_PROMPT_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__CORRECTION_PROMPT_SCRIPT__"'
timeout = 4
[[hooks.SessionStart]]
[[hooks.SessionStart.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__QMD_WARM_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__QMD_WARM_SCRIPT__"'
timeout = 4
[[hooks.PreToolUse]]
[[hooks.PreToolUse.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMMAND_SAFETY_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__COMMAND_SAFETY_SCRIPT__"'
timeout = 6
# Reminds once per session to run semantic-search before open shell searches; a no-op without QMD.
[[hooks.PreToolUse]]
matcher = "Bash"
[[hooks.PreToolUse.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__SEARCH_REMINDER_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__SEARCH_REMINDER_SCRIPT__"'
timeout = 4
# Impeccable's design detector; the wrapper is a no-op unless the Impeccable Codex skill is installed.
[[hooks.PostToolUse]]
matcher = "Edit|Write|apply_patch"
[[hooks.PostToolUse.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__IMPECCABLE_HOOK_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__IMPECCABLE_HOOK_SCRIPT__"'
timeout = 10
[[hooks.Stop]]
[[hooks.Stop.hooks]]
type = "command"
command = '__HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__IMPECCABLE_HOOK_SCRIPT__"'
command_windows = '__POWERSHELL_HOOK_COMMAND__ "__AI_CONFIG_ROOT__/hooks/scripts/__IMPECCABLE_HOOK_SCRIPT__"'
timeout = 30