Commit graph

291 commits

Author SHA1 Message Date
Steve Yegge
68752a6c51
Merge pull request #2167 from peterkc/docs/dependencies
docs(deps): add DEPENDENCIES.md for dependency system and gates
2026-02-27 13:08:49 -08:00
quartz
f710909589 feat(dolt): auto-push to Dolt remote with 5-minute debounce
Add maybeAutoPush() in PersistentPostRun (after auto-commit and auto-backup)
that pushes to the Dolt remote when an origin is configured. Uses the same
pattern as maybeAutoBackup: debounce interval, change detection via commit
hash comparison, and non-fatal warnings on failure.

Config keys: dolt.auto-push (bool, auto-enabled when origin exists),
dolt.auto-push-interval (duration, default 5m).

This completes the Dolt replication story: users add a remote once and
data flows automatically.

Closes: bd-5x9

Executed-By: beads/polecats/quartz
Rig: beads
Role: polecats
2026-02-27 10:22:53 -08:00
Peter Chanthamynavong
b59486cc59
docs(deps): add DEPENDENCIES.md covering dependency system and gates
Document the full dependency and gate systems which had no dedicated
guide. Prompted by community discussion #2164 asking how to keep
dependent work in sync when beads updates aren't tied to code merges.

- New docs/DEPENDENCIES.md: dependency types, ready work, visualization,
  cross-repo deps, gate types (gh:pr, gh:run, timer, bead, human),
  gate automation, and workflow recipes
- Add Gates section to CLI_REFERENCE.md (bd gate commands were missing)
- Cross-reference from QUICKSTART.md and DOLT.md
2026-02-27 10:09:05 -08:00
beads/crew/emma
d82110945a feat(backup): add JSONL backup command and auto-backup support
Adds `bd backup` command that exports all database tables to sorted JSONL
files in .beads/backup/ for off-machine recovery. Events are exported
incrementally using a high-water mark. Each table is written atomically
via temp file + rename.

Auto-backup runs in PersistentPostRun when backup.enabled is true,
throttled by backup.interval (default 15m). Optional git-push mode
auto-commits and pushes backup files.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-26 16:31:31 -08:00
Pablo LION
332b4f457b refactor(output): simplify title-length semantics and default to 255 2026-02-26 19:46:27 +01:00
Alex Sharp
6c9054536a
Remove dolt embedded mode docs
Embedded mode was removed in v0.56.0
2026-02-26 00:23:18 -06:00
Steve Yegge
e54b89a83c
Merge PR #2109: docs: use make install instead of go build
Updates AGENT_INSTRUCTIONS.md and docs/CLAUDE.md to recommend make install over go build -o bd, preventing stale binary issues.

