beads/docs/reference
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
..
advanced.md docs(events): document the events journal and bd events (bd-opisf) 2026-08-09 01:58:17 +00:00
antivirus.md docs: apply PR #4722 review feedback to user docs 2026-07-12 11:06:57 -07:00
configuration.md fix(labels): guard exclusive namespaces on proxied and rename paths (bd-7u5ki) 2026-10-08 05:01:34 +00:00
events-journal.md fix(events): journal delete and cascade dep_remove rows carry the request actor; notice when reading a disabled journal (#5985) (#6061) 2026-08-29 04:14:23 -07:00
faq.md docs(agents): contributor-only agent instructions and documented-issue intake (#7223) 2026-10-05 08:43:53 +00:00
git-integration.md Accept uutils coreutils timeout in generated hooks, and check the shims against real implementations (#6561) 2026-09-27 03:38:45 -07:00
index.md docs(events): document the events journal and bd events (bd-opisf) 2026-08-09 01:58:17 +00:00
json-schema.md fix(labels): guard exclusive namespaces on proxied and rename paths (bd-7u5ki) 2026-10-08 05:01:34 +00:00
observability.md refactor(telemetry): adopt standard OTel SDK env vars with BD_OTEL_* back-compat (#3859) 2026-08-03 00:05:06 -07:00
protected-branches.md docs: apply PR #4722 review feedback to user docs 2026-07-12 11:06:57 -07:00
troubleshooting.md Accept uutils coreutils timeout in generated hooks, and check the shims against real implementations (#6561) 2026-09-27 03:38:45 -07:00
worktrees.md fix(hooks): identify the index context behind tracked-file refusals (#6457) 2026-09-27 18:07:43 -07:00