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:
2025-12-22 17:44:52 +02:00
parent f324b43a85
commit 940c6a9f58
15 changed files with 298 additions and 97 deletions

View File

@@ -17,13 +17,13 @@ Create a comprehensive specification for a new feature using the spec-writer age
### 1. Initialize
- Parse feature name from arguments (kebab-case: "User Dashboard" -> "user-dashboard")
- Check if `.auto-build-data/` exists in the project root
- Check if `.auto-build/` exists in the project root
- If not: Create the directory structure:
```
mkdir -p .auto-build-data/specs
mkdir -p .auto-build-data/memory
mkdir -p .auto-build/specs
mkdir -p .auto-build/memory
```
- Check if spec already exists at `.auto-build-data/specs/{feature-name}/`
- Check if spec already exists at `.auto-build/specs/{feature-name}/`
- If exists: Ask "Update existing spec or create new version?"
### 2. Gather Requirements
@@ -56,14 +56,14 @@ Launch the **spec-writer** agent with:
### 4. Generate Specification
The spec-writer agent creates:
- `.auto-build-data/specs/{feature-name}/spec.md` using the template
- `.auto-build-data/specs/{feature-name}/status.json` with state: "SPEC_COMPLETE"
- `.auto-build/specs/{feature-name}/spec.md` using the template
- `.auto-build/specs/{feature-name}/status.json` with state: "SPEC_COMPLETE"
### 5. Confirmation
Display:
```
Specification created: .auto-build-data/specs/{feature-name}/spec.md
Specification created: .auto-build/specs/{feature-name}/spec.md
Summary:
- [Key requirement 1]
@@ -74,8 +74,9 @@ Affected files identified: X files
Estimated complexity: [Low/Medium/High]
Next steps:
- Review the spec: Read .auto-build-data/specs/{feature-name}/spec.md
- Review the spec: Read .auto-build/specs/{feature-name}/spec.md
- Start implementation: /ab:build {feature-name}
- Commit to share with team: git add .auto-build/ && git commit -m "spec: {feature-name}"
```
## Spec Template