The replace directive never worked for \`go install\` (per \`go help install\`,
replace is not honored for install@version). Removing it fixes \`go install\`
on Linux/macOS; Windows was already broken and stays broken pending GH#3307.
Full analysis in gastownhall/beads#3303.
Use a patched fork of go-mysql-server that adds `!windows` to the CGO
regex build constraint. This ensures `go install ...@latest` on Windows
automatically selects the pure-Go regex backend instead of requiring
ICU C headers.
The fork contains a single two-line change:
- regex_cgo.go: `//go:build cgo && !windows && !gms_pure_go`
- regex_pure.go: `//go:build windows || gms_pure_go`
Upstream PR: https://github.com/dolthub/go-mysql-server/pull/3504
Once merged, this replace directive should be removed.
Closes#3013
Minor version bump. Supersedes Renovate PR #2789 which had unrelated
test failures from a stale branch.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replaces the deprecated github.com/charmbracelet/lipgloss v1 with
charm.land/lipgloss/v2. Key changes:
- Import path: github.com/charmbracelet/lipgloss → charm.land/lipgloss/v2
- AdaptiveColor replaced with LightDark() for controlled background
detection (avoids compat package which probes terminal at init time,
reintroducing the OSC 11 leak from GH#1303)
- SetColorProfile() replaced with DisableColors() function that resets
all styles to plain text for hook/non-TTY contexts
- Colors and styles initialized in init() for controlled lifecycle
- Removes direct dependency on github.com/muesli/termenv
Supersedes Renovate PR #2841 which only updated go.mod without fixing
import paths or API changes.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bd show --watch used fsnotify to watch the .beads directory for file
changes, but Dolt stores data in a server-side database — not files —
so file watchers never fired. The display never updated even when the
underlying bead changed status (e.g., to closed/done).
Switch to the same polling approach already used by bd list --watch:
query the database on a 2-second ticker and compare snapshots to detect
changes. This matches the pattern in watchIssues() (list.go:116-161).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Renovate bot dependency update. All CI checks pass.
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add the internal/ado package implementing tracker.IssueTracker for Azure
DevOps. Provides bidirectional work item sync via the ADO REST API.
Core components:
- types.go: ADO API types, SecretString with redaction, field constants
- client.go: HTTP client with Basic auth, retry, WIQL query builder
- fieldmapper.go: configurable status/type/priority mapping
- mapping.go: bidirectional IssueToBeads/IssueToTracker conversion
- richtext.go: HTML<>Markdown conversion (goldmark + bluemonday)
- tracker.go: tracker.IssueTracker implementation with init() registration
- bootstrap.go: 4-tier deduplication for first sync
- reconcile.go: deletion detection via periodic reconciliation scan
- links.go: bidirectional link sync with direction normalization
Includes full test suite (218 tests, 92.8% coverage).
Fixes applied during fix-merge:
- errors.New() → fmt.Errorf() to match project conventions (6 instances)
- Added gosec nolint for configured API endpoint SSRF false positive
Co-Authored-By: Harry Miller <harry_miller@trimble.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bd doctor (and other noDbCommands) returned from PersistentPreRunE before
.beads/.env was loaded, so per-project Dolt credentials were missing.
Move loadBeadsEnvFile() call above the early return using FindBeadsDir()
which is lightweight and already cached.
Also adds .env to .beads/.gitignore template and required patterns to
prevent accidental credential commits.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Minor version bump: thinking-display-setting GA, request cancellation
during retry, model reference update.
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace BIGINT AUTO_INCREMENT with CHAR(36) UUID primary keys on 6 tables
(events, comments, issue_snapshots, compaction_snapshots, wisp_events,
wisp_comments) to eliminate duplicate PK collisions during Dolt federation.
- Change Event.ID and Comment.ID from int64 to string
- Change GetAllEventsSince to use time.Time instead of int64 high-water marks
- Add migration 010 to convert existing BIGINT PKs to UUID
- Remove resetAutoIncrements band-aid (no longer needed)
- Generate UUIDs in Go before INSERT for comments (ImportIssueComment)
- Schema version bumped from 6 to 7
Migrate from github.com/charmbracelet/huh v0.8 to charm.land/huh/v2.
Updated import path, theme API (ThemeFunc wrapper), and upgraded
transitive dependency charmbracelet/x/cellbuf to resolve API conflicts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Migrate from github.com/charmbracelet/glamour v1 to charm.land/glamour/v2.
Remove WithAutoStyle() (dark is now default in v2). Update import path.
Bumps go directive to 1.25.8 as required by glamour v2.
Closes renovate PR #2470.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Honorary major version bump with no breaking API changes.
Fix-merge of dependabot PR #2484 (merge conflict with main).
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Manually applied since Renovate PR #2459 became unmergeable after
PR #2454 (x/sync) was merged first.
Co-Authored-By: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>