summaryrefslogtreecommitdiff
path: root/tests/claude-code
diff options
context:
space:
mode:
authorJesse Vincent <jesse@fsck.com>2026-01-22 21:55:26 +0000
committerJesse Vincent <jesse@fsck.com>2026-03-06 13:01:31 -0800
commitf57638a74759376871509ccf080e606f62052f1b (patch)
tree72d002d4ed4838673296938e7972a1f2fa9de5ec /tests/claude-code
parent4180afb7bd90c2dc5f37c827f323d397f8d16214 (diff)
refactor: restructure specs and plans directories
- Specs (brainstorming output) now go to docs/superpowers/specs/ - Plans (writing-plans output) now go to docs/superpowers/plans/ - User preferences for locations override these defaults - Update all skill references and test files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/claude-code')
-rwxr-xr-xtests/claude-code/test-helpers.sh2
-rwxr-xr-xtests/claude-code/test-subagent-driven-development-integration.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/claude-code/test-helpers.sh b/tests/claude-code/test-helpers.sh
index 16518fd..f83a7d2 100755
--- a/tests/claude-code/test-helpers.sh
+++ b/tests/claude-code/test-helpers.sh
@@ -143,7 +143,7 @@ cleanup_test_project() {
create_test_plan() {
local project_dir="$1"
local plan_name="${2:-test-plan}"
- local plan_file="$project_dir/docs/plans/$plan_name.md"
+ local plan_file="$project_dir/docs/superpowers/plans/$plan_name.md"
mkdir -p "$(dirname "$plan_file")"
diff --git a/tests/claude-code/test-subagent-driven-development-integration.sh b/tests/claude-code/test-subagent-driven-development-integration.sh
index ddb0c12..f0b17fb 100755
--- a/tests/claude-code/test-subagent-driven-development-integration.sh
+++ b/tests/claude-code/test-subagent-driven-development-integration.sh
@@ -42,10 +42,10 @@ cat > package.json <<'EOF'
}
EOF
-mkdir -p src test docs/plans
+mkdir -p src test docs/superpowers/plans
# Create a simple implementation plan
-cat > docs/plans/implementation-plan.md <<'EOF'
+cat > docs/superpowers/plans/implementation-plan.md <<'EOF'
# Test Implementation Plan
This is a minimal plan to test the subagent-driven-development workflow.
@@ -121,7 +121,7 @@ OUTPUT_FILE="$TEST_PROJECT/claude-output.txt"
# Create prompt file
cat > "$TEST_PROJECT/prompt.txt" <<'EOF'
-I want you to execute the implementation plan at docs/plans/implementation-plan.md using the subagent-driven-development skill.
+I want you to execute the implementation plan at docs/superpowers/plans/implementation-plan.md using the subagent-driven-development skill.
IMPORTANT: Follow the skill exactly. I will be verifying that you:
1. Read the plan once at the beginning
@@ -136,7 +136,7 @@ EOF
# Note: We use a longer timeout since this is integration testing
# Use --allowed-tools to enable tool usage in headless mode
# IMPORTANT: Run from superpowers directory so local dev skills are available
-PROMPT="Change to directory $TEST_PROJECT and then execute the implementation plan at docs/plans/implementation-plan.md using the subagent-driven-development skill.
+PROMPT="Change to directory $TEST_PROJECT and then execute the implementation plan at docs/superpowers/plans/implementation-plan.md using the subagent-driven-development skill.
IMPORTANT: Follow the skill exactly. I will be verifying that you:
1. Read the plan once at the beginning