-
Notifications
You must be signed in to change notification settings - Fork 1
Pipeline Plan 191
Seth Ford edited this page Mar 1, 2026
·
1 revision
Plan is ready for review. Here's the summary:
Scope: Single file change to scripts/sw-daemon-test.sh
What it does:
- Adds
test_setup_dirs_self_healing_worktree— extracts the realsetup_dirs()fromsw-daemon.sh, runs it in a controlled temp directory with no.claude/worktrees/present, then asserts the directory gets created and.gitignoregets updated - Registers the test in the existing
tests=()array
Why this approach:
- Tests the real production function (not a redefinition) — catches actual regressions
- Uses
sedextraction + subshell isolation — safe, no side effects on test env - Follows existing test harness patterns (PASS/FAIL, assertion helpers,
run_test)