beads/cmd/bd
Steve Yegge 8a04cd3382 Fix bd-47f1: bd import now flushes JSONL immediately for daemon visibility
- Changed bd import to call flushToJSONL() instead of markDirtyAndScheduleFlush()
- Ensures daemon FileWatcher detects changes within ~500ms instead of up to 30s
- Fixes race condition where MCP daemon served stale data after CLI import
2025-11-02 15:47:45 -08:00
..
testdata Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
autoflush.go Fix gosec warnings: tighten file permissions and add exclusions (bd-b47c034e) 2025-11-02 15:39:00 -08:00
autoflush_version_test.go Improve test coverage for cmd/bd 2025-10-31 18:40:32 -07:00
autoimport.go Improve Windows git path normalization 2025-11-02 10:38:24 -08:00
autoimport_test.go Fix remaining Windows test failures 2025-11-02 10:01:38 -08:00
autostart_test.go Fix failing tests 2025-10-27 20:08:50 -07:00
comments.go Implement prefix-optional ID parsing (bd-170) 2025-10-30 15:41:46 -07:00
comments_test.go Fix all test failures from bd-166 (missing issue_prefix) 2025-10-26 22:31:24 -07:00
compact.go bd sync: 2025-10-31 22:39:53 2025-10-31 22:39:53 -07:00
compact_test.go Improve cmd/bd test coverage to 42.9% 2025-11-01 11:11:20 -07:00
config.go Add sync.branch configuration support (bd-b7d2) 2025-11-02 15:37:57 -08:00
config_test.go Fix bd-166: Prevent duplicate issues with wrong prefix 2025-10-26 21:55:01 -07:00
create.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
create_test.go Add comprehensive tests for create.go functionality 2025-10-31 21:51:54 -07:00
daemon.go fix: Suppress gosec warnings with nolint comments 2025-11-02 08:09:58 -08:00
daemon_autoimport_test.go Fix CI test failures (bd-1231) 2025-11-02 08:55:34 -08:00
daemon_autostart.go fix: Suppress gosec warnings with nolint comments 2025-11-02 08:09:58 -08:00
daemon_config.go Refactor daemon.go for testability and maintainability (bd-2b34) 2025-11-01 19:20:01 -07:00
daemon_debouncer.go Fix FileWatcher robustness issues (bd-71) 2025-10-29 22:55:13 -07:00
daemon_debouncer_test.go Add comprehensive unit tests for Debouncer (bd-82) 2025-10-29 12:32:27 -07:00
daemon_event_loop.go fix: Address all errcheck and misspell linter errors 2025-11-01 23:56:03 -07:00
daemon_lifecycle.go Fix bd-36870264: Prevent nested .beads directories with path canonicalization 2025-11-01 19:50:34 -07:00
daemon_lock.go Address gosec security warnings (bd-102) 2025-10-26 22:48:19 -07:00
daemon_lock_test.go fix: Resolve Windows test failures and lint warnings 2025-11-02 08:30:31 -08:00
daemon_lock_unix.go Fix bd-54: Prevent multiple daemon instances via file locking 2025-10-22 13:59:58 -07:00
daemon_lock_windows.go Fix bd-54: Prevent multiple daemon instances via file locking 2025-10-22 13:59:58 -07:00
daemon_logger.go Refactor daemon.go for testability and maintainability (bd-2b34) 2025-11-01 19:20:01 -07:00
daemon_rotation_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
daemon_server.go Refactor daemon.go for testability and maintainability (bd-2b34) 2025-11-01 19:20:01 -07:00
daemon_sync.go Refactor daemon.go for testability and maintainability (bd-2b34) 2025-11-01 19:20:01 -07:00
daemon_sync_test.go Add test coverage for daemon lifecycle and config modules 2025-11-01 21:27:09 -07:00
daemon_test.go Validation and testing improvements (bd-74, bd-77) 2025-10-29 15:30:47 -07:00
daemon_unix.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
daemon_watcher.go fix: Address all errcheck and misspell linter errors 2025-11-01 23:56:03 -07:00
daemon_watcher_platform_test.go Add event-driven daemon documentation and platform tests 2025-10-29 15:53:41 -07:00
daemon_watcher_test.go Add comprehensive unit tests for FileWatcher (bd-78) 2025-10-29 11:47:40 -07:00
daemon_windows.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
daemons.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
daemons_test.go Improve test coverage for cmd/bd 2025-10-31 18:40:32 -07:00
delete.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
delete_test.go Improve test coverage to 57.7% (+13.5%) 2025-10-24 00:56:18 -07:00
dep.go feat: add Mermaid.js format for dependency tree visualization (#191) 2025-10-31 15:11:29 -07:00
dep_test.go feat: add Mermaid.js format for dependency tree visualization (#191) 2025-10-31 15:11:29 -07:00
detect_pollution.go fix: Suppress gosec warnings with nolint comments 2025-11-02 08:09:58 -08:00
direct_mode.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
direct_mode_test.go Fix all test failures from bd-166 (missing issue_prefix) 2025-10-26 22:31:24 -07:00
doctor.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
doctor_test.go Enhance bd doctor with operational health checks (bd-40a0) 2025-10-31 21:27:05 -07:00
duplicates.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
duplicates_test.go Add bd duplicates command for automated duplicate detection (bd-203) 2025-10-24 13:45:04 -07:00
epic.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
epic_test.go Improve cmd/bd test coverage to 42.9% 2025-11-01 11:11:20 -07:00
export.go fix: Suppress gosec warnings with nolint comments 2025-11-02 08:09:58 -08:00
export_import_test.go Fix remaining test database initialization errors (bd-207) 2025-10-27 20:00:49 -07:00
export_integrity_integration_test.go Fix bd-c6cf: Force full export when export_hashes is cleared 2025-11-01 20:29:13 -07:00
export_test.go Fix export test failures with ClearAllExportHashes for test isolation 2025-10-26 23:06:03 -07:00
git_sync_test.go Fix CI test failures (bd-1231) 2025-11-02 08:55:34 -08:00
helpers_test.go Resolve merge conflicts: use importer package 2025-10-27 22:44:40 -07:00
import.go Fix bd-47f1: bd import now flushes JSONL immediately for daemon visibility 2025-11-02 15:47:45 -08:00
import_bug_test.go Remove vestigial --resolve-collisions flag 2025-10-31 01:07:42 -07:00
import_idempotent_test.go Fix remaining test database initialization errors (bd-207) 2025-10-27 20:00:49 -07:00
import_profile_test.go Remove sequential ID generation and SyncAllCounters (bd-c7af, bd-8e05, bd-4c74) 2025-10-30 22:24:42 -07:00
import_shared.go Remove vestigial --resolve-collisions flag 2025-10-31 01:07:42 -07:00
info.go Add migration inspection tools for AI agents (bd-627d Phase 2) 2025-11-02 14:03:14 -08:00
info_test.go Add bd info command to show database path and daemon status 2025-10-25 16:43:44 -07:00
init.go Add sync.branch configuration support (bd-b7d2) 2025-11-02 15:37:57 -08:00
init_test.go Fix failing tests 2025-10-27 20:08:50 -07:00
integrity.go Fix daemon race condition: prevent stale exports 2025-11-01 22:01:41 -07:00
integrity_test.go Fix daemon race condition: prevent stale exports 2025-11-01 22:01:41 -07:00
jsonl_integrity_test.go Fix bd-c6cf: Force full export when export_hashes is cleared 2025-11-01 20:29:13 -07:00
label.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
label_test.go Fix all test failures from bd-166 (missing issue_prefix) 2025-10-26 22:31:24 -07:00
list.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
list_test.go Remove obsolete renumber and stale commands, fix test 2025-10-31 21:27:33 -07:00
main.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
main_test.go Add unit tests for autoimport, importer, and main CLI 2025-10-31 17:17:33 -07:00
markdown.go fix: Resolve Windows test failures and lint warnings 2025-11-02 08:30:31 -08:00
markdown_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
merge.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
merge_test.go Fix remaining test database initialization errors (bd-207) 2025-10-27 20:00:49 -07:00
migrate.go Merge branch 'main' of github.com:steveyegge/beads 2025-11-02 14:31:24 -08:00
migrate_hash_ids.go fix: Suppress gosec warnings with nolint comments 2025-11-02 08:09:58 -08:00
migrate_hash_ids_test.go Implement hash ID migration tool (bd-173) 2025-10-30 16:28:13 -07:00
migrate_test.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
nodb.go fix: Resolve Windows test failures and lint warnings 2025-11-02 08:30:31 -08:00
nodb_test.go Fix hyphenated issue prefix detection (#199) 2025-11-01 19:57:37 -07:00
onboard.go Fix #190: Clarify onboarding completion message 2025-10-31 18:12:40 -07:00
output_test.go Close bd-157: Complete auto-import refactoring 2025-10-18 18:21:17 -07:00
quickstart.go Fix quickstart EXTENDING.md reference to use full URL (#12) 2025-10-14 01:10:18 -07:00
ready.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
ready_test.go Fix failing tests 2025-10-27 20:08:50 -07:00
reinit_test.go Skip TestDatabaseReinitialization on Windows 2025-11-02 11:02:58 -08:00
rename_prefix.go Add rename-prefix --repair flag and consolidate issue ID parsing 2025-10-27 18:31:01 +00:00
rename_prefix_repair_test.go Fix TestRepairMultiplePrefixes to bypass prefix validation 2025-10-27 22:59:19 -07:00
rename_prefix_test.go Add native Windows support (#91) 2025-10-20 21:08:49 -07:00
reopen.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
reopen_test.go Fix all test failures from bd-166 (missing issue_prefix) 2025-10-26 22:31:24 -07:00
repair_deps.go fix: Address all errcheck and misspell linter errors 2025-11-01 23:56:03 -07:00
repair_deps_test.go Add bd repair-deps command (bd-58) 2025-10-29 12:56:51 -07:00
restore.go bd sync: 2025-10-31 22:39:53 2025-10-31 22:39:53 -07:00
restore_test.go Improve cmd/bd test coverage from 21% to 23.1% (bd-27ea) 2025-10-31 19:44:43 -07:00
scripttest_test.go Fix TestScripts failures - add bd binary to PATH 2025-11-02 09:22:28 -08:00
show.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
show_test.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
simple_helpers_test.go bd-211: Remove deprecated rename functions from import_shared.go 2025-10-27 20:38:13 -07:00
stale.go Fix config system: rename config.json → metadata.json, fix config.yaml loading 2025-11-02 14:31:22 -08:00
stale_test.go Implement bd stale command (bd-c01f, closes #184) 2025-10-31 23:03:56 -07:00
sync.go bd sync: 2025-10-31 22:39:53 2025-10-31 22:39:53 -07:00
sync_test.go Improve cmd/bd test coverage from 21% to 23.1% (bd-27ea) 2025-10-31 19:44:43 -07:00
test_helpers_test.go Fix failing tests 2025-10-27 20:08:50 -07:00
validate.go fix: Resolve Windows test failures and lint warnings 2025-11-02 08:30:31 -08:00
validate_test.go Improve cmd/bd test coverage from 21% to 23.1% (bd-27ea) 2025-10-31 19:44:43 -07:00
version.go chore: Bump version to 0.21.3 2025-11-01 23:49:55 -07:00
version_test.go Improve test coverage to 57.7% (+13.5%) 2025-10-24 00:56:18 -07:00
worktree.go Add warning for multiple databases in directory hierarchy (bd-75) 2025-10-24 15:28:23 -07:00
worktree_test.go Fix bd-73: Add git worktree detection and warnings 2025-10-22 23:05:00 -07:00