beads/issueops
Eddie the Engineer e52d7ecbff fix(labels): guard exclusive namespaces on proxied and rename paths (bd-7u5ki)
Review-loop fixup for #4757 (exclusive label namespaces).

- proxied route: LabelSQLRepository.Insert runs the shared
  issueops.CheckExclusiveLabelInTx guard; ApplyUpdate removes before it
  adds, so a swap inside one namespace passes; proxied create settles
  inherited labels the way the direct front door does (explicit beats
  inherited)
- bd label rename refuses a rename that would create a new violation;
  a same-namespace rename or a merge into a held label still passes
- the empty-database auto-import (ImportJSONLData) and the molecules
  loader replay in warn mode, so one historical violation no longer
  fails hydration
- bd create, bd q, and the create form share resolveInheritedLabels:
  a config read error is surfaced, and an inherited-only conflict names
  the parent and --no-inherit-labels (labelns.ResolveCreateLabels)
- re-adding a label the issue already carries is a no-op, not a refusal
- proxied import reports exclusive_label_conflicts; bd label add
  --replace reports the labels it evicted, in text and as --json rows
  with status "removed", and its flag help says so
- the guard comment and configuration.md name the doctor scan as the
  backstop for concurrent writes and Dolt merges; config help and docs
  list rename and the boundary rules; json-schema.md documents
  exclusive_label_conflicts
- tests: domain/db TestExclusiveLabelNamespaces, embeddeddolt
  auto-import and create/rename tests, a uow ImportBatch subtest, and
  proxied and embedded CLI subtests; the pure eviction test moves to an
  untagged file so non-cgo lanes run it
- bazel: make bazel-sync registers the new internal/labelns package in
  the go_srcs-managed repo_files filegroups and the tools/bazel
  go_library list
- ci: the 15-shard embedded-storage manifest lists the two new
  embeddeddolt tests (gen_embedded_storage_shard_manifest.py --write)
- the large-batch statement-count pins move +1 per create item, the
  labels.exclusive-prefixes read NewBatchContext now makes (embedded and
  server: 356 +102, 712 +204, classic +10)

Agent-Signature: claude-code-claude-opus-5-5-max on behalf of Julian Knutsen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 05:01:34 +00:00
..
batchapplier.go feat(cli): bd create --graph via one atomic BatchApplier request; --if-revision on bd reopen (#7209) 2026-10-07 07:53:35 +00:00
batchcloser.go Pin the is_blocked invariant as a postcondition of the roles that maintain it (#5436) 2026-08-08 11:23:34 -07:00
batchcreator.go feat(create): put bd create --file behind the BatchCreator role (bd-lu170) 2026-08-05 16:43:11 +00:00
batchgetter.go feat(roles): BatchGetter role and POST issues:batchGet (#7248) 2026-10-05 12:09:18 -07:00
blockedstate.go Pin the is_blocked invariant as a postcondition of the roles that maintain it (#5436) 2026-08-08 11:23:34 -07:00
blockingannotator.go feat(list): put bd list behind Reader.List and the new BlockingAnnotator role (bd-5k21g) 2026-08-06 02:56:57 +00:00
bootstrapper.go feat(init): put bd init's identity seam behind Bootstrapper and InitVerifier (bd-zl3u8) 2026-08-06 03:01:33 +00:00
BUILD.bazel ci(bazel): run the scripts and source-walking tests remotely; retire their go test legs (#7320) 2026-10-06 22:20:16 +00:00
claimer.go chore: retire a zombie test, drop a dead field, true up two leaf docs (#5492) 2026-08-09 10:42:34 -07:00
claimer_external_test.go Add issueops.Claimer and route the HTTP claim through it (#5334) 2026-08-04 08:40:18 -07:00
commenter.go chore: retire a zombie test, drop a dead field, true up two leaf docs (#5492) 2026-08-09 10:42:34 -07:00
counter.go feat(count): Counter scope — ParentID, NoParent, ExcludeTypes, ExcludeStatus (issues.count.scope) (#7199) 2026-10-05 02:57:14 -07:00
cycledetector.go feat(dep): detect cycles through tracks edges (#6148) 2026-09-30 20:20:17 -07:00
deleter.go Add DeleteRequest.ExpectedVersion: a compare-and-delete on the named row (#5481) 2026-08-09 07:17:54 -07:00
dependencyeditor.go feat(purge): live-dependent protection, --wisps-plane selector, hour-precision --older-than, --limit (#6883) 2026-09-28 00:57:24 -07:00
edgereader.go feat(issueops): put multi-id bd dep list behind the EdgeReader role (bd-nhsno) 2026-08-05 09:42:06 +00:00
errors.go feat(cli): add --if-revision compare-and-swap guard to update/close/assign/delete (#7203) 2026-10-04 13:38:01 -07:00
graphcounter.go feat(httpapi): opt-in large issues:batchApply envelope (≤1000 items, one transaction) (#7051) 2026-10-01 08:32:56 -07:00
importer.go fix(labels): guard exclusive namespaces on proxied and rename paths (bd-7u5ki) 2026-10-08 05:01:34 +00:00
initverifier.go feat(init): put bd init's identity seam behind Bootstrapper and InitVerifier (bd-zl3u8) 2026-08-06 03:01:33 +00:00
issueops.go fix(update): fence unforced --notes overwrites behind --force across all surfaces (#5946) 2026-10-01 05:02:40 -07:00
issueops_external_test.go feat(serve): name the blockers on a live-blocker not_closable (#6893) 2026-10-01 00:51:06 -07:00
metadatacas.go docs: the ext-api-store documentation tranche — post-#5516 auth sweep, wave doc coherence, role checklist refresh (#5545) 2026-08-10 08:05:07 -07:00
querier.go fix(query): apply bd list's piped-output limit policy to bd query (#6229) (#6744) 2026-09-26 02:50:09 -07:00
reader.go feat(count): Counter scope — ParentID, NoParent, ExcludeTypes, ExcludeStatus (issues.count.scope) (#7199) 2026-10-05 02:57:14 -07:00
reader_ready_scope.go fix(list): honor --status when combined with --ready (#5924) 2026-09-02 18:12:07 -07:00
readyclaimer.go feat(workapi,storage): opt-in Brief projection for the list and ready pages (#5554) 2026-08-10 10:45:23 -07:00
readycounter.go feat(ready): put bd ready's published total behind the ReadyCounter role (bd-s10oa) 2026-08-05 09:47:24 +00:00
relations.go feat(issueops): put every issue capability behind one library surface 2026-08-04 12:27:56 -07:00
releaser.go fix: canonicalActor collapses the --/__ axes correctly; claim-verify uses ActorMatches (be-p7dzx, bundled be-vc51) (#5856) 2026-08-19 13:23:35 -07:00
statsreporter.go fix(status): disclose the counted rows bd list will not show (#5763) 2026-09-30 15:44:40 -07:00
sweeper.go feat(purge): live-dependent protection, --wisps-plane selector, hour-precision --older-than, --limit (#6883) 2026-09-28 00:57:24 -07:00
treewalker.go Converge Offset and MaxRows on all three legs, and fix the panic and the breaker hole under them (#5435) 2026-08-08 11:37:09 -07:00
versionreconciler.go feat(issueops): put the startup version reconciler behind the VersionReconciler role (bd-gkmft) 2026-08-05 16:35:01 +00:00
workspaceconfig.go Refuse kv.* point reads on the settings role and stop printing them (#5493) 2026-08-09 11:06:51 -07:00