Commit Graph

3327 Commits

Author SHA1 Message Date
Steve Yegge
3c91c67311 Remove orphans 2025-12-16 20:42:29 -08:00
Steve Yegge
3fafd2dcff bd sync: 2025-12-16 20:38:55 2025-12-16 20:38:55 -08:00
Steve Yegge
0558fc0258 bd sync: 2025-12-16 20:38:39 2025-12-16 20:38:39 -08:00
Steve Yegge
955acd70d3 bd sync: 2025-12-16 20:38:35 2025-12-16 20:38:35 -08:00
Steve Yegge
2fc5e0c979 bd sync: 2025-12-16 20:36:58 2025-12-16 20:36:58 -08:00
Steve Yegge
19198939e8 bd sync: 2025-12-16 20:36:54 2025-12-16 20:36:54 -08:00
Steve Yegge
39b31e31c0 bd sync: 2025-12-16 20:36:32 2025-12-16 20:36:32 -08:00
Steve Yegge
e7fe8f7dcb bd sync: 2025-12-16 20:36:27 2025-12-16 20:36:27 -08:00
Steve Yegge
ac8c577e63 bd sync: 2025-12-16 20:35:36 2025-12-16 20:35:36 -08:00
Steve Yegge
f070e41162 Remove orphaned child issues (parents deleted) 2025-12-16 20:35:28 -08:00
Steve Yegge
cf6d949364 bd sync: 2025-12-16 20:28:53 2025-12-16 20:28:53 -08:00
Steve Yegge
85324c82a8 bd sync: 2025-12-16 20:28:25 2025-12-16 20:28:25 -08:00
Steve Yegge
fc7d41098c bd sync: 2025-12-16 20:27:35 2025-12-16 20:27:35 -08:00
Steve Yegge
137de5407b bd sync: 2025-12-16 20:27:00 2025-12-16 20:27:00 -08:00
Steve Yegge
d69e1cf371 bd sync: 2025-12-16 20:26:49 2025-12-16 20:26:49 -08:00
Steve Yegge
8fdc317071 bd sync: 2025-12-16 20:26:01 2025-12-16 20:26:02 -08:00
Steve Yegge
0ed24f0846 bd sync: 2025-12-16 20:25:57 2025-12-16 20:25:57 -08:00
Steve Yegge
f94b8e2888 bd sync: 2025-12-16 20:20:40 2025-12-16 20:20:40 -08:00
Steve Yegge
027296b5c7 bd sync: 2025-12-16 18:34:20 2025-12-16 18:34:20 -08:00
Steve Yegge
f86412d8a6 bd sync: 2025-12-16 18:34:15 2025-12-16 18:34:15 -08:00
Steve Yegge
026a5e40e8 bd sync: 2025-12-16 18:21:55 2025-12-16 18:21:55 -08:00
Steve Yegge
8eed366c06 bd sync: 2025-12-16 18:19:19 2025-12-16 18:19:19 -08:00
Steve Yegge
a4ed1c94dc bd sync: 2025-12-16 18:17:37 2025-12-16 18:17:37 -08:00
Steve Yegge
96d60a67bb bd sync: merge divergent histories (69 local + 136 remote commits) 2025-12-16 18:13:47 -08:00
Steve Yegge
c7661e0890 bd sync: 2025-12-16 18:12:56 2025-12-16 18:12:56 -08:00
Steve Yegge
52f3363b0f fix: resolve all golangci-lint errors
- errcheck: explicitly discard error returns for git config --unset
- gosec G304: add nolint for safe file read from hardcoded list
- gosec G306: add nolint for .gitattributes (must be world-readable)
- unparam: remove unused gitDir param, use _ for unused ctx
- unparam: change functions with always-nil error returns to void

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 17:50:25 -08:00
Steve Yegge
a6f0c2d497 fix: sync all version files to 0.30.2 and add CI check
The 0.30.2 bump was done manually and missed several files:
- .claude-plugin/plugin.json (was 0.30.0)
- .claude-plugin/marketplace.json (was 0.30.0)
- npm-package/package.json (was 0.30.1)
- integrations/beads-mcp/pyproject.toml (was 0.30.1)
- integrations/beads-mcp/src/beads_mcp/__init__.py (was 0.30.1)

Added scripts/check-versions.sh and CI job to prevent this in future.
Always use scripts/bump-version.sh for version bumps.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 17:13:01 -08:00
Steve Yegge
d3b0cbb8b8 chore: bump version to 0.30.2
- Update version in version.go, default.nix, hook templates
- Add CHANGELOG.md entry for v0.30.2
- Add v0.30.1 and v0.30.2 to versionChanges in info.go
- Remove stale internal/deletions import from integration test
  (fixes CI failure from bd-fom refactor)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 16:47:43 -08:00
Steve Yegge
3824125cf9 fix: align bd prime guidance with skill's hybrid TodoWrite approach
Changes bd prime output from "no TodoWrite" to a nuanced hybrid approach
that matches skills/beads/SKILL.md guidance:

- Track strategic work in beads (multi-session, dependencies, discovered work)
- TodoWrite is fine for simple single-session linear tasks
- When in doubt, prefer bd—persistence you don't need beats lost context

Fixes #499

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 16:11:30 -08:00
Steve Yegge
9f76cfda01 refactor: remove all deletions.jsonl code (bd-fom)
Complete removal of the legacy deletions.jsonl manifest system.
Tombstones are now the sole deletion mechanism.

Removed:
- internal/deletions/ - entire package
- cmd/bd/deleted.go - deleted command
- cmd/bd/doctor/fix/deletions.go - HydrateDeletionsManifest
- Tests for all removed functionality

