From 1f66183c8e2c1d59c439569ea404325d669b3915 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 11 Apr 2026 22:03:53 +0000 Subject: [PATCH] fix: update scaffold settings template to match locked-down agent permissions --- server/src/io/fs/scaffold.rs | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/server/src/io/fs/scaffold.rs b/server/src/io/fs/scaffold.rs index 5095abff..e3357487 100644 --- a/server/src/io/fs/scaffold.rs +++ b/server/src/io/fs/scaffold.rs @@ -66,14 +66,24 @@ setup wizard instructions and guide the user through it conversationally.\n"; const STORY_KIT_CLAUDE_SETTINGS: &str = r#"{ "permissions": { "allow": [ + "Bash(cargo build:*)", + "Bash(cargo check:*)", + "Bash(git *)", + "Bash(ls *)", + "Bash(mkdir *)", + "Bash(mv *)", + "Bash(rm *)", + "Bash(touch *)", + "Bash(echo:*)", + "Bash(pwd *)", + "Bash(grep:*)", + "Bash(find *)", + "Bash(head *)", + "Bash(tail *)", + "Bash(wc *)", + "Bash(cat *)", "Edit", "Write", - "Read", - "Glob", - "Grep", - "Bash(cargo check:*)", - "Bash(cargo build:*)", - "Bash(git *)", "mcp__huskies__*" ] },