Commit Graph

5322 Commits

Author SHA1 Message Date
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
beads/refinery
baf884cbf4 bd daemon sync: 2026-01-11 22:58:54 2026-01-11 22:58:54 -08:00
beads/refinery
a023eb6a62 bd daemon sync: 2026-01-11 22:54:47 2026-01-11 22:54:47 -08:00
beads/refinery
b9645cade6 bd daemon sync: 2026-01-11 22:51:06 2026-01-11 22:51:06 -08:00
beads/refinery
995af1d37e bd daemon sync: 2026-01-11 22:48:10 2026-01-11 22:48:10 -08:00
beads/refinery
05c931ded0 bd daemon sync: 2026-01-11 22:44:49 2026-01-11 22:44:49 -08:00
beads/refinery
a2564bf067 bd daemon sync: 2026-01-11 22:41:28 2026-01-11 22:41:28 -08:00
beads/refinery
a52682cb77 bd daemon sync: 2026-01-11 22:38:38 2026-01-11 22:38:38 -08:00
beads/refinery
2129290c91 bd daemon sync: 2026-01-11 22:35:00 2026-01-11 22:35:00 -08:00
beads/refinery
c16c7d8ef1 bd daemon sync: 2026-01-11 22:34:55 2026-01-11 22:34:55 -08:00
beads/refinery
281f946d26 bd daemon sync: 2026-01-11 22:32:41 2026-01-11 22:32:41 -08:00
beads/refinery
4b20d184e0 bd daemon sync: 2026-01-11 22:26:01 2026-01-11 22:26:01 -08:00
beads/crew/emma
8395105493 fix: remove stale plugin reference from .claude/settings.json
The enabledPlugins entry referenced beads@beads-marketplace which
does not exist, causing claude doctor to report a plugin error.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 22:25:55 -08:00
beads/refinery
3a0dff2a6b bd daemon sync: 2026-01-11 22:24:44 2026-01-11 22:24:45 -08:00
beads/refinery
5e942d4e68 bd daemon sync: 2026-01-11 22:19:01 2026-01-11 22:19:01 -08:00
beads/refinery
39de16cd1c bd daemon sync: 2026-01-11 22:18:10 2026-01-11 22:18:10 -08:00