Replace gastown-specific references with generic alternatives throughout
the codebase:
- Rename --gastown flag to --orchestrator in bd doctor
- Rename gastownMode/gastownThreshold params to orchestratorMode/orchestratorThreshold
- Rename isGasTownTownRoot() to isOrchestratorRoot()
- Replace "gastown" in CLI examples with generic rig names (my-project, other-project)
- Update comments replacing "Gas Town" with "orchestrator" or "multi-agent workspace"
- Update active docs (DOLT.md, CONFIG.md, ADVANCED.md, etc.)
- Update test data to use generic names instead of "gastown"
- Update role templates (deacon, witness, refinery) to use generic language
Preserved as historical (not changed):
- CHANGELOG.md entries (historical record)
- ARTICLES.md (links to real published articles)
- info.go version notes (historical release notes)
- gastown/ file path references in dolt-concurrency.md (point to actual repo)
Simplify actor resolution chain to: --actor > BEADS_ACTOR > BD_ACTOR (deprecated) >
git config user.name > $USER > "unknown". BD_ACTOR still works for backwards compat
but BEADS_ACTOR is now the canonical beads-native env var. Updates all code paths,
tests, and documentation.
Introduces BEADS_DOLT_SHARED_SERVER mode where multiple beads projects
share a single Dolt server on a fixed port (3308), avoiding per-project
server sprawl. Includes `bd init --shared-server`, `bd dolt shared-*`
commands, doctor checks, and comprehensive tests.
Co-Authored-By: Shybko <shybko@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add metric naming convention table (SDK dot-notation → Prometheus underscores)
- Move doltserver.* events to roadmap — zero OTel imports in doltserver package
- Clarify hook.exec as span-only (no metric counters or histograms)
- Flag bd.db.lock_wait_ms as registered but never recorded
- Add circuit breaker metrics (bd.db.circuit_trips/rejected)
- Add source reference appendix: every span, metric, and attribute
backed by file:line to prevent documentation drift
- Correct Init()/Shutdown() signatures to match actual telemetry.go
- Fix SQL span section to reflect actual dolt.query/exec/query_row spans
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
DOLT.md: fix data location paths to ~/gt/.dolt-data/
dolt-concurrency.md: status from draft to implemented
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Inspired by PR #1164 from Piyush Jha (@Hackinet). Groups commands
under 'bd kv' subcommand for cleaner namespacing.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>