Commit Graph

1977 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
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
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
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
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
Steve Yegge
60ae6586e7 Merge bd-zbyb-gusher: GH#509 worktrees 2025-12-16 01:16:46 -08:00
Steve Yegge
2d1c8900cb chore: sync beads 2025-12-16 01:16:40 -08:00
Steve Yegge
a518581a86 Merge bd-6xfz-furiosa: GH#405 prefix parsing 2025-12-16 01:16:26 -08:00
Steve Yegge
b3fef08fd4 Merge bd-bscs-driller: GH#403 doctor --fix 2025-12-16 01:15:51 -08:00
Steve Yegge
40c6893f33 Merge bd-er7r-derrick: GH#444 status naming 2025-12-16 01:15:36 -08:00
Steve Yegge
11c3bb4fdb Merge bd-0yzm-ace: GH#522 --type flag for bd update 2025-12-16 01:15:11 -08:00
Steve Yegge
3d8750883c chore: track and close GH#405 fix 2025-12-16 01:14:03 -08:00
Steve Yegge
77aeb50d27 fix(utils): parse multi-hyphen prefixes correctly (GH#405)
The ExtractIssuePrefix function was falling back to first-hyphen
extraction when the suffix didn't look like a hash (e.g., 4+ char
words without digits). This broke prefixes like 'hacker-news' where
an issue ID 'hacker-news-test' would incorrectly extract 'hacker'.

Fix: Always use last-hyphen extraction for alphanumeric suffixes.
Only fall back to first-hyphen for non-alphanumeric suffixes.

Examples:
- 'hacker-news-test' -> 'hacker-news' (was: 'hacker')
- 'me-py-toolkit-abc' -> 'me-py-toolkit' (was: 'me')
- 'vc-baseline-hello' -> 'vc-baseline' (was: 'vc')

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 01:13:15 -08:00
Steve Yegge
9458922f26 chore: close GH#509 - already fixed by PR #478 2025-12-16 01:10:10 -08:00
Steve Yegge
69ac8fdbc2 chore: close bd-l0pg (duplicate GH#483) 2025-12-16 01:10:02 -08:00
Steve Yegge
5d6c9aea2e chore: close bd-2rfr after implementing bd reset 2025-12-16 01:09:53 -08:00
Steve Yegge
be0e8ba9af fix(sync): prevent circular error in pre-push hook (GH#532)
When bd sync pushes from the sync-branch worktree, the pre-push hook
would detect uncommitted JSONL changes and suggest running bd sync -
which is circular since that's what the user is already doing.

Fix: Set BD_SYNC_IN_PROGRESS=1 environment variable when pushing from
worktree, and update pre-push hook to skip checks when this var is set.

Updated files:
- internal/syncbranch/worktree.go: Set env var on push command
- cmd/bd/templates/hooks/pre-push: Check for env var and exit early
- examples/git-hooks/pre-push: Same check
- .beads-hooks/pre-push: Same check
2025-12-16 01:09:30 -08:00
Steve Yegge
25b3876113 chore: sync beads - close GH#522 2025-12-16 01:09:28 -08:00