Skip to content

chore: rename test/ scratch dir to sandbox/#32

Merged
kevinkod merged 1 commit intomainfrom
chore/rename-test-to-sandbox
May 2, 2026
Merged

chore: rename test/ scratch dir to sandbox/#32
kevinkod merged 1 commit intomainfrom
chore/rename-test-to-sandbox

Conversation

@kevinkod
Copy link
Copy Markdown
Contributor

@kevinkod kevinkod commented May 2, 2026

Summary

Disambiguates against tests/ (the actual unit/integration test suite). The gitignored scratch directory used by the test-specflow skill and the qa-tester agent — where Vite/empty/brownfield scenarios get bootstrapped and where QA reports land — is now sandbox/.

Same purpose, same gitignore, same ephemerality. Just a path token rename.

Why

tests/ (with S) holds the real Deno test suite, layered to mirror src/. test/ (no S) was an ephemeral scratch directory for manual UX validation. The two had nothing in common but the name, and "is it test/ or tests/?" was a recurring source of confusion. sandbox/ reads as throwaway-by-design and pairs cleanly with tests/.

What changed

  • .gitignoretest/sandbox/
  • .claude/skills/test-specflow/SKILL.md — every test/<name>/ reference becomes sandbox/<name>/; minor prose tweaks ("Test projects always live under" → "Sandbox scenarios always live under").
  • .claude/skills/test-specflow/scripts/{bootstrap-empty,bootstrap-vite,inspect,run-init,clean,compare-harnesses}.shTEST_DIRSANDBOX_DIR, every path string updated, comments brought in line.
  • .claude/agents/qa-tester.md — every workflow step + the report schema now points at sandbox/.

No product code touched. The skill name (test-specflow) stays — it's about testing Specflow, the sandbox is just the workspace it uses.

Test plan

  • deno task test — 333 passed / 0 failed.
  • Pre-commit hook (fmt + lint + bundle + check) green.
  • git grep test/ returns no remaining hits in skill/agent/scripts/gitignore (excluding tests/).
  • Next qa-tester dispatch will exercise the renamed paths end-to-end.

🤖 Generated with Claude Code

Disambiguates against tests/ (the unit/integration test suite). The
gitignored scratch directory used by the test-specflow skill and the
qa-tester agent for bootstrapped Vite/empty/brownfield project shapes
is now sandbox/. The renamed dir is still gitignored, still ephemeral,
still wiped between runs — only the path token changed.

Touched:
- .gitignore (test/ → sandbox/)
- .claude/skills/test-specflow/SKILL.md (paths + prose tweaks)
- .claude/skills/test-specflow/scripts/{bootstrap-empty,bootstrap-vite,inspect,run-init,clean,compare-harnesses}.sh
  (TEST_DIR → SANDBOX_DIR, all path strings)
- .claude/agents/qa-tester.md (workflow steps + report schema)

No product code touched; all 333 unit/integration tests still green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kevinkod kevinkod merged commit 0a14428 into main May 2, 2026
4 checks passed
@kevinkod kevinkod deleted the chore/rename-test-to-sandbox branch May 2, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant