summaryrefslogtreecommitdiff
path: root/constrain/claude-headless-settings.json
diff options
context:
space:
mode:
Diffstat (limited to 'constrain/claude-headless-settings.json')
-rw-r--r--constrain/claude-headless-settings.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/constrain/claude-headless-settings.json b/constrain/claude-headless-settings.json
new file mode 100644
index 0000000..f125ed2
--- /dev/null
+++ b/constrain/claude-headless-settings.json
@@ -0,0 +1,19 @@
+{
+ "permissions": {
+ "deny": ["Read", "Grep", "Glob"],
+ "allow": ["Bash(vr)", "Bash(vr:*)"]
+ },
+ "hooks": {
+ "PreToolUse": [
+ {
+ "matcher": "Bash",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "/Users/goblin/00-projects/0x4200.cafe/vr-agent-logger/constrain/vr-only-guard.sh"
+ }
+ ]
+ }
+ ]
+ }
+}