Commit Graph

2502 Commits

Author SHA1 Message Date
dag
171151cf98 feat(list): Add type aliases for --type flag (gt-pvhsv)
Add convenience aliases for common type names:
- mr → merge-request
- feat → feature
- mol → molecule

Applied to bd list, bd ready, and bd export commands.
Case-insensitive matching (MR, Mr, mr all work).

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 18:17:12 -08:00
gastown/crew/gus
a9e70e3fe5 fix: Add cross-rig routing support to bd close
The close command now properly routes to different beads directories
based on issue ID prefix, matching the behavior of bd show/update.

Changes:
- Check needsRouting() for each ID in both daemon and direct mode
- Handle routed IDs via resolveAndGetIssueWithRouting()
- Close issues in the correct remote store

Fixes bd-3jrb

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:26:18 -08:00
gastown/polecats/nux
5ae088b594 fix: bd update supports cross-rig bead updates via prefix routing (gt-wq1wb)
The bd update command now checks needsRouting() before attempting daemon
RPC resolution. When an issue ID (like hq-eggh5) routes to a different
beads directory, the update bypasses the daemon and uses direct mode with
the routed storage.

This enables polecats in gastown to update HQ beads (hq-* prefix) and
vice versa. The fix mirrors the routing pattern already used by bd show.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:26:18 -08:00
gastown/polecats/slit
8da45ce541 Fix agent ID validation to accept any rig prefix (gt-w0fqg)
The ValidateAgentID function was hardcoded to only accept 'gt-' prefix,
but beads rig uses 'bd-' prefix. Now accepts any valid prefix.

Changes:
- Extract prefix dynamically instead of hardcoding 'gt-'
- Accept IDs like bd-mayor, bd-beads-polecat-pearl
- Update error messages to be prefix-agnostic
- Add test cases for alternative prefixes

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:26:18 -08:00
obsidian
743a2d98aa chore: remove repo cruft (bd_new, @AGENTS.md)
- Remove bd_new (31MB binary that should never have been tracked)
- Remove @AGENTS.md (duplicate that was already removed but still tracked)
- state.json already in .gitignore and not tracked
- history/EPHEMERAL_MOLECULES_DESIGN.md does not exist

(bd-ov1u)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:14:21 -08:00
gastown/polecats/nux
628ab911a0 fix: bd update supports cross-rig bead updates via prefix routing (gt-wq1wb)
The bd update command now checks needsRouting() before attempting daemon
RPC resolution. When an issue ID (like hq-eggh5) routes to a different
beads directory, the update bypasses the daemon and uses direct mode with
the routed storage.

This enables polecats in gastown to update HQ beads (hq-* prefix) and
vice versa. The fix mirrors the routing pattern already used by bd show.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:14:20 -08:00
gastown/polecats/slit
eb0cc50ce6 Fix agent ID validation to accept any rig prefix (gt-w0fqg)
The ValidateAgentID function was hardcoded to only accept 'gt-' prefix,
but beads rig uses 'bd-' prefix. Now accepts any valid prefix.

