Commit Graph

5487 Commits

Author SHA1 Message Date
beads/refinery da072fbf68 bd daemon sync: 2026-01-12 02:45:45 2026-01-12 02:45:45 -08:00
beads/refinery 53cc3ff7fe bd daemon sync: 2026-01-12 02:45:39 2026-01-12 02:45:39 -08:00
beads/refinery b1b07c8af6 bd daemon sync: 2026-01-12 02:43:42 2026-01-12 02:43:42 -08:00
beads/refinery 47c19515f3 bd daemon sync: 2026-01-12 02:40:28 2026-01-12 02:40:28 -08:00
beads/refinery 615dd751ef bd daemon sync: 2026-01-12 02:33:45 2026-01-12 02:33:45 -08:00
beads/refinery 95de986bf3 bd daemon sync: 2026-01-12 02:33:14 2026-01-12 02:33:14 -08:00
beads/refinery 6df98e78dc bd daemon sync: 2026-01-12 02:32:13 2026-01-12 02:32:13 -08:00
beads/refinery 453400433b bd daemon sync: 2026-01-12 02:29:22 2026-01-12 02:29:22 -08:00
beads/refinery 6bf6f469dc bd daemon sync: 2026-01-12 02:27:11 2026-01-12 02:27:11 -08:00
beads/refinery a6779e0799 bd daemon sync: 2026-01-12 02:25:55 2026-01-12 02:25:55 -08:00
beads/refinery a3b4f0423d bd daemon sync: 2026-01-12 02:17:47 2026-01-12 02:17:47 -08:00
beads/refinery 4ae1fb610a bd daemon sync: 2026-01-12 02:14:21 2026-01-12 02:14:21 -08:00
beads/refinery 2fb2d27265 bd daemon sync: 2026-01-12 02:08:05 2026-01-12 02:08:05 -08:00
beads/refinery 5579a941e0 bd daemon sync: 2026-01-12 02:05:31 2026-01-12 02:05:31 -08:00
beads/crew/dave 4dae3fa338 feat(list): add --ready flag to show only available work (bd-ihu31)
The --ready flag filters to status=open, excluding hooked, in_progress,
blocked, and deferred issues. This makes it easy to see work that can
actually be picked up.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 02:05:13 -08:00
beads/refinery 70f7c0b586 bd daemon sync: 2026-01-12 02:01:59 2026-01-12 02:01:59 -08:00
beads/witness 7de2c9eb85 bd daemon sync: 2026-01-12 02:00:09 2026-01-12 02:00:09 -08:00
beads/witness 5407a5be1b bd daemon sync: 2026-01-12 01:59:57 2026-01-12 01:59:57 -08:00
beads/witness e94b3ab435 bd daemon sync: 2026-01-12 01:40:17 2026-01-12 01:40:17 -08:00
beads/witness 9691b7ef92 bd daemon sync: 2026-01-12 01:39:13 2026-01-12 01:39:14 -08:00
beads/witness 167b4bd836 bd daemon sync: 2026-01-12 01:38:17 2026-01-12 01:38:17 -08:00
beads/witness 53d4a3a8f1 bd daemon sync: 2026-01-12 01:37:53 2026-01-12 01:37:53 -08:00
beads/witness 5adf9dceb8 bd daemon sync: 2026-01-12 01:37:10 2026-01-12 01:37:10 -08:00
beads/witness 2c86614cc1 bd daemon sync: 2026-01-12 01:37:04 2026-01-12 01:37:04 -08:00
beads/witness 5f5b62093a bd daemon sync: 2026-01-12 01:36:55 2026-01-12 01:36:55 -08:00
beads/witness 2da4580c3e bd daemon sync: 2026-01-12 01:36:53 2026-01-12 01:36:53 -08:00
beads/witness cbfeac225e bd daemon sync: 2026-01-12 01:36:46 2026-01-12 01:36:46 -08:00
mayor 1abfb56b74 chore: update last-touched 2026-01-12 01:35:22 -08:00
beads/crew/fang 6dfd7588b3 fix(mol): prevent nil pointer dereference in wisp create
GetIssue returns (nil, nil) when an issue is not found, but the code
assumed a non-nil issue when err was nil. Added nil checks before
accessing issue fields.

Fixes crash when running `bd mol wisp create` with nonexistent proto.

