feat: Move specs and memory to git for multi-developer collaboration (v1.0.6)
BREAKING CHANGE: Specs, plans, and memory moved from .auto-build-data/ (gitignored) to .auto-build/ (git-tracked) to enable team collaboration. Changes: - Specs/plans now in .auto-build/specs/ (shared with team) - Memory (patterns, gotchas) now in .auto-build/memory/ (shared with team) - .auto-build-data/ now only contains local data (worktrees, cache) - Added /ab:migrate command for existing projects - Removed symlinks from worktree-create.sh (no longer needed) Benefits: - Any developer can continue a plan started by another - Patterns and gotchas shared across team - Works on Windows/Linux/Mac without symlinks - Full version history in git 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -66,18 +66,8 @@ fi
|
||||
echo "Creating worktree..."
|
||||
git worktree add "$WORKTREE_PATH" "$BRANCH_NAME"
|
||||
|
||||
# Create symlink to .auto-build-data/ from main repo
|
||||
# This ensures specs, plans, and status are shared across worktrees
|
||||
if [ -d "$PROJECT_ROOT/.auto-build-data" ]; then
|
||||
echo "Creating symlink to .auto-build-data/..."
|
||||
ln -s "$PROJECT_ROOT/.auto-build-data" "$WORKTREE_PATH/.auto-build-data"
|
||||
fi
|
||||
|
||||
# Also symlink .claude/rules/ for memory access
|
||||
if [ -d "$PROJECT_ROOT/.claude/rules" ]; then
|
||||
mkdir -p "$WORKTREE_PATH/.claude"
|
||||
ln -s "$PROJECT_ROOT/.claude/rules" "$WORKTREE_PATH/.claude/rules"
|
||||
fi
|
||||
# Note: No symlinks needed - specs and memory are in .auto-build/ (git-tracked)
|
||||
# The worktree automatically has access to all shared data
|
||||
|
||||
# Update registry
|
||||
REGISTRY_FILE="$PROJECT_ROOT/.auto-build-data/worktrees/worktree-registry.json"
|
||||
|
||||
Reference in New Issue
Block a user