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

@@ -31,7 +31,7 @@ Auto-Build is a Claude Code plugin that provides autonomous feature implementati
spec-writer agent
spec.md created in .auto-build-data/specs/
spec.md created in .auto-build/specs/ (git-tracked!)
/ab:build feature-name
@@ -49,10 +49,12 @@ Auto-Build is a Claude Code plugin that provides autonomous feature implementati
/ab:memory-save
patterns.json, gotchas.json updated
patterns.json, gotchas.json in .auto-build/memory/ (git-tracked!)
+ .claude/rules/auto-build-memory.md synced (auto-loaded!)
```
**New in v1.0.6**: Specs, plans, and memory are now git-tracked, enabling multi-developer collaboration!
---
## Commands
@@ -130,20 +132,26 @@ user-project/ # Your project
│ │ └── auto-build-memory.md # Updated by /ab:memory-save
│ └── settings.json
── .auto-build-data/ # Runtime data (gitignored)
├── specs/{feature-name}/
│ ├── spec.md
│ ├── plan.md
│ └── status.json
── .auto-build/ # ⭐ COMMITTED TO GIT - shared with team
├── specs/{feature-name}/
│ ├── spec.md # Feature specification
│ ├── plan.md # Implementation plan
│ └── status.json # Build status
│ └── memory/
│ ├── patterns.json # Searchable via /ab:memory-search
│ ├── gotchas.json # Searchable via /ab:memory-search
│ └── sessions/ # Session history
└── .auto-build-data/ # GITIGNORED - local only
├── worktrees/
│ └── worktree-registry.json
── memory/
│ ├── patterns.json # Searchable via /ab:memory-search
│ ├── gotchas.json # Searchable via /ab:memory-search
│ └── sessions/
└── cache/qa-iterations/
│ └── worktree-registry.json # Local worktree tracking
── cache/qa-iterations/ # Temporary QA cache
```
**Data Separation (v1.0.6)**:
- `.auto-build/` - Git-tracked: specs, plans, memory (shared with team)
- `.auto-build-data/` - Gitignored: worktrees, cache (local only)
---
## Agents
@@ -236,9 +244,9 @@ Auto-Build is designed to be portable:
1. **Plugin-based**: Installs via official Claude Code plugin system
2. **Self-contained**: Everything lives in plugin directory
3. **No external dependencies**: Uses only Claude Code agents and Bash scripts
4. **Clean separation**: Runtime data in `.auto-build-data/` (gitignored)
4. **Clean separation**: Shared data in `.auto-build/` (git), local data in `.auto-build-data/` (gitignored)
5. **Cross-platform**: Uses @import (git-friendly), not symlinks
6. **Team sharing**: Git-friendly, works on all platforms
6. **Team sharing**: Specs, plans, and memory are git-tracked for multi-developer collaboration
---