Changes:
- Extract prefix dynamically instead of hardcoding 'gt-'
- Accept IDs like bd-mayor, bd-beads-polecat-pearl
- Update error messages to be prefix-agnostic
- Add test cases for alternative prefixes

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:14:20 -08:00
beads/crew/emma
829c8d1caf feat: add --notes flag to bd create command (GH#830)
Add --notes flag to bd create command, enabling agents to set notes
during issue creation instead of requiring a separate update command.

Motivation: AI agents repeatedly tried to use --notes with bd create.
Context is fresh at creation time - forcing a two-step process means
context loss or workflow interruption.

Changes:
- cmd/bd/flags.go: Added --notes flag to common issue flags
- cmd/bd/create.go: Read and pass notes in both RPC and direct modes
- cmd/bd/update.go: Removed duplicate --notes flag definition
- internal/rpc/protocol.go: Added Notes field to CreateArgs
- internal/rpc/server_issues_epics.go: Process Notes in handleCreate
- cmd/bd/create_notes_test.go: Comprehensive test coverage
- website/docs/cli-reference/issues.md: Documentation

Also adds gitignore entries for Augment AI and .beads/redirect.

Co-authored-by: Leon Letto <lettol@vmware.com>
2026-01-01 10:53:59 -08:00
beads/crew/fang
7c9b975436 feat: add display guards for large molecules in bd mol current (bd-vln0)
For molecules with >100 steps, shows summary instead of full step list:
- Counts children first using efficient GetMoleculeProgress query
- Shows progress summary with pointer to bd mol progress
- Add --limit flag to cap output (e.g., --limit 50)
- Add --range flag for specific ranges (e.g., --range 1-50)

Also closes epic bd-5nu1 (mega-molecule progress support).

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 13:08:41 -08:00
beads/crew/fang
0a96b10bba feat: add bd mol progress command for efficient molecule monitoring (bd-8xnf)
Adds a new `bd mol progress` command that shows molecule progress using
indexed queries instead of loading all steps into memory. This makes it
suitable for mega-molecules with millions of steps.

Features:
- Efficient SQL-based counting via idx_dependencies_depends_on_type index
- Progress display: completed / total (percentage)
- Current step identification
- Rate calculation from closure timestamps
- ETA estimation
- JSON output support

New storage interface method: GetMoleculeProgress(ctx, moleculeID)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 12:35:41 -08:00
beads/polecats/basalt
8dcfdda186 feat: implement bd preflight --check flag with test runner (bd-lfak.2)
- Add CheckResult and PreflightResults structs for check outcomes
- Implement runTestCheck() to execute go test -short ./...
- Wire up --check flag to actually run tests instead of placeholder
- Add ✓/✗ output formatting with command and truncated output
- Support --json flag for programmatic consumption
- Exit with non-zero code when tests fail
- Add tests for new preflight functionality

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 22:22:15 -08:00
beads/crew/emma
140c5fd309 chore: reset formula version to 1 2025-12-30 22:21:02 -08:00
Steve Yegge
6b874c8416 bd sync: 2025-12-30 22:15:38 2025-12-30 22:15:38 -08:00
beads/crew/emma
b11d9b247b docs: improve beads-release formula with lessons learned
Add robustness improvements based on v0.42.0 release experience:

- Add preflight-sync step to catch beads issues early
- Split local-install into install + verify-local-install gate
- Add dev build instructions (go build + cp to ~/.local/bin)
- Improve daemon restart with version verification
- Add post-release-sync step for clean state
- Add verification checklist to release-complete step

Formula version bumped to 2.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 22:11:43 -08:00
beads/crew/emma
23be8684bd bd sync: 2025-12-30 22:01:30 2025-12-30 22:01:30 -08:00
mayor
fb3f5860cf bd sync: 2025-12-30 21:22:02 2025-12-30 21:22:19 -08:00
mayor
c67dd310a2 bd sync: 2025-12-30 21:21:09 2025-12-30 21:21:09 -08:00
Steve Yegge
6c02aa3635 bd sync: 2025-12-30 21:05:34 2025-12-30 21:06:05 -08:00
Steve Yegge
a190381de9 Exclude agent type from bd ready by default
Agent beads are identity/state tracking beads for agents, not actionable work items.

Cherry-picked from fix/actor-on-status-events

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 18:15:30 -08:00
Steve Yegge
b919c47fd8 Exclude agent type from bd ready by default
Agent beads are identity/state tracking beads for agents, not actionable work items.
2025-12-30 18:13:12 -08:00
Steve Yegge
28fa733fae bd sync: 2025-12-30 18:11:14 2025-12-30 18:11:14 -08:00
Steve Yegge
902670d165 bd sync: 2025-12-30 16:50:04 2025-12-30 16:50:04 -08:00
Steve Yegge
bd62686646 bd sync: 2025-12-30 16:47:43 2025-12-30 16:47:43 -08:00
Steve Yegge
7bdad6035b bd sync: 2025-12-30 16:47:00 2025-12-30 16:47:00 -08:00
Steve Yegge
f35b37a42b bd sync: 2025-12-30 16:45:58 2025-12-30 16:45:58 -08:00
Steve Yegge
4763973ba9 bd sync: 2025-12-30 16:10:24 2025-12-30 16:10:24 -08:00
Steve Yegge
3ed2589511 Fix BD_ACTOR handling in direct mode paths
BUG: BD_ACTOR env var was only read in --no-db mode (lines 352-360)
and daemon RPC path. Normal direct mode and JSONL-only mode detection
paths fell back to $USER without checking BD_ACTOR.

Fix: Add explicit os.Getenv("BD_ACTOR") check in both:
- JSONL-only mode detection path (lines 393-402)
- Normal direct mode path (lines 440-450)

(gt-6r18e.2)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 16:07:39 -08:00
Steve Yegge
ece899e6d1 bd sync: 2025-12-30 15:56:45 2025-12-30 15:56:45 -08:00
Steve Yegge
5167dcd0af bd sync: 2025-12-30 15:54:09 2025-12-30 15:54:09 -08:00
Steve Yegge
a0dda7da6b bd sync: 2025-12-30 15:52:08 2025-12-30 15:52:08 -08:00
Steve Yegge
1d6139e51e bd sync: 2025-12-30 15:47:21 2025-12-30 15:47:21 -08:00
Steve Yegge
a51abd2a6d bd sync: 2025-12-30 15:44:48 2025-12-30 15:44:48 -08:00
Steve Yegge
b5284f7f5d bd sync: 2025-12-30 15:44:39 2025-12-30 15:44:39 -08:00
Steve Yegge
29743528f6 bd sync: 2025-12-30 10:38:01 2025-12-30 10:38:01 -08:00
Steve Yegge
96f2996997 Show actor on status/pinned change events in activity feed
Added actor field to RPC client and set it before daemon requests.
This ensures status changes (like pinned events) show who performed
the action in bd activity output.

Changes:
- Added actor field to Client struct
- Added SetActor method to set actor for audit trail
- Modified ExecuteWithCwd to include actor in RPC requests
- Updated main.go to call SetActor after daemon connection

Fixes gt-1ydd9

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 06:57:51 -08:00
Steve Yegge
7f5378ba26 bd sync: 2025-12-30 00:55:05 2025-12-30 00:55:05 -08:00
Steve Yegge
553544f6ac bd sync: 2025-12-30 00:42:19 2025-12-30 00:42:25 -08:00
Steve Yegge
8f07b619ac bd sync: 2025-12-30 00:42:11 2025-12-30 00:42:25 -08:00
Steve Yegge
7f16c9d68c bd sync: 2025-12-30 00:28:24 2025-12-30 00:28:51 -08:00
Steve Yegge
99e205868e bd sync: 2025-12-30 00:07:05 2025-12-30 00:07:29 -08:00
Steve Yegge
0597d66275 bd sync: close bd-7t9a (MCP redirect fix) 2025-12-30 00:06:17 -08:00
Steve Yegge
e20de54cb2 fix: MCP plugin follows .beads/redirect files (bd-7t9a, gt-tnw)
The _find_beads_db_in_tree() function now follows .beads/redirect files
to find shared beads databases. This is essential for polecat/crew
directories that use redirect files to share a central database.

Changes:
- Added _resolve_beads_redirect() helper function
- Updated _find_beads_db_in_tree() to check for redirect files before
  looking for local .db files
- Added comprehensive tests for redirect functionality

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 00:06:17 -08:00
Steve Yegge
99692b52f0 bd sync: 2025-12-30 00:00:49 2025-12-30 00:06:17 -08:00
Steve Yegge
cb69f1c154 feat: Show actor on pinned/status change events (gt-1ydd9)
- Add Actor field to MutationEvent struct
- Use new assignee from update args instead of old issue state
- Include actor (who performed the action) in mutation events
- Display actor in bd activity output, falling back to assignee

When pinning/updating status, the activity feed now shows who performed
the action (e.g., "@gastown/crew/jack") instead of showing nothing.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 23:42:20 -08:00
Steve Yegge
e5cf9b3199 bd sync: 2025-12-29 21:26:41 2025-12-29 23:42:20 -08:00
Steve Yegge
48cca7f73d bd sync: 2025-12-29 21:16:05 2025-12-29 23:42:20 -08:00
Steve Yegge
5f5a341624 bd sync: 2025-12-29 21:13:11 2025-12-29 21:13:11 -08:00
Steve Yegge
6b12efbb2b bd sync: 2025-12-29 21:10:00 2025-12-29 21:10:10 -08:00
Steve Yegge
35ffeea804 bd sync: 2025-12-29 21:09:05 2025-12-29 21:09:05 -08:00
Steve Yegge
b8a5ee162b feat: Add tracks relation type for convoy tracking (bd-3roq)
Adds non-blocking tracks dependency type for convoy to issue relationships:
- Non-blocking: does not affect ready work calculation
- Cross-prefix capable: convoys in hq-* can track issues in gt-*, bd-*
- Reverse lookup: bd dep list <id> --direction=up -t tracks

Also adds bd dep list command with direction and type filtering for
querying dependencies/dependents.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 21:04:45 -08:00