Closes: gt-2uzn2

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 01:35:22 -08:00
beads/witness 10333a9c4c bd daemon sync: 2026-01-12 01:35:09 2026-01-12 01:35:09 -08:00
beads/witness 42c4f5dae7 bd daemon sync: 2026-01-12 01:29:15 2026-01-12 01:29:15 -08:00
beads/witness c48bf45cf5 bd daemon sync: 2026-01-12 01:28:09 2026-01-12 01:28:09 -08:00
beads/witness a5e3fdcae5 bd daemon sync: 2026-01-12 01:26:49 2026-01-12 01:26:49 -08:00
beads/witness ebfbc247a4 bd daemon sync: 2026-01-12 01:26:31 2026-01-12 01:26:31 -08:00
beads/witness 0acdd52282 bd daemon sync: 2026-01-12 01:26:27 2026-01-12 01:26:27 -08:00
beads/witness 1c1972e29c bd daemon sync: 2026-01-12 01:26:18 2026-01-12 01:26:18 -08:00
beads/witness 9aeb29ebcb bd daemon sync: 2026-01-12 01:21:49 2026-01-12 01:21:49 -08:00
beads/witness 95b1769ae7 bd daemon sync: 2026-01-12 01:21:27 2026-01-12 01:21:27 -08:00
beads/witness 0bf3e97f61 bd daemon sync: 2026-01-12 01:21:16 2026-01-12 01:21:16 -08:00
beads/witness 4ed7843929 bd daemon sync: 2026-01-12 01:20:59 2026-01-12 01:20:59 -08:00
Nicolas Suzor 7fe824781a fix: use route prefix when creating issues in rigs (#1028)
* fix(create): Use prefix from routes.jsonl when creating issues with --rig

When using `bd create --rig <name>`, the prefix from routes.jsonl was
being discarded. This caused issues to be created with the target
database's default prefix instead of the route's prefix.

This is particularly problematic when using the redirect mechanism to
share a single database across multiple rigs - the redirect correctly
routes to the shared database, but the prefix was not being applied.

The fix:
1. Capture the prefix from routing.ResolveBeadsDirForRig()
2. Temporarily override the target database's issue_prefix config
3. Restore the original prefix after issue creation

Example scenario that now works:
- routes.jsonl: {"prefix": "aops-", "path": "src/academicOps"}
- src/academicOps/.beads/redirect points to ~/writing/.beads
- `bd create --rig aops "Test"` now creates aops-xxx instead of ns-xxx

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(create): pass prefix via struct field instead of mutating config

The previous approach temporarily mutated the database's issue_prefix
config during cross-rig issue creation, then restored it afterward.
This was fragile in multi-user scenarios where concurrent operations
could see the wrong prefix.

New approach:
- Add PrefixOverride field to types.Issue
- CreateIssue checks PrefixOverride first, uses it if set
- createInRig sets issue.PrefixOverride instead of mutating config

This passes state as a parameter rather than mutating shared state,
making it safe for concurrent multi-user access.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-12 01:20:32 -08:00
beads/witness 28ec39b833 bd daemon sync: 2026-01-12 01:20:05 2026-01-12 01:20:06 -08:00
beads/witness 3c83f99e38 bd daemon sync: 2026-01-12 01:20:00 2026-01-12 01:20:00 -08:00
beads/refinery 5cb87e9b31 bd daemon sync: 2026-01-12 00:45:38 2026-01-12 00:45:38 -08:00
emma 1c1dabcfdd fix(duplicates): prefer issues with children/deps when choosing merge target (GH#1022)
The duplicate merge target selection now considers structural relationships:
1. Dependent count (children, blocked-by) - highest priority
2. Text reference count - secondary
3. Lexicographically smallest ID - tiebreaker

This fixes the bug where `bd duplicates --auto-merge` would suggest closing
an epic with 17 children instead of the empty shell duplicate.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 00:45:25 -08:00
beads/refinery 2391d72c6e bd daemon sync: 2026-01-12 00:41:04 2026-01-12 00:41:04 -08:00
beads/refinery afd7cac363 bd daemon sync: 2026-01-12 00:38:07 2026-01-12 00:38:07 -08:00
beads/refinery 5db5b1f787 bd daemon sync: 2026-01-12 00:35:51 2026-01-12 00:35:51 -08:00
beads/refinery 25fa318826 bd daemon sync: 2026-01-12 00:35:33 2026-01-12 00:35:33 -08:00
beads/refinery d662d8a9d9 bd daemon sync: 2026-01-11 23:04:16 2026-01-11 23:04:16 -08:00