mirror of
https://github.com/sean2077/obsidian-dynamic-theme-background.git
synced 2026-07-22 06:44:57 +00:00
28 lines
796 B
JSON
28 lines
796 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Edit|Write|apply_patch",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash -lc 'root=\"$(git rev-parse --show-toplevel 2>/dev/null)\" || exit 0; bash \"$root/.agents/tools/hooks/trunk_edit_guard.sh\"'",
|
|
"statusMessage": "Checking worktree policy"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Edit|Write|apply_patch",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "bash -lc 'root=\"$(git rev-parse --show-toplevel 2>/dev/null)\" || exit 0; bash \"$root/.agents/tools/hooks/authority_doc_budget.sh\"'",
|
|
"statusMessage": "Checking AGENTS.md budget"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|