Commit Graph

2452 Commits

Author SHA1 Message Date
Steve Yegge
d0229a9078 bd sync: 2025-11-24 23:41:10 2025-11-24 23:41:10 -08:00
Steve Yegge
901cff1361 bd sync: 2025-11-24 23:39:43 2025-11-24 23:39:54 -08:00
Steve Yegge
f3e1268b33 refactor: remove deprecated global daemon support
Global daemon support has been deprecated for most of the project's
lifetime. This change removes the dead code entirely:

- Remove --global and --migrate-to-global daemon flags
- Remove runGlobalDaemon() and migrateToGlobalDaemon() functions
- Remove shouldUseGlobalDaemon() and getGlobalBeadsDir() functions
- Simplify functions that had global bool parameters
- Remove warning about old global socket in getSocketPath()

This reduces code complexity and removes 238 net lines of unused code.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 23:39:54 -08:00
Steve Yegge
58f767121d bd sync: 2025-11-24 23:27:31 2025-11-24 23:27:31 -08:00
Steve Yegge
0a77619c5e bd sync: 2025-11-24 22:56:05 2025-11-24 22:56:05 -08:00
Steve Yegge
ef93b31a74 Export Transaction type for atomic multi-operation support
Add Transaction type alias to both internal/beads and public beads packages.
This allows extensions like VC to use RunInTransaction() with the proper
Transaction interface type for atomic issue creation.

bd-m73k

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:55:55 -08:00
Steve Yegge
13b827d983 bd sync: 2025-11-24 22:34:32 2025-11-24 22:34:32 -08:00
Steve Yegge
10ec9fbd97 fix: update Nix flake version and vendorHash
- Update version from 0.9.9 to 0.24.4 (current release)
- Regenerate vendorHash after dependency updates

