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

@@ -45,7 +45,8 @@ Auto-Build este un plugin oficial Claude Code care transformă modul în care de
# - CLAUDE.md (dacă nu există)
# - .claude/rules/auto-build-patterns.md
# - .claude/rules/auto-build-memory.md
# - .auto-build-data/ structure
# - .auto-build/ structure (specs, memory - git-tracked)
# - .auto-build-data/ structure (worktrees, cache - local only)
# 4. Verifică instalarea
/ab:help
@@ -227,9 +228,9 @@ What insights should be saved?
Agent salvează în **2 locații simultan**:
**A) JSON Files** (searchable)
**A) JSON Files** (searchable, git-tracked - shared with team)
```json
// .auto-build-data/memory/patterns.json
// .auto-build/memory/patterns.json
{
"id": "pat_20250121_143000",
"title": "API Error Handling Pattern",
@@ -512,20 +513,28 @@ user-project/
│ │ └── auto-build-memory.md ← Updated de /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
│ ├── plan.md
│ └── status.json
│ └── memory/
│ ├── patterns.json ← Searchable via /ab:memory-search
│ ├── gotchas.json ← Searchable via /ab:memory-search
│ └── sessions/
└── .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/
```
**Beneficii noi (v1.0.6)**:
- 🤝 **Colaborare**: Alt developer poate continua planul tău
- 🧠 **Învățare partajată**: Patterns și gotchas disponibile pentru toată echipa
- 🌍 **Cross-platform**: Funcționează fără symlinks pe Windows/Linux/Mac
- 📜 **Versionare**: Istoricul specs/plans/memory vizibil în git
---
## 🔧 Configurare Gitea