Commit Graph

5306 Commits

Author SHA1 Message Date
beads/refinery
63a6998c54 bd daemon sync: 2026-01-11 21:26:45 2026-01-11 21:26:45 -08:00
beads/refinery
b1ca4e6451 bd daemon sync: 2026-01-11 21:25:30 2026-01-11 21:25:30 -08:00
beads/refinery
21c27d5751 bd daemon sync: 2026-01-11 21:22:39 2026-01-11 21:22:39 -08:00
beads/refinery
43fea15dc8 bd daemon sync: 2026-01-11 21:18:52 2026-01-11 21:18:52 -08:00
beads/refinery
2b055b17fc bd daemon sync: 2026-01-11 21:15:50 2026-01-11 21:15:50 -08:00
beads/refinery
b573fcb053 bd daemon sync: 2026-01-11 21:12:16 2026-01-11 21:12:16 -08:00
beads/refinery
4e6d9c6743 bd daemon sync: 2026-01-11 21:09:13 2026-01-11 21:09:13 -08:00
beads/refinery
6dec528e1f bd daemon sync: 2026-01-11 21:05:40 2026-01-11 21:05:40 -08:00
beads/refinery
992049948f bd daemon sync: 2026-01-11 21:02:51 2026-01-11 21:02:51 -08:00
beads/refinery
785903eec2 bd daemon sync: 2026-01-11 20:59:02 2026-01-11 20:59:02 -08:00
beads/refinery
3bc781efb7 bd daemon sync: 2026-01-11 20:56:04 2026-01-11 20:56:04 -08:00
beads/refinery
849e43844f bd daemon sync: 2026-01-11 20:52:41 2026-01-11 20:52:41 -08:00
beads/refinery
7a7de49997 bd daemon sync: 2026-01-11 20:45:50 2026-01-11 20:45:50 -08:00
beads/crew/wolf
b9207b513c docs: clarify bd reset command and document workarounds (GH#922)
- Add Reset section to CLI_REFERENCE.md documenting bd admin reset
- Add troubleshooting section for "old data returns after reset"
- Clarify that --hard and --skip-init flags were never implemented
- Document workarounds for complete clean slate including remote data

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:45:38 -08:00
beads/refinery
51f3465c6b bd daemon sync: 2026-01-11 20:45:17 2026-01-11 20:45:17 -08:00
beads/crew/giles
0248895298 fix(sqlite): rebuild blocked_issues_cache after rename-prefix (GH#1016)
RenameDependencyPrefix updates issue IDs in the dependencies table but
was not rebuilding the blocked_issues_cache, leaving stale IDs in the
cache that no longer exist in the issues table.

Add invalidateBlockedCache() call at the end of RenameDependencyPrefix
to rebuild the cache with the new issue IDs.

Fixes: GH#1016

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:45:09 -08:00
beads/refinery
c9d351c68f bd daemon sync: 2026-01-11 20:44:37 2026-01-11 20:44:37 -08:00
beads/crew/emma
44c17012e5 fix(doctor): exclude sync_base.jsonl from multiple JSONL files check (#1021)
sync_base.jsonl is an internal sync mechanism file used for 3-way merge,
not a competing issue database. The doctor check now correctly ignores it.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 20:44:29 -08:00
beads/refinery
30bc32acaa bd daemon sync: 2026-01-11 20:42:56 2026-01-11 20:42:56 -08:00
beads/refinery
8c4021d71d bd daemon sync: 2026-01-11 20:42:54 2026-01-11 20:42:54 -08:00
beads/refinery
fb3d890deb bd daemon sync: 2026-01-11 20:42:40 2026-01-11 20:42:40 -08:00
beads/refinery
cd5f582d87 bd daemon sync: 2026-01-11 20:42:38 2026-01-11 20:42:38 -08:00
beads/refinery
d2b54b216d bd daemon sync: 2026-01-11 20:42:33 2026-01-11 20:42:33 -08:00
beads/refinery
086e04f953 bd daemon sync: 2026-01-11 20:42:21 2026-01-11 20:42:21 -08:00
beads/refinery
99031aadc9 bd daemon sync: 2026-01-11 20:42:18 2026-01-11 20:42:18 -08:00
beads/refinery
788e4785dd bd daemon sync: 2026-01-11 20:41:20 2026-01-11 20:41:20 -08:00
beads/refinery
11bbbd23a1 bd daemon sync: 2026-01-11 20:40:14 2026-01-11 20:40:14 -08:00
beads/refinery
a90262856e bd daemon sync: 2026-01-11 20:39:25 2026-01-11 20:39:26 -08:00
beads/refinery
b2eb53864e bd daemon sync: 2026-01-11 20:37:21 2026-01-11 20:37:21 -08:00
beads/refinery
ce636d5896 bd daemon sync: 2026-01-11 20:20:09 2026-01-11 20:20:09 -08:00
beads/refinery
42a209d133 bd daemon sync: 2026-01-11 20:17:12 2026-01-11 20:17:12 -08:00
beads/refinery
1554f41c02 bd daemon sync: 2026-01-11 20:13:29 2026-01-11 20:13:29 -08:00
beads/refinery
8e4cd2ade6 bd daemon sync: 2026-01-11 20:10:39 2026-01-11 20:10:39 -08:00
beads/refinery
a2c4656ce8 bd daemon sync: 2026-01-11 20:07:24 2026-01-11 20:07:24 -08:00
beads/refinery
c6e8780578 bd daemon sync: 2026-01-11 20:04:06 2026-01-11 20:04:06 -08:00
beads/refinery
26d59e3562 bd daemon sync: 2026-01-11 20:00:21 2026-01-11 20:00:21 -08:00
beads/refinery
3da1b79557 bd daemon sync: 2026-01-11 19:58:21 2026-01-11 19:58:22 -08:00
beads/crew/wolf
764f3747ba fix(merge): add QualityScore field to merge Issue struct
Add QualityScore *float32 field to internal/merge/merge.go to match
internal/types/types.go. Also add last-touched to .beads/.gitignore.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 18:46:12 -08:00
beads/crew/giles
355ce7345a feat(formula): improve beads-release with v0.47.0 learnings
Add preflight checks to prevent common release issues:
- preflight-worktree: Verify git context for worktree setups
- Enhanced preflight-git: Auto-stash guidance for non-release files
- Enhanced preflight-pull: Branch sync verification with recovery steps
- detect-half-done-release: Catch version mismatches upfront
- verify-changelog-complete: Ensure CHANGELOG covers all commits

Fixes: bd-beiz7

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 18:44:29 -08:00
beads/refinery
e5695e10bd bd daemon sync: 2026-01-11 18:34:55 2026-01-11 18:34:55 -08:00
beads/refinery
57a3304dfd bd daemon sync: 2026-01-11 18:27:52 2026-01-11 18:27:52 -08:00
beads/refinery
676e0862c9 bd daemon sync: 2026-01-11 18:18:01 2026-01-11 18:18:01 -08:00
beads/refinery
745ba67c13 bd daemon sync: 2026-01-11 18:17:56 2026-01-11 18:17:56 -08:00
beads/refinery
a7c244d65d bd daemon sync: 2026-01-11 18:17:53 2026-01-11 18:17:53 -08:00
beads/refinery
9c0a8ece52 bd daemon sync: 2026-01-11 18:17:47 2026-01-11 18:17:47 -08:00
beads/refinery
e08910123c bd daemon sync: 2026-01-11 18:17:44 2026-01-11 18:17:44 -08:00
Eugene Sukhodolin
04f0670582 feat(ui): add Markdown rendering to comment text (#1019)
Apply ui.RenderMarkdown() to comment text in both bd show and
bd comments commands. This enables syntax highlighting, code
blocks, and other Markdown formatting in comments.
2026-01-11 18:17:14 -08:00
Marvin Bitterlich
68da7c9f78 fix(mcp): support custom issue types and statuses (#1023)
Change IssueType and IssueStatus from Literal to str to support
custom types configured via:
  bd config set types.custom "agent,molecule,event"
  bd config set status.custom "awaiting_review,awaiting_testing"

The CLI handles validation of these values against the configured
options. The MCP layer is just a transport and shouldn't re-validate
what the CLI already validates.

This fixes Pydantic validation errors when listing issues that have
custom types like 'event', 'molecule', or 'agent'.

Built-in types: bug, feature, task, epic, chore
Built-in statuses: open, in_progress, blocked, deferred, closed
2026-01-11 18:17:01 -08:00
Eugene Sukhodolin
d04bffb9b6 fix(validation): support hyphenated prefixes in ValidateIDFormat (#1013)
* test(validation): add failing tests for hyphenated prefix parsing

Reproduces bug where `bd create --parent` fails for projects with
hyphenated prefixes like "bead-me-up" or "web-app".

Root cause: ValidateIDFormat splits on first hyphen, so:
  "bead-me-up-3e9.1" → prefix "bead" (wrong, should be "bead-me-up")

The bug flow in create.go:
1. User runs: bd create "Child" --parent bead-me-up-3e9
2. GetNextChildID generates: bead-me-up-3e9.1
3. ValidateIDFormat extracts: "bead" (splits at first hyphen)
4. ValidatePrefix compares: "bead" vs "bead-me-up" → MISMATCH

Tests added:
- TestValidateIDFormat: 6 cases for hyphenated prefix IDs
- TestValidateIDFormat_ParentChildFlow: simulates exact --parent flow,
  showing simple prefixes pass while hyphenated prefixes fail

Workaround: use --force flag to bypass prefix validation.

* fix(validation): support hyphenated prefixes in ValidateIDFormat

Use utils.ExtractIssuePrefix instead of naive first-hyphen splitting.
This fixes bd create --parent failing for projects with hyphenated
prefixes like "bead-me-up" or "web-app".

Before: "bead-me-up-3e9" → prefix "bead" (wrong)
After:  "bead-me-up-3e9" → prefix "bead-me-up" (correct)

ExtractIssuePrefix uses smart heuristics: split on last hyphen,
check if suffix is hash-like (3-8 chars, alphanumeric, digits for 4+).

* Update internal/validation/bead_test.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-11 18:16:48 -08:00
beads/refinery
63f66c1223 bd daemon sync: 2026-01-11 18:16:14 2026-01-11 18:16:14 -08:00