Prevents agents from creating duplicate low-numbered issues when starting with a fresh git clone that already has issues.jsonl in git history. Changes: - bd init now checks for existing issues in git after DB creation - Auto-imports with collision resolution if found - Updates AGENTS.md to simplify onboarding (just 'bd init') Fixes the scenario where: 1. Fresh clone has .beads/issues.jsonl in git (212 issues) 2. Agent runs bd init (creates empty DB) 3. Agent starts creating bd-1, bd-2, etc (collisions with git) Now bd init automatically imports all issues from git on first run. Amp-Thread-ID: https://ampcode.com/threads/T-8a41f14d-d4c3-4c50-a18b-5f112110f138 Co-authored-by: Amp <amp@ampcode.com>
3.8 KiB
3.8 KiB