PR: https://github.com/steveyegge/beads/pull/2109
Author: l0g1x (Krystian Gebis)
2026-02-25 10:44:36 -08:00
l0g1x
b652fbee8c docs: use make install instead of go build for bd binary
Agent instructions and CLAUDE.md told agents to run
`go build -o bd ./cmd/bd` followed by `./bd`, creating stale local
binaries in every worktree. Change to `make install` which places the
binary in ~/.local/bin (the canonical location) and use `bd` from PATH
instead of `./bd`.
2026-02-25 09:11:08 +00:00
vp
4f4cc4118e docs(faq): clarify atomic self-pick claim wording 2026-02-25 10:44:22 +03:00
vp
999d158cc3 docs(faq): reorder assigned-vs-claim note 2026-02-25 10:43:24 +03:00
vp
05727efe2d docs(faq): restore assigned-work flow and clarify claim semantics 2026-02-25 10:40:40 +03:00
vp
95c86e1160 docs(faq): require assignee in claim example 2026-02-25 10:25:26 +03:00
vp
06cc556a33 docs(faq): note optional assignee with claim 2026-02-25 10:19:34 +03:00
vp
f78df9b7d7 merge: sync docs/claim-start-work-followup with upstream main
Resolve merge conflicts and keep review-driven doc semantics:\n- PATTERNS: use --status in_progress for unblock/resume\n- FAQ: simplify multi-agent flow to atomic claim\n- llms short ref: keep Start work comment\n- mol_current: keep upstream wisp-create guidance
2026-02-25 10:04:00 +03:00
vp
f5c2da1d2f docs(claim): address review nits and unblock resume semantics
- use --status in_progress for unblock/resume example\n- fix llms short reference comment to 'Start work'\n- simplify FAQ multi-agent claim flow
2026-02-25 10:01:52 +03:00
darcy
f9b306f152 docs(claim): standardize start-work semantics to --claim (#2070)
Standardize start-work semantics to `bd update <id> --claim` across docs,
examples, templates, and website static LLM artifacts. Replaces
`--status in_progress` with `--claim` where the meaning is start-work.

Also fixes stale comment in llms.txt ("Update status" → "Start work").

Co-Authored-By: Valeriy Pavlovich <iqdoctor@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 22:11:39 -08:00
Valeriy Pavlovich
3a86e9fdde
feat(mcp): add dedicated claim tool for atomic start-work (#2071)
Add a new MCP `claim` tool as the atomic start-work operation (CLI equivalent: `bd update <id> --claim`). Keep `update` for semantic updates. Update MCP-facing docs/examples to use `claim` for start-work. Add focused tests for client/tool/server claim paths.

Co-Authored-By: Valeriy Pavlovich <iqdoctor@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 22:10:01 -08:00
vp
fbc90a3e75 docs(claim): use --claim for start-work flows across docs, examples, and templates 2026-02-24 04:17:48 +03:00
Giulio Mecocci
87f32865cf
feat: support issue_id_mode=counter for sequential IDs (#2013)
* feat: support issue_id_mode=counter for sequential IDs (GH#2002)

When `issue_id_mode=counter` is set via `bd config set issue_id_mode counter`,
`bd create` now assigns monotonically increasing integer IDs instead of
hash-based IDs. The counter is stored in a new `issue_counter` table (one row
per prefix) and incremented atomically within the same transaction as the issue
insert.

- Add `issue_counter` table to schema (version bumped to 5)
- Add migration 006 to create `issue_counter` table on existing databases
- Add `GetNextIssueCounter()` to queries.go (standalone transaction, for
  callers outside CreateIssue)
- Modify `generateIssueID()` to check `issue_id_mode` config and use counter
  path when set to "counter"; hash mode remains the default when unset
- Explicit `--id` flag continues to take precedence over counter mode
- Tests: TestGetNextIssueCounter_Sequential, TestGetNextIssueCounter_MultiplePrefixes,
  TestCreateIssue_CounterMode, TestCreateIssue_ExplicitIDOverridesCounter,
  TestCreateIssue_HashModeDefault, TestMigrateIssueCounterTable

* docs: document issue_id_mode=counter feature (GH#2002)

Add documentation for the sequential counter ID mode across all relevant docs:
- docs/CONFIG.md: new issue_id_mode namespace entry and full example section
  with tradeoff table, migration guidance, and per-prefix counter isolation
- .beads/BD_GUIDE.md: counter mode section with when-to-use, migration
  considerations, and explicit --id override behavior
- docs/ADAPTIVE_IDS.md: alternative counter mode section with cross-reference
  to CONFIG.md
- website/docs/reference/configuration.md: issue_id_mode under ID Generation
  with comparison table

* fix: seed counter from existing issues when enabling counter mode (GH#2002)

When issue_id_mode=counter is enabled on a repo that already has manually-created
sequential IDs (e.g., plug-1 through plug-50), the counter used to start at 1,
causing immediate collisions.

Add seedCounterFromExistingIssuesTx() which scans existing issue IDs, finds the
highest numeric suffix for the given prefix, and seeds the issue_counter table
from there. The function is idempotent (skips if a counter row already exists)
and only counts purely-numeric suffixes (ignoring hash-based IDs like test-a3f2).

The seeding is called at first counter use: in generateIssueID() (issues.go) and
GetNextIssueCounter() (queries.go) when sql.ErrNoRows is returned for the prefix.

Add four tests covering: seeding from existing numeric IDs, mixed hash+numeric
IDs, fresh repos (counter starts at 1), and already-seeded counters (no regress).

* feat: add bd config schema and describe commands for agent discoverability (GH#2002)

Adds machine-readable config schema so agents can programmatically discover
all available configuration keys without reading source code.

- internal/config/schema.go: new ConfigKeyDef struct and Schema slice with
  43 entries covering core, sync, routing, jira, linear, gitlab, team, mail,
  and YAML-only keys; includes type, default, valid values, description, and
  storage location per key
- cmd/bd/config.go: adds 'bd config schema' (table + --json) and
  'bd config describe <key>' (single-key detail + --json) subcommands

Usage:
  bd config schema
  bd config schema --json | jq '.[] | select(.key == "issue_id_mode")'
  bd config describe issue_id_mode
  bd config describe jira.url --json

* refactor: remove overengineered config schema (keep docs only)

Remove the configSchemaCmd and configDescribeCmd subcommands added in
the previous commit, along with internal/config/schema.go (390 lines of
config key definitions). These are out of scope for GH#2002.
2026-02-22 23:49:46 -08:00
beads/crew/elinor
90da8f6028 docs: remove stale JSONL references from ~73 markdown files (bd-9ni.4)
Replace JSONL storage/sync references with Dolt-native equivalents across
documentation, plugin resources, website docs, agent instructions, and
example READMEs. Preserves legitimate JSONL references (bd import/export
commands, CHANGELOG history, routes.jsonl/interactions.jsonl concepts).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 22:18:02 -08:00
beads/crew/darcy
e66c7af1e0 docs: remove stale bd daemon references from documentation (GH#1982)
The daemon was removed in v0.50. Remove remaining references from
NEWSLETTER.md, docs/LINTING.md, website sidebar, and llms.txt files.
Regenerated llms-full.txt from clean source docs. CHANGELOG.md
historical entries preserved.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 18:19:05 -08:00
topaz
062aedbed7 docs: remove stale daemon references from all documentation (GH#1982)
Sweep 65 markdown files across docs/, website/, claude-plugin/, examples/,
integrations/, and root to replace removed `bd daemon` references with
current Dolt server mode equivalents. CHANGELOG.md preserved per policy.

Key replacements:
- `bd daemon start/stop/status` → `bd dolt start/stop` / `bd doctor`
- `bd daemons killall/health/logs` → `bd dolt stop` / `bd doctor`
- `--no-daemon` flag → removed (embedded mode is default)
- `BEADS_NO_DAEMON` / `BEADS_DAEMON_MODE` env vars → removed
- `.beads/bd.sock` → removed
- "daemon mode" / "direct mode" → "server mode" / "embedded mode"
- daemon.pid/daemon.log → .beads/dolt/sql-server.pid/.log

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

Executed-By: beads/polecats/topaz
Rig: beads
Role: polecats
2026-02-22 17:57:53 -08:00
Pierre-Alexandre Entraygues
6e4ad9b283
feat(otel): opt-in OpenTelemetry instrumentation (#1940)
* feat(otel): comprehensive OpenTelemetry instrumentation

Phase 1 (telemetry foundation + SQL + CLI + AI):
- Add internal/telemetry package: Init/Shutdown, Tracer/Meter helpers,
  stdout + OTLP/gRPC exporters, noop providers when disabled
- Add internal/telemetry/storage.go: InstrumentedStorage decorator for
  SDK consumers with bd.storage.* counters and duration histograms
- Instrument DoltStore SQL layer (execContext, queryContext, queryRowContext)
  with dolt.exec / dolt.query / dolt.query_row spans
- Instrument Anthropic API calls in compact/haiku.go and find_duplicates.go
  with bd.ai.input_tokens, bd.ai.output_tokens, bd.ai.request.duration
- Add bd.command.<name> span in PersistentPreRun/PostRun with actor attribute

Phase 2 (VC ops, hooks, sync, metrics):
- Add dolt.commit / dolt.push / dolt.force_push / dolt.pull / dolt.branch /
  dolt.checkout / dolt.merge spans for Dolt version-control procedures
  (these bypass execContext so needed dedicated spans)
- Add bd.db.retry_count counter in withRetry (server mode retries)
- Add bd.db.lock_wait_ms histogram in AcquireAccessLock (flock contention)
- Add ephemeral.count / ephemeral.nuke spans for SQLite ephemeral store
- Add hook.exec spans in hooks_unix/windows runHook (background root spans)
- Add tracker.sync / tracker.pull / tracker.push / tracker.detect_conflicts
  spans with per-phase stats attributes in tracker/engine.go
- Add bd.issue.count gauge (by status) in InstrumentedStorage.GetStatistics
- Fix: call initAIMetrics via sync.Once in newHaikuClient so ai metrics
  are actually registered

Configuration:
  BD_OTEL_ENABLED=true              enable (default: off, zero overhead)
  BD_OTEL_STDOUT=true               write to stdout for dev/debug
  OTEL_EXPORTER_OTLP_ENDPOINT=...  ship to Jaeger/Grafana/Honeycomb/etc.

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

* refactor(otel): align with VictoriaMetrics HTTP stack

- Switch metric exporter: gRPC → HTTP (otlpmetrichttp)
- Activation: BD_OTEL_METRICS_URL presence (no more BD_OTEL_ENABLED flag)
  matches GT_OTEL_METRICS_URL convention from the local observability stack
- BD_OTEL_METRICS_URL=http://localhost:8428/opentelemetry/api/v1/push
- BD_OTEL_LOGS_URL=http://localhost:9428/insert/opentelemetry/v1/logs (reserved)
- Traces: stdout only (BD_OTEL_STDOUT=true); noop otherwise since VictoriaMetrics
  is a metrics-only backend — no trace overhead in production
- Remove: otlptracegrpc, otlpmetricgrpc
- Update docs/OBSERVABILITY.md to match the diffusiontown README style

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

* feat(otel): capture hook stdout/stderr and bd.args in spans

- hook.exec span now records stdout and stderr as span events after
  the hook process exits (including partial output on timeout)
- Output is truncated to 1024 bytes; the event carries both the text
  (output) and the original size (bytes) as attributes
- bd.command.<name> span now includes bd.args with the raw CLI
  arguments (e.g. "create 'title' -p 2")

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

* fix(otel): address review feedback — stale comment, span leak, hot-path alloc

1. Fix stale BD_OTEL_ENABLED comment in main.go (actual env vars are
   BD_OTEL_METRICS_URL and BD_OTEL_STDOUT)
2. Use defer+named returns in Merge() to prevent span leaks
3. Cache doltSpanAttrs() via sync.Once to avoid per-call allocation

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

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: beads/crew/emma <steve.yegge@gmail.com>
2026-02-22 15:36:57 -08:00
beads/crew/lizzy
f383ce3efd feat(setup): add Mux setup recipe with layered AGENTS and managed hooks
Adds bd setup mux with support for layered AGENTS.md installation
(root, project .mux/, global ~/.mux/) and managed hook files
(.mux/init, .mux/tool_post, .mux/tool_env). Makes AGENTS removal
non-destructive (preserves user content outside managed markers).

From: PR #1888 by alexx-ftw (cherry-picked, rebased onto current main)

Co-Authored-By: Alexx <alexx-ftw@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 15:33:06 -08:00
mayor
4766a4f3d9 refactor: remove embedded Dolt server code entirely
Remove all embedded Dolt server spawning, watchdog auto-recovery, and
process management code. Beads now requires a standalone dolt sql-server
(per Tim Sehn's recommendation). The embedded code caused port-hijacking
chaos where watchdog loops respawned rogue servers from .beads/dolt/.

Deleted (6 implementation files):
- internal/storage/dolt/server.go (process spawning)
- internal/storage/dolt/watchdog.go (auto-restart loop)
- internal/storage/dolt/procattr_{unix,windows}.go
- internal/storage/dolt/process_{unix,windows}.go

Deleted (8 test files):
- server_test.go, server_integration_test.go, server_dependency_test.go
- watchdog_test.go, nested_query_test.go
- hub_spokes_integration_test.go, peer_sync_integration_test.go
- cmd/bd/test_dolt_server_test.go

Simplified:
- store.go: removed watchdog fields and start/stop calls
- cmd/bd/dolt.go: removed bd dolt start/stop commands
- doctor/federation.go: replaced GetRunningServerPID with TCP check

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 11:55:00 -08:00
beads/crew/jane
34fa1c1239 refactor(sync): make bd sync a deprecated no-op, update agent instructions
bd sync was calling CommitPending + Push on every invocation, causing
perceived slowness when agents call it at high velocity. Now prints a
deprecation message and exits immediately without opening the database.

Updated AGENTS.md, AGENT_INSTRUCTIONS.md, SKILL.md, copilot-instructions,
and init templates to reference bd dolt push/pull instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 19:07:02 -08:00
Steve Yegge
2628b35ba5
Merge pull request #1970 from turian/fix/uninstalling-docs-1710
docs: add missing hook and config entry to UNINSTALLING.md
2026-02-21 18:37:00 -08:00
Joseph Turian
4bc9cc46ec docs: add missing prepare-commit-msg hook and beads.role to UNINSTALLING.md
Fixes #1710 — bd init installs 5 hooks but UNINSTALLING.md only listed 4
(missing prepare-commit-msg). Also missing beads.role git config entry.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 20:00:58 -05:00
beads/crew/emma
bd68c87b00 fix: remove stale embedded Dolt references after server-only migration
Delete broken store_nocgo_test.go (references undefined errNoCGO),
remove dead bootstrapEmbeddedDolt/hasDoltSubdir functions, and clean up
stale comments and docs that still referenced embedded mode, CGO
requirements, or in-process Dolt across 20 files.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-21 16:59:44 -08:00
Steve Yegge
2b1d3d9466
Merge pull request #1871 from zenchantlive/fix/remove-daemon-refs-1819
docs: remove stale daemon command references (fix #1819)
2026-02-21 13:14:46 -08:00
thecartine
22ba7881fc
Add Foolery to Claude Code Orchestration community tools (#1892)
Co-authored-by: acartine <acartine@users.noreply.github.com>
2026-02-20 09:23:11 -08:00
opal
da8f40b332 chore: audit sync mode complexity — remove stale refs and dead code (bd-shleu)
- Remove stale "realtime" references from comments, docs, and config
  (realtime mode was already removed from valid modes)
- Fix config validation to use actual mode/strategy/sovereignty values
  instead of stale names (local/git-branch/external → git-portable/
  dolt-native/belt-and-suspenders; lww → newest; none/isolated/federated
  → T1/T2/T3/T4)
- Remove 6 dead functions from config.go (IsSyncModeValid,
  IsConflictStrategyValid, IsSovereigntyValid, ShouldExportOnChange,
  ShouldImportOnChange, NeedsDoltRemote) — only used in tests,
  redundant with existing validators in sync.go
- Update tests and docs to match

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

Executed-By: beads/polecats/opal
Rig: beads
Role: polecats
2026-02-19 21:33:22 -08:00
ZenchantLive
818c6f0226 docs: remove stale daemon command references (GH#1819) 2026-02-18 22:50:21 -08:00
Juan Reyero
825c20c48d docs: add BeadHub to COMMUNITY_TOOLS.md
Add BeadHub under new "Coordination Servers" category.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 19:57:17 +00:00
Roberto Mello
49e5012a16
docs: add beads-compound plugin to Claude Code Orchestration section (#1814)
Add beads-compound plugin to community tools list.
2026-02-17 21:16:08 -08:00
beads/crew/emma
8748be3de0 feat(wisp): add bd mol wisp gc --closed for bulk purge of closed wisps
Closed wisps accumulate rapidly and bloat the database. This adds a
--closed flag to wisp gc that uses batch deletion infrastructure for
efficient bulk purge, safe by default (preview-only without --force).

Also upgrades the existing abandoned-wisp deletion from O(n) per-issue
DeleteIssue calls to a single deleteBatch() call.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-17 10:16:38 -08:00
beads/crew/emma
5fb306db7b docs: Remove stale daemon/SQLite/JSONL/tombstone documentation for Dolt-native
Phase 9 of dolt-1s40 epic. Remove documentation for features that were
removed in the Dolt-Native Beads v2 migration (Phases 1-8).

Removed files:
- docs/DAEMON.md, docs/daemon-summary.md - daemon architecture docs
- docs/DELETIONS.md - tombstone deletion tracking docs
- docs/SYNC.md - JSONL 3-way merge sync docs
- cmd/bd/doctor/fix/docs.md - tombstone/SQLite doctor docs
- claude-plugin/commands/daemon.md, daemons.md - daemon command refs
- integrations/beads-mcp/SETUP_DAEMON.md - daemon MCP setup
- website/docs/core-concepts/daemon.md - website daemon docs
- website/docs/core-concepts/jsonl-sync.md - website JSONL sync docs
- examples/git-hooks/ - JSONL sync git hooks

Updated files:
- docs/DOLT.md - rewritten for Dolt-only world
- docs/GIT_INTEGRATION.md - rewritten, removed daemon/JSONL/merge driver
- docs/CLI_REFERENCE.md - removed daemon management section
- Fixed broken cross-references to deleted files across 7 docs

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 19:19:00 -08:00
emma
5083873779 cleanup: delete deprecated SQLite-era docs (EXTENDING.md, MULTI_REPO_HYDRATION.md)
These documents described SQLite-specific features that no longer exist
after the Dolt migration. Preserved in git history. Updated references
in ARCHITECTURE.md and FAQ.md.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 01:22:58 -08:00
emma
4103785ef3 docs: update stale SQLite references to Dolt across 10 documentation files
Major updates:
- ARCHITECTURE.md: Rewrote three-layer model to two-layer (Dolt + JSONL),
  updated all diagrams, directory structure, and code paths
- FAQ.md: Updated database references, dependencies, corruption FAQ
- TROUBLESHOOTING.md: Updated database corruption recovery, locking advice
- WORKTREES.md: Updated directory structure and concurrency references
- MULTI_REPO_HYDRATION.md: Added deprecation notice (SQLite-era feature)
- daemon-summary.md: Added migration note

Path updates:
- PERFORMANCE_TESTING.md: sqlite → dolt benchmark paths
- ADAPTIVE_IDS.md: sqlite → dolt implementation paths
- INTERNALS.md: sqlite → dolt implementation paths
- SECURITY.md: SQLite → Dolt in dependency and storage references

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 01:22:58 -08:00
emma
490411d2d0 docs: fix stale file references and sqlite mention in CLAUDE.md
- Remove SQLite from testing philosophy (tests use Dolt embedded)
- Fix import path: internal/importer/importer.go → cmd/bd/import.go
- Fix sync path: cmd/bd/sync_conflict.go → cmd/bd/sync_git.go

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 00:57:07 -08:00
emma
1feee20e95 docs: update stale sqlite references to dolt in key contributor docs
- CONTRIBUTING.md: update directory layout, test commands, database
  inspection, and dual-mode description to reference Dolt
- BENCHMARKS.md: update all benchmark commands from sqlite to dolt paths
- docs/ARCHITECTURE.md: update storage implementation table entry
- docs/CLAUDE.md: remove references to deleted sqlite/ and memory/
  storage backends

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 00:56:29 -08:00
beads/crew/emma
896d5ed361 Dolt-native cleanup: remove legacy code, rename API, add server watchdog
Delete migrate_hash_ids.go (760 lines) and remove hash-ids subcommand,
doctor checks, and readonly test cases. Relocate copyFile to migrate.go
for migrate_dolt.go and repair.go. Rename public API beads.NewStorage()
to beads.Open() across code, tests, examples, and docs. Clean up
transitional SQLite-era comments in store.go and context.go. Add server
mode watchdog with TCP+SQL health probes, auto-restart with stale PID
cleanup, exponential backoff, and clean shutdown.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-15 23:43:20 -08:00
beads/crew/emma
0e7461239b refactor: fix stale NewSQLiteStorage refs in docs and monitor-webui import (bd-h0zvj.8)
Update documentation examples from deprecated NewSQLiteStorage to
NewStorage(ctx, path). Fix monitor-webui to import the public beads
package instead of internal/beads.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-15 22:06:57 -08:00
Adam D Richman
225ee74929
Fix typo in dolt migrate command
current documentation features an invalid command:
```
$ bd migrate --to=dolt                                                                   
Error: unknown flag: --to
```

The intent was probably `bd migration --to-dolt`.
2026-02-15 18:41:56 -05:00
drmikecrowe
97fa7ccd18
Revise INSTALLING.md for mise installation methods
Updated installation instructions for beads using mise.
2026-02-15 07:08:52 -05:00
Peter Chanthamynavong
26ff89405e
test(doctor): verify Dolt data exclusion in doctor gitignore
- Add unit tests for Dolt-specific ignore patterns
- Document manual cleanup steps for committed Dolt data

Coverage: gitignore validation logic in doctor command
2026-02-13 07:45:27 -08:00
beads/crew/elinor
d58c34911a Add manual GitHub test plan for Dolt git remotes (bd-v7ydv.3)
Step-by-step procedure for validating push/pull/clone of Dolt databases
to real GitHub repos via refs/dolt/data. Covers SSH auth, data integrity,
incremental sync, git clone isolation, and cleanup with pass/fail checklist.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:20:25 -08:00
paul dariye
9caa9a5627
docs: add beadsmap to community tools (#1696)
Easy-win: adds beadsmap to community tools doc
2026-02-11 21:43:23 -08:00
Jan Killian
5844fa8edb
Add installation via Mise to INSTALLING.md
Added installation instructions for Mise package manager.
2026-02-11 08:45:19 +01:00
Steve Yegge
c3cf76d0da
Merge pull request #1660 from davidahmann/codex/issue-1466-detect-stale-hooks
doctor: detect stale bd hook versions + standardize CGO test workflow
2026-02-10 12:24:38 -08:00