Build out all 27 modules + capstone (#1)

Co-authored-by: claude <claude@jpaul.io>
Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #1.
This commit is contained in:
2026-06-22 12:19:01 -04:00
committed by Claude (agent)
parent 4bd586bbd0
commit 2684095e2f
117 changed files with 15131 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Module 26 lab — tear down the fleet after the work has merged.
#
# Removes each worktree and prunes stale records. Refuses to remove a worktree with uncommitted
# work (Git's safety) — commit or merge first. Run from inside your tasks-app repo.
set -euo pipefail
FLEET=(
"../tasks-app-42-count"
"../tasks-app-43-docs"
"../tasks-app-44-clear"
)
git rev-parse --git-dir >/dev/null 2>&1 || { echo "not a git repo" >&2; exit 1; }
for path in "${FLEET[@]}"; do
if [ -d "$path" ]; then
echo "remove: $path"
git worktree remove "$path" # fails if dirty — that's intentional; commit first
fi
done
git worktree prune
echo
echo "Fleet torn down. Remaining worktrees:"
git worktree list