Fixes bd-870

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:34:22 -08:00
Steve Yegge
6023989578 chore: bump version to 0.24.4
Updated all component versions:
- bd CLI: 0.24.3 → 0.24.4
- Plugin: 0.24.3 → 0.24.4
- MCP server: 0.24.3 → 0.24.4
- npm package: 0.24.3 → 0.24.4
- Git hooks: 0.24.3 → 0.24.4

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:28:57 -08:00
Steve Yegge
9b13c422ca docs: add v0.24.4 changelog entry
Comprehensive changelog documenting all changes since v0.24.3:
- Transaction API for atomic multi-operation workflows
- Tip system infrastructure for smart user hints
- Sorting flags for bd list and bd search
- Claude integration verification in bd doctor
- ARM Linux support (PR #371)
- Multiple bug fixes and improvements

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:28:04 -08:00
Steve Yegge
45464ca3f9 fix: skip file permission tests on Windows
Windows doesn't support Unix-style file permissions, so these tests
will always fail. Skip the permission verification on Windows while
still testing the core functionality (file creation, content).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:23:45 -08:00
Steve Yegge
071fc96206 fix: resolve golangci-lint errors
- Add error check for fmt.Fprintf in tips.go (errcheck)
- Add nolint for safe SQL formatting in transaction.go (gosec G201)
- Fix 'cancelled' -> 'canceled' spelling (misspell)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:21:55 -08:00
Steve Yegge
9767e57024 bd doctor: add Claude integration verification checks
Add two new checks to verify Claude Code integration:
- CheckBdInPath: verifies 'bd' is in PATH (needed for hooks)
- CheckDocumentationBdPrimeReference: checks if docs reference 'bd prime'
  and verifies the command exists (detects version mismatches)

Closes bd-o78

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:10:58 -08:00
Steve Yegge
4215f5d8a9 bd sync: 2025-11-24 21:16:44 2025-11-24 21:16:44 -08:00
Steve Yegge
46d65c9778 bd sync: apply DB changes after import 2025-11-24 21:00:16 -08:00
Steve Yegge
bdeb0ee99d Merge branch 'main' of https://github.com/steveyegge/beads 2025-11-24 21:00:16 -08:00
Steve Yegge
7ff493015f bd sync: 2025-11-24 21:00:15 2025-11-24 21:00:15 -08:00
Steve Yegge
c90276c0f4 bd sync: apply DB changes after import 2025-11-24 20:49:24 -08:00
Steve Yegge
f08ed9e665 bd sync: 2025-11-24 20:45:08 2025-11-24 20:45:08 -08:00
Steve Yegge
a6990a85ba fix: code review fixes for Transaction API and Search (epic bd-8bq)
- Add safe type assertions in applyUpdatesToIssue (bd-4gs)
- Add --sort and --reverse flags to bd search (bd-4f6)
- Add test cases for SearchIssues priority range, date range, IDs (bd-ew5)
- Handle errors from GetLabelsForIssues in search.go (bd-lce)
- Standardize error wrapping to fmt.Errorf pattern (bd-7kl)
- Extract shared scanIssueRow helper function (bd-ajf)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 20:45:04 -08:00
Steve Yegge
82d7302dae bd sync: 2025-11-24 20:44:40 2025-11-24 20:45:04 -08:00
Steve Yegge
489a102256 bd sync: 2025-11-24 20:43:56 2025-11-24 20:43:56 -08:00
Steve Yegge
41c9c2df7f feat: add --sort and --reverse flags to bd search command
Added sorting capability to the search command, matching the behavior
already available in bd list. Supports sorting by: priority, created,
updated, closed, status, id, title, type, and assignee.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 20:43:51 -08:00
Steve Yegge
bad34e6ce8 bd sync: 2025-11-24 20:40:44 2025-11-24 20:40:44 -08:00
Steve Yegge
d2f3762969 bd sync: 2025-11-24 20:26:24 2025-11-24 20:26:24 -08:00
Steve Yegge
c1a10be90a Merge branch 'main' of https://github.com/steveyegge/beads 2025-11-24 20:20:44 -08:00
Steve Yegge
b453db8832 bd sync: 2025-11-24 20:20:43 2025-11-24 20:20:43 -08:00
Steve Yegge
098181abfb fix: restore beads.jsonl lost during rebase 2025-11-24 20:19:54 -08:00
Steve Yegge
f31ff2c8ad Add --sort and --reverse flags to bd list command
Implements sorting for bd list by various fields including priority,
created, updated, closed, status, id, title, type, and assignee.

Features:
- --sort flag accepts field name to sort by
- --reverse/-r flag reverses the sort order
- Default sort orders optimized for common usage:
  - priority: ascending (P0 first)
  - dates: descending (newest first)
  - text fields: ascending (alphabetical)

Resolves bd-22g

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 20:16:07 -08:00
Steve Yegge
cf560a947c bd sync: 2025-11-24 19:28:28 2025-11-24 19:28:28 -08:00
Steve Yegge
3d280f9b6b bd sync: 2025-11-24 19:27:36 2025-11-24 19:27:36 -08:00
Steve Yegge
4390aabadf bd sync: 2025-11-24 19:26:08 2025-11-24 19:26:08 -08:00
Steve Yegge
d8cdf13213 bd sync: apply DB changes after import 2025-11-24 17:21:42 -08:00
Steve Yegge
1766fb6509 Merge branch 'main' of https://github.com/steveyegge/beads 2025-11-24 17:21:42 -08:00
Steve Yegge
d1b880921a bd sync: 2025-11-24 17:21:41 2025-11-24 17:21:41 -08:00
Steve Yegge
1f61f4b197 bd sync: apply DB changes after import 2025-11-24 17:14:24 -08:00
Steve Yegge
434cc54d73 bd sync: 2025-11-24 17:14:23 2025-11-24 17:14:24 -08:00
Steve Yegge
604075908d bd sync: 2025-11-24 17:05:11 2025-11-24 17:05:11 -08:00
Steve Yegge
7f51af8738 bd sync: 2025-11-24 17:00:58 2025-11-24 17:00:58 -08:00
Steve Yegge
ffb20b5f4d Merge pull request #371 from tjg184/feat/arm_support_linux
Add support for ARM Linux
2025-11-24 16:12:21 -08:00
Steve Yegge
724db3f1b6 Merge pull request #374 from steveyegge/dependabot/go_modules/github.com/tetratelabs/wazero-1.10.1
Bump github.com/tetratelabs/wazero from 1.10.0 to 1.10.1
2025-11-24 16:11:00 -08:00
Steve Yegge
256ae5dae7 Merge pull request #373 from steveyegge/dependabot/go_modules/github.com/anthropics/anthropic-sdk-go-1.18.1
Bump github.com/anthropics/anthropic-sdk-go from 1.18.0 to 1.18.1
2025-11-24 16:10:56 -08:00
Steve Yegge
3ca7062954 Merge pull request #372 from steveyegge/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 4 to 6
2025-11-24 16:10:51 -08:00
Steve Yegge
95f68f7cf6 bd sync: 2025-11-24 15:46:47 2025-11-24 15:46:47 -08:00
Steve Yegge
fe4603a7a1 bd sync: 2025-11-24 14:03:20 2025-11-24 14:03:20 -08:00
Steve Yegge
a8d7d6575c Fix blocked cache invalidation in transaction operations (bd-1c4h)
Transaction operations weren't invalidating the blocked_issues_cache,
causing GetReadyWork to return stale results after transactional changes.

Changes:
- Refactor invalidateBlockedCache to accept execer interface (supports
  both *sql.Tx and *sql.Conn)
- Add cache invalidation in transaction.go for:
  - UpdateIssue (when status changes)
  - CloseIssue (always - closed issues don't block
  - AddDependency (for DepBlocks/DepParentChild types)
  - RemoveDependency (queries type before deletion)

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

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)
2025-11-24 14:03:11 -08:00
Troy Gaines
3570c958c7 Revert AMD64 back to original as gcc-x86_64-linux-gnu is not included on base install 2025-11-24 15:21:59 -06:00
dependabot[bot]
8fdb49349f Bump github.com/tetratelabs/wazero from 1.10.0 to 1.10.1
Bumps [github.com/tetratelabs/wazero](https://github.com/tetratelabs/wazero) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/tetratelabs/wazero/releases)
- [Commits](https://github.com/tetratelabs/wazero/compare/v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: github.com/tetratelabs/wazero
  dependency-version: 1.10.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 20:52:30 +00:00
dependabot[bot]
0a379728ff Bump github.com/anthropics/anthropic-sdk-go from 1.18.0 to 1.18.1
Bumps [github.com/anthropics/anthropic-sdk-go](https://github.com/anthropics/anthropic-sdk-go) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/anthropics/anthropic-sdk-go/releases)
- [Changelog](https://github.com/anthropics/anthropic-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/anthropics/anthropic-sdk-go/compare/v1.18.0...v1.18.1)

---
updated-dependencies:
- dependency-name: github.com/anthropics/anthropic-sdk-go
  dependency-version: 1.18.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 20:52:24 +00:00
dependabot[bot]
f6934ca68f Bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 20:51:18 +00:00