Cleaned:
- cmd/bd/sync.go - removed sanitize, auto-compact
- cmd/bd/delete.go - removed dual-writes
- cmd/bd/doctor.go - removed checkDeletionsManifest
- internal/importer/importer.go - removed deletions checks
- internal/syncbranch/worktree.go - removed deletions merge
- cmd/bd/integrity.go - updated validation (warn-only on decrease)

Files removed: 12
Lines removed: ~7500

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 14:20:49 -08:00
Jordan Hubbard
e0528de590 feat: add Factory.ai (Droid) support to bd setup command (#598)
Adds Factory.ai (Droid) support to bd setup command via AGENTS.md integration.

- New command: bd setup factory (with --check and --remove flags)
- Creates/updates AGENTS.md with beads workflow instructions
- Uses HTML comment markers for safe idempotent updates
- Comprehensive documentation

Thanks @jordanhubbard!
2025-12-16 13:42:43 -08:00
Alessandro De Blasis
1ba12e1620 fix: Windows build + gosec lint errors (#585)
Fixes Windows build by adding platform-specific inode handling via build tags. Also fixes gosec lint warnings in migrate_tombstones.go.

Thanks @deblasis!
2025-12-16 13:26:51 -08:00
Steve Yegge
aed166fe85 fix: improve issue ID prefix extraction for word-like suffixes
Refine ExtractIssuePrefix to better distinguish hash IDs from English
words in multi-part issue IDs. Hash suffixes now require digits or be
exactly 3 chars, preventing "test", "gate", "part" from being treated
as hashes. This fixes prefix extraction for IDs like "vc-baseline-test".

Also updates git hooks to use -q flag and adds AGENTS.md documentation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 13:19:22 -08:00
Alexx
c95bc6c21d Add Windows installation command to upgrade instructions (#589)
Adds Windows PowerShell install command to bd doctor upgrade instructions.

Thanks @alexx-ftw!
2025-12-16 13:15:58 -08:00
Steve Yegge
e91d1a06fd fix: remove legacy deletions.jsonl from git tracking
The deletions.jsonl file contained merge conflicts and was causing
bd init/reset failures on fresh clones. Since we've migrated to
tombstones, these files are no longer needed.

Fixes GH#590

Co-Authored-By: Matt Wilkie <maphew@gmail.com>

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 13:14:17 -08:00
Steve Yegge
0aea2d93c6 feat(schema): add messaging fields for bd-kwro epic
- Add TypeMessage issue type for inter-agent communication
- Add 6 new Issue fields: Sender, Ephemeral, RepliesTo, RelatesTo,
  DuplicateOf, SupersededBy
- Add 4 new dependency types: replies-to, relates-to, duplicates, supersedes
- Create migration 019_messaging_fields with indexes
- Update all CRUD operations across storage layer
- Fix reset_test.go to use correct function names
- Fix redundant newline lint error in sync.go

Closes: bd-kwro.1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 13:06:47 -08:00
Steve Yegge
8c07a4df44 chore: bump version to v0.30.1
Update version across all packages:
- Go CLI (cmd/bd/version.go)
- Python MCP server (pyproject.toml, __init__.py)
- npm package (package.json)

Add comprehensive CHANGELOG entry with 14 features, 14 fixes,
security updates, and community contributor credits.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 02:00:56 -08:00
Steve Yegge
cab538180b fix: restore StatusResponse daemon config fields and remove duplicate --type flag
Two swarm merge bugs fixed:
1. StatusResponse in protocol.go lost daemon config fields (AutoCommit, AutoPush,
   LocalMode, SyncInterval, DaemonMode) during merge 60ae6586. These were added in
   4e87ae18 but lost when merging bd-zbyb-gusher which had an outdated protocol.go.
2. Duplicate --type flag definition on updateCmd in show.go causing panic on startup.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-16 01:34:27 -08:00
Steve Yegge
923a9da390 feat: add --hard flag to bd cleanup for bypassing tombstone TTL safety
Adds the ability to permanently remove tombstones before the default 30-day TTL:
- bd cleanup --hard --older-than N: prune tombstones older than N days
- bd cleanup --hard: prune all tombstones

This bypasses sync safety for scenarios like cleaning house after extended
absence where resurrection from old clones is not a concern.

Closes: bd-adoe

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-16 01:25:57 -08:00
Steve Yegge
4df70641ad Merge GH#532 2025-12-16 01:19:14 -08:00
Steve Yegge
dedfc43d1f Merge GH#409 2025-12-16 01:19:07 -08:00
Steve Yegge
22e63fb128 Merge GH#402 2025-12-16 01:18:59 -08:00
Steve Yegge
109fa6364b Merge GH#518 setup docs 2025-12-16 01:18:51 -08:00
Steve Yegge
c4e122a888 Merge bd-dvw8-rictus: GH#505 reset 2025-12-16 01:18:38 -08:00
Steve Yegge
5bceda10a4 chore: sync beads 2025-12-16 01:18:33 -08:00
Steve Yegge
8306b2b8f3 Merge bd-2k5f-pumpjack: GH#483 2025-12-16 01:18:02 -08:00
Steve Yegge
3be20d64da chore: sync beads 2025-12-16 01:17:54 -08:00
Steve Yegge
3baf4ae50a Merge bd-7r4l-prospector: GH#540 2025-12-16 01:17:25 -08:00
Steve Yegge
72441eea49 Merge bd-cddj-nux: GH#519 2025-12-16 01:17:25 -08:00
Steve Yegge
2e9b5a5870 Merge bd-xoyh-morsov: GH#517 2025-12-16 01:17:18 -08:00