An agentic skills framework & software development methodology that works.
Add .claude settings to scaffolds for auto-approved permissions
Jesse Vincentcd83439bb241
diff --git a/tests/subagent-driven-dev/go-fractals/scaffold.sh b/tests/subagent-driven-dev/go-fractals/scaffold.shindex 5f1e07a81..d11ea74df 100755--- a/tests/subagent-driven-dev/go-fractals/scaffold.sh+++ b/tests/subagent-driven-dev/go-fractals/scaffold.sh@@ -18,6 +18,23 @@ git initcp "$SCRIPT_DIR/design.md" .cp "$SCRIPT_DIR/plan.md" .+# Create .claude settings to allow reads/writes in this directory+mkdir -p .claude+cat > .claude/settings.local.json << 'SETTINGS'+{+ "permissions": {+ "allow": [+ "Read(**)",+ "Edit(**)",+ "Write(**)",+ "Bash(go:*)",+ "Bash(mkdir:*)",+ "Bash(git:*)"+ ]+ }+}+SETTINGS+# Create initial commitgit add .git commit -m "Initial project setup with design and plan"diff --git a/tests/subagent-driven-dev/run-test.sh b/tests/subagent-driven-dev/run-test.shindex fbc1fdf67..380372680 100755--- a/tests/subagent-driven-dev/run-test.sh+++ b/tests/subagent-driven-dev/run-test.sh@@ -71,6 +71,8 @@ echo ""# Run claude and capture output# Using stream-json to get token usage stats+# Run from project directory so .claude/settings.local.json is picked up+cd "$OUTPUT_DIR/project"claude -p "$PROMPT" \--plugin-dir "$PLUGIN_DIR" \--output-format stream-json \diff --git a/tests/subagent-driven-dev/svelte-todo/scaffold.sh b/tests/subagent-driven-dev/svelte-todo/scaffold.shindex 32ed7bbd7..f58129da6 100755--- a/tests/subagent-driven-dev/svelte-todo/scaffold.sh+++ b/tests/subagent-driven-dev/svelte-todo/scaffold.sh@@ -18,6 +18,24 @@ git initcp "$SCRIPT_DIR/design.md" .cp "$SCRIPT_DIR/plan.md" .+# Create .claude settings to allow reads/writes in this directory+mkdir -p .claude+cat > .claude/settings.local.json << 'SETTINGS'+{+ "permissions": {+ "allow": [+ "Read(**)",+ "Edit(**)",+ "Write(**)",+ "Bash(npm:*)",+ "Bash(npx:*)",+ "Bash(mkdir:*)",+ "Bash(git:*)"+ ]+ }+}+SETTINGS+# Create initial commitgit add .git commit -m "Initial project setup with design and plan"