Commit graph

117 commits

Author SHA1 Message Date
matt wilkie
e2e4975044
Document supported go install modes (bd-o5a) (#3480)
- Removed bare first-party go install .../cmd/bd@latest guidance from docs,
    website docs, plugin/npm docs, examples, and doctor hints.
  - Standardized on:
      - CGO_ENABLED=0 go install ... for server-mode only
      - CGO_ENABLED=1 GOFLAGS=-tags=gms_pure_go go install ... for embedded-
        capable
  - Added scripts/check-go-install-guidance.sh and wired it into CI.
  - Updated default.nix to use gms_pure_go instead of ICU flags.

  Validation passed locally:

  - make test
  - golangci-lint run --build-tags=gms_pure_go ./...
  - ./scripts/check-go-install-guidance.sh
  - ./scripts/check-build-tags.sh
  - go test -tags gms_pure_go ./cmd/bd/doctor
  - doc flag check
2026-04-25 11:30:19 -07:00
matt wilkie
1b2dd2cb56 Release 1.0.3 2026-04-24 16:15:11 -07:00
Ben Madore
3b39ce577a
docs: update user-facing URLs from steveyegge/beads to gastownhall/beads
Co-authored-by: Ben Madore <823868+madorb@users.noreply.github.com>
2026-04-24 08:17:42 -07:00
emma
a3f834b31f release: beads v1.0.2 — npm provenance URL fix
Executed-By: beads/crew/emma
2026-04-15 13:42:06 -07:00
emma
4c52b9f4ae release: beads v1.0.1
Executed-By: beads/crew/emma
2026-04-15 12:44:44 -07:00
zerone0x
b4045389e1
fix(npm): close download streams in postinstall (#3228)
Close response/request streams and file handles on redirects and non-200 downloads.
Destroy response after successful file close. Open zip with r+ in waitForFileAccess
to detect Windows write locks.

Fixes #3205.

Co-authored-by: zerone0x <hi@trine.dev>
2026-04-12 20:40:52 -07:00
Isaac Karrer
104932d7f0
docs: unify quick start (site + stub) (#3032)
Single full tutorial on website/docs/getting-started/quickstart.md; docs/QUICKSTART.md
is a short pointer with stable anchors. Update npm and Claude plugin links.

Closes #3014

Made-with: Cursor
2026-04-05 22:16:00 -07:00
beads/crew/emma
db5b05a72f release: beads v1.0.0
Stable release. Embedded Dolt default on all platforms, critical
reliability fixes (concurrent panic, spaces in path, schema migration),
22 community PRs merged, tracker hardening across all backends.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 21:35:30 -07:00
beads/crew/emma
884cc1171e fix(release): revert all non-Linux targets to CGO_ENABLED=0, bump v0.63.3
Only Linux amd64/arm64 can cross-compile with CGO on the CI runner.
macOS needs CoreFoundation/Security frameworks, Windows needs mingw
with framework support, and Android/FreeBSD lack sysroot headers.
These platforms use server mode; embedded Dolt is Linux-only for now.
Removes zig setup (no longer needed — Linux arm64 uses system gcc).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 08:58:25 -07:00
beads/crew/emma
0cac11fbb6 fix(release): add CGO build constraints for embeddeddolt, bump to v0.63.2
Gate embeddeddolt package on //go:build cgo with stub files for !cgo.
Android and freebsd targets use CGO_ENABLED=0 since zig lacks sysroot
headers for these platforms. Server mode still works on all targets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 16:57:50 -07:00
beads/crew/emma
2321038ed5 fix(release): disable CGO for android/freebsd builds, bump to v0.63.1
Zig lacks sysroot headers for android and freebsd targets, causing
stdlib.h not found errors. Revert these two targets to CGO_ENABLED=0
(they do not need embedded Dolt). Remove unused zig wrappers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 15:56:55 -07:00
beads/crew/emma
d1f4784d3b release: v0.63.0 — embedded Dolt default, multi-project sync, graph create
Embedded Dolt is now the default storage backend. Adds multi-project/team
sync for Linear/Jira/ADO, Notion and GitLab sync, bd create --graph,
simplified backup system, and 18 bug fixes from 18 contributors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 15:15:17 -07:00
beads/crew/emma
1402021b8b chore: bump version to 0.62.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 19:50:38 -07:00
beads/crew/emma
5b9e65de85 fix: add retry loop for Windows binary existence check after zip extraction (fix-merge PR #2753)
Windows NTFS metadata visibility lag causes fs.existsSync to return false
immediately after Expand-Archive completes. Add poll-retry loop (10x200ms)
on Windows only, mirroring existing waitForFileAccess pattern.

Fixes #2741.

Co-Authored-By: Marco Del Pin <marcodelpin@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 17:08:09 -07:00
jade
13a83b080c refactor: make BEADS_ACTOR primary env var, BD_ACTOR deprecated fallback (bd-hm9r)
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.
2026-03-20 18:30:20 -07:00
beads/crew/emma
3ac028bff3 chore: bump version to 0.61.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 19:06:14 -07:00
cwalv
e31428f053 docs: replace "git-backed" with "Dolt-powered", add git-free usage guide
Beads' storage backend is Dolt, not git. Git integration (hooks, repo
discovery, identity) is optional — `BEADS_DIR` + `--stealth` provides
fully functional git-free operation with zero git calls.

Changes across 15 files:
- Replace all "git-backed" references with "Dolt-powered" or "Dolt-backed"
- Add "Git-Free Usage" section to README.md documenting BEADS_DIR + --stealth
- Fix stale "JSONL" storage reference in llms-full.txt
- Update SKILL.md to mark git as optional prerequisite

Complements GH#2522 (stale command cleanup) — that PR fixed removed
commands, this one fixes misleading storage backend framing.
2026-03-13 11:44:50 -07:00
beads/crew/emma
91df6ef6d3 chore: bump version to 0.60.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 20:53:41 -07:00
Amp
a333dcaa75 fix(docs): purge stale bd sync/import/--branch refs + add CI doc validation (GH#2522)
Systematic cleanup of stale documentation references left over from the
Dolt migration:

- Replace all 'bd sync' → 'bd dolt push' / 'bd dolt pull' across 40+ files
- Replace all 'bd import' → 'bd init --from-jsonl' or remove
- Replace 'bd init --branch' → note about refs/dolt/data separation
- Fix AGENT_INSTRUCTIONS.md (highest impact: agents read this directly)
- Fix npm-package, claude-plugin, integrations, examples, website docs

Add scripts/check-doc-flags.sh to catch stale doc references:
- Checks for removed commands (bd sync, bd import)
- Checks for removed flags (bd init --branch)
- Warns on legacy SQLite/beads.db references
- Compares CLI_REFERENCE.md against bd help --all

Add CI job (check-doc-flags) and Makefile target (check-docs) to gate
PRs against doc freshness.

Prior art: feat/help-doc-generator branch has bd help --doc/--list for
generating docs FROM CLI output. This script validates docs AGAINST CLI
output — complementary approaches.

Amp-Thread-ID: https://ampcode.com/threads/T-019cde77-0722-7353-b63a-1779a5773ca6
Co-authored-by: Amp <amp@ampcode.com>
2026-03-11 13:25:40 -07:00
beads/crew/emma
018d18e013 chore: bump version to 0.59.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-03-05 16:00:25 -08:00
beads/crew/emma
ae14933db6 chore: bump version to 0.58.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 22:27:12 -08:00
beads/crew/emma
063faed44d chore: bump version to 0.57.0 on main
The v0.57.0 release was tagged and published from a polecat branch but
the version bump commit was never merged back to main. This lands the
version files, CHANGELOG, and info.go versionChanges on main.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-03-01 15:36:30 -08: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
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/emma
48bfaaad38 fix(release): remove verify-cgo hook from CGO_ENABLED=0 builds
v0.56.0 release failed because verify-cgo.sh was added to darwin and
freebsd builds which intentionally use CGO_ENABLED=0. Bump to v0.56.1.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-22 19:34:50 -08:00
beads/crew/emma
c14fc2be07 chore: bump version to 0.56.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-22 19:08:36 -08:00
beads/crew/emma
21f49ddb1a chore: Bump version to 0.55.4
Disable CGO for FreeBSD cross-compilation (zig sysroot lacks stdlib.h).
Add PreToolUse hook to block gh run watch across all crew sessions.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-20 11:38:31 -08:00
beads/crew/emma
bfe5241609 chore: Bump version to 0.55.3
Disable CGO for macOS cross-compilation targets. Zig sysroot lacks
macOS frameworks (CoreFoundation, Security) and libresolv. Darwin builds
use gms_pure_go + netgo tags for pure-Go operation.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-20 09:39:29 -08:00
I.G
11eb604fb8
fix: resolve Windows file locking race condition during npm install (#1923)
The postinstall script's extractZip function used `stdio: 'inherit'`,
which prevented PowerShell error output from being captured in the
error object. This meant the file-lock retry logic could never detect
lock errors and always threw on the first failure.

Changes:
- Switch execSync stdio to 'pipe' so err.stderr is captured
- Check both err.message and err.stderr for lock-related error strings
- Add waitForFileAccess() that polls the downloaded ZIP before extraction,
  giving Windows time to release the file handle after close()

Fixes #1683

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 09:22:10 -08:00
beads/crew/emma
af1a77884d chore: Bump version to 0.55.2
Fix release CI: strip -lresolv entirely from zig cross-compilation
wrappers instead of replacing with -lresolv.9 (zig sysroot has neither).
macOS builds use netgo tag so libresolv is not needed.

Also add GitHub API rate limit warnings to release formula, release.sh,
and emma private memory to prevent burning 5000/hr quota during CI wait.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-20 09:00:55 -08:00
beads/crew/emma
e3b9e86c4a chore: Bump version to 0.55.1
Fix release workflow YAML broken by heredoc in zig wrapper step,
fix marketplace.json version missed in v0.55.0, run gofmt on 8 files,
fix unused parameter and dead code lint in config.go.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-19 21:30:49 -08:00
beads/crew/emma
d0c11d521f chore: Bump version to 0.55.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-19 21:05:28 -08:00
beads/crew/emma
49f8d2e9e2 chore: Bump version to 0.54.1
Retag as v0.54.1 because v0.54.0 tag was poisoned by repeated
delete/recreate cycles and GitHub Actions no longer triggers workflows
for it.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-19 21:01:14 -08:00
beads/crew/emma
5fd25249af chore: Bump version to 0.54.0
Fix goreleaser zig cross-compilation race with --parallelism 1.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-18 21:46:26 -08:00
beads/crew/emma
bd4d365879 chore: Bump version to 0.53.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-18 20:17:59 -08:00
beads/crew/emma
ea22fd5937 chore: Bump version to 0.52.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 16:06:17 -08:00
emma
6a81082f9f release: v0.51.0 — Dolt-native cleanup
Major release completing the Dolt-native migration:
- 8-phase refactor removing SQLite, JSONL sync, merge engine, tombstones, daemon stubs
- Pruned ~3,000+ lines of dead code across storage factory, type aliases, doctor checks
- Bug fixes for batch deletes, test races, worktree config corruption
- CASCADE deletes cut deletion queries by 60%
- 10+ docs updated from SQLite to Dolt, deprecated docs removed
- Community contributions: 8 merged PRs

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-16 10:38:36 -08:00
beads/crew/emma
bd25acbcb1 chore: Bump version to 0.50.3
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-14 18:30:09 -08:00
beads/crew/emma
3bdc97878c fix: bump npm package version to 0.50.2
Missed in the version bump commit, caused npm publish to fail
(cannot publish over existing 0.50.1).

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-14 15:41:16 -08:00
mayor
553f9c8ffc chore: bump version to 0.50.1
Also fixes ruff target-version in pyproject.toml (was clobbered to
"0.50.0" by version bump script, restored to "py310").

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 14:24:48 -08:00
mayor
349a57e5fa chore: bump version to 0.50.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 14:08:19 -08:00
mayor
a081806f7c Revert "release: bump version to v0.50.0 with CHANGELOG"
This reverts commit c30611d569.
2026-02-14 13:37:09 -08:00
mayor
c30611d569 release: bump version to v0.50.0 with CHANGELOG
Dolt Transition Complete. SQLite backend deleted, JSONL sync layer removed,
daemon/RPC subsystem eliminated. Over 30,000 lines of legacy code removed.
Dolt is now the sole storage backend.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 13:30:50 -08:00
beads/crew/emma
c064f2aa99 release: v0.49.6
Patch release to restore embedded Dolt mode that was incorrectly
removed from Beads in v0.49.5 (was only supposed to be removed
from Gas Town).

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-07 22:01:18 -08:00
beads/crew/emma
bcf54c5cf3 release: v0.49.5
Security fixes, 40+ bug fixes, 6 new features, CI improvements.
See CHANGELOG.md for complete details.

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-07 20:28:20 -08:00
beads/crew/emma
3032c622d2 release: v0.49.4
Label pattern/regex filtering, spec_id field, wisp types, Dolt migration
runner, JSONL locking, merge driver field preservation, atomic claim,
Windows Dolt build, and numerous stability fixes.

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

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-02-05 10:23:08 -08:00
mayor
754192f4a0 chore: Bump version to 0.49.3 2026-01-31 20:35:55 -08:00
beads/crew/emma
188be0dcb6 chore: Bump version to 0.49.2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-01-31 00:50:53 -08:00
beads/crew/emma
9bbcee38d0 chore: Bump version to 0.49.1
Executed-By: beads/crew/emma
Rig: beads
Role: crew
2026-01-25 21:01:51 -08:00
beads/crew/emma
9381190462 chore: Bump version to 0.49.0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 23:42:07 -08:00