Files
2025-11-30 09:02:16 +08:00

32 lines
908 B
JSON

{
"description": "Permissive mode - warn only, never block. Supports convention-based context injection.",
"comment": "Context files in .claude/context/ auto-inject without configuration. See CONVENTIONS.md",
"gates": {
"check": {
"description": "Quality checks (warn only)",
"comment": "Examples: 'npm run lint' | 'cargo clippy' | 'mise run check'",
"command": "mise run check",
"on_pass": "CONTINUE",
"on_fail": "CONTINUE"
},
"test": {
"description": "Tests (warn only)",
"comment": "Examples: 'npm test' | 'cargo test' | 'mise run test'",
"command": "mise run test",
"on_pass": "CONTINUE",
"on_fail": "CONTINUE"
}
},
"hooks": {
"PostToolUse": {
"enabled_tools": ["Edit", "Write"],
"gates": ["check"]
},
"SubagentStop": {
"enabled_agents": [],
"gates": ["check", "test"]
}
}
}