Commit Graph

2384 Commits

Author SHA1 Message Date
Steve Yegge
a326df945d bd sync: 2025-12-27 20:42:09 2025-12-27 20:42:18 -08:00
Steve Yegge
ac837bc22e bd sync: 2025-12-27 20:41:47 2025-12-27 20:41:47 -08:00
Steve Yegge
a1a36263a9 bd sync: 2025-12-27 20:19:21 2025-12-27 20:20:14 -08:00
Steve Yegge
fee0ce6ea1 bd sync: 2025-12-27 19:56:26 2025-12-27 20:20:14 -08:00
Steve Yegge
5e99aba587 bd sync: 2025-12-27 19:18:26 2025-12-27 19:18:26 -08:00
Steve Yegge
4a993d4a38 bd sync: 2025-12-27 19:14:17 2025-12-27 19:14:17 -08:00
Steve Yegge
2c82acd10b feat: integrate detect-pollution into bd doctor --check=pollution (bd-kff0)
- Add --check flag to doctor for specific check modes
- Add --check=pollution to run detailed pollution detection
- Add --clean flag to delete detected test issues
- Mark detect-pollution command as hidden (deprecated)
- Update fix messages to point to new doctor --check=pollution

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 16:20:12 -08:00
Steve Yegge
2810cf05cc refactor: relocate thanks command to bd info --thanks (bd-wb9g)
- Add --thanks flag to bd info command
- Make bd thanks a hidden command (deprecated but still works)
- Part of CLI consolidation effort (bd-9115)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 16:08:34 -08:00
Steve Yegge
1611f16751 refactor: remove unused bd pin/unpin/hook commands (bd-x0zl)
Analysis found these commands are dead code:
- gt never calls `bd pin` - uses `bd update --status=pinned` instead
- Beads.Pin() wrapper exists but is never called
- bd hook functionality duplicated by gt mol status
- Code comment says "pinned field is cosmetic for bd hook visibility"

Removed:
- cmd/bd/pin.go
- cmd/bd/unpin.go
- cmd/bd/hook.go

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 16:02:15 -08:00
Steve Yegge
c8b912cbe6 bd sync: 2025-12-27 15:56:42 2025-12-27 15:56:42 -08:00
Steve Yegge
87f535a65e bd sync: 2025-12-27 14:48:16 2025-12-27 14:48:49 -08:00
Steve Yegge
cd9f8102dd bd sync: 2025-12-27 14:33:59 2025-12-27 14:33:59 -08:00
Steve Yegge
2e7b993a88 feat: add --prefix flag for cross-rig issue creation
Adds --prefix as a forgiving alias to --rig flag. Accepts:
- Exact prefix: bd-, gt-
- Prefix without hyphen: bd, gt
- Rig name: beads, gastown

All resolve to the correct rig via routes.jsonl lookup.
This matches agents' mental model of prefix-based routing.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 14:26:00 -08:00
Steve Yegge
a9d082e050 bd sync: 2025-12-27 01:09:55 2025-12-27 01:09:55 -08:00
Steve Yegge
21f307de89 feat: add --rig flag for cross-rig issue creation (bd-4nzq)
Adds --rig flag to bd create that allows creating issues in a different
rig without having to cd to that directory.

Example: bd create --rig beads --title='Bug report'

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 00:44:39 -08:00
Steve Yegge
7de19223b0 bd sync: 2025-12-27 00:34:21 2025-12-27 00:34:33 -08:00
Steve Yegge
3d6fde90ea bd sync: 2025-12-26 23:47:52 2025-12-27 00:34:33 -08:00
Steve Yegge
a84c7a4f88 bd sync: 2025-12-26 23:41:01 2025-12-26 23:41:01 -08:00
Steve Yegge
27a82bfa24 bd sync: 2025-12-26 23:38:55 2025-12-26 23:38:55 -08:00
Steve Yegge
561bd9aa46 bd sync: 2025-12-26 23:19:26 2025-12-26 23:19:38 -08:00
Steve Yegge
e6dc1d7fe2 bd sync: 2025-12-26 20:51:56 2025-12-26 23:19:38 -08:00
Steve Yegge
3bd60b64dd bd sync: 2025-12-26 20:20:46 2025-12-26 23:19:38 -08:00
Steve Yegge
aba2ee0d7c bd sync: 2025-12-26 19:28:54 2025-12-26 23:19:38 -08:00
Steve Yegge
88e76ec426 bd sync: 2025-12-26 17:38:21 2025-12-26 23:19:38 -08:00
Steve Yegge
7046e90ada bd sync: 2025-12-26 17:29:25 2025-12-26 23:19:38 -08:00
Steve Yegge
3b8e4db555 bd sync: 2025-12-26 17:25:21 2025-12-26 17:25:21 -08:00
Steve Yegge
9bc98cd778 bd sync: 2025-12-26 15:20:26 2025-12-26 15:20:35 -08:00
Steve Yegge
2a1c03a915 bd sync: 2025-12-26 14:54:51 2025-12-26 15:20:35 -08:00
Steve Yegge
f11ad08ad9 bd sync: 2025-12-26 14:36:48 2025-12-26 14:36:48 -08:00
Steve Yegge
b9b2c826fd bd sync: 2025-12-26 14:36:25 2025-12-26 14:36:43 -08:00
Steve Yegge
f86a5187c2 bd sync: 2025-12-26 13:34:29 2025-12-26 14:36:43 -08:00
Steve Yegge
b71c06e954 bd sync: 2025-12-26 12:45:39 2025-12-26 14:36:43 -08:00
Steve Yegge
1fdd3538d2 bd sync: 2025-12-26 01:12:48 2025-12-26 01:12:48 -08:00
Steve Yegge
cc858b8273 bd sync: 2025-12-26 01:10:54 2025-12-26 01:11:03 -08:00
Steve Yegge
8fa3a21a8a bd sync: 2025-12-26 00:58:07 2025-12-26 01:11:03 -08:00
Steve Yegge
a975cdecd9 bd sync: 2025-12-26 00:57:19 2025-12-26 01:11:03 -08:00
Steve Yegge
64d2f372a3 fix: Allow tombstones to retain closed_at timestamp
Previously, tombstones could not have a closed_at timestamp due to:
1. Go validation: `if status != closed && closed_at != nil` failed
2. SQL CHECK constraint: `(status = 'closed') = (closed_at IS NOT NULL)`

