beads/cmd/bd
Michael Percy d0f0ad6f22
fix(export): scrub git hook env and skip cross-worktree git-add (GH#3311) (#3347)
When export.git-add=true (the v1.0.1+ default), the pre-commit hook in
a worktree stages a spurious issues.jsonl at the repo root instead of
(or in addition to) .beads/issues.jsonl. The ghost file lands in the
commit's diff but not on disk — easy to miss and painful to clean up.

Root cause (not what the issue body guessed): the absolute path passed
to `git add` was always correct. The bug is env inheritance. Git
invokes the pre-commit hook with GIT_DIR/GIT_WORK_TREE/GIT_INDEX_FILE/
GIT_COMMON_DIR/GIT_PREFIX set in the environment, and bd's git-add
subprocesses inherit them.

Both call sites set `cmd.Dir = filepath.Dir(fullPath)` (= `.beads/`).
With GIT_DIR set in the environment and GIT_WORK_TREE unset, git
defaults the work-tree to cwd. So the subprocess's git sees `.beads/`
as the work-tree root and records `.beads/issues.jsonl` at the root of
that broken view — which ends up in the worktree's actual index as a
bare `issues.jsonl`. Verified empirically: with GIT_DIR set and
cwd=`.beads/`, `git rev-parse --show-toplevel` returns the `.beads/`
directory itself.

Fix, in two parts:

 1. scrubGitHookEnv() strips the vars that poison repo/worktree
    auto-discovery, index routing, object routing, and config
    injection:
      - discovery: GIT_DIR, GIT_WORK_TREE, GIT_COMMON_DIR, GIT_PREFIX,
        GIT_CEILING_DIRECTORIES, GIT_DISCOVERY_ACROSS_FILESYSTEM
      - index: GIT_INDEX_FILE
      - objects: GIT_OBJECT_DIRECTORY, GIT_ALTERNATE_OBJECT_DIRECTORIES
      - config: the whole GIT_CONFIG* family (covers the case where the
        parent invoked `git -c core.worktree=… commit`, which sets
        GIT_CONFIG_PARAMETERS / GIT_CONFIG_COUNT in the child env)
    With these cleared, git rediscovers the repo/worktree from cwd.

 2. hookWorkTreeRoot() reads the inherited GIT_DIR to determine the
    worktree whose hook is currently firing. If the target path is
    outside that worktree, gitAddFile returns without staging. This
    prevents a narrower but real regression that would otherwise land
    after part 1 alone: in the .beads/redirect configuration, fullPath
    points into the main repo (not the worktree), and post-scrub git
    would silently stage the file into main's index from a worktree
    hook. The existing preCommitHookBody template (init_git_hooks.go)
    documents the same intent: "For worktrees: .beads is in the main
    repo's working tree... we skip it."

The guard uses pathInsideDir which handles the macOS symlinked-parent
case: on /tmp → /private/tmp, a fresh-file target expressed as
/tmp/.../new.txt compared against a worktree root resolved to
/private/tmp/... would otherwise misclassify as outside the worktree.
pathInsideDir resolves the parent of each side via EvalSymlinks and
reattaches the basename — sufficient for the real caller shapes, since
gitAddFile's parent directory (beadsDir or the export output dir)
always exists at call time.

Also fixes the variant reported in a follow-up comment where the
.beads/redirect workaround did not resolve the root ghost: the env
pollution broke git-add inside the `bd export -o` subprocess spawned
from exportJSONLForCommit (that subprocess has BD_GIT_HOOK stripped,
but git env vars preserved, so its PostRun auto-export hits the same
bug via the shared gitAddFile).

Deduplicates the parallel git-add invocation in exportJSONLForCommit
by delegating to gitAddFile, so both call sites share the env scrub
and the cross-worktree guard.

Adds:
 - TestGitAddFile_InWorktreeHook_StagesCorrectPath — end-to-end
   worktree regression test; fails on main, passes with the fix.
 - TestGitAddFile_RedirectCase_DoesNotStageInMainRepo — verifies
   the cross-worktree skip does not pollute main's index when a
   worktree has .beads/redirect pointing into main.
 - TestGitAddFile_NonHookContext_GuardDoesNotFire — regression guard
   confirming the cross-worktree skip is a no-op outside git hooks.
 - TestScrubGitHookEnv — unit test for the env scrub helper, covering
   the discovery/index/object vars and the GIT_CONFIG* family, and
   verifying non-discovery vars (author/committer/editor/pager) pass
   through untouched.
 - TestPathInsideDir — covers structural cases plus the macOS
   fresh-file + symlinked-parent regression.
 - TestHookWorkTreeRoot — covers linked-worktree gitdir file,
   plain-repo .git, bare/unrecognized, and not-a-hook contexts.

Workaround for users on older releases remains `BD_EXPORT_GIT_ADD=false`.

Closes GH#3311

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 21:08:13 -07:00
..
doctor fix(doctor): resolve Dolt password/TLS for externally-hosted servers (#3361) 2026-04-20 17:55:33 -07:00
protocol fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
setup fix(setup): skip duplicate hooks when beads plugin is installed (GH#3192) (#3196) 2026-04-20 17:40:31 -07:00
testdata fix: enable auto-export by default and add init prompt (GH#2973) (#3204) 2026-04-13 16:02:58 -07:00
winres release: beads v1.0.2 — npm provenance URL fix 2026-04-15 13:42:06 -07:00
actor_test.go refactor: make BEADS_ACTOR primary env var, BD_ACTOR deprecated fallback (bd-hm9r) 2026-03-20 18:30:20 -07:00
admin.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
ado.go fix: correct 'bd config' hints to 'bd config set' in error messages (#3141) 2026-04-09 10:11:00 -07:00
ado_roundtrip_test.go Add ADO round-trip integration tests and config documentation (#3305) 2026-04-20 18:16:53 -07:00
ado_test.go fix(ado): apply --types/--states/--no-create filters to push operations (#2944) 2026-04-02 19:20:38 -07:00
AGENTS.md fix(init): replace 'bd onboard' references with 'bd prime' in AGENTS.md (#2902) 2026-03-30 10:42:50 -07:00
assign.go feat: move hook firing into storage layer via decorator (#2891) 2026-03-31 14:32:01 -07:00
audit.go chore: add explanatory comments to silently ignored errors across codebase 2026-02-14 17:16:43 -08:00
auto_import_upgrade.go fix: backward-compatible JSONL import for all pre-v1.0 formats (#3021) 2026-04-04 22:34:12 -07:00
backup.go /{README,cmd}: go back to init 2026-03-28 13:47:20 -07:00
backup_auto.go fix: surface auto-export and auto-backup errors to stderr (#3122) 2026-04-07 20:37:13 -07:00
backup_auto_test.go /{cmd,internal}: update backup command 2026-03-28 13:47:20 -07:00
backup_dolt.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
backup_dolt_test.go feat: add bd backup init/sync for Dolt-native backups (bd-zafu) 2026-02-27 16:38:28 -08:00
backup_embedded_test.go fix: add missing //go:build cgo tags to embedded test files and cmd 2026-04-01 07:08:41 -07:00
backup_export.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
backup_restore.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
backup_restore_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
backup_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
batch.go feat: add 'bd batch' for atomic multi-op transactions (#3165) 2026-04-10 13:10:59 -07:00
batch_embedded_test.go feat: add 'bd batch' for atomic multi-op transactions (#3165) 2026-04-10 13:10:59 -07:00
batch_test.go feat: add 'bd batch' for atomic multi-op transactions (#3165) 2026-04-10 13:10:59 -07:00
blocked_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
bootstrap.go fix(bootstrap): clone via SQL server in external server mode (#3346) 2026-04-20 17:56:20 -07:00
bootstrap_embedded_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
bootstrap_noninteractive_test.go feat: add --non-interactive flag to bd bootstrap for CI (#2942) 2026-04-02 19:32:55 -07:00
bootstrap_test.go fix(bootstrap): clone via SQL server in external server mode (#3346) 2026-04-20 17:56:20 -07:00
bootstrap_worktree_test.go test: add worktree test for bootstrap path fallback 2026-04-08 07:22:30 +09:00
branch.go /{.github,cmd,internal}: sync and data integration tests 2026-03-24 16:49:44 -07:00
branch_embedded_test.go fix: add missing //go:build cgo tags to embedded test files and cmd 2026-04-01 07:08:41 -07:00
children.go fix: bd children includes closed children by default (GH#2481) 2026-03-10 11:54:07 -07:00
children_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
children_test.go fix: bd children includes closed children by default (GH#2481) 2026-03-10 11:54:07 -07:00
cleanup.go refactor: standardize error handling with FatalError wrappers (bd-qioh) 2026-02-21 16:27:09 -08:00
cli_coverage_show_test.go cleanup: remove daemon infrastructure remnants (GH#2431) 2026-03-10 15:24:27 -07:00
cli_fast_test.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
close.go Keep regular epics open after the last child closes (#3276) 2026-04-17 15:10:38 -07:00
close_embedded_test.go Keep regular epics open after the last child closes (#3276) 2026-04-17 15:10:38 -07:00
close_gate_test.go fix(close): enforce gate satisfaction before closing machine-checkable gates (GH#1467) 2026-02-08 15:23:49 -08:00
comment.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
comment_promote_embedded_test.go fix: add missing //go:build cgo tags to embedded test files and cmd 2026-04-01 07:08:41 -07:00
comments.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
comments_cli_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
comments_test.go fix: remove deprecated commands, dead SQLite code, and legacy scripts 2026-03-02 14:08:18 -08:00
compact.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
compact_dolt.go fix: unwrap HookFiringStore decorator before optional interface type assertions (#2937) 2026-03-31 15:12:59 -07:00
compact_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
compact_test.go Merge origin/main into PR #1797, resolve conflicts 2026-02-16 20:52:58 -08:00
completions.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
completions_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
config.go fix: warn on unrecognized config keys in bd config set (#3293) (#3377) 2026-04-20 17:42:48 -07:00
config_apply.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
config_apply_test.go feat: add 'bd config drift' and 'bd config apply' commands (#3086) 2026-04-06 20:56:16 -07:00
config_drift.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
config_drift_test.go feat: add 'bd config drift' and 'bd config apply' commands (#3086) 2026-04-06 20:56:16 -07:00
config_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
config_guard_test.go feat(init): add --database flag to configure existing server database (#2102) 2026-02-24 22:26:07 -08:00
config_list_test.go Improve config list: dynamic yaml key discovery and comprehensive env var detection (#3088) 2026-04-10 14:03:20 -07:00
config_nodb_embedded_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
config_setmany_test.go tests: add integration tests for config set-many mixed key routing and validation 2026-04-02 19:34:37 -07:00
config_show.go feat: add bd config show with unified provenance view (bd-934) (#3084) 2026-04-06 20:50:25 -07:00
config_show_test.go feat: add bd config show with unified provenance view (bd-934) (#3084) 2026-04-06 20:50:25 -07:00
config_side_effects.go Add side-effect hints for config set/unset commands (#3089) 2026-04-10 14:04:46 -07:00
config_side_effects_test.go Add side-effect hints for config set/unset commands (#3089) 2026-04-10 14:04:46 -07:00
config_test.go security: harden remote URL validation at config parse time (#3210) 2026-04-13 09:58:50 -07:00
config_validate_key_test.go fix: warn on unrecognized config keys in bd config set (#3293) (#3377) 2026-04-20 17:42:48 -07:00
config_worktree_test.go test: add worktree test for config repo root fallback 2026-04-08 07:09:38 +09:00
context.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
context_binding_integration_test.go fix: rebind selected workspace before db command startup (#3230) 2026-04-16 16:24:49 -07:00
context_binding_test.go fix: rebind selected workspace before db command startup (#3230) 2026-04-16 16:24:49 -07:00
context_cmd.go fix: rebind selected workspace before db command startup (#3230) 2026-04-16 16:24:49 -07:00
context_cmd_test.go feat: add bd context command and safe-first error guidance (fix-merge PR #2496) 2026-03-10 17:32:36 -07:00
context_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
context_test.go fix: prevent nil context panic in multi-repo hydration (#840) 2026-01-01 10:46:56 -08:00
contributor_embedded_test.go fix: write metadata.json in ensureBeadsDirForPath + contributor tests (#2988) (#2996) 2026-04-03 12:08:36 -07:00
contributor_routing_e2e_test.go refactor: clean up residual sync.mode references (PR #2661) 2026-03-18 12:07:13 -07:00
cook.go fix(formula): carry step metadata through cook and pour (GH#3341) (#3359) 2026-04-20 18:05:19 -07:00
cook_test.go fix(formula): carry step metadata through cook and pour (GH#3341) (#3359) 2026-04-20 18:05:19 -07:00
count.go docs: clarify --status flag vs bd blocked for dependency blocking (BUG-4) 2026-02-22 22:48:27 -05:00
count_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
create.go refactor: extract create issue build and dry-run render helpers (bd-itp.4) (#3295) 2026-04-15 16:10:40 -07:00
create_embedded_test.go fix(dolt): reject empty database name in embeddeddolt.New (GH#3113) (#3179) 2026-04-10 20:32:26 -07:00
create_form.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
create_form_test.go fix: add label inheritance and post-create Dolt commit to create-form --parent 2026-03-02 12:50:40 -08:00
create_notes_test.go build: add //go:build cgo tags to all test files and extract migrate helpers 2026-02-10 13:19:22 -08:00
create_routing_test.go refactor: remove multi-rig routing from beads 2026-03-27 19:53:13 -07:00
create_test.go feat(labels): inherit parent labels on child creation 2026-02-27 17:39:13 -08:00
critical_paths_test.go fix: exclude reparented children from molecule auto-close (GH#2480) 2026-03-10 11:55:14 -07:00
defer.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
defer_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
delete.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
delete_embedded_test.go fix: resolve remaining 11 CI test failures (#2983) 2026-04-03 09:15:50 -07:00
delete_test.go fix(ci): get nightly full tests passing (#2835) 2026-03-26 09:52:03 -07:00
dep.go fix: allow cross-prefix dependency targets in bd dep add/remove 2026-04-10 09:57:11 -07:00
dep_batch_test.go feat: support batch dep list for multiple issue IDs (#2875) 2026-03-31 14:32:58 -07:00
dep_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
dep_test.go fix: update stale JSONL and SQLite references to Dolt semantics (bd-cg90) 2026-03-01 10:33:46 -08:00
detect_pollution.go fix: remove deprecated commands, dead SQLite code, and legacy scripts 2026-03-02 14:08:18 -08:00
diff.go /cmd/bd/{diff,history}: fix comment 2026-03-20 11:53:30 -07:00
diff_embedded_test.go fix: resolve remaining 11 CI test failures (#2983) 2026-04-03 09:15:50 -07:00
direct_mode.go /cmd/bd: fix format string 2026-03-26 11:25:54 -07:00
docs.md docs: remove stale daemon references from all documentation (GH#1982) 2026-02-22 17:57:53 -08:00
doctor.go fix: set FS_NOCOW_FL on .beads/ at init to avoid btrfs kworker thrashing (#3162) 2026-04-10 21:52:18 -07:00
doctor_agent.go fix: gofmt alignment in bd doctor agent mode 2026-03-01 00:06:38 -08:00
doctor_artifacts.go fix: block data-dir in server mode + fix doctor --clean --json (GH#2438) 2026-03-11 18:24:34 -07:00
doctor_context_test.go fix: rebind selected workspace before db command startup (#3230) 2026-04-16 16:24:49 -07:00
doctor_conventions.go feat: add --label and --label-any filtering to bd orphans (#3026) 2026-04-05 17:40:02 -07:00
doctor_conventions_test.go feat: surface quality/lifecycle commands in prime, template, and doctor (fix-merge PR #2664) 2026-03-20 17:50:24 -07:00
doctor_fix.go fix: cross-rig prefix routing for issue resolution via routes.jsonl (#2954) 2026-04-20 17:42:11 -07:00
doctor_fix_pending_migrations_test.go fix: make bd doctor --fix repair broken hook markers (GH#2344) 2026-03-05 15:20:03 -08:00
doctor_gastown_guard.go Fix CI: gofmt, orchestrator root check, macOS symlink test, remove unimplemented slot tests, reopen exit code (#2863) 2026-03-27 19:50:21 -07:00
doctor_gastown_guard_test.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
doctor_health.go fix(doctor): resolve Dolt password/TLS for externally-hosted servers (#3361) 2026-04-20 17:55:33 -07:00
doctor_health_integration_test.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
doctor_health_smoke_test.go fix(doctor): resolve Dolt password/TLS for externally-hosted servers (#3361) 2026-04-20 17:55:33 -07:00
doctor_health_test.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
doctor_migrate_fix_test.go test: convert doctor test fixtures from SQLite to Dolt (bd-o0u.1) 2026-02-23 10:41:37 -08:00
doctor_pollution.go Add backup fetch-git and git snapshot follow-ups (bd-mtqql) 2026-03-14 23:12:47 -04:00
doctor_repair_chaos_test.go cleanup: remove daemon infrastructure remnants (GH#2431) 2026-03-10 15:24:27 -07:00
doctor_repair_test.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
doctor_test.go Fix doctor hangs in non-interactive and artifact scans (GH-3092) (#3109) 2026-04-07 15:31:58 -07:00
doctor_validate.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
doctor_validate_test.go feat: add Dolt-native conflict detection to bd doctor validate (GH-2249) 2026-03-02 14:30:42 -08:00
dolt.go feat: add --remote flag to bd dolt push/pull commands (#3211) 2026-04-20 18:02:33 -07:00
dolt_autocommit.go fix: unwrap HookFiringStore decorator before optional interface type assertions (#2937) 2026-03-31 15:12:59 -07:00
dolt_autocommit_config.go feat: add batch auto-commit mode for Dolt to reduce commit bloat 2026-02-21 12:14:31 -08:00
dolt_autocommit_integration_test.go fix(ci): get nightly full tests passing (#2835) 2026-03-26 09:52:03 -07:00
dolt_autocommit_test.go feat: add batch auto-commit mode for Dolt to reduce commit bloat 2026-02-21 12:14:31 -08:00
dolt_autopush.go fix(autopush): bound auto-push, throttle failed attempts (#3370) (#3381) 2026-04-20 20:10:46 -07:00
dolt_autopush_test.go fix(autopush): bound auto-push, throttle failed attempts (#3370) (#3381) 2026-04-20 20:10:46 -07:00
dolt_autostart_lifecycle_integration_test.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
dolt_doctor_integration_test.go fix(ci): get nightly full tests passing (#2835) 2026-03-26 09:52:03 -07:00
dolt_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
dolt_metadata_e2e_test.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
dolt_test.go fix(dolt): bd dolt status recognizes externally-hosted Dolt servers (#3362) 2026-04-20 18:00:06 -07:00
duplicate.go refactor: route duplicate commands through CommandContext accessors (bd-itp.2) (#3294) 2026-04-15 16:10:36 -07:00
duplicate_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
duplicates.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
duplicates_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
duplicates_test.go feat: epic close guards, merge re-parenting, and progress display 2026-03-10 17:33:13 -07:00
edit.go fix: unwrap HookFiringStore decorator before optional interface type assertions (#2937) 2026-03-31 15:12:59 -07:00
envfile_test.go fix: load .beads/.env before noDbCommands early return 2026-03-18 12:03:11 -07:00
epic.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
epic_embedded_test.go Keep regular epics open after the last child closes (#3276) 2026-04-17 15:10:38 -07:00
epic_test.go [codex] Share epic DB setup in one suite (#3296) 2026-04-15 16:10:43 -07:00
errors.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
explicit_db_nodb_test.go fix(ci): memoize bd test binary to avoid macOS 10m timeout (#3273) 2026-04-14 15:45:08 -07:00
export.go fix(export): add _type discriminator to JSONL issue lines (#3272) 2026-04-20 17:40:34 -07:00
export_auto.go fix(export): scrub git hook env and skip cross-worktree git-add (GH#3311) (#3347) 2026-04-20 21:08:13 -07:00
export_auto_test.go fix(export): scrub git hook env and skip cross-worktree git-add (GH#3311) (#3347) 2026-04-20 21:08:13 -07:00
export_embedded_test.go fix(export): add _type discriminator to JSONL issue lines (#3272) 2026-04-20 17:40:34 -07:00
export_obsidian.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
export_test.go feat: add --no-history flag to bd create — skip Dolt commits without GC eligibility 2026-03-15 19:28:48 +00:00
external_ref_test.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
federation.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
federation_embedded_test.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
federation_nocgo.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
feedback.go refactor(output): simplify title-length semantics and default to 255 2026-02-26 19:46:27 +01:00
feedback_test.go refactor(output): simplify title-length semantics and default to 255 2026-02-26 19:46:27 +01:00
find_duplicates.go fix: remove unnecessary type conversions in find_duplicates.go 2026-03-17 19:46:30 -07:00
find_duplicates_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
find_duplicates_test.go feat: add bd find-duplicates for AI-powered duplicate detection (bd-581b80b3) 2026-02-06 10:33:47 -08:00
flags.go fix: typo in --design-file error message ("stin" -> "stdin") 2026-03-11 17:45:39 -07:00
flags_test.go feat: add --design-file flag for reading design from files 2026-03-11 12:25:23 -07:00
flatten.go fix: unwrap HookFiringStore decorator before optional interface type assertions (#2937) 2026-03-31 15:12:59 -07:00
flatten_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
formula.go Fix formula search paths for worktree-aware beads dirs (#3235) 2026-04-13 11:01:28 -07:00
gate.go feat(gate): add 'bd gate create' for ad-hoc blocking gates (#3257) 2026-04-20 18:04:31 -07:00
gate_discover.go refactor: standardize error handling with FatalError wrappers (bd-qioh) 2026-02-21 16:27:09 -08:00
gate_embedded_test.go feat(gate): add 'bd gate create' for ad-hoc blocking gates (#3257) 2026-04-20 18:04:31 -07:00
gate_test.go fix: update gate_test.go for multi-rig removal and fix gofmt in issueops tests (#2907) 2026-03-29 14:01:48 -07:00
gc.go fix: unwrap HookFiringStore decorator before optional interface type assertions (#2937) 2026-03-31 15:12:59 -07:00
gc_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
git_repo_template_test.go Test isolation follow-up: consolidate and guard hooksPath leakage (#2234) (#2237) 2026-03-01 14:41:08 -08:00
git_test_helpers.go test: add git helper and guard annotations 2025-12-28 20:48:37 -08:00
github.go fix: correct 'bd config' hints to 'bd config set' in error messages (#3141) 2026-04-09 10:11:00 -07:00
gitlab.go fix: correct 'bd config' hints to 'bd config set' in error messages (#3141) 2026-04-09 10:11:00 -07:00
gitlab_integration_test.go fix: repair nightly integration test compilation failures 2026-03-20 18:05:48 -07:00
gitlab_test.go feat: GitLab sync — dedup fixes, type filtering, epic→milestone mapping, work item hierarchy (#2889) 2026-04-02 20:58:25 -07:00
graph.go Enforce graph integrity: extend cycle detection and add bd graph check 2026-03-30 09:13:15 -07:00
graph_apply.go fix: validate graph plan node types against custom types (#2874) 2026-03-31 14:27:04 -07:00
graph_apply_test.go fix: validate graph plan node types against custom types (#2874) 2026-03-31 14:27:04 -07:00
graph_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
graph_export.go ci: fix baseline fmt/lint/windows+nix regressions 2026-02-12 09:17:14 -08:00
graph_export_test.go fix: remove t.Parallel() from graph tests that race on os.Stdout 2026-02-14 14:29:12 -08:00
graph_test.go fix(graph): lift children to parent's layer in graph layout (GH#1748) 2026-02-28 20:04:07 -07:00
graph_visual.go ci: fix baseline fmt/lint/windows+nix regressions 2026-02-12 09:17:14 -08:00
graph_visual_test.go fix: remove t.Parallel() from graph tests that race on os.Stdout 2026-02-14 14:29:12 -08:00
help_all.go feat: add --list and --doc flags to bd help for CLI doc generation (GH#2527) 2026-03-11 18:25:40 -07:00
helpers_test.go fix: repair test suite for Dolt-only backend (bd-h0zvj.4) 2026-02-15 18:17:16 -08:00
history.go /cmd/bd/{diff,history}: fix comment 2026-03-20 11:53:30 -07:00
history_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
hooks.go fix(export): scrub git hook env and skip cross-worktree git-add (GH#3311) (#3347) 2026-04-20 21:08:13 -07:00
hooks_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
hooks_husky_test.go fix(hooks): sanitize husky hooks when copied into beads-managed dir (GH#3132) (#3208) 2026-04-12 14:45:43 -07:00
hooks_worktree_test.go test: add worktree tests for hooks path configuration 2026-04-10 11:51:08 -07:00
human.go fix: correct bd human help text for adding comments (fix-merge PR #2752) 2026-03-21 17:08:14 -07:00
human_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
human_test.go feat(human): add native bd human subcommands for human bead management 2026-02-08 15:25:19 -08:00
import.go feat: add global beads_global database for shared-server mode 2026-04-14 09:18:43 -07:00
import_embedded_test.go fix: add missing //go:build cgo tags to embedded test files and cmd 2026-04-01 07:08:41 -07:00
import_from_jsonl_test.go fix: backward-compatible JSONL import for all pre-v1.0 formats (#3021) 2026-04-04 22:34:12 -07:00
import_prefix_test.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
import_shared.go fix: backward-compatible JSONL import for all pre-v1.0 formats (#3021) 2026-04-04 22:34:12 -07:00
info.go release: beads v1.0.2 — npm provenance URL fix 2026-04-15 13:42:06 -07:00
info_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
info_test.go fix: resolve CI lint, format, and flaky test warnings 2026-02-21 05:34:57 +01:00
init.go fix(bootstrap): clone via SQL server in external server mode (#3346) 2026-04-20 17:56:20 -07:00
init_agent.go fix(init): replace 'bd onboard' references with 'bd prime' in AGENTS.md (#2902) 2026-03-30 10:42:50 -07:00
init_cancel_e2e_test.go fix: repair nightly test failures for TestInitCancel_E2E and dolt autostart (#2969) 2026-04-02 11:04:32 -07:00
init_contributor.go /{cmd,internal}: wip, need concurrent init tests 2026-03-12 10:01:11 -07:00
init_embedded_test.go fix(init): skip hooks during from-jsonl bootstrap commit (#3342) 2026-04-20 17:49:46 -07:00
init_git_hooks.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
init_guard.go /{cmd,docs,internal}: get bootstrap and init working correctly and remote agnostic 2026-04-10 14:37:49 -07:00
init_guard_test.go fix: rebind selected workspace before db command startup (#3230) 2026-04-16 16:24:49 -07:00
init_hooks_test.go fix: preserve all hooks when overriding core.hooksPath, not just managed ones 2026-03-21 12:32:46 -07:00
init_noninteractive_test.go fix: repair nightly test failures for TestInitCancel_E2E and dolt autostart (#2969) 2026-04-02 11:04:32 -07:00
init_stealth.go fix: close 3 easy-win GHIs — stealth outside git, dead docs link, holder field 2026-03-01 14:56:47 -08:00
init_stealth_test.go perf(tests): replace ~60 git init subprocess calls with cached template copy 2026-02-14 17:49:53 -08:00
init_team.go /{cmd,internal}: wip, need concurrent init tests 2026-03-12 10:01:11 -07:00
init_templates.go refactor: make BEADS_ACTOR primary env var, BD_ACTOR deprecated fallback (bd-hm9r) 2026-03-20 18:30:20 -07:00
init_test.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
init_worktree_test.go test: add worktree test for init force count fallback 2026-04-08 07:25:42 +09:00
jira.go feat: add --issues flag, push pull subcommands, and --parent port (#2975) 2026-04-05 22:27:46 -07:00
jira_test.go refactor: wire Jira CLI through SyncEngine, delete duplicated sync code 2026-02-14 17:59:33 -08:00
kv.go refactor: standardize error handling with FatalError wrappers (bd-qioh) 2026-02-21 16:27:09 -08:00
kv_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
kv_test.go /{cmd,docs,internal}: get bootstrap and init working correctly and remote agnostic 2026-04-10 14:37:49 -07:00
label.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
label_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
label_test.go feat(labels): inherit parent labels on child creation 2026-02-27 17:39:13 -08:00
last_touched.go Add 'last touched' issue tracking for update/close without ID 2025-12-30 16:58:10 -08:00
last_touched_test.go Add 'last touched' issue tracking for update/close without ID 2025-12-30 16:58:10 -08:00
linear.go fix(linear): harden push against data clobbering (#3328) 2026-04-18 08:36:13 -07:00
linear_roundtrip_test.go Add Linear round-trip fidelity integration test (upstream #3187) (#3255) 2026-04-20 18:20:09 -07:00
linear_test.go feat: multi-project/team support for Linear, Jira, and ADO 2026-03-28 13:40:39 -07:00
link.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
lint.go /cmd/bd: remove docker tip in embeddeddolt mode 2026-03-26 11:13:02 -07:00
lint_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
list.go fix: bd list --parent no longer echoes parent when it has no children (#3349) (#3374) 2026-04-20 17:42:32 -07:00
list_embedded_test.go fix(list): emit informative truncation hint in all output modes (GH#3212) (#3243) 2026-04-13 13:10:21 -07:00
list_format.go fix: show blocked icon for dependency-blocked issues in bd list (#2858) (#2878) 2026-03-30 10:59:14 -07:00
list_helpers_test.go Fix bd list watch hierarchy consistency (#3236) 2026-04-13 11:01:42 -07:00
list_output.go fix(list): emit informative truncation hint in all output modes (GH#3212) (#3243) 2026-04-13 13:10:21 -07:00
list_test.go fix: show blocked icon for dependency-blocked issues in bd list (#2858) (#2878) 2026-03-30 10:59:14 -07:00
list_tree.go refactor: split list.go, show.go, and sync.go into domain-focused files (bd-05a8) 2026-02-09 17:02:53 -08:00
mail.go refactor: standardize error handling with FatalError wrappers (bd-qioh) 2026-02-21 16:27:09 -08:00
main.go fix(config): default Dolt database name when metadata.json is missing (#3380) 2026-04-20 20:10:43 -07:00
main_errors.go fix: prefer bootstrap for missing database recovery (#2940) 2026-04-02 19:52:58 -07:00
main_errors_test.go fix: prefer bootstrap for missing database recovery (#2940) 2026-04-02 19:52:58 -07:00
main_help.go refactor: Split large cmd/bd files to meet 800-line limit (bd-xtf5) 2025-12-28 18:43:09 -08:00
main_test.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
markdown.go /cmd/bd: remove docker tip in embeddeddolt mode 2026-03-26 11:13:02 -07:00
markdown_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
memory.go fix: auto-commit config table writes in remember, forget, and config commands (bd-g8p) (#3052) 2026-04-06 20:48:19 -07:00
memory_embedded_test.go docs(test): reference GH#3260 investigation near memory race workaround (#3287) 2026-04-15 16:10:33 -07:00
merge_slot.go /{README.md,cmd,docs,internal,website}: doc updates 2026-03-28 13:47:20 -07:00
messaging_test.go style: fix gofmt alignment in messaging_test.go 2026-02-27 13:49:20 -08:00
metadata_edits_test.go fix: merge --metadata with existing metadata instead of replacing (GH#2423) 2026-03-10 11:58:06 -07:00
metadata_filter_test.go fix: add missing //go:build cgo tags to embedded test files and cmd 2026-04-01 07:08:41 -07:00
metadata_ready_test.go fix: prevent closed-store panics and consolidate test suites (bd-1rh) 2026-02-27 13:41:40 -08:00
migrate.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
migrate_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
migrate_hooks.go #1380 Phase 2: hook migration apply mode (#2235) 2026-03-01 14:40:51 -08:00
migrate_hooks_apply.go fix: warn on user-modified legacy hooks during migration 2026-03-05 15:29:19 -08:00
migrate_hooks_apply_test.go fix: warn on user-modified legacy hooks during migration 2026-03-05 15:29:19 -08:00
migrate_hooks_test.go #1380 Phase 2: hook migration apply mode (#2235) 2026-03-01 14:40:51 -08:00
migrate_issues.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
migrate_test.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
mol.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
mol_bond.go fix: detect transitive dependency cycles in bd mol bond (#2719) (#3111) 2026-04-07 14:12:16 -07:00
mol_bond_test.go fix: detect transitive dependency cycles in bd mol bond (#2719) (#3111) 2026-04-07 14:12:16 -07:00
mol_burn.go /cmd/bd: remove docker tip in embeddeddolt mode 2026-03-26 11:13:02 -07:00
mol_current.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
mol_distill.go Fix formula search paths for worktree-aware beads dirs (#3235) 2026-04-13 11:01:28 -07:00
mol_distill_test.go fix(mol): use word-boundary regex in distill applyReplacements (#3157) 2026-04-10 11:53:52 -07:00
mol_last_activity.go fix: use proper RFC3339 timezone in WIQL date formatting (bd-wz8) 2026-03-30 12:31:26 -07:00
mol_progress.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
mol_ready_gated.go cleanup: remove remaining Gas Town terminology from help text, docs, and comments 2026-03-22 13:27:43 -07:00
mol_ready_gated_test.go refactor: remove gastown/Gas Town string references from beads code and docs (bd-1ue8) 2026-03-20 18:39:50 -07:00
mol_seed.go Fix formula search paths for worktree-aware beads dirs (#3235) 2026-04-13 11:01:28 -07:00
mol_show.go fix(mol): add cycle detection to bond traversal to prevent OOM (GH#2719) 2026-03-21 14:20:08 -07:00
mol_squash.go /cmd/bd: remove docker tip in embeddeddolt mode 2026-03-26 11:13:02 -07:00
mol_stale.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
mol_test.go fix(formula): carry step metadata through cook and pour (GH#3341) (#3359) 2026-04-20 18:05:19 -07:00
nocow_linux.go fix: set FS_NOCOW_FL on .beads/ at init to avoid btrfs kworker thrashing (#3162) 2026-04-10 21:52:18 -07:00
nocow_linux_test.go fix: set FS_NOCOW_FL on .beads/ at init to avoid btrfs kworker thrashing (#3162) 2026-04-10 21:52:18 -07:00
nocow_other.go fix: set FS_NOCOW_FL on .beads/ at init to avoid btrfs kworker thrashing (#3162) 2026-04-10 21:52:18 -07:00
nocow_test.go fix: set FS_NOCOW_FL on .beads/ at init to avoid btrfs kworker thrashing (#3162) 2026-04-10 21:52:18 -07:00
note.go feat: move hook firing into storage layer via decorator (#2891) 2026-03-31 14:32:01 -07:00
notion.go feat: add --issues flag, push pull subcommands, and --parent port (#2975) 2026-04-05 22:27:46 -07:00
notion_test.go feat: reimplement Notion sync on REST data sources (fix-merge PR #2759) 2026-03-27 19:20:40 -07:00
onboard.go feat(init): add --agents-file flag to customize agent instructions filename 2026-03-22 11:17:43 -07:00
onboard_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
onboard_test.go fix: doctor lock false positive and stale bd sync references (GH#1981, GH#2007) 2026-02-22 18:34:54 -08:00
orphans.go feat: add --label and --label-any filtering to bd orphans (#3026) 2026-04-05 17:40:02 -07:00
orphans_embedded_test.go feat: add --label and --label-any filtering to bd orphans (#3026) 2026-04-05 17:40:02 -07:00
orphans_test.go feat: add --label and --label-any filtering to bd orphans (#3026) 2026-04-05 17:40:02 -07:00
output.go refactor: standardize error handling with FatalError wrappers (bd-qioh) 2026-02-21 16:27:09 -08:00
output_test.go Close bd-157: Complete auto-import refactoring 2025-10-18 18:21:17 -07:00
pour.go refactor: remove patrol molecule references from beads commands (bd-74p3) 2026-03-20 18:31:44 -07:00
preflight.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
preflight_test.go feat: align bd preflight --check with CI checks (GH#2230) 2026-03-02 22:04:02 -08:00
prime.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
prime_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
prime_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
priority.go feat: move hook firing into storage layer via decorator (#2891) 2026-03-31 14:32:01 -07:00
promote.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
promote_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
prompt.go fix: auto-import issues.jsonl on empty embedded database after upgrade (#2999) 2026-04-03 14:47:31 -07:00
prompt_test.go Make init prompts cancelable 2026-02-10 08:16:24 -05:00
purge.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
purge_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
purge_test.go feat: add bd purge command to delete closed ephemeral beads (GH-1692) 2026-03-02 14:34:04 -08:00
query.go feat(issues): add started_at timestamp (GH#2796) (#3206) 2026-04-14 09:24:08 -07:00
query_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
quick.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
quick_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
quickstart.go /{cmd,internal}: fixes 2026-03-28 13:47:20 -07:00
quickstart_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
readonly_test.go Dolt-native cleanup: remove legacy code, rename API, add server watchdog 2026-02-15 23:43:20 -08:00
ready.go fix: remove dead rig routing code and unused variable after rebase 2026-03-30 09:23:01 -07:00
ready_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
ready_test.go fix(ready): molecule steps appear in bd ready, remove stale filtering (GH#1359) 2026-03-02 22:05:48 -08:00
relate.go fix: remove deprecated commands, dead SQLite code, and legacy scripts 2026-03-02 14:08:18 -08:00
relate_test.go build: add //go:build cgo tags to all test files and extract migrate helpers 2026-02-10 13:19:22 -08:00
rename.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
rename_prefix.go fix: remove stale worktree guard in rename-prefix 2026-04-07 22:19:39 +09:00
rename_prefix_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
rename_prefix_repair_test.go fix(test): comprehensive Dolt skip guards across all test files 2026-02-22 21:53:11 -08:00
rename_prefix_test.go fix(test): comprehensive Dolt skip guards across all test files 2026-02-22 21:53:11 -08:00
rename_prefix_worktree_test.go test: add worktree test for rename-prefix guard removal 2026-04-08 07:35:24 +09:00
reopen.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
reopen_defer_test.go fix(ci): get nightly full tests passing (#2835) 2026-03-26 09:52:03 -07:00
reopen_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
reopen_test.go refactor: remove storage factory, memory backend, and provider abstraction (Phase 7) 2026-02-15 11:27:39 -08:00
repair_deps_test.go refactor: replace factory/memory imports with direct dolt calls (Phase 7 cleanup) 2026-02-15 13:22:06 -08:00
reparent_test.go fix(ci): get nightly full tests passing (#2835) 2026-03-26 09:52:03 -07:00
repo.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
reset.go fix: remove redundant os.Stat check after FindBeadsDir 2026-04-10 11:49:56 -07:00
reset_worktree_test.go test: add worktree test for reset beads dir resolution 2026-04-08 07:14:43 +09:00
restore.go refactor(restore): replace JSONL git history with dolt_history_ tables (gt-vemg9q.2) 2026-02-21 18:17:27 -08:00
restore_embedded_test.go fix: add missing //go:build cgo tags to embedded test files and cmd 2026-04-01 07:08:41 -07:00
restore_test.go fix: resolve CI failures on main (6 tests, formatting) 2026-02-23 09:50:33 -08:00
routed.go fix: cross-rig prefix routing for issue resolution via routes.jsonl (#2954) 2026-04-20 17:42:11 -07:00
routing_read.go /{cmd,internal}: embeddeddolt list 2026-03-18 15:21:36 -07:00
routing_read_test.go fix(read): apply contributor routing to list and ready 2026-03-02 20:25:52 +09:00
rules.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
rules_test.go Add bd rules audit and bd rules compact commands (#2810) 2026-04-02 20:29:34 -07:00
sandbox_test.go feat: Complete GH #353 follow-up phases (bd-9nw, bd-u3t, bd-e0o) 2025-11-21 19:32:45 -05:00
sandbox_unix.go feat: Complete GH #353 follow-up phases (bd-9nw, bd-u3t, bd-e0o) 2025-11-21 19:32:45 -05:00
sandbox_windows.go feat: Complete GH #353 follow-up phases (bd-9nw, bd-u3t, bd-e0o) 2025-11-21 19:32:45 -05:00
scripttest_test.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
search.go feat: search external_ref in bd search (GH#2494) 2026-03-10 11:49:08 -07:00
search_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
search_test.go fix(test): resolve cobra OutOrStdout data race in CI (#1916) 2026-02-20 09:22:25 -08:00
setup.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
setup_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
setup_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
shared_server_integration_test.go fix(ci): drop ICU linkage from test jobs, use -tags gms_pure_go everywhere (#3240) 2026-04-14 10:01:46 -07:00
ship.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
ship_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
show.go fix: show (none) placeholder when description is empty in bd show (#3336) (#3375) 2026-04-20 17:42:37 -07:00
show_children.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
show_current_test.go style: fix gofmt formatting in show_current_test.go and wisps.go 2026-03-02 07:41:12 +01:00
show_display.go refactor: remove multi-rig routing from beads 2026-03-27 19:53:13 -07:00
show_embedded_test.go fix: resolve remaining 11 CI test failures (#2983) 2026-04-03 09:15:50 -07:00
show_format.go feat(issues): add started_at timestamp (GH#2796) (#3206) 2026-04-14 09:24:08 -07:00
show_format_metadata_test.go feat(metadata): add human-readable metadata visibility to bd show and bd list --long (#1905) 2026-02-22 13:01:08 -08:00
show_refs.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
show_test.go fix: rewrite TestShow to use in-process execution (bd-g5py2) 2026-02-14 10:50:27 -08:00
show_thread.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
show_unit_helpers.go /{cmd,internal}: update global store to be interface 2026-03-17 13:26:17 -07:00
show_unit_helpers_test.go refactor: replace factory/memory imports with direct dolt calls (Phase 7 cleanup) 2026-02-15 13:22:06 -08:00
show_watch_test.go fix: replace fsnotify with polling in bd show --watch 2026-03-22 02:47:19 +01:00
simple_helpers_test.go fix: bd list ready rejects bare keyword with hint to use --ready (GH#2532) (#2536) 2026-03-12 09:51:01 -07:00
sql.go fix: unwrap HookFiringStore decorator before optional interface type assertions (#2937) 2026-03-31 15:12:59 -07:00
sql_test.go fix(test): comprehensive Dolt skip guards across all test files 2026-02-22 21:53:11 -08:00
stale.go fix: reject non-positive --days flag on bd stale 2026-02-23 04:44:01 -05:00
stale_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
stale_test.go perf(tests): consolidate cmd/bd test suites to shared DB pattern (bd-1rh) 2026-02-21 14:58:38 -08:00
state.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
state_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
state_test.go refactor: remove storage factory, memory backend, and provider abstraction (Phase 7) 2026-02-15 11:27:39 -08:00
status.go refactor: remove JSONL references from core Go files (bd-9ni.2) 2026-02-22 21:54:01 -08:00
status_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
status_test.go fix(test): comprehensive Dolt skip guards across all test files 2026-02-22 21:53:11 -08:00
statuses.go feat: custom status categories (active/wip/done/frozen) 2026-03-21 12:35:03 -07:00
stdio_race_guard_test.go fix(test): resolve cobra OutOrStdout data race in CI (#1916) 2026-02-20 09:22:25 -08:00
store_factory.go fix: auto-sanitize hyphenated dolt_database on embedded-mode upgrade (#3231) (#3232) 2026-04-20 13:17:26 -07:00
store_factory_nocgo.go feat: make CGO_ENABLED=0 the blessed go install path (GH#3303) 2026-04-16 12:06:31 -07:00
store_factory_nocgo_test.go test: prove nocgo error messages suggest correct flag (bd init --server) (#3018) 2026-04-05 17:16:12 -07:00
store_factory_test.go fix: auto-sanitize hyphenated dolt_database on embedded-mode upgrade (#3231) (#3232) 2026-04-20 13:17:26 -07:00
store_reopen.go cmd/bd: honor explicit repo selection for no-db commands (#2844) 2026-04-02 19:20:47 -07:00
store_reopen_test.go fix: show diverged-history guidance on auto-push failure (#3138) 2026-04-08 15:55:37 -07:00
supersede_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
swarm.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
swarm_embedded_test.go feat: add IssueIDs filter to SyncOptions for selective sync (#2957) 2026-04-05 22:24:47 -07:00
sync_flags.go clarify --issues + --parent flag interaction in selective sync (#3056) 2026-04-06 09:37:47 -07:00
sync_git.go fix: add timeout and prompt suppression to git ls-remote probe 2026-03-15 14:08:57 -07:00
sync_git_test.go feat: auto-detect beads database on git origin during bootstrap 2026-03-14 00:18:13 -07:00
sync_issues_flag_test.go feat: add --issues flag, push pull subcommands, and --parent port (#2975) 2026-04-05 22:27:46 -07:00
sync_parent_flag_test.go clarify --issues + --parent flag interaction in selective sync (#3056) 2026-04-06 09:37:47 -07:00
sync_push_pull.go fix(linear): harden push against data clobbering (#3328) 2026-04-18 08:36:13 -07:00
sync_push_pull_test.go feat: add --issues flag, push pull subcommands, and --parent port (#2975) 2026-04-05 22:27:46 -07:00
sync_remote.go /{cmd,internal}: fix lint 2026-04-10 14:40:15 -07:00
sync_remote_test.go /{cmd,docs,internal}: get bootstrap and init working correctly and remote agnostic 2026-04-10 14:37:49 -07:00
tag.go feat: move hook firing into storage layer via decorator (#2891) 2026-03-31 14:32:01 -07:00
template.go fix(formula): auto-register custom types used by formula gate steps (#3214) 2026-04-20 18:19:51 -07:00
template_test.go perf: speed up close-time template subgraph loading (GH#2458) 2026-03-10 11:52:55 -07:00
test_dolt_server_cgo_test.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
test_guard_helpers.go test: add git helper and guard annotations 2025-12-28 20:48:37 -08:00
test_helpers_integration_test.go fix: repair nightly integration test compilation failures 2026-03-20 18:05:48 -07:00
test_helpers_test.go /{cmd,internal,scripts}: use dsn helpers 2026-04-06 15:56:37 -07:00
test_repo_beads_guard_test.go fix: handle read-only Go module cache files in test temp dir cleanup 2026-04-08 06:14:23 -07:00
test_wait_helper_test.go fix: use Required field for formula variable validation 2026-02-14 18:13:43 -08:00
thanks.go fix(deps): migrate from lipgloss v1 to charm.land/lipgloss/v2 2026-03-30 12:44:02 -07:00
thread_test.go fix: prevent closed-store panics and consolidate test suites (bd-1rh) 2026-02-27 13:41:40 -08:00
tips.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
tips_example_test.go style: run gofmt across entire codebase (bd-nmk12) 2026-02-07 19:35:20 -08:00
tips_test.go refactor: make bd sync a no-op, fix test suite for Dolt-only backend (bd-h0zvj.4) 2026-02-15 20:23:01 -08:00
todo.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
todo_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
types.go feat: add spike, story, and milestone as first-class issue types (#2923) 2026-04-02 20:28:44 -07:00
types_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
undefer.go /{internal,cmd,.goreleaser,.github}: embedded mode by default 2026-03-28 13:47:20 -07:00
undefer_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
update.go fix: bd update --type honors custom types (fixes #3030) (#3093) 2026-04-20 17:49:52 -07:00
update_close_hook_test.go fix: fire on_close hook from bd update --status closed, and on_update from bd close 2026-03-22 01:54:01 +01:00
update_description_guard.go fix(update): require explicit opt-in for empty stdin/file DESCRIPTION rewrites 2026-03-19 14:49:04 -07:00
update_description_guard_test.go fix(update): require explicit opt-in for empty stdin/file DESCRIPTION rewrites 2026-03-19 14:49:04 -07:00
update_embedded_test.go fix: bd update --type honors custom types (fixes #3030) (#3093) 2026-04-20 17:49:52 -07:00
update_metadata_test.go fix(test): comprehensive Dolt skip guards across all test files 2026-02-22 21:53:11 -08:00
upgrade.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
utils_unit_test.go refactor: remove agent-as-bead subsystem from beads (bd-4vw2) 2026-03-20 18:38:54 -07:00
vc.go fix: cross-rig prefix routing for issue resolution via routes.jsonl (#2954) 2026-04-20 17:42:11 -07:00
vc_embedded_test.go fix: cross-rig prefix routing for issue resolution via routes.jsonl (#2954) 2026-04-20 17:42:11 -07:00
vc_test.go feat: add --stdin flag to bd vc commit (bd-0twn2) 2026-02-09 21:26:08 -08:00
version.go release: beads v1.0.2 — npm provenance URL fix 2026-04-15 13:42:06 -07:00
version_embedded_test.go fix: resolve CI failures from flock, version bump, and lint (#2981) 2026-04-03 07:27:00 -07:00
version_test.go feat: remove CGO build-tag bifurcation for dolt commands 2026-02-21 15:37:31 -08:00
version_tracking.go /{cmd,internal}: move local only state to dolt ignored tables 2026-04-14 14:47:30 -07:00
version_tracking_test.go fix: harden worktree test isolation for metadata.json (bd-la2cl) 2026-02-17 21:38:15 -08:00
where.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
where_embedded_test.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
wisp.go Merge pull request #2850 from coffeegoddd/db/remaining 2026-03-26 11:46:29 -07:00
workspace_identity_test.go feat: add workspace identity preflight and bd bootstrap command (GH#2438, GH#2372) 2026-03-10 17:33:34 -07:00
worktree.go feat: remove daemon subsystem from bd CLI (dolt-test-jjsjn) 2026-02-09 21:47:31 -08:00
worktree_cmd.go Follow up remaining runtime .beads fallbacks after GH#3124 (#3183) 2026-04-10 21:23:14 -07:00
worktree_cmd_test.go refactor: remove redirect file creation from bd worktree create (#3051) 2026-04-06 20:19:59 -07:00
worktree_test.go perf(tests): replace ~60 git init subprocess calls with cached template copy 2026-02-14 17:49:53 -08:00