What's New
GCC v2 replaces verbose markdown storage (~500 tokens/entry) with a lean index.yaml format (~50 tokens/entry) backed by real git commits. Context is reconstructed on demand via git show.
New Scripts
| Script | Purpose |
|---|---|
gcc_commit.sh |
Real git commit + lean index entry |
gcc_context.sh |
Reconstruct context from hashes |
gcc_bridge.sh |
Feed commit data to aiyoucli vector memory |
gcc_cleanup.sh |
TTL-based worktree cleanup + index pruning |
Key Features
- Dual mode: auto-detects git repo (lean index) or standalone (v1-compatible markdown)
- ~10x token savings: 50 tokens/entry vs 500 in v1
- Context reconstruction:
--summary,--last N,--hash,--decisions,--full - aiyoucli bridge: auto-feeds commit data to vector memory when available
- Worktree TTL: automatic cleanup of expired worktrees
Breaking Changes
index.yamlreplacescommit.md,log.md,metadata.yamlas primary storagegcc_init.shcreates v2 structure by default- Use
gcc_init.sh --upgradeto migrate from v1 (backs up old files)
Migration from v1
cd your-project
scripts/gcc_init.sh --upgradeThis backs up v1 files to .GCC/.v1-backup/ and creates the new index.yaml.