This caused import failures for tombstones that were closed before being
deleted - a valid scenario where we want to preserve the historical
closed_at timestamp for audit purposes.

Changes:
- internal/types/types.go: Updated validation to allow tombstones with
  closed_at (line 253)
- internal/storage/sqlite/schema.go: Updated CHECK constraint to allow
  closed AND tombstone statuses to have closed_at
- internal/storage/sqlite/migrations/028_tombstone_closed_at.go: Migration
  to update existing databases with the new constraint
- .beads/issues.jsonl: Fixed bd-6s61 status from 'closed' to 'tombstone'

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 00:57:59 -08:00
Steve Yegge
53921d75c8 chore: Move beads-release formula to gastown
Formulas are Gas Town orchestration workflows, not beads primitives.
The release workflow now lives in gastown/mayor/rig/.beads/formulas/

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 23:47:32 -08:00
Steve Yegge
c366d538a1 bd sync: Filed bd-70c4 (gate await fields bug) 2025-12-25 23:32:44 -08:00
Steve Yegge
3b0630ba0e chore(formula): Convert beads-release to TOML format
Align with Gas Town formula format change from JSON to TOML.
Same content, cleaner syntax.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 23:31:32 -08:00
Steve Yegge
5788f90aa1 bd sync: 2025-12-25 23:20:35 2025-12-25 23:20:35 -08:00
Steve Yegge
9a508240d9 fix(gate): Use correct gh pr field name (mergedAt, not merged)
The merged field does not exist in gh pr view output. The actual
fields are:
- state: OPEN, CLOSED, or MERGED
- mergedAt: timestamp string (empty if not merged)

Also simplified the switch statement since state already distinguishes
merged vs closed-without-merge PRs.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 23:10:00 -08:00
Steve Yegge
1c95ac9ae2 bd sync: 2025-12-25 22:57:05 2025-12-25 22:58:10 -08:00
Steve Yegge
92e6ccb88d bd sync: 2025-12-25 22:45:49 2025-12-25 22:58:10 -08:00
Steve Yegge
e22cdc2f58 bd sync: 2025-12-25 22:34:55 2025-12-25 22:58:10 -08:00
Steve Yegge
e581188c80 bd sync: 2025-12-25 22:27:01 2025-12-25 22:58:10 -08:00
Steve Yegge
acc7168931 bd sync: 2025-12-25 22:04:46 2025-12-25 22:58:10 -08:00
Steve Yegge
3d83226d93 bd sync: 2025-12-25 20:20:55 2025-12-25 22:58:10 -08:00
Steve Yegge
f3a5e02a35 feat(close): Add --suggest-next flag to show newly unblocked issues (GH#679)
When closing an issue, the new --suggest-next flag returns a list of
issues that became unblocked (ready to work on) as a result of the close.

This helps agents and users quickly identify what work is now available
after completing a blocker.

Example:
  $ bd close bd-5 --suggest-next
  ✓ Closed bd-5: Completed

  Newly unblocked:
    • bd-7 "Implement feature X" (P1)
    • bd-8 "Write tests for X" (P2)

Implementation:
- Added GetNewlyUnblockedByClose to storage interface
- Implemented efficient single-query for SQLite using blocked_issues_cache
- Added SuggestNext field to CloseArgs in RPC protocol
- Added CloseResult type for structured response
- CLI handles both daemon and direct modes

Thanks to @kraitsura for the detailed feature request and design.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 20:05:04 -08:00
Steve Yegge
35ab0d7a7f bd sync: 2025-12-25 20:01:27 2025-12-25 20:01:27 -08:00