diff --git a/.beads/issues.jsonl b/.beads/issues.jsonl index 0662f5af..2d741e29 100644 --- a/.beads/issues.jsonl +++ b/.beads/issues.jsonl @@ -1,7 +1,7 @@ {"id":"bd-0088","content_hash":"7449088a4560a2a2821eeda8dca1e44c0017667314236a13df8d8112cda20101","title":"Create npm package structure for bd-wasm","description":"Set up npm package for distribution:\n- Create package.json with bd-wasm name\n- Bundle bd.wasm + wasm_exec.js\n- Create CLI wrapper (bin/bd) that invokes WASM\n- Add installation scripts if needed\n- Configure package for Claude Code Web sandbox compatibility","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T21:58:07.295058-08:00","updated_at":"2025-11-03T20:56:22.700641-08:00","closed_at":"2025-11-03T20:56:22.700641-08:00","source_repo":".","dependencies":[{"issue_id":"bd-0088","depends_on_id":"bd-44d0","type":"parent-child","created_at":"2025-11-02T22:23:49.475356-08:00","created_by":"stevey"}]} {"id":"bd-0134cc5a","content_hash":"d45c0e44c01c5855f14f07693bd800f4bfeac3084e10ceb17970ff54c58f6a40","title":"Fix auto-import creating duplicates instead of updating issues","description":"ROOT CAUSE: server_export_import_auto.go line 221 uses ResolveCollisions: true for ALL auto-imports. This is wrong.\n\nProblem:\n- ResolveCollisions is for branch merges (different issues with same ID)\n- Auto-import should UPDATE existing issues, not create duplicates\n- Every git pull creates NEW duplicate issues with different IDs\n- Two agents ping-pong creating endless duplicates\n\nEvidence:\n- 31 duplicate groups found (bd duplicates)\n- bd-236-246 are duplicates of bd-224-235\n- Both agents keep pulling and creating more duplicates\n- JSONL file grows endlessly with duplicates\n\nThe Fix:\nChange checkAndAutoImportIfStale in server_export_import_auto.go:\n- Remove ResolveCollisions: true (line 221)\n- Use normal import logic that updates existing issues by ID\n- Only use ResolveCollisions for explicit bd import --resolve-collisions\n\nImpact: Critical - makes beads unusable for multi-agent workflows","acceptance_criteria":"- Auto-import does NOT create duplicates when pulling git changes\n- Existing issues are updated in-place by ID match\n- No ping-pong commits between agents\n- Test: two agents updating same issue should NOT create duplicates\n- bd duplicates shows 0 groups after fix","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-27T21:48:57.733846-07:00","updated_at":"2025-10-30T17:12:58.21084-07:00","closed_at":"2025-10-27T22:26:40.627239-07:00","source_repo":"."} {"id":"bd-02a4","content_hash":"fbaca84d9502239656f05a14f62e8e6adec8f8dd492b1e91694fefcd0bdf310c","title":"Modify CreateIssue to support parent resurrection","description":"Update internal/storage/sqlite/sqlite.go:182-196 to call TryResurrectParent before failing on missing parent. Coordinate with EnsureIDs changes for consistent behavior. Handle edge case where parent never existed in JSONL (fail gracefully).","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-04T12:31:59.701571-08:00","updated_at":"2025-11-05T00:08:42.811436-08:00","closed_at":"2025-11-05T00:08:42.81144-08:00","source_repo":"."} -{"id":"bd-0447029c","content_hash":"f32f7d8f0b07aaaeb9d07d8a1d000eef8fc79cf864e8aa20ebb899f6e359ebda","title":"bd find-duplicates - AI-powered duplicate detection","description":"Find semantically duplicate issues.\n\nApproaches:\n1. Mechanical: Exact title/description matching\n2. Embeddings: Cosine similarity (cheap, scalable)\n3. AI: LLM-based semantic comparison (expensive, accurate)\n\nUses embeddings by default for \u003e100 issues.\n\nFiles: cmd/bd/find_duplicates.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T12:05:34.818282-05:00","updated_at":"2025-11-20T12:05:34.818282-05:00","closed_at":"2025-10-29T16:15:10.64719-07:00","source_repo":"."} +{"id":"bd-0447029c","content_hash":"f32f7d8f0b07aaaeb9d07d8a1d000eef8fc79cf864e8aa20ebb899f6e359ebda","title":"bd find-duplicates - AI-powered duplicate detection","description":"Find semantically duplicate issues.\n\nApproaches:\n1. Mechanical: Exact title/description matching\n2. Embeddings: Cosine similarity (cheap, scalable)\n3. AI: LLM-based semantic comparison (expensive, accurate)\n\nUses embeddings by default for \u003e100 issues.\n\nFiles: cmd/bd/find_duplicates.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T07:37:26.090392-08:00","updated_at":"2025-11-20T07:37:26.090392-08:00","closed_at":"2025-10-29T16:15:10.64719-07:00","source_repo":"."} {"id":"bd-0458","content_hash":"c4427da2aec84621525f7f286c626f6c94365a7e6ff8e35e9676b184c85e1adb","title":"Consolidate export/import/commit/push into sync.go","description":"Create internal/daemonrunner/sync.go with Syncer type. Add ExportOnce, ImportOnce, CommitAndMaybePush methods. Replace createExportFunc/createAutoImportFunc with thin closures calling Syncer.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T11:41:14.874539-07:00","updated_at":"2025-11-02T12:32:00.157369-08:00","closed_at":"2025-11-02T12:32:00.157375-08:00","source_repo":"."} {"id":"bd-05a1","content_hash":"b79b0efa41b4eca8d7e5ab9738d5ecaa403c35497877a056a502efe0583ca251","title":"Isolate RPC server startup into rpc_server.go","description":"Create internal/daemonrunner/rpc_server.go with StartRPC function. Move startRPCServer logic here and return typed handle.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T11:41:14.876839-07:00","updated_at":"2025-11-02T12:32:00.158054-08:00","closed_at":"2025-11-02T12:32:00.158057-08:00","source_repo":"."} {"id":"bd-0650a73b","content_hash":"a596aa8d6114d4938471e181ebc30da5d0315f74fd711a92dbbb83f5d0e7af88","title":"Create cmd/bd/daemon_debouncer.go (~60 LOC)","description":"Implement Debouncer to batch rapid events into single action. Default 500ms, configurable via BEADS_DEBOUNCE_MS. Thread-safe with mutex.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-28T16:20:02.431118-07:00","updated_at":"2025-10-30T17:12:58.221711-07:00","closed_at":"2025-10-28T12:03:35.614191-07:00","source_repo":"."} @@ -12,10 +12,10 @@ {"id":"bd-08e556f2","content_hash":"cd9e7cc106b733dc4893e92a75feae3331b422238f261a7c738c21a18e29719f","title":"Remove Cache Configuration Docs","description":"Remove documentation of deprecated cache env vars","acceptance_criteria":"- Documentation doesn't reference removed env vars\n- CHANGELOG documents breaking change\n- No mentions of storage cache except in CHANGELOG\n\nFiles to update:\n- ADVANCED.md (remove cache configuration section)\n- commands/daemons.md (remove cache env vars)\n- integrations/beads-mcp/SETUP_DAEMON.md (remove cache tuning)\n- CHANGELOG.md (add removal entry)\n\nDeprecated env vars:\n- BEADS_DAEMON_MAX_CACHE_SIZE\n- BEADS_DAEMON_CACHE_TTL\n- BEADS_DAEMON_MEMORY_THRESHOLD_MB","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-28T10:50:15.125488-07:00","updated_at":"2025-10-30T17:12:58.216329-07:00","closed_at":"2025-10-28T10:48:20.606979-07:00","source_repo":"."} {"id":"bd-08fd","content_hash":"1fc998c05fb1ccb8725bc0fe9b930b201c0c291353b9f9d578c44865eef5dde9","title":"Test child issue","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-02T11:50:40.640901-08:00","updated_at":"2025-11-02T11:50:47.309652-08:00","closed_at":"2025-11-02T11:50:47.309652-08:00","source_repo":".","dependencies":[{"issue_id":"bd-08fd","depends_on_id":"bd-ce75","type":"blocks","created_at":"2025-11-02T11:50:40.642073-08:00","created_by":"stevey"}]} {"id":"bd-09b5f2f5","content_hash":"02c69c90dc76c4982976362b9cb00ce01bc3fc3d17618feec3a02bab6fa4d196","title":"Daemon fails to auto-import after git pull updates JSONL","description":"After git pull updates .beads/issues.jsonl, daemon doesn't automatically re-import changes, causing stale data to be shown until next sync cycle (up to 5 minutes).\n\nReproduction:\n1. Repo A: Close issues, export, commit, push\n2. Repo B: git pull (successfully updates .beads/issues.jsonl)\n3. bd show \u003cissue\u003e shows OLD status from daemon's SQLite db\n4. JSONL on disk has correct new status\n\nRoot cause: Daemon sync cycle runs on timer (5min). When user manually runs git pull, daemon doesn't detect JSONL was updated externally and continues serving stale data from SQLite.\n\nImpact:\n- High for AI agents using beads in git workflows\n- Breaks fundamental git-as-source-of-truth model\n- Confusing UX: git log shows commit, bd shows old state\n- Data consistency issues between JSONL and daemon\n\nSee WYVERN_SYNC_ISSUE.md for full analysis.","design":"Three possible solutions:\n\nOption 1: Auto-detect and re-import (recommended)\n- Before serving any bd command, check if .beads/issues.jsonl mtime \u003e last import time\n- If newer, auto-import before processing request\n- Fast check, minimal overhead\n\nOption 2: File watcher in daemon\n- Daemon watches .beads/issues.jsonl for mtime changes\n- Auto-imports when file changes\n- More complex, requires file watching infrastructure\n\nOption 3: Explicit sync command\n- User runs `bd sync` after git pull\n- Manual, error-prone, defeats automation\n\nRecommended: Option 1 (auto-detect) + Option 3 (explicit sync) as fallback.","acceptance_criteria":"1. After git pull updates .beads/issues.jsonl, next bd command sees fresh data\n2. No manual import or daemon restart required\n3. Performance impact \u003c 10ms per command (mtime check is fast)\n4. Works in both daemon and non-daemon modes\n5. Test: Two repo clones, update in one, pull in other, verify immediate sync","notes":"**Fixed in v0.21.2!**\n\nThe daemon auto-import is fully implemented:\n- internal/autoimport package handles staleness detection\n- internal/importer package provides shared import logic (used by both CLI and daemon)\n- daemon's checkAndAutoImportIfStale() calls autoimport.AutoImportIfNewer()\n- importFunc uses importer.ImportIssues() with auto-rename enabled\n- All tests passing\n\nThe critical data corruption bug is FIXED:\n✅ After git pull, daemon detects JSONL is newer (mtime check)\n✅ Daemon auto-imports before serving requests\n✅ No stale data served\n✅ No data loss in multi-agent workflows\n\nVerification needed: Run two-repo test to confirm end-to-end behavior.","status":"closed","priority":0,"issue_type":"epic","created_at":"2025-10-25T23:13:12.270766-07:00","updated_at":"2025-11-01T16:52:50.931197-07:00","closed_at":"2025-11-01T16:52:50.931197-07:00","source_repo":"."} -{"id":"bd-0a43","content_hash":"5d53e4f9d5929940c0734a174d80f51f5bc800ce1b3efc5058a9d3b798fbe65b","title":"Split monolithic sqlite.go into focused files","description":"internal/storage/sqlite/sqlite.go is 1050 lines containing initialization, 20+ CRUD methods, query building, and schema management.\n\nSplit into:\n- store.go: Store struct \u0026 initialization (150 lines)\n- bead_queries.go: Bead CRUD (300 lines)\n- work_queries.go: Work queries (200 lines) \n- stats_queries.go: Statistics (150 lines)\n- schema.go: Schema \u0026 migrations (150 lines)\n- helpers.go: Common utilities (100 lines)\n\nImpact: Impossible to understand at a glance; hard to find specific functionality; high cognitive load\n\nEffort: 6-8 hours","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-16T14:51:16.520465-08:00","updated_at":"2025-11-20T19:11:50.948967-05:00","closed_at":"2025-11-20T16:08:12.352662-08:00","source_repo":"."} +{"id":"bd-0a43","content_hash":"5d53e4f9d5929940c0734a174d80f51f5bc800ce1b3efc5058a9d3b798fbe65b","title":"Split monolithic sqlite.go into focused files","description":"internal/storage/sqlite/sqlite.go is 1050 lines containing initialization, 20+ CRUD methods, query building, and schema management.\n\nSplit into:\n- store.go: Store struct \u0026 initialization (150 lines)\n- bead_queries.go: Bead CRUD (300 lines)\n- work_queries.go: Work queries (200 lines) \n- stats_queries.go: Statistics (150 lines)\n- schema.go: Schema \u0026 migrations (150 lines)\n- helpers.go: Common utilities (100 lines)\n\nImpact: Impossible to understand at a glance; hard to find specific functionality; high cognitive load\n\nEffort: 6-8 hours","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-16T14:51:16.520465-08:00","updated_at":"2025-11-20T19:27:34.447106-05:00","closed_at":"2025-11-20T16:08:12.352662-08:00","source_repo":"."} {"id":"bd-0a90","content_hash":"8f19f9a9e01ccf3a4dd42673a84610f2550db9a9e744806105dc3b9e070f4e46","title":"bd show --json doesn't include dependency type field","description":"Fix GitHub issue #202. The JSON output from bd show and bd list commands should include the dependency type field (and optionally created_at, created_by) to match internal storage format and enable better tooling integration.","notes":"PR #203 updated with cleaner implementation: https://github.com/steveyegge/beads/pull/203\n\n## Final Implementation\n\nCleanest possible approach - no internal helper methods needed:\n\n**Design:**\n- `GetDependenciesWithMetadata()` / `GetDependentsWithMetadata()` - canonical implementations with full SQL query\n- `GetDependencies()` / `GetDependents()` - thin wrappers that strip metadata for backward compat\n- `scanIssuesWithDependencyType()` - shared helper for scanning rows with dependency type\n\n**Benefits:**\n- Single source of truth - the `...WithMetadata()` methods ARE the implementation\n- Eliminated ~139 lines of duplicated SQL and scanning code\n- All tests passing (14 dependency-related tests)\n- Backward compatible\n- dependency_type field appears correctly in JSON output\n\n**Note on scan helpers:**\nThe duplication between `scanIssues()` and `scanIssuesWithDependencyType()` is necessary because they handle different SQL result shapes (16 vs 17 columns). This is justified as they serve fundamentally different purposes based on query structure.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-02T09:42:08.712725096Z","updated_at":"2025-11-02T11:50:54.292546-08:00","closed_at":"2025-11-02T11:50:54.292546-08:00","external_ref":"https://github.com/steveyegge/beads/issues/202","source_repo":"."} {"id":"bd-0d9c","content_hash":"a61ba371d6c50f21a92e4debeaaa00a4c3eb77ef96fbcdfa89f80e9b13ffff7a","title":"YABB: Spurious issue updates during normal operations","description":"Issue bd-627d was updated during config refactoring session without any actual changes to it. Only timestamps and content_hash changed.\n\nObserved: Running various bd commands (list, create, etc.) caused bd-627d updated_at to change from 14:14 to 14:31.\n\nExpected: Issues should only be updated when explicitly modified.\n\nThis causes:\n- Dirty JSONL after every session\n- False conflicts in git\n- Confusing git history\n\nLikely culprit: Daemon auto-import/export cycle or database migration touching all issues.","notes":"Investigated thoroughly - unable to reproduce. The import logic has IssueDataChanged() checks before calling UpdateIssue (importer/importer.go:458). All tests pass. May have been fixed by recent refactorings. Closing as cannot reproduce - please reopen with specific repro steps if it occurs again.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-02T14:36:31.023552-08:00","updated_at":"2025-11-02T16:27:39.023535-08:00","closed_at":"2025-11-02T16:27:39.023539-08:00","source_repo":"."} -{"id":"bd-0dcea000","content_hash":"5f3eccf8635195729691e83818486c31c81e608d939e03a2241f944f645ce90d","title":"Add tests for internal/importer package","description":"Currently 0.0% coverage. Need tests for JSONL import logic including collision detection and resolution.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:21.071024-07:00","updated_at":"2025-11-08T18:06:20.150657-08:00","closed_at":"2025-11-08T18:06:20.150657-08:00","source_repo":".","dependencies":[{"issue_id":"bd-0dcea000","depends_on_id":"bd-cbed9619.5","type":"blocks","created_at":"2025-10-29T19:52:05.531279-07:00","created_by":"import-remap"},{"issue_id":"bd-0dcea000","depends_on_id":"bd-cbed9619.4","type":"blocks","created_at":"2025-10-29T19:52:05.53166-07:00","created_by":"import-remap"}]} +{"id":"bd-0dcea000","content_hash":"a6fc218b07d270e3498957525c39a869f7c850d687339b6d758a246be20c9591","title":"Add tests for internal/importer package","description":"Currently 0.0% coverage. Need tests for JSONL import logic including collision detection and resolution.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:21.071024-07:00","updated_at":"2025-11-08T18:06:20.150657-08:00","closed_at":"2025-11-08T18:06:20.150657-08:00","source_repo":".","dependencies":[{"issue_id":"bd-0dcea000","depends_on_id":"bd-cbed9619.5","type":"blocks","created_at":"2025-10-29T19:52:05.531279-07:00","created_by":"import-remap"},{"issue_id":"bd-0dcea000","depends_on_id":"bd-cbed9619.4","type":"blocks","created_at":"2025-10-29T19:52:05.53166-07:00","created_by":"import-remap"}]} {"id":"bd-0do3","content_hash":"e6d85ab6360e5704e3d6792eade15bbec8d19d13b878c15e4021f3375cb3d515","title":"Test issue 0","description":"","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-07T19:00:15.156832-08:00","updated_at":"2025-11-07T22:07:17.340826-08:00","closed_at":"2025-11-07T21:55:09.425092-08:00","source_repo":"."} {"id":"bd-0e1f2b1b","content_hash":"c0b1677fe3f4aa3f395ae4d79bff5362632d5db26477bf571c09f9177b8741ef","title":"Event-driven daemon architecture","description":"Replace 5-second polling sync loop with event-driven architecture that reacts instantly to changes. Eliminates stale data issues while reducing CPU ~60%. Key components: FileWatcher (fsnotify), Debouncer (500ms), RPC mutation events, optional git hooks. Target latency: \u003c500ms (vs 5000ms). See event_driven_daemon.md for full design.","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-28T16:20:02.430479-07:00","updated_at":"2025-10-30T17:12:58.221424-07:00","closed_at":"2025-10-28T16:30:26.631191-07:00","source_repo":"."} {"id":"bd-0e74","content_hash":"d8ab25b7a6ac1ba0e5012677cac3ac1320d3ca1059df97c979aab8c43ecb579d","title":"Comprehensive testing for separate branch workflow","description":"Comprehensive testing for separate branch workflow including unit tests, integration tests, and performance testing.\n\nTasks:\n- Unit tests for worktree management\n- Unit tests for config parsing\n- Integration tests: create/update/close → beads branch\n- Integration test: merge beads → main\n- Integration test: protected branch scenario\n- Integration test: network failure recovery\n- Integration test: config change handling\n- Manual testing guide\n- Performance testing (worktree overhead)\n\nTest scenarios: fresh setup, issue operations, merge workflow, protected branch, error handling, migration, multiple workspaces, sparse checkout\n\nEstimated effort: 4-5 days","acceptance_criteria":"- All unit tests pass\n- All integration tests pass\n- Manual testing guide works\n- No data loss in any scenario\n- Performance acceptable (\u003c 100ms overhead per commit)","notes":"Completed comprehensive test coverage. Added 4 new integration tests: config change handling, multiple concurrent clones (3-way), performance testing (avg 77ms \u003c 150ms target), and network failure recovery. All tests pass. Coverage includes fresh setup, issue ops, error handling, multiple workspaces, sparse checkout, config changes, network failures, and performance.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T15:22:35.580741-08:00","updated_at":"2025-11-02T21:40:35.337464-08:00","closed_at":"2025-11-02T21:40:35.337468-08:00","source_repo":".","dependencies":[{"issue_id":"bd-0e74","depends_on_id":"bd-a101","type":"parent-child","created_at":"2025-11-02T15:22:51.348226-08:00","created_by":"stevey"}]} @@ -26,453 +26,452 @@ {"id":"bd-1","content_hash":"54ac9980ed203f25e95b0507df82fdd387179b9c1aa0b05266eab804d623c435","title":"Task A under epic","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.51598-07:00","closed_at":"2025-10-16T10:07:34.129516-07:00","source_repo":"."} {"id":"bd-10","content_hash":"0318031ccdc2f9e89c40e5e9b3b2110c330ff9ff5a28fb77cac7928819d3e738","title":"Optimize export dependency queries (N+1 problem)","description":"Export triggers separate GetDependencyRecords() per issue. For large DBs (1000+ issues), this is N+1 queries. Add GetAllDependencyRecords() to fetch all dependencies in one query. Location: cmd/bd/export.go:52-59, import.go:138-142","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.516581-07:00","closed_at":"2025-10-14T02:51:52.19905-07:00","source_repo":"."} {"id":"bd-100","content_hash":"3b547b1f0e39e0586a401bbefd4ad66331c976d2a13ecb5bc487105fa22f6b2b","title":"Add 'bd repos' command for multi-repo aggregation","description":"When using daemon in multi-repo mode, users need commands to view/manage work across all active repositories.\n\nAdd 'bd repos' subcommand with:\n\n1. bd repos list\n - Show all repositories daemon has cached\n - Display: path, prefix, issue count, last activity\n - Example output:\n ~/src/project1 [p1-] 45 issues (active)\n ~/src/project2 [p2-] 12 issues (2m ago)\n\n2. bd repos ready --all \n - Aggregate ready work across all repos\n - Group by repo or show combined list\n - Support priority/assignee filters\n\n3. bd repos stats\n - Combined statistics across all repos\n - Total issues, breakdown by status/priority\n - Per-repo breakdown\n\n4. bd repos clear-cache\n - Close all cached storage connections\n - Useful for freeing resources\n\nImplementation notes:\n- Requires daemon to track active storage instances\n- May need RPC protocol additions for multi-repo queries\n- Should gracefully handle repos that no longer exist\n\nDepends on: Global daemon flag (makes this more useful)\n\nContext: This provides the UX layer on top of existing multi-repo support. The daemon can already serve multiple repos - this makes it easy to work with them.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-17T20:43:49.816998-07:00","updated_at":"2025-10-21T00:25:40.516883-07:00","closed_at":"2025-10-18T00:04:42.197247-07:00","source_repo":"."} -{"id":"bd-1000","content_hash":"5a6291718890e0140312420a35c98927faa6a6589677e3c40c941ddc1dee100e","title":"Batch Issue 2","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.945004-07:00","updated_at":"2025-11-20T12:29:36.284897-05:00","closed_at":"2025-11-20T12:29:36.284897-05:00","source_repo":"."} -{"id":"bd-1001","content_hash":"d2fbfa683edacdf95f7b42613d5b8750cbde285730ec029e3f0cdf171c5bfae9","title":"Agent 1 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.946615-07:00","updated_at":"2025-11-20T12:28:04.22102-05:00","closed_at":"2025-11-20T12:28:04.22102-05:00","source_repo":"."} -{"id":"bd-1002","content_hash":"a1c78e4228ce685e7b8991c665011717b094095b5c7d24621606563d589d421a","title":"Agent 1 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.947259-07:00","updated_at":"2025-11-20T12:27:43.356549-05:00","closed_at":"2025-11-20T12:27:43.356549-05:00","source_repo":"."} -{"id":"bd-1003","content_hash":"758c2eb6e06e9196df2a9dcbc44d8fb152486c383d98f5cb27956ff6776a8ca9","title":"Agent 1 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947894-07:00","updated_at":"2025-11-20T12:28:04.22029-05:00","closed_at":"2025-11-20T12:28:04.22029-05:00","source_repo":"."} -{"id":"bd-1004","content_hash":"1e9a487f1dce842ca3e92131e9622eb384a66c544b6e1b417a6096591f044d6d","title":"Agent 1 Batch 1 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.948422-07:00","updated_at":"2025-11-20T12:27:43.356395-05:00","closed_at":"2025-11-20T12:27:43.356395-05:00","source_repo":"."} -{"id":"bd-1005","content_hash":"940ca435801193d7094da076d033845a7842dc4b23bc7b1de5e3b4ca1c841470","title":"Agent 1 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.94894-07:00","updated_at":"2025-11-20T12:28:04.220095-05:00","closed_at":"2025-11-20T12:28:04.220095-05:00","source_repo":"."} -{"id":"bd-1006","content_hash":"495aac0d3671c12897c6276702c196023a403cb184171cd775f1a373f9d308b7","title":"Agent 1 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.949463-07:00","updated_at":"2025-11-20T12:27:43.356209-05:00","closed_at":"2025-11-20T12:27:43.356209-05:00","source_repo":"."} -{"id":"bd-1007","content_hash":"629aa3a775a81ef8b9d48fdb437161a2a68c005b0a6ee923daa838117db73c5e","title":"Agent 1 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.950053-07:00","updated_at":"2025-11-20T12:28:04.219903-05:00","closed_at":"2025-11-20T12:28:04.219903-05:00","source_repo":"."} -{"id":"bd-1008","content_hash":"df5224fcbda20388a9f34edeec709061ba9ffd63b59574410255945aa863476f","title":"Agent 1 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.950579-07:00","updated_at":"2025-11-20T12:27:43.356008-05:00","closed_at":"2025-11-20T12:27:43.356008-05:00","source_repo":"."} -{"id":"bd-1009","content_hash":"c16a43ed5ae1f9800d4512dc2d21252e0e6560e4aa38ee05333cf9b9b20786d3","title":"Agent 1 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.951355-07:00","updated_at":"2025-11-20T12:28:04.219671-05:00","closed_at":"2025-11-20T12:28:04.219671-05:00","source_repo":"."} +{"id":"bd-1000","content_hash":"6279a0cde90c0e53fc7b91d57284ea1357bd715006fc15eafd7adbd658049b6f","title":"Batch Issue 2","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.945004-07:00","updated_at":"2025-11-20T12:29:36.284897-05:00","closed_at":"2025-11-20T12:29:36.284897-05:00","source_repo":"."} +{"id":"bd-1001","content_hash":"d6de6cf64acde9971fe6f9523c51ac0af4025b6fb0816c844687567342cb1767","title":"Agent 1 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.946615-07:00","updated_at":"2025-11-20T12:28:04.22102-05:00","closed_at":"2025-11-20T12:28:04.22102-05:00","source_repo":"."} +{"id":"bd-1002","content_hash":"9fa791dd052ec462146d872e79201e2b700e0fc3d642badb98cfcbff49d44cf6","title":"Agent 1 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.947259-07:00","updated_at":"2025-11-20T12:27:43.356549-05:00","closed_at":"2025-11-20T12:27:43.356549-05:00","source_repo":"."} +{"id":"bd-1003","content_hash":"d77a4da748d6793c5b6469c59f0b3dadb918bae3d6335f77d0f0f66a13b3a4d9","title":"Agent 1 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947894-07:00","updated_at":"2025-11-20T12:28:04.22029-05:00","closed_at":"2025-11-20T12:28:04.22029-05:00","source_repo":"."} +{"id":"bd-1004","content_hash":"5f91845424b5eb607e28f5ead67cf0bd06cbb55a5854ed2229878a211e38aed0","title":"Agent 1 Batch 1 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.948422-07:00","updated_at":"2025-11-20T12:27:43.356395-05:00","closed_at":"2025-11-20T12:27:43.356395-05:00","source_repo":"."} +{"id":"bd-1005","content_hash":"eb2941acd2689220371e35e94e056e04dbe63530a61422772640cea28804c0e7","title":"Agent 1 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.94894-07:00","updated_at":"2025-11-20T12:28:04.220095-05:00","closed_at":"2025-11-20T12:28:04.220095-05:00","source_repo":"."} +{"id":"bd-1006","content_hash":"3304a204a5463f50b23e75dafcb0fef41f029c51f47e400e593a1c200a02b84b","title":"Agent 1 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.949463-07:00","updated_at":"2025-11-20T12:27:43.356209-05:00","closed_at":"2025-11-20T12:27:43.356209-05:00","source_repo":"."} +{"id":"bd-1007","content_hash":"147206eae8782a572e2553f3196e66abf0e4e445f49afa18f1ea3d030b590cbe","title":"Agent 1 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.950053-07:00","updated_at":"2025-11-20T12:28:04.219903-05:00","closed_at":"2025-11-20T12:28:04.219903-05:00","source_repo":"."} +{"id":"bd-1008","content_hash":"8dec310c05050f0afe8b3e57173b960957e7abf1b6cc9bda89d1837c7c48c744","title":"Agent 1 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.950579-07:00","updated_at":"2025-11-20T12:27:43.356008-05:00","closed_at":"2025-11-20T12:27:43.356008-05:00","source_repo":"."} +{"id":"bd-1009","content_hash":"ec13d553203ea71a58dce11bd5f1600c0d47d6c0f69f891e02e1ac93f59662da","title":"Agent 1 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.951355-07:00","updated_at":"2025-11-20T12:28:04.219671-05:00","closed_at":"2025-11-20T12:28:04.219671-05:00","source_repo":"."} {"id":"bd-101","content_hash":"7a8532a8ba50f057d25309e094d538cd62618190994d16f6cbd23a2bcee64fb1","title":"Add daemon auto-start on first use","description":"Currently users must manually start daemon with 'bd daemon'. For better UX, auto-start daemon when first bd command is run.\n\nImplementation:\n\n1. In PersistentPreRun, check if daemon is running\n2. If not, check if auto-start is enabled (default: true)\n3. Start daemon with appropriate flags (--global if configured)\n4. Wait for socket to be ready (with timeout)\n5. Retry connection to newly-started daemon\n6. Silently fail back to direct mode if daemon won't start\n\nConfiguration:\n- BEADS_AUTO_START_DAEMON env var (default: true)\n- --no-auto-daemon flag to disable\n- Config file option: auto_start_daemon = true\n\nSafety considerations:\n- Don't auto-start if daemon failed recently (exponential backoff)\n- Log auto-start to daemon.log\n- Clear error messages if auto-start fails\n- Never auto-start if --no-daemon flag is set\n\nBenefits:\n- Zero-configuration experience\n- Daemon benefits (speed, multi-repo) automatic\n- Still supports direct mode as fallback\n\nDepends on: Global daemon flag would make this more useful","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-17T20:43:50.961453-07:00","updated_at":"2025-10-21T00:25:40.517251-07:00","closed_at":"2025-10-17T23:33:57.173903-07:00","source_repo":"."} -{"id":"bd-1010","content_hash":"c7e9298d063a59f9fb9f26fdfc931cc0d0c86e848633f2e41aeba34b5e92df59","title":"Agent 1 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.951871-07:00","updated_at":"2025-11-20T12:27:43.355836-05:00","closed_at":"2025-11-20T12:27:43.355836-05:00","source_repo":"."} -{"id":"bd-1011","content_hash":"445c37cd1685ac4893f8e7e2325bc9c5516670abad7ea74e3f8417455f0dc1c5","title":"Agent 1 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.952394-07:00","updated_at":"2025-11-20T12:28:04.21949-05:00","closed_at":"2025-11-20T12:28:04.21949-05:00","source_repo":"."} -{"id":"bd-1012","content_hash":"328ae1d9901c6c9fe892c92c80ad4fb2c5f6e5c69d3b6a251fa59f9c49db7577","title":"Agent 1 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.952916-07:00","updated_at":"2025-11-20T12:27:43.355671-05:00","closed_at":"2025-11-20T12:27:43.355671-05:00","source_repo":"."} -{"id":"bd-1013","content_hash":"9a848691fd4d120253989bc3feff0478d405985efd6e5143b1b3b65a1ca03181","title":"Agent 1 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.953422-07:00","updated_at":"2025-11-20T12:28:04.219314-05:00","closed_at":"2025-11-20T12:28:04.219314-05:00","source_repo":"."} -{"id":"bd-1014","content_hash":"2037133bfb06dc5229e3ea51c1dcc1fe8251898ab2fc7ebd46c814bf5f22e608","title":"Agent 1 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.953906-07:00","updated_at":"2025-11-20T12:27:43.355506-05:00","closed_at":"2025-11-20T12:27:43.355506-05:00","source_repo":"."} -{"id":"bd-1015","content_hash":"f8c279ac0bd10c2760eea69890c4a38260e8a54713b64e587f9d832993c1f39f","title":"Agent 1 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.95442-07:00","updated_at":"2025-11-20T12:28:04.219134-05:00","closed_at":"2025-11-20T12:28:04.219134-05:00","source_repo":"."} -{"id":"bd-1016","content_hash":"b98723e1d2cbacb22a5d9d491ae552db9ff52748d5623ef3df289d550b1c4275","title":"Agent 1 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.954912-07:00","updated_at":"2025-11-20T12:27:43.355317-05:00","closed_at":"2025-11-20T12:27:43.355317-05:00","source_repo":"."} -{"id":"bd-1017","content_hash":"6e6568e9988e4a7137d37e082fe7c3e9ba185d6bfc5d3a661048ac2e7e3e3a3d","title":"Agent 1 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.955421-07:00","updated_at":"2025-11-20T12:28:04.218956-05:00","closed_at":"2025-11-20T12:28:04.218956-05:00","source_repo":"."} -{"id":"bd-1018","content_hash":"e77100a08a5f3eb226fd0688d2dafd3e9223f7458288984a5d2e221eaf4b5d44","title":"Agent 1 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.955904-07:00","updated_at":"2025-11-20T12:27:43.355165-05:00","closed_at":"2025-11-20T12:27:43.355165-05:00","source_repo":"."} -{"id":"bd-1019","content_hash":"ac91af57a51fdf0eacf66f91ad83b0558313f5bb06aa24057ee6db96fabea51a","title":"Agent 1 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.956409-07:00","updated_at":"2025-11-20T12:28:04.2188-05:00","closed_at":"2025-11-20T12:28:04.2188-05:00","source_repo":"."} +{"id":"bd-1010","content_hash":"89b37e1b539d69693e9cf4aa18d505ff926f08d0e73b73508e8c94add21d529c","title":"Agent 1 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.951871-07:00","updated_at":"2025-11-20T12:27:43.355836-05:00","closed_at":"2025-11-20T12:27:43.355836-05:00","source_repo":"."} +{"id":"bd-1011","content_hash":"33016d3cf94539fa56293eb5205366d76f927ade28d0d477c36fbd8a42755ed4","title":"Agent 1 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.952394-07:00","updated_at":"2025-11-20T12:28:04.21949-05:00","closed_at":"2025-11-20T12:28:04.21949-05:00","source_repo":"."} +{"id":"bd-1012","content_hash":"b618299ed2db7b8401c074a8dcac2c552e0f683601e65f70c05b7c923d0c5b75","title":"Agent 1 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.952916-07:00","updated_at":"2025-11-20T12:27:43.355671-05:00","closed_at":"2025-11-20T12:27:43.355671-05:00","source_repo":"."} +{"id":"bd-1013","content_hash":"c7747ccff1706f30320d1c6799ff33184fc40c4044c26d35a37de5d8dbce707d","title":"Agent 1 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.953422-07:00","updated_at":"2025-11-20T12:28:04.219314-05:00","closed_at":"2025-11-20T12:28:04.219314-05:00","source_repo":"."} +{"id":"bd-1014","content_hash":"b3a4115cb4936d6876a564dbcef87c1a6089fd24e272e7f2052b511ea0ad3116","title":"Agent 1 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.953906-07:00","updated_at":"2025-11-20T12:27:43.355506-05:00","closed_at":"2025-11-20T12:27:43.355506-05:00","source_repo":"."} +{"id":"bd-1015","content_hash":"a1384c1d5ba0bdf82e2ec6a97e91e24393a6defdae498ac4058c94a19d738e3a","title":"Agent 1 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.95442-07:00","updated_at":"2025-11-20T12:28:04.219134-05:00","closed_at":"2025-11-20T12:28:04.219134-05:00","source_repo":"."} +{"id":"bd-1016","content_hash":"5f0fbc0e133eeb27b4c10e210e1300e6854c63376442d2761216dae3a2ab302e","title":"Agent 1 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.954912-07:00","updated_at":"2025-11-20T12:27:43.355317-05:00","closed_at":"2025-11-20T12:27:43.355317-05:00","source_repo":"."} +{"id":"bd-1017","content_hash":"444017279d108c389f740f733054ef4387123e971c399dcaddca29e290ae7a2a","title":"Agent 1 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.955421-07:00","updated_at":"2025-11-20T12:28:04.218956-05:00","closed_at":"2025-11-20T12:28:04.218956-05:00","source_repo":"."} +{"id":"bd-1018","content_hash":"440f978c219f39b4160384f81750daaa2e3fd4abf3b24e07cf1fb8b3f4ced4f1","title":"Agent 1 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.955904-07:00","updated_at":"2025-11-20T12:27:43.355165-05:00","closed_at":"2025-11-20T12:27:43.355165-05:00","source_repo":"."} +{"id":"bd-1019","content_hash":"15ed04034360d38ac1f6ace905160c40cf5785d52e0a24c70a1f648334df380d","title":"Agent 1 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.956409-07:00","updated_at":"2025-11-20T12:28:04.2188-05:00","closed_at":"2025-11-20T12:28:04.2188-05:00","source_repo":"."} {"id":"bd-102","content_hash":"3f966b1f4277beca045400d0b6b4009a82485b34042259cc252c6947d67e5ca9","title":"Add workspace config file for multi-repo management (optional enhancement)","description":"For users who want explicit control over multi-repo setup without daemon, add optional workspace config file.\n\nConfig file: ~/.beads/workspaces.toml\n\nExample:\n[workspaces]\ncurrent = \"global\"\n\n[workspace.global]\ndb = \"~/.beads/global.db\"\ndescription = \"System-wide tasks\"\n\n[workspace.project1] \ndb = \"~/src/project1/.beads/db.sqlite\"\ndescription = \"Main product\"\n\n[workspace.project2]\ndb = \"~/src/project2/.beads/db.sqlite\"\ndescription = \"Internal tools\"\n\nCommands:\nbd workspace list # Show all workspaces\nbd workspace add NAME PATH # Add workspace\nbd workspace remove NAME # Remove workspace \nbd workspace use NAME # Switch active workspace\nbd workspace current # Show current workspace\nbd --workspace NAME \u003ccommand\u003e # Override for single command\n\nImplementation:\n- Load config in PersistentPreRun\n- Override dbPath based on current workspace\n- Store workspace state in config file\n- Support both workspace config AND auto-discovery\n- Workspace config takes precedence over auto-discovery\n\nPriority rationale:\n- Priority 3 (low) because daemon approach already solves this\n- Only implement if users request explicit workspace management\n- Adds complexity vs daemon's automatic discovery\n\nAlternative: Users can use BEADS_DB env var for manual workspace switching today.","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-17T20:43:52.348572-07:00","updated_at":"2025-10-21T00:25:40.517687-07:00","closed_at":"2025-10-20T16:04:27.216482-07:00","source_repo":"."} -{"id":"bd-1020","content_hash":"a6f8781ae92af038c757aeb0b47dfb57ce2a4ee83bbecd0fbb52e2265a551a25","title":"Agent 1 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.956919-07:00","updated_at":"2025-11-20T12:27:43.355005-05:00","closed_at":"2025-11-20T12:27:43.355005-05:00","source_repo":"."} -{"id":"bd-1021","content_hash":"f1ec76f89adb778985bb8fac083997d75c549d3595f7785f5e2a1935f926bbf7","title":"Agent 1 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.957421-07:00","updated_at":"2025-11-20T12:28:04.218647-05:00","closed_at":"2025-11-20T12:28:04.218647-05:00","source_repo":"."} -{"id":"bd-1022","content_hash":"0b712a337844711597d2dd950d27d4c032a3b746a27f44326d62db740f5944e9","title":"Use external_ref as primary matching key for import updates","description":"Enable re-syncing from external systems (Jira, GitHub, Linear) by using external_ref as the primary matching key during imports. Currently imports treat any content change as a collision, making it impossible to sync updates from external systems without creating duplicates.\n\nSee GH #142 for detailed proposal and implementation plan.\n\nKey changes needed:\n1. Add findByExternalRef() query function\n2. Update DetectCollisions() to match by external_ref first\n3. Update import_shared.go to update existing issues when external_ref matches\n4. Add index on external_ref for performance\n5. Preserve local issues (no external_ref) from being overwritten\n\nThis enables hybrid workflows: import external backlog, break down with local tasks, re-sync anytime.","notes":"## Code Review Complete ✅\n\n**Overall Assessment**: EXCELLENT - Production ready\n\n### Implementation Quality\n- ✓ Clean architecture with proper interface extension\n- ✓ Dual backend support (SQLite + Memory)\n- ✓ Smart matching priority: external_ref → ID → content hash\n- ✓ O(1) lookups with database index\n- ✓ Timestamp-based conflict resolution\n- ✓ Comprehensive test coverage (11 test cases)\n\n### Follow-up Issues Filed\nHigh Priority (P2):\n- bd-897a: Add UNIQUE constraint on external_ref column\n- bd-7315: Add validation for duplicate external_ref in batch imports\n\nMedium Priority (P3):\n- bd-f9a1: Add index usage verification test\n- bd-3f6a: Add concurrent import race condition tests\n\nLow Priority (P4):\n- bd-e166: Improve timestamp comparison readability\n- bd-9e23: Optimize Memory backend with index\n- bd-537e: Add external_ref change tracking\n- bd-df11: Add import metrics\n- bd-9f4a: Document external_ref in content hash\n\n### Key Features\n✅ External systems (Jira, GitHub, Linear) can re-sync without duplicates\n✅ Hybrid workflows: import external backlog, add local tasks, re-sync anytime\n✅ Local issues protected from being overwritten\n✅ Timestamp checking ensures only newer updates applied\n✅ Performance optimized with database index\n\n**Confidence Level**: 95% - Ship it! 🚀","status":"closed","priority":0,"issue_type":"feature","created_at":"2025-10-21T00:29:10.957929-07:00","updated_at":"2025-11-12T10:57:44.246019-08:00","closed_at":"2025-11-02T15:27:44.810375-08:00","source_repo":"."} -{"id":"bd-1023","content_hash":"5037109eefd2184ed74f4f83175c0c29c351896c896d02204179dd5b8586f0ab","title":"Agent 1 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.958477-07:00","updated_at":"2025-11-20T12:28:04.218468-05:00","closed_at":"2025-11-20T12:28:04.218468-05:00","source_repo":"."} -{"id":"bd-1024","content_hash":"4d2ee8fc15478bff994fef598e75b51e42fe041d5fab857a32897369777e1fd3","title":"Agent 1 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.959027-07:00","updated_at":"2025-11-20T12:27:43.354836-05:00","closed_at":"2025-11-20T12:27:43.354836-05:00","source_repo":"."} -{"id":"bd-1025","content_hash":"d6719cf565dc04132f536063ac6c8e26bfc5e409b8ee9d3ca77a9626cf5f6e4e","title":"Agent 1 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.959546-07:00","updated_at":"2025-11-20T12:28:04.218231-05:00","closed_at":"2025-11-20T12:28:04.218231-05:00","source_repo":"."} -{"id":"bd-1026","content_hash":"8edc526aa8682713fbb199d55d359922ca091b7a7f7855c0322c5d4c33e39ae2","title":"Agent 1 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.960084-07:00","updated_at":"2025-11-20T12:27:43.354568-05:00","closed_at":"2025-11-20T12:27:43.354568-05:00","source_repo":"."} -{"id":"bd-1027","content_hash":"0bd73bfb479ed2271e52b7e092f935e3e466e9267ca1a679a3daf652f82b4b83","title":"Agent 1 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.960662-07:00","updated_at":"2025-11-20T12:28:04.218077-05:00","closed_at":"2025-11-20T12:28:04.218077-05:00","source_repo":"."} -{"id":"bd-1028","content_hash":"0a5d91b2bc9ade000d587ece88aba19caee32bb1c698c9089da020edeed8ac11","title":"Agent 1 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.961806-07:00","updated_at":"2025-11-20T12:27:43.354367-05:00","closed_at":"2025-11-20T12:27:43.354367-05:00","source_repo":"."} -{"id":"bd-1029","content_hash":"ff19468bd42e32e36380ae0e4f5ad941cb6d3c2068fef6a44e5df982bd1c1f69","title":"Agent 1 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.962571-07:00","updated_at":"2025-11-20T12:28:04.217876-05:00","closed_at":"2025-11-20T12:28:04.217876-05:00","source_repo":"."} +{"id":"bd-1020","content_hash":"55749da05870efb56df3f371a75e7ecdc2b25c2864204cbc91eb1425b0bd4792","title":"Agent 1 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.956919-07:00","updated_at":"2025-11-20T12:27:43.355005-05:00","closed_at":"2025-11-20T12:27:43.355005-05:00","source_repo":"."} +{"id":"bd-1021","content_hash":"1734a53271d7573ffee68034a43baa0fbddba3fb410a547f5ec79d490bd3c806","title":"Agent 1 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.957421-07:00","updated_at":"2025-11-20T12:28:04.218647-05:00","closed_at":"2025-11-20T12:28:04.218647-05:00","source_repo":"."} +{"id":"bd-1022","content_hash":"0b712a337844711597d2dd950d27d4c032a3b746a27f44326d62db740f5944e9","title":"Use external_ref as primary matching key for import updates","description":"Enable re-syncing from external systems (Jira, GitHub, Linear) by using external_ref as the primary matching key during imports. Currently imports treat any content change as a collision, making it impossible to sync updates from external systems without creating duplicates.\n\nSee GH #142 for detailed proposal and implementation plan.\n\nKey changes needed:\n1. Add findByExternalRef() query function\n2. Update DetectCollisions() to match by external_ref first\n3. Update import_shared.go to update existing issues when external_ref matches\n4. Add index on external_ref for performance\n5. Preserve local issues (no external_ref) from being overwritten\n\nThis enables hybrid workflows: import external backlog, break down with local tasks, re-sync anytime.","notes":"## Code Review Complete ✅\n\n**Overall Assessment**: EXCELLENT - Production ready\n\n### Implementation Quality\n- ✓ Clean architecture with proper interface extension\n- ✓ Dual backend support (SQLite + Memory)\n- ✓ Smart matching priority: external_ref → ID → content hash\n- ✓ O(1) lookups with database index\n- ✓ Timestamp-based conflict resolution\n- ✓ Comprehensive test coverage (11 test cases)\n\n### Follow-up Issues Filed\nHigh Priority (P2):\n- bd-897a: Add UNIQUE constraint on external_ref column\n- bd-7315: Add validation for duplicate external_ref in batch imports\n\nMedium Priority (P3):\n- bd-f9a1: Add index usage verification test\n- bd-3f6a: Add concurrent import race condition tests\n\nLow Priority (P4):\n- bd-e166: Improve timestamp comparison readability\n- bd-9e23: Optimize Memory backend with index\n- bd-537e: Add external_ref change tracking\n- bd-df11: Add import metrics\n- bd-9f4a: Document external_ref in content hash\n\n### Key Features\n✅ External systems (Jira, GitHub, Linear) can re-sync without duplicates\n✅ Hybrid workflows: import external backlog, add local tasks, re-sync anytime\n✅ Local issues protected from being overwritten\n✅ Timestamp checking ensures only newer updates applied\n✅ Performance optimized with database index\n\n**Confidence Level**: 95% - Ship it! 🚀","status":"closed","priority":0,"issue_type":"feature","created_at":"2025-11-02T14:55:56.355813-08:00","updated_at":"2025-11-02T15:34:56.634126-08:00","closed_at":"2025-11-02T15:27:44.810375-08:00","source_repo":"."} +{"id":"bd-1023","content_hash":"264c8f2b9af596eca1a5de0dffcf88c302254f5aab284ac306883f653eb61203","title":"Agent 1 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.958477-07:00","updated_at":"2025-11-20T12:28:04.218468-05:00","closed_at":"2025-11-20T12:28:04.218468-05:00","source_repo":"."} +{"id":"bd-1024","content_hash":"f25c41abe34fd04d133219d01ebd58dcbafa44b55762eea5cc03fb1a1ca9e2c5","title":"Agent 1 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.959027-07:00","updated_at":"2025-11-20T12:27:43.354836-05:00","closed_at":"2025-11-20T12:27:43.354836-05:00","source_repo":"."} +{"id":"bd-1025","content_hash":"ce48e1660950da1219da42d1bb34dc32a2add701f0cd5bfdb0dd03b644221e82","title":"Agent 1 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.959546-07:00","updated_at":"2025-11-20T12:28:04.218231-05:00","closed_at":"2025-11-20T12:28:04.218231-05:00","source_repo":"."} +{"id":"bd-1026","content_hash":"5a45e332b6655ea342861b08d894c7dce35b13974bdf4a7fa9ac4dc13c863adf","title":"Agent 1 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.960084-07:00","updated_at":"2025-11-20T12:27:43.354568-05:00","closed_at":"2025-11-20T12:27:43.354568-05:00","source_repo":"."} +{"id":"bd-1027","content_hash":"2f51118202272aa1790eaf1692e215224c3ee54b6dac06de334f6254d691a3c1","title":"Agent 1 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.960662-07:00","updated_at":"2025-11-20T12:28:04.218077-05:00","closed_at":"2025-11-20T12:28:04.218077-05:00","source_repo":"."} +{"id":"bd-1028","content_hash":"52507922a7c3c017a2711a79703ccc6e32224fd009a65157548e29082322914d","title":"Agent 1 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.961806-07:00","updated_at":"2025-11-20T12:27:43.354367-05:00","closed_at":"2025-11-20T12:27:43.354367-05:00","source_repo":"."} +{"id":"bd-1029","content_hash":"9c561ba110aa6ba2ec2cfd2d295759d0f6cd2b8de6ae97b82c54c15224441990","title":"Agent 1 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.962571-07:00","updated_at":"2025-11-20T12:28:04.217876-05:00","closed_at":"2025-11-20T12:28:04.217876-05:00","source_repo":"."} {"id":"bd-103","content_hash":"fba25471350515eeee18f0955a805c9f964c55541391935ddaacfffb8cced7e9","title":"Add cross-repo issue references (future enhancement)","description":"Support referencing issues across different beads repositories. Useful for tracking dependencies between separate projects.\n\nProposed syntax:\n- Local reference: bd-100 (current behavior)\n- Cross-repo by path: ~/src/other-project#bd-456\n- Cross-repo by workspace name: @project2:bd-789\n\nUse cases:\n1. Frontend project depends on backend API issue\n2. Shared library changes blocking multiple projects\n3. System administrator tracking work across machines\n4. Monorepo with separate beads databases per component\n\nImplementation challenges:\n- Storage layer needs to query external databases\n- Dependency resolution across repos\n- What if external repo not available?\n- How to handle in JSONL export/import?\n- Security: should repos be able to read others?\n\nDesign questions to resolve first:\n1. Read-only references vs full cross-repo dependencies?\n2. How to handle repo renames/moves?\n3. Absolute paths vs workspace names vs git remotes?\n4. Should bd-43 auto-discover related repos?\n\nRecommendation: \n- Gather user feedback first\n- Start with read-only references\n- Implement as plugin/extension?\n\nContext: This is mentioned in bd-43 as approach #2. Much more complex than daemon multi-repo approach. Only implement if there's strong user demand.\n\nPriority: Backlog (4) - wait for user feedback before designing","status":"closed","priority":4,"issue_type":"feature","created_at":"2025-10-17T20:43:54.04594-07:00","updated_at":"2025-10-21T00:25:40.518003-07:00","closed_at":"2025-10-20T22:00:31.966891-07:00","source_repo":"."} -{"id":"bd-1030","content_hash":"8ac001f178be9f0c94fa1a34d375372e18f396b72de9b3713c6324759a46258f","title":"Agent 1 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.963245-07:00","updated_at":"2025-11-20T12:27:43.354205-05:00","closed_at":"2025-11-20T12:27:43.354205-05:00","source_repo":"."} -{"id":"bd-1031","content_hash":"d2a6c387b648be68eb088d912e07674bca3bb1c878f4a89ca874b80b4a835633","title":"Agent 1 Batch 15 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.964384-07:00","updated_at":"2025-11-20T12:28:04.217722-05:00","closed_at":"2025-11-20T12:28:04.217722-05:00","source_repo":"."} -{"id":"bd-1032","content_hash":"0eaeb60a4f075bef6d41574c896bd783a401b14a7e66797f246ebc3c42ec3a22","title":"Agent 1 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.965279-07:00","updated_at":"2025-11-20T12:27:43.354046-05:00","closed_at":"2025-11-20T12:27:43.354046-05:00","source_repo":"."} -{"id":"bd-1033","content_hash":"52e7d8243c336605a28ac69a6df23fbc8a6a399247988727bb8cd7979ff11dd2","title":"Agent 1 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.965925-07:00","updated_at":"2025-11-20T12:28:04.217571-05:00","closed_at":"2025-11-20T12:28:04.217571-05:00","source_repo":"."} -{"id":"bd-1034","content_hash":"13df64b2084cc2c2b84d4069463bccd86abeadda950572e107037bab0a7a26c3","title":"Agent 1 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.966573-07:00","updated_at":"2025-11-20T12:27:43.35389-05:00","closed_at":"2025-11-20T12:27:43.35389-05:00","source_repo":"."} -{"id":"bd-1035","content_hash":"a3de39b969c8a2264cf675f78453e65df30101aa760584740d451d72b60acf6d","title":"Agent 1 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.967208-07:00","updated_at":"2025-11-20T12:28:04.217416-05:00","closed_at":"2025-11-20T12:28:04.217416-05:00","source_repo":"."} -{"id":"bd-1036","content_hash":"dc13ae398c1145776ca5b2605ecf321d272d95028d52357915753466fe2d7d46","title":"Agent 1 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.967804-07:00","updated_at":"2025-11-20T12:27:43.353743-05:00","closed_at":"2025-11-20T12:27:43.353743-05:00","source_repo":"."} -{"id":"bd-1037","content_hash":"556495382b607b56b1307c9c8b2ed646140af47ebd23b194bcef06cd1c504ce1","title":"Agent 1 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.968447-07:00","updated_at":"2025-11-20T12:28:04.217215-05:00","closed_at":"2025-11-20T12:28:04.217215-05:00","source_repo":"."} -{"id":"bd-1038","content_hash":"7eb32dcbb5c682212d05b3c27d1e5de77a077669ab3b1a5dacfb320145dd380d","title":"Agent 1 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.969047-07:00","updated_at":"2025-11-20T12:27:43.353588-05:00","closed_at":"2025-11-20T12:27:43.353588-05:00","source_repo":"."} -{"id":"bd-1039","content_hash":"9ad38280ddf41e22893c346c0d14093ed3c81bca8681787747455e936c703ab2","title":"Agent 1 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.969693-07:00","updated_at":"2025-11-20T12:28:04.217061-05:00","closed_at":"2025-11-20T12:28:04.217061-05:00","source_repo":"."} +{"id":"bd-1030","content_hash":"1daa2b2e1dc859a32ff366f282cc7011f47b84da7fe55bfd3d99462f299e242c","title":"Agent 1 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.963245-07:00","updated_at":"2025-11-20T12:27:43.354205-05:00","closed_at":"2025-11-20T12:27:43.354205-05:00","source_repo":"."} +{"id":"bd-1031","content_hash":"931593ab2bf262d2e1ab78213b83b6c20aeb7dd492813cd90c2018b7af44e52d","title":"Agent 1 Batch 15 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.964384-07:00","updated_at":"2025-11-20T12:28:04.217722-05:00","closed_at":"2025-11-20T12:28:04.217722-05:00","source_repo":"."} +{"id":"bd-1032","content_hash":"2688dc9b325ccd2cd6ec70f937085f3986d90b231ff9967e49bb79ecf59032f1","title":"Agent 1 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.965279-07:00","updated_at":"2025-11-20T12:27:43.354046-05:00","closed_at":"2025-11-20T12:27:43.354046-05:00","source_repo":"."} +{"id":"bd-1033","content_hash":"f484b08c2733f8642a6b19d8e199d958dfd4a9224c27f6e53de51096c9723ef6","title":"Agent 1 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.965925-07:00","updated_at":"2025-11-20T12:28:04.217571-05:00","closed_at":"2025-11-20T12:28:04.217571-05:00","source_repo":"."} +{"id":"bd-1034","content_hash":"a63db7059cdb8d7fec86be48b25549d249dd3ec0ae90054856de03efdddd8fcc","title":"Agent 1 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.966573-07:00","updated_at":"2025-11-20T12:27:43.35389-05:00","closed_at":"2025-11-20T12:27:43.35389-05:00","source_repo":"."} +{"id":"bd-1035","content_hash":"d16418e203910c0db8002c3a03547a59476e6de748e6b222a27e43713ecc2671","title":"Agent 1 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.967208-07:00","updated_at":"2025-11-20T12:28:04.217416-05:00","closed_at":"2025-11-20T12:28:04.217416-05:00","source_repo":"."} +{"id":"bd-1036","content_hash":"b3a31f9483186fbb5650edd2b5cdb62fac7deb284247abe449a03b939b5c9e44","title":"Agent 1 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.967804-07:00","updated_at":"2025-11-20T12:27:43.353743-05:00","closed_at":"2025-11-20T12:27:43.353743-05:00","source_repo":"."} +{"id":"bd-1037","content_hash":"8143a64a83a97b62605adde4f651f012c41f500d6df4cfd4adff8ff6a5a66284","title":"Agent 1 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.968447-07:00","updated_at":"2025-11-20T12:28:04.217215-05:00","closed_at":"2025-11-20T12:28:04.217215-05:00","source_repo":"."} +{"id":"bd-1038","content_hash":"b996449df2736ade5787e0beeec8ccd45fa74b788710f2d59834c80d60ed6b9f","title":"Agent 1 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.969047-07:00","updated_at":"2025-11-20T12:27:43.353588-05:00","closed_at":"2025-11-20T12:27:43.353588-05:00","source_repo":"."} +{"id":"bd-1039","content_hash":"a741824cedd4c830e86b0d1b4b7b4b4b5fd8178bcd6f2dd2b94f850cde854300","title":"Agent 1 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.969693-07:00","updated_at":"2025-11-20T12:28:04.217061-05:00","closed_at":"2025-11-20T12:28:04.217061-05:00","source_repo":"."} {"id":"bd-104","content_hash":"c27d3a1fd19139edc8943ab411373d2b91f7c1e092ae05378e203c7270b6070d","title":"Add batch deletion command for issues","description":"Support deleting multiple issues efficiently instead of one at a time.\n\n**Use Cases:**\n- Cleaning up duplicate/spam issues (e.g., bd-83 to bd-93 watchdog spam)\n- Removing test-only issues after feature removal\n- Bulk cleanup of obsolete/spurious bugs\n- Renumbering prep: delete ranges before compaction\n\n**Proposed Syntax Options:**\n\n**Option 1: Multiple IDs as arguments**\n```bash\nbd delete vc-1 vc-2 vc-3 --force\nbd delete vc-{1..20} --force # Shell expansion\n```\n\n**Option 2: Read from file (RECOMMENDED)**\n```bash\nbd delete --from-file deletions.txt --force --dry-run # Preview\nbd delete --from-file deletions.txt --force # Execute\n# File format: one issue ID per line\n```\n\n**Option 3: Query-based deletion**\n```bash\nbd delete --where \"priority=3 AND type=chore\" --force\nbd delete --label test-only --force\nbd delete --prefix bd- --status open --force\n```\n\n**Must-Have Features:**\n\n1. **Dry-run mode**: `--dry-run` to preview what would be deleted\n - Show issue IDs, titles, dependency counts\n - Warn about issues with dependents\n\n2. **Dependency handling**:\n - `--cascade`: Delete dependents recursively\n - `--force`: Delete even if dependents exist (orphans them)\n - Default: Fail if any issue has dependents\n\n3. **Summary output**:\n ```\n Deleted 162 issues\n Removed 347 dependencies\n Removed 89 labels\n Orphaned 5 issues (use --cascade to delete)\n ```\n\n4. **Transaction safety**: All-or-nothing for file/query input\n - Either all deletions succeed or none do\n - Rollback on error\n\n**Nice-to-Have Features:**\n\n1. **Interactive confirmation** for large batches (\u003e10 issues)\n ```\n About to delete 162 issues. Continue? [y/N]\n (Use --force to skip confirmation)\n ```\n\n2. **Progress indicator** for large batches (\u003e50 deletions)\n ```\n Deleting issues... [####------] 42/162 (26%)\n ```\n\n3. **Undo support**:\n ```bash\n bd undelete --last-batch # Restore from snapshots\n bd undelete bd-83 # Restore single issue\n ```\n\n**Implementation Notes:**\n\n- Leverage existing `DeleteIssue()` in storage layer\n- Wrap in transaction for atomicity\n- Consider adding `DeleteIssues(ctx, []string)` for efficiency\n- May need to query dependents before deletion\n- File format should support comments (#) and blank lines\n- JSON output mode should list all deleted IDs\n\n**Example Workflow:**\n```bash\n# Identify issues to delete\nbd list --label test-only --json | jq -r '.[].id' \u003e /tmp/delete.txt\n\n# Preview deletion\nbd delete --from-file /tmp/delete.txt --dry-run\n\n# Execute with cascade\nbd delete --from-file /tmp/delete.txt --cascade --force\n\n# Verify\nbd stats\n```\n\n**Security Considerations:**\n- Require explicit `--force` flag to prevent accidents\n- Warn when deleting issues with dependencies\n- Log deletions to audit trail\n- Consider requiring confirmation for \u003e100 deletions even with --force\n\n**Requested by:** Another agent during cleanup of bd-83 to bd-93 watchdog spam","notes":"Fixed critical issues found in code review:\n1. Dry-run mode now properly uses dryRun parameter instead of deleting data\n2. Text references are pre-collected before deletion so they update correctly\n3. Added orphan deduplication to prevent duplicate IDs\n4. Added rows.Err() checks in all row iteration loops\n5. Updated defer to ignore rollback error per Go best practices","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-17T20:49:30.921943-07:00","updated_at":"2025-10-21T00:25:40.518242-07:00","closed_at":"2025-10-17T21:03:29.165515-07:00","source_repo":"."} -{"id":"bd-1040","content_hash":"67d03c480e720452d977429a5640ea7a2195e0444d4b7690a8eab901206f4559","title":"Agent 1 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.970303-07:00","updated_at":"2025-11-20T12:27:43.353431-05:00","closed_at":"2025-11-20T12:27:43.353431-05:00","source_repo":"."} -{"id":"bd-1041","content_hash":"0a008295d7d3c6c4b46c40e10b6eadbd08ea674d391c9c3714912ba0253313e9","title":"Agent 1 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.970941-07:00","updated_at":"2025-11-20T12:28:04.216907-05:00","closed_at":"2025-11-20T12:28:04.216907-05:00","source_repo":"."} -{"id":"bd-1042","content_hash":"41f9a43621582fefd135000ce9e85a5a5f9211b707b19d903afe28676c1a5dc1","title":"Agent 1 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.97165-07:00","updated_at":"2025-11-20T12:27:43.353275-05:00","closed_at":"2025-11-20T12:27:43.353275-05:00","source_repo":"."} -{"id":"bd-1043","content_hash":"1ee2b12103192432bcd33cc0198ff9509a67625d070110155507a597e7d3f25a","title":"Agent 1 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.972284-07:00","updated_at":"2025-11-20T12:28:04.216755-05:00","closed_at":"2025-11-20T12:28:04.216755-05:00","source_repo":"."} -{"id":"bd-1044","content_hash":"df64d795dd9d069b8eccc4ad683cf18c114381ea40cdd45816b36bc9339ab8e1","title":"Agent 1 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.972854-07:00","updated_at":"2025-11-20T12:27:43.353119-05:00","closed_at":"2025-11-20T12:27:43.353119-05:00","source_repo":"."} -{"id":"bd-1045","content_hash":"62587242caf68a4d002f7e7e6bc750f9043ba7f955514b3bb0c30c7dc5972b64","title":"Agent 0 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947563-07:00","updated_at":"2025-11-20T12:28:04.220511-05:00","closed_at":"2025-11-20T12:28:04.220511-05:00","source_repo":"."} -{"id":"bd-1046","content_hash":"a7bce8c2abf87751cdee9e396ace2a1e0e569144ebd3197a07dbb312e2171333","title":"Agent 0 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.974431-07:00","updated_at":"2025-11-20T12:27:43.352965-05:00","closed_at":"2025-11-20T12:27:43.352965-05:00","source_repo":"."} -{"id":"bd-1047","content_hash":"7ffd7ca7bcf89c8c1893d7506bea014678af91b2d257367903b886ce5e2699a9","title":"Agent 0 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.975076-07:00","updated_at":"2025-11-20T12:28:04.216392-05:00","closed_at":"2025-11-20T12:28:04.216392-05:00","source_repo":"."} -{"id":"bd-1048","content_hash":"1a889d79a98f8c0919f99094736ee7c856c6d8a2ee062a0add49ce2c06c40174","title":"Daemon crashes silently on RPC query after startup","description":"The daemon fails to handle 'show' RPC commands when:\n1) JSONL is newer than database (needs import)\n2) git pull fails due to uncommitted changes\n\nSymptoms:\n- Daemon appears to run (ps shows process)\n- 'bd list' and other commands work fine \n- 'bd show \u003cid\u003e' returns \"failed to read response: EOF\"\n- No panic or error logged in daemon.log\n\nRoot cause likely: auto-import deadlock or state corruption when import is blocked by git conflicts.\n\nWorkaround: \n- Restart daemon after syncing git state (commit/push changes)\n- OR use --no-daemon flag for all commands\n\nThe panic recovery added in server_lifecycle_conn.go:183 didn't catch any panics, confirming this isn't a panic-based crash.","notes":"Root cause found and fixed: Two bugs - (1) nil pointer check missing in handleShow causing panic, (2) double JSON encoding in show.go ID resolution. Both fixed. bd show now works with daemon.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.975614-07:00","updated_at":"2025-11-12T10:57:44.248948-08:00","closed_at":"2025-11-03T12:08:12.947676-08:00","source_repo":"."} -{"id":"bd-1049","content_hash":"c8eab000f4980e4f90ba20814b490ff1001490b6df81c8d46f8a77e6c25b27a4","title":"Agent 0 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.976188-07:00","updated_at":"2025-11-20T12:28:04.216238-05:00","closed_at":"2025-11-20T12:28:04.216238-05:00","source_repo":"."} +{"id":"bd-1040","content_hash":"b0b8d9917377b419b566d922cf7b3a1235348f552a80a6258b752a72b56e0d78","title":"Agent 1 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.970303-07:00","updated_at":"2025-11-20T12:27:43.353431-05:00","closed_at":"2025-11-20T12:27:43.353431-05:00","source_repo":"."} +{"id":"bd-1041","content_hash":"59bedf7fb35024e8577a0eaf9c1c11c298524d06ae5667dfabfe61e55b16f74a","title":"Agent 1 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.970941-07:00","updated_at":"2025-11-20T12:28:04.216907-05:00","closed_at":"2025-11-20T12:28:04.216907-05:00","source_repo":"."} +{"id":"bd-1042","content_hash":"be62da6f207797ed4b980970ddad724882c7e2dbe159a54947e6d73bbc97517f","title":"Agent 1 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.97165-07:00","updated_at":"2025-11-20T12:27:43.353275-05:00","closed_at":"2025-11-20T12:27:43.353275-05:00","source_repo":"."} +{"id":"bd-1043","content_hash":"eefb45a345686eca2e968c4d405d4b1393a2b7d2ed4f1167dba27f178739b024","title":"Agent 1 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.972284-07:00","updated_at":"2025-11-20T12:28:04.216755-05:00","closed_at":"2025-11-20T12:28:04.216755-05:00","source_repo":"."} +{"id":"bd-1044","content_hash":"e980d01abb4121b92793575ef8bb0dca5abd1a925cc62f7e75cc77eb5db4027b","title":"Agent 1 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.972854-07:00","updated_at":"2025-11-20T12:27:43.353119-05:00","closed_at":"2025-11-20T12:27:43.353119-05:00","source_repo":"."} +{"id":"bd-1045","content_hash":"6d8534711c998986cb5a1fe2f955501233f41179f6be46075f2c6d706217628b","title":"Agent 0 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947563-07:00","updated_at":"2025-11-20T12:28:04.220511-05:00","closed_at":"2025-11-20T12:28:04.220511-05:00","source_repo":"."} +{"id":"bd-1046","content_hash":"1002cf696bb946778d915c2fa214f99f6486d4654f97dccb87979608fb06e900","title":"Agent 0 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.974431-07:00","updated_at":"2025-11-20T12:27:43.352965-05:00","closed_at":"2025-11-20T12:27:43.352965-05:00","source_repo":"."} +{"id":"bd-1047","content_hash":"765aa65dcc9f7d395361d03e71cd5cba69937163ae2934e3ce25622cc0aecba4","title":"Agent 0 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.975076-07:00","updated_at":"2025-11-20T12:28:04.216392-05:00","closed_at":"2025-11-20T12:28:04.216392-05:00","source_repo":"."} +{"id":"bd-1048","content_hash":"1a889d79a98f8c0919f99094736ee7c856c6d8a2ee062a0add49ce2c06c40174","title":"Daemon crashes silently on RPC query after startup","description":"The daemon fails to handle 'show' RPC commands when:\n1) JSONL is newer than database (needs import)\n2) git pull fails due to uncommitted changes\n\nSymptoms:\n- Daemon appears to run (ps shows process)\n- 'bd list' and other commands work fine \n- 'bd show \u003cid\u003e' returns \"failed to read response: EOF\"\n- No panic or error logged in daemon.log\n\nRoot cause likely: auto-import deadlock or state corruption when import is blocked by git conflicts.\n\nWorkaround: \n- Restart daemon after syncing git state (commit/push changes)\n- OR use --no-daemon flag for all commands\n\nThe panic recovery added in server_lifecycle_conn.go:183 didn't catch any panics, confirming this isn't a panic-based crash.","notes":"Root cause found and fixed: Two bugs - (1) nil pointer check missing in handleShow causing panic, (2) double JSON encoding in show.go ID resolution. Both fixed. bd show now works with daemon.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-02T17:05:03.658333-08:00","updated_at":"2025-11-03T12:08:12.947672-08:00","closed_at":"2025-11-03T12:08:12.947676-08:00","source_repo":"."} +{"id":"bd-1049","content_hash":"e3e106410186b38a10eb17436a1a4d7efea524ea6967bbbccf1344b6f5af1d93","title":"Agent 0 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.976188-07:00","updated_at":"2025-11-20T12:28:04.216238-05:00","closed_at":"2025-11-20T12:28:04.216238-05:00","source_repo":"."} {"id":"bd-105","content_hash":"19462d1627d026acf9150642b857ae0771be5760d2ab90e8b41b042ce39b7e17","title":"bd list shows 0 issues despite database containing 115 issues","description":"When running 'bd list --status all' it shows 'Found 0 issues' even though 'bd stats' shows 115 total issues and 'sqlite3 .beads/vc.db \"SELECT COUNT(*) FROM issues\"' returns 115.\n\nReproduction:\n1. cd ~/src/vc/vc\n2. bd stats # Shows 115 issues\n3. bd list --status all # Shows 0 issues\n4. sqlite3 .beads/vc.db 'SELECT COUNT(*) FROM issues;' # Shows 115\n\nExpected: bd list should show all 115 issues\nActual: Shows 'Found 0 issues:'\n\nThis occurs with both /opt/homebrew/bin/bd (v0.9.9) and ~/src/vc/adar/beads/bd (v0.9.10)","design":"Possible causes:\n- Default filter excluding all issues\n- Database query issue in list command\n- Auto-discovery finding wrong database (but stats works?)\n- Recent deletion operation corrupted some index","acceptance_criteria":"bd list --status all shows all issues that bd stats counts","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-17T21:19:08.225181-07:00","updated_at":"2025-10-21T00:25:40.518477-07:00","closed_at":"2025-10-17T21:55:40.788625-07:00","source_repo":"."} -{"id":"bd-1050","content_hash":"1c6ca381a2f4f492380653264e269b8d9ee0b60290f1d77f289836c6d5894aac","title":"Agent 0 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.976721-07:00","updated_at":"2025-11-20T12:27:43.352816-05:00","closed_at":"2025-11-20T12:27:43.352816-05:00","source_repo":"."} -{"id":"bd-1051","content_hash":"c5ab9c96692915bdb48ce4731ffdc97d97cb3c418bfd6313974a411c23a03a0d","title":"Agent 0 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.977243-07:00","updated_at":"2025-11-20T12:28:04.216031-05:00","closed_at":"2025-11-20T12:28:04.216031-05:00","source_repo":"."} -{"id":"bd-1052","content_hash":"009741fd86f2f159f31dd23c7128b90dc08c96b138cfab101d5adefa254f0474","title":"Agent 0 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.977746-07:00","updated_at":"2025-11-20T12:27:43.352661-05:00","closed_at":"2025-11-20T12:27:43.352661-05:00","source_repo":"."} -{"id":"bd-1053","content_hash":"064586394b862e2d0a4fc436858549d3cd2c9324f74a589c4f52bd7e401e37a4","title":"Agent 0 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.978288-07:00","updated_at":"2025-11-20T12:28:04.215836-05:00","closed_at":"2025-11-20T12:28:04.215836-05:00","source_repo":"."} -{"id":"bd-1054","content_hash":"17c6dda558aa2ac346aa7eb7bbab2838aa980155cea4de617468df2c9c2e00b3","title":"Agent 0 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.978933-07:00","updated_at":"2025-11-20T12:27:43.352506-05:00","closed_at":"2025-11-20T12:27:43.352506-05:00","source_repo":"."} -{"id":"bd-1055","content_hash":"0efadb1d8ed8812bb5eaaeaf09b02514cf4e9fbdff43abd026dd9b0925c1d601","title":"Agent 0 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.97963-07:00","updated_at":"2025-11-20T12:28:04.21568-05:00","closed_at":"2025-11-20T12:28:04.21568-05:00","source_repo":"."} -{"id":"bd-1056","content_hash":"da5b6a3c750e0ec8ecfff4c959c273661449a3dd43847ab8a69fc6623609adaa","title":"Agent 0 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.980196-07:00","updated_at":"2025-11-20T12:27:43.352338-05:00","closed_at":"2025-11-20T12:27:43.352338-05:00","source_repo":"."} -{"id":"bd-1057","content_hash":"55e7467bf2a68dbb6b5c435babc33c0e6c1e1316b5aae0aa8f963871e586aa43","title":"Agent 3 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947273-07:00","updated_at":"2025-11-20T12:28:04.220866-05:00","closed_at":"2025-11-20T12:28:04.220866-05:00","source_repo":"."} -{"id":"bd-1058","content_hash":"514a476a6ee8b60775a377bbbb93ed61afaae5c7b1ff96fe1c431332f11971e9","title":"Agent 3 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.981378-07:00","updated_at":"2025-11-20T12:27:43.352176-05:00","closed_at":"2025-11-20T12:27:43.352176-05:00","source_repo":"."} -{"id":"bd-1059","content_hash":"3ce32d2d2dfab8411fc5f6a362e41382cece11d9fe83dc4ac985859e3f378e49","title":"Agent 0 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.980807-07:00","updated_at":"2025-11-20T12:28:04.215523-05:00","closed_at":"2025-11-20T12:28:04.215523-05:00","source_repo":"."} +{"id":"bd-1050","content_hash":"6ca93af0a1d137b1ca73d679afd27230cb5f1e42786d2df311cfe0a1c36a012a","title":"Agent 0 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.976721-07:00","updated_at":"2025-11-20T12:27:43.352816-05:00","closed_at":"2025-11-20T12:27:43.352816-05:00","source_repo":"."} +{"id":"bd-1051","content_hash":"de20335d7a9ee22f87f795f88708228e839436ed76ea65684b0eab8c6436612d","title":"Agent 0 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.977243-07:00","updated_at":"2025-11-20T12:28:04.216031-05:00","closed_at":"2025-11-20T12:28:04.216031-05:00","source_repo":"."} +{"id":"bd-1052","content_hash":"02e2442aeb468adcba748a9f8e680abd96899d738d95a4447c1599bb8b4a67d2","title":"Agent 0 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.977746-07:00","updated_at":"2025-11-20T12:27:43.352661-05:00","closed_at":"2025-11-20T12:27:43.352661-05:00","source_repo":"."} +{"id":"bd-1053","content_hash":"68352989f8abe0befc1af6ffec5cc40176632a943f355c8eed0e737f8b2ccb6e","title":"Agent 0 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.978288-07:00","updated_at":"2025-11-20T12:28:04.215836-05:00","closed_at":"2025-11-20T12:28:04.215836-05:00","source_repo":"."} +{"id":"bd-1054","content_hash":"601a2e452c410c1b1331db14319299a615dcd976f330e3551a7a7e2d4fe5cec3","title":"Agent 0 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.978933-07:00","updated_at":"2025-11-20T12:27:43.352506-05:00","closed_at":"2025-11-20T12:27:43.352506-05:00","source_repo":"."} +{"id":"bd-1055","content_hash":"c56ca1e242d214599b7bd226ab551c7ed89f81e440e8e39e98d0f97a013800a4","title":"Agent 0 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.97963-07:00","updated_at":"2025-11-20T12:28:04.21568-05:00","closed_at":"2025-11-20T12:28:04.21568-05:00","source_repo":"."} +{"id":"bd-1056","content_hash":"9fc6f60a4c8785959a10d781745b4d499d42066773de3b8aa8285e57259b1053","title":"Agent 0 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.980196-07:00","updated_at":"2025-11-20T12:27:43.352338-05:00","closed_at":"2025-11-20T12:27:43.352338-05:00","source_repo":"."} +{"id":"bd-1057","content_hash":"e8f63cb21d458ba76d9dfb2d10ecf788ccf89ddadf27f02d132bd281f56dcb00","title":"Agent 3 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947273-07:00","updated_at":"2025-11-20T12:28:04.220866-05:00","closed_at":"2025-11-20T12:28:04.220866-05:00","source_repo":"."} +{"id":"bd-1058","content_hash":"779ba474189d9b540e146e9a8fe510144882b52814d1b268b957cfb84618e6fe","title":"Agent 3 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.981378-07:00","updated_at":"2025-11-20T12:27:43.352176-05:00","closed_at":"2025-11-20T12:27:43.352176-05:00","source_repo":"."} +{"id":"bd-1059","content_hash":"58f51c54be564c32dfd460d819b1d9aa1c06ffb36d535de58d6cdfcf42e94481","title":"Agent 0 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.980807-07:00","updated_at":"2025-11-20T12:28:04.215523-05:00","closed_at":"2025-11-20T12:28:04.215523-05:00","source_repo":"."} {"id":"bd-106","content_hash":"49041047664a3b94d37f4c4f256cabab8df1ea7b7e3c9410fa6fe53bd760f74b","title":"Confusing version mismatch warnings with contradictory messages","description":"The version mismatch warning shows contradictory messages depending on which binary version is used:\n\nWhen using v0.9.10 binary with v0.9.9 database:\n'Your bd binary (v0.9.10) differs from the database version (v0.9.9)'\n'Your binary appears to be OUTDATED.'\n\nWhen using v0.9.9 binary with v0.9.10 database:\n'Your bd binary (v0.9.9) differs from the database version (v0.9.10)'\n'Your binary appears NEWER than the database.'\n\nThe first message is incorrect - v0.9.10 \u003e v0.9.9, so the binary is NEWER, not outdated.\n\nReproduction:\n1. Use ~/src/vc/adar/beads/bd (v0.9.10) with a v0.9.9 database\n2. Observe warning says binary is OUTDATED when it's actually newer\n\nExpected: Correct version comparison\nActual: Inverted comparison logic","design":"Fix version comparison in warning message generation. Should compare semantic versions correctly.","acceptance_criteria":"Warning correctly identifies which component (binary vs database) is newer/older","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-17T21:19:19.540274-07:00","updated_at":"2025-10-21T00:25:40.518687-07:00","closed_at":"2025-10-17T22:14:27.015397-07:00","source_repo":"."} -{"id":"bd-1060","content_hash":"a77ede76bc79fe52ffb5b345cab79f572e9f6a758b88f1dd7f611368d8a12166","title":"Agent 0 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.982512-07:00","updated_at":"2025-11-20T12:27:43.352015-05:00","closed_at":"2025-11-20T12:27:43.352015-05:00","source_repo":"."} -{"id":"bd-1061","content_hash":"e3033646f3c0982392928c6aec80a1d4adf9143cb40e16a873c1737ffea687df","title":"Agent 3 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.981979-07:00","updated_at":"2025-11-20T12:28:04.215366-05:00","closed_at":"2025-11-20T12:28:04.215366-05:00","source_repo":"."} -{"id":"bd-1062","content_hash":"df2781f5a841e518dd5e29ecd21e468ee1a3f68de5829e1cb89b059a052919d8","title":"Agent 3 Batch 1 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.983712-07:00","updated_at":"2025-11-20T12:27:43.351851-05:00","closed_at":"2025-11-20T12:27:43.351851-05:00","source_repo":"."} -{"id":"bd-1063","content_hash":"38084d13dc0389fa4e1b385bd92035d9b6b6a20b7fc51cc2d8368df48d964949","title":"Agent 3 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.984373-07:00","updated_at":"2025-11-20T12:28:04.21505-05:00","closed_at":"2025-11-20T12:28:04.21505-05:00","source_repo":"."} -{"id":"bd-1064","content_hash":"e6a2d6d2bc26439891416acdfeb53658441cf053ade17b3bbbe8b4a3e08846a3","title":"Agent 3 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.984965-07:00","updated_at":"2025-11-20T12:27:43.351677-05:00","closed_at":"2025-11-20T12:27:43.351677-05:00","source_repo":"."} -{"id":"bd-1065","content_hash":"4e640fcfc86d40e7b05456d2a84ac2a4e2e66b4feba9c5767cf039b98fe74425","title":"Agent 3 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.985593-07:00","updated_at":"2025-11-20T12:28:04.214896-05:00","closed_at":"2025-11-20T12:28:04.214896-05:00","source_repo":"."} -{"id":"bd-1066","content_hash":"c48478d6f788d7bc43344c4e8fe6b0e22c018363a2c22c2091161687bdb89271","title":"Agent 3 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.986144-07:00","updated_at":"2025-11-20T12:27:43.351477-05:00","closed_at":"2025-11-20T12:27:43.351477-05:00","source_repo":"."} -{"id":"bd-1067","content_hash":"43db2648d01feb94081cfa6918e728312d3f4ea3868dcd52c75daa27645c8f08","title":"Agent 3 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.986729-07:00","updated_at":"2025-11-20T12:28:04.214732-05:00","closed_at":"2025-11-20T12:28:04.214732-05:00","source_repo":"."} -{"id":"bd-1068","content_hash":"4ce9ece84ba646d5d2c2c45170502f6a6b1c3dcecfae6c5391ee259e5a49312c","title":"Agent 3 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.987275-07:00","updated_at":"2025-11-20T12:27:43.351211-05:00","closed_at":"2025-11-20T12:27:43.351211-05:00","source_repo":"."} -{"id":"bd-1069","content_hash":"8ffc28fe08af345597a87d4e01367a5b4aeea8dd5be82fd9f74d22bbfabaabf9","title":"Agent 3 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.987833-07:00","updated_at":"2025-11-20T12:28:04.214575-05:00","closed_at":"2025-11-20T12:28:04.214575-05:00","source_repo":"."} +{"id":"bd-1060","content_hash":"77519a39eb02bd5aadda296feb0c93f28789288ab98e6eb9839df013e6dd88f9","title":"Agent 0 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.982512-07:00","updated_at":"2025-11-20T12:27:43.352015-05:00","closed_at":"2025-11-20T12:27:43.352015-05:00","source_repo":"."} +{"id":"bd-1061","content_hash":"4fdb1d9fe3444a353b9d33f257c3c6e1286326d554049d201009433402159306","title":"Agent 3 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.981979-07:00","updated_at":"2025-11-20T12:28:04.215366-05:00","closed_at":"2025-11-20T12:28:04.215366-05:00","source_repo":"."} +{"id":"bd-1062","content_hash":"d58b75e5a7b1a32497fc141c0102d29d7955abbb4db9e2026b94b001576b15dc","title":"Agent 3 Batch 1 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.983712-07:00","updated_at":"2025-11-20T12:27:43.351851-05:00","closed_at":"2025-11-20T12:27:43.351851-05:00","source_repo":"."} +{"id":"bd-1063","content_hash":"1eca06045da70724684a56ae233fd1d534f201d54295487c95fb2ed69940039d","title":"Agent 3 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.984373-07:00","updated_at":"2025-11-20T12:28:04.21505-05:00","closed_at":"2025-11-20T12:28:04.21505-05:00","source_repo":"."} +{"id":"bd-1064","content_hash":"6772df8dbc0b65d35e1b4efddab520b79799543e801433349daa6fe7d172a143","title":"Agent 3 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.984965-07:00","updated_at":"2025-11-20T12:27:43.351677-05:00","closed_at":"2025-11-20T12:27:43.351677-05:00","source_repo":"."} +{"id":"bd-1065","content_hash":"769ec67ed5403ae8ca893698fd3c287bdb412afe8c3c86475d4108d51a3cd532","title":"Agent 3 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.985593-07:00","updated_at":"2025-11-20T12:28:04.214896-05:00","closed_at":"2025-11-20T12:28:04.214896-05:00","source_repo":"."} +{"id":"bd-1066","content_hash":"60926fbe7983a119b443487a753dbc5bb2a5963ecda20f002ee9a3726e0004b1","title":"Agent 3 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.986144-07:00","updated_at":"2025-11-20T12:27:43.351477-05:00","closed_at":"2025-11-20T12:27:43.351477-05:00","source_repo":"."} +{"id":"bd-1067","content_hash":"e6e9d9ffe1370a2ee037a4ae5470a31060af70478bddcf6dfc838f758d5b1f36","title":"Agent 3 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.986729-07:00","updated_at":"2025-11-20T12:28:04.214732-05:00","closed_at":"2025-11-20T12:28:04.214732-05:00","source_repo":"."} +{"id":"bd-1068","content_hash":"88adbea2d30fc356236a15ad4a1ea1863f01a193c50dc0f5393e22cded1515c5","title":"Agent 3 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.987275-07:00","updated_at":"2025-11-20T12:27:43.351211-05:00","closed_at":"2025-11-20T12:27:43.351211-05:00","source_repo":"."} +{"id":"bd-1069","content_hash":"9247ff3aa2d456aacf594638ce2dae1820e731b23fc2f90888d18d47a6bbc750","title":"Agent 3 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.987833-07:00","updated_at":"2025-11-20T12:28:04.214575-05:00","closed_at":"2025-11-20T12:28:04.214575-05:00","source_repo":"."} {"id":"bd-107","content_hash":"ae9cdf08bc86c93f964049f1a8b4640b005ccc253afcde1bf3e9a0f01330a854","title":"bd renumber removes issues with different prefix than majority","description":"The 'bd renumber' command appears to remove issues that have a different prefix than the majority of issues.\n\nReproduction:\n1. Database has 115 vc- issues and 2 bd- issues (bd-95, bd-96)\n2. Run: bd renumber --force\n3. Result: Only vc- issues remain, bd-95 and bd-96 are deleted\n\nExpected: All issues should be renumbered, regardless of prefix\nActual: Issues with minority prefix are removed\n\nEvidence:\n- Before renumber: 117 issues total (115 vc-, 2 bd-)\n- After renumber: 115 issues total (115 vc-, 0 bd-)\n- bd-95 was 'Fix compilation errors in mission orchestrator test' (closed)\n- bd-96 was 'Fix bool pointer literal errors' (in_progress)\n\nThis is data loss - active work (bd-96 was in_progress) was silently deleted.","design":"Renumber should handle mixed prefixes:\n1. Group issues by prefix\n2. Renumber each group independently\n3. Or: fail if multiple prefixes detected with helpful error\n4. Or: add --prefix flag to specify which prefix to renumber\n\nNever silently delete issues.","acceptance_criteria":"Renumber preserves all issues regardless of prefix, or fails with clear error message","notes":"Not a bug - mixed prefixes in one database is user error. Filed bd-110 for proper validation instead.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-17T21:43:07.800716-07:00","updated_at":"2025-10-21T00:25:40.5189-07:00","closed_at":"2025-10-17T21:46:26.813512-07:00","source_repo":"."} -{"id":"bd-1070","content_hash":"609f236ece5609670b3a3798fbeb443d4ee3dd186cb7f78e6608ef3472ea3c5b","title":"Agent 3 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.98839-07:00","updated_at":"2025-11-20T12:27:43.351028-05:00","closed_at":"2025-11-20T12:27:43.351028-05:00","source_repo":"."} -{"id":"bd-1071","content_hash":"7809f8d2e5c511609b7a595d3374a556e808610d5269183516cf2b5cace94f7a","title":"Agent 3 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.988942-07:00","updated_at":"2025-11-20T12:28:04.214418-05:00","closed_at":"2025-11-20T12:28:04.214418-05:00","source_repo":"."} -{"id":"bd-1072","content_hash":"afb546bd2598c0630fb4e1ca246c6361bfd6048d3de64cc44783809bb1390482","title":"Agent 3 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.989753-07:00","updated_at":"2025-11-20T12:27:43.350876-05:00","closed_at":"2025-11-20T12:27:43.350876-05:00","source_repo":"."} -{"id":"bd-1073","content_hash":"5b4e130cddae609296f6634c81ecdf743d876fff40ee13ca04d0b211957d1872","title":"Agent 3 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.990357-07:00","updated_at":"2025-11-20T12:28:04.214259-05:00","closed_at":"2025-11-20T12:28:04.214259-05:00","source_repo":"."} -{"id":"bd-1074","content_hash":"606c23643eb74255e1f92712d47b788f47b2356acf12bca97d41cbbd9d77e52b","title":"Agent 3 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.990877-07:00","updated_at":"2025-11-20T12:27:43.350723-05:00","closed_at":"2025-11-20T12:27:43.350723-05:00","source_repo":"."} -{"id":"bd-1075","content_hash":"d5fd86dbd0fc9d20c1fd597647ea2cb1873a60d6e61d274f91df8e0a110bda0f","title":"Agent 3 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.991431-07:00","updated_at":"2025-11-20T12:28:04.214097-05:00","closed_at":"2025-11-20T12:28:04.214097-05:00","source_repo":"."} -{"id":"bd-1076","content_hash":"3e70b3e84928c6dbf86eda667700affa76487a5c09361c98339f6fa14ad1036a","title":"Agent 3 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.991966-07:00","updated_at":"2025-11-20T12:27:43.350572-05:00","closed_at":"2025-11-20T12:27:43.350572-05:00","source_repo":"."} -{"id":"bd-1077","content_hash":"70ea2f9a48b5c13b551d9fda0e0996ad9440738384ce952a2639e1ef44644271","title":"Agent 3 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.992559-07:00","updated_at":"2025-11-20T12:28:04.213928-05:00","closed_at":"2025-11-20T12:28:04.213928-05:00","source_repo":"."} -{"id":"bd-1078","content_hash":"315bd4b14bc7fae4b8e97e15c93e327cd494edb169010408a4fd06336b81d91b","title":"Agent 3 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.993099-07:00","updated_at":"2025-11-20T12:27:43.350408-05:00","closed_at":"2025-11-20T12:27:43.350408-05:00","source_repo":"."} -{"id":"bd-1079","content_hash":"65eff842361a7cb3456ac3176ac125ed976787f1dce32fe1aac7fd9de2dea1dd","title":"Agent 3 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.993679-07:00","updated_at":"2025-11-20T12:28:04.213722-05:00","closed_at":"2025-11-20T12:28:04.213722-05:00","source_repo":"."} +{"id":"bd-1070","content_hash":"212ef538a2fe81dbe10134ce7234e87e7b18a7b085ecada78a8a2c4fa58672d8","title":"Agent 3 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.98839-07:00","updated_at":"2025-11-20T12:27:43.351028-05:00","closed_at":"2025-11-20T12:27:43.351028-05:00","source_repo":"."} +{"id":"bd-1071","content_hash":"9f720c12c70692745e221901042c7e19180dcc309dbf109b31f21fd5dce8ff60","title":"Agent 3 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.988942-07:00","updated_at":"2025-11-20T12:28:04.214418-05:00","closed_at":"2025-11-20T12:28:04.214418-05:00","source_repo":"."} +{"id":"bd-1072","content_hash":"fde854e1fd47555f7514ea5ac1737b23e81617a155737a540ce8766727b261e9","title":"Agent 3 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.989753-07:00","updated_at":"2025-11-20T12:27:43.350876-05:00","closed_at":"2025-11-20T12:27:43.350876-05:00","source_repo":"."} +{"id":"bd-1073","content_hash":"481cb91e46286587925f4b8ce32da81268984d490d6859552e82c52632b96061","title":"Agent 3 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.990357-07:00","updated_at":"2025-11-20T12:28:04.214259-05:00","closed_at":"2025-11-20T12:28:04.214259-05:00","source_repo":"."} +{"id":"bd-1074","content_hash":"918996a52a2917d64e8e7229d8c3a8027eed78dc2facc0ef223d35c05509eddc","title":"Agent 3 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.990877-07:00","updated_at":"2025-11-20T12:27:43.350723-05:00","closed_at":"2025-11-20T12:27:43.350723-05:00","source_repo":"."} +{"id":"bd-1075","content_hash":"c7702636f00d006f6970356482e4a293ec8f218150e8df6037ee3a2f69a95869","title":"Agent 3 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.991431-07:00","updated_at":"2025-11-20T12:28:04.214097-05:00","closed_at":"2025-11-20T12:28:04.214097-05:00","source_repo":"."} +{"id":"bd-1076","content_hash":"8861890a7c24b4c7b3f83435ca815568d3dc5c43250831b3547249c2eb72950d","title":"Agent 3 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.991966-07:00","updated_at":"2025-11-20T12:27:43.350572-05:00","closed_at":"2025-11-20T12:27:43.350572-05:00","source_repo":"."} +{"id":"bd-1077","content_hash":"fef78359b8ebe4d937cbacfa6d9bb0bfac80b3a20fae65e5a0bb9f4d948c367f","title":"Agent 3 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.992559-07:00","updated_at":"2025-11-20T12:28:04.213928-05:00","closed_at":"2025-11-20T12:28:04.213928-05:00","source_repo":"."} +{"id":"bd-1078","content_hash":"54b4efda0011b35fa0765a7976cea87802b2225dce3c6b7b2a48dfee830b8f4e","title":"Agent 3 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.993099-07:00","updated_at":"2025-11-20T12:27:43.350408-05:00","closed_at":"2025-11-20T12:27:43.350408-05:00","source_repo":"."} +{"id":"bd-1079","content_hash":"ae7abd8490acf2ddf7ca125b00079012ee49d2f2ad53bf35cd2efdeca743ed0e","title":"Agent 3 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.993679-07:00","updated_at":"2025-11-20T12:28:04.213722-05:00","closed_at":"2025-11-20T12:28:04.213722-05:00","source_repo":"."} {"id":"bd-108","content_hash":"5d348c7d9bc0a4d0bd844b1eed5d838a1fd19144ce549f30c95f7228a540e747","title":"Validate issue prefix matches database prefix on create","description":"Users can accidentally create issues with the wrong prefix (e.g., creating 'bd-95' in the vc tracker instead of the beads tracker).\n\nThis causes problems:\n- Issues appear in wrong project\n- Renumbering silently removes them (correct behavior, but surprising)\n- Confusion about which tracker owns the issue\n\nEvidence from vc project:\n- bd-95 and bd-96 were created in ~/src/vc/vc/.beads/vc.db (should use vc- prefix)\n- These were silently removed during renumbering (working as intended)\n- But user didn't realize they were in wrong database until too late\n\nRoot cause: User was in vc directory but created issues with bd- prefix, probably because they were beads-related fixes.","design":"Options:\n\n1. **Strict validation (recommended)**:\n - Detect database prefix from existing issues or .beads/*.db filename\n - Reject 'bd create' if prefix doesn't match\n - Error: 'This database uses prefix vc-, but you tried to create bd-X. Use --force to override.'\n\n2. **Auto-correct prefix**:\n - 'bd create' in vc database always uses vc- prefix regardless of what user intended\n - Warning: 'Auto-corrected prefix from bd- to vc-'\n\n3. **Multiple prefix support**:\n - Allow multiple prefixes per database\n - Group by prefix during renumbering\n - Complexity not worth it\n\nPrefer option 1 - fail fast with clear error.","acceptance_criteria":"Creating an issue with wrong prefix fails with helpful error message explaining the mismatch","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-17T21:46:27.204648-07:00","updated_at":"2025-10-21T00:25:40.51914-07:00","closed_at":"2025-10-20T16:02:31.889229-07:00","source_repo":"."} -{"id":"bd-1080","content_hash":"accc987871f549bda8efbebb3fb00d4fa9558c1f479213720c98ab4789c90ba5","title":"Agent 3 Batch 10 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.99419-07:00","updated_at":"2025-11-20T12:27:43.350258-05:00","closed_at":"2025-11-20T12:27:43.350258-05:00","source_repo":"."} -{"id":"bd-1081","content_hash":"a210f1f515c114bc47948e223cef02260f06f4b83e7fb1058a9af5ef0b9ffb86","title":"Agent 1 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.97363-07:00","updated_at":"2025-11-20T12:28:04.216574-05:00","closed_at":"2025-11-20T12:28:04.216574-05:00","source_repo":"."} -{"id":"bd-1082","content_hash":"a49bcc7c41442ed3fda356ac1cdc639aa8eecb3c0dff111a36b45bbff0bbcf98","title":"Agent 1 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.995302-07:00","updated_at":"2025-11-20T12:27:43.350105-05:00","closed_at":"2025-11-20T12:27:43.350105-05:00","source_repo":"."} -{"id":"bd-1083","content_hash":"3392214c4f6ba3d89fcb0bd12e8fba6550a68c31c0ce9c12104d4a88b658a6f0","title":"Agent 3 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.994767-07:00","updated_at":"2025-11-20T12:28:04.21351-05:00","closed_at":"2025-11-20T12:28:04.21351-05:00","source_repo":"."} -{"id":"bd-1084","content_hash":"c008a6de3100c4fb7e5c46251fcc81a349b6d59bea43e47271df60bc414f0f93","title":"Agent 3 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.996359-07:00","updated_at":"2025-11-20T12:27:43.349845-05:00","closed_at":"2025-11-20T12:27:43.349845-05:00","source_repo":"."} -{"id":"bd-1085","content_hash":"7a5b2213c0b25976cf7dfd0785dadef00c430a76d8fb2672a546c9aa26905dd4","title":"Agent 1 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.995869-07:00","updated_at":"2025-11-20T12:28:04.213319-05:00","closed_at":"2025-11-20T12:28:04.213319-05:00","source_repo":"."} -{"id":"bd-1086","content_hash":"d57eab54d4cbe71dda4888d4574bb19e8b26cd121564fc6558f6d77de6f10677","title":"Agent 1 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.997449-07:00","updated_at":"2025-11-20T12:27:43.34969-05:00","closed_at":"2025-11-20T12:27:43.34969-05:00","source_repo":"."} -{"id":"bd-1087","content_hash":"dac90e0f63f5a353a23d99b315aac308bd46e85eee8ab204b958ea94d191796e","title":"Agent 3 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.996933-07:00","updated_at":"2025-11-20T12:28:04.212945-05:00","closed_at":"2025-11-20T12:28:04.212945-05:00","source_repo":"."} -{"id":"bd-1088","content_hash":"be1d9a4aba457be4f91ad707d76fbe0aa64f9275202700876bc4935671159519","title":"Agent 3 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.998552-07:00","updated_at":"2025-11-20T12:27:43.349504-05:00","closed_at":"2025-11-20T12:27:43.349504-05:00","source_repo":"."} -{"id":"bd-1089","content_hash":"73d155a6d6feef453654e728445f596e70030543b9434bd762ba3ce68e4ed942","title":"Agent 1 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.998034-07:00","updated_at":"2025-11-20T12:28:04.2121-05:00","closed_at":"2025-11-20T12:28:04.2121-05:00","source_repo":"."} +{"id":"bd-1080","content_hash":"f4d851fe3035ebd58623359398dfe443209cf0cf0400b50064f69eb575687c9d","title":"Agent 3 Batch 10 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.99419-07:00","updated_at":"2025-11-20T12:27:43.350258-05:00","closed_at":"2025-11-20T12:27:43.350258-05:00","source_repo":"."} +{"id":"bd-1081","content_hash":"894bde719552cf94280a23213de68f8bc8ac646a7ffa9e3a779f9baff77d33ef","title":"Agent 1 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.97363-07:00","updated_at":"2025-11-20T12:28:04.216574-05:00","closed_at":"2025-11-20T12:28:04.216574-05:00","source_repo":"."} +{"id":"bd-1082","content_hash":"fb39b9d873d2cd49801105305cb3df3260e3d187717693186974195af4d15891","title":"Agent 1 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.995302-07:00","updated_at":"2025-11-20T12:27:43.350105-05:00","closed_at":"2025-11-20T12:27:43.350105-05:00","source_repo":"."} +{"id":"bd-1083","content_hash":"7482494e7b61e94a8003edaa1c8e1cf53d748a28466874e06c23d57f4d0e926f","title":"Agent 3 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.994767-07:00","updated_at":"2025-11-20T12:28:04.21351-05:00","closed_at":"2025-11-20T12:28:04.21351-05:00","source_repo":"."} +{"id":"bd-1084","content_hash":"0aadefd7a908964407e6d13cf0eb5f37bbea51238924bfc150050481db53fbcb","title":"Agent 3 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.996359-07:00","updated_at":"2025-11-20T12:27:43.349845-05:00","closed_at":"2025-11-20T12:27:43.349845-05:00","source_repo":"."} +{"id":"bd-1085","content_hash":"a7e7319421d9a46f5795c5b6a8a9e24ee76715e233e22e34900de961323cb147","title":"Agent 1 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.995869-07:00","updated_at":"2025-11-20T12:28:04.213319-05:00","closed_at":"2025-11-20T12:28:04.213319-05:00","source_repo":"."} +{"id":"bd-1086","content_hash":"b200787aeda6fbc9508d920b3d2cc75353db7221aa354a3a1a0a670a45f5eb92","title":"Agent 1 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.997449-07:00","updated_at":"2025-11-20T12:27:43.34969-05:00","closed_at":"2025-11-20T12:27:43.34969-05:00","source_repo":"."} +{"id":"bd-1087","content_hash":"3643c0e1f157a0dcfd86e5867b8205a6f7632ec8655d24c675354a3280161277","title":"Agent 3 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.996933-07:00","updated_at":"2025-11-20T12:28:04.212945-05:00","closed_at":"2025-11-20T12:28:04.212945-05:00","source_repo":"."} +{"id":"bd-1088","content_hash":"9f8db5f326bda4ddc0477ffa91c7a19a3c814691398271b16f7c752db40df181","title":"Agent 3 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.998552-07:00","updated_at":"2025-11-20T12:27:43.349504-05:00","closed_at":"2025-11-20T12:27:43.349504-05:00","source_repo":"."} +{"id":"bd-1089","content_hash":"2c77d7291d6a7a37911ec34be14b5800abbf800adc606bb605f3f2a01fc8ae91","title":"Agent 1 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.998034-07:00","updated_at":"2025-11-20T12:28:04.2121-05:00","closed_at":"2025-11-20T12:28:04.2121-05:00","source_repo":"."} {"id":"bd-109","content_hash":"50fa7d70c540e6622920c23921aa53d63d661d852f9436e05c5049410433d08c","title":"bd delete panics with nil pointer when daemon is running","description":"When the daemon is running (daemonClient != nil), the delete command panics with nil pointer dereference because it tries to use the global store variable which is nil.\n\nThe PersistentPreRun in main.go returns early when daemon is connected (line 104), skipping store initialization. But delete.go:92 calls store.GetIssue() without checking if store is nil or if it should use daemonClient instead.\n\nReproduction:\n1. Start daemon: bd daemon start\n2. Try to delete: bd delete bd-130 --force\n3. Panic: runtime error: invalid memory address or nil pointer dereference\n\nRoot cause: Missing daemon fallback pattern that other commands use (see ready.go:135-143)","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-17T22:06:03.968082-07:00","updated_at":"2025-10-21T00:25:40.519338-07:00","closed_at":"2025-10-17T22:06:08.606287-07:00","source_repo":"."} -{"id":"bd-1090","content_hash":"f49df0ac0e7734de92f6c3017ed1eb1d69374f4cddc68f0684d8c51aec42aad5","title":"Agent 1 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.999617-07:00","updated_at":"2025-11-20T12:27:43.349287-05:00","closed_at":"2025-11-20T12:27:43.349287-05:00","source_repo":"."} -{"id":"bd-1091","content_hash":"437347a8c1ef594f17a3430037222013b0dd02a9a23ba7a264b2ffcaaa540351","title":"Agent 3 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.999095-07:00","updated_at":"2025-11-20T12:27:59.022904-05:00","closed_at":"2025-11-20T12:27:59.022904-05:00","source_repo":"."} -{"id":"bd-1092","content_hash":"090c46a01870d53889a376a152435072a215e4ab978a1bc9c3195cb28ff3d260","title":"Agent 3 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.000772-07:00","updated_at":"2025-11-20T12:27:43.34911-05:00","closed_at":"2025-11-20T12:27:43.34911-05:00","source_repo":"."} -{"id":"bd-1093","content_hash":"88ef818a7ab1ee11432aebb0e7767f24cab7f350c40f05799329241c88b4d80f","title":"Agent 1 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.000196-07:00","updated_at":"2025-11-20T12:27:59.022725-05:00","closed_at":"2025-11-20T12:27:59.022725-05:00","source_repo":"."} -{"id":"bd-1094","content_hash":"6b83466ce7f7b7b2379942776d709f597d460f8e4d0e5d553d235bd840add746","title":"Agent 1 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.001974-07:00","updated_at":"2025-11-20T12:27:43.348901-05:00","closed_at":"2025-11-20T12:27:43.348901-05:00","source_repo":"."} -{"id":"bd-1095","content_hash":"648d30a66ec6ec93b956e2ab578631d1042f5a42995945c1f1857b69e9cf9dd8","title":"Agent 3 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.001408-07:00","updated_at":"2025-11-20T12:27:59.02254-05:00","closed_at":"2025-11-20T12:27:59.02254-05:00","source_repo":"."} -{"id":"bd-1096","content_hash":"8becd264589d57b61be3a60e0bc5827c417c6063a3ad31d2b52b060ea58a06c0","title":"Agent 3 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.003108-07:00","updated_at":"2025-11-20T12:27:43.348704-05:00","closed_at":"2025-11-20T12:27:43.348704-05:00","source_repo":"."} -{"id":"bd-1097","content_hash":"7724f951cab1771ccf1b77a4e6a7e95e813e23a2eac4e6ff8c5e23cfdc58cae2","title":"Agent 1 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.002558-07:00","updated_at":"2025-11-20T12:27:59.022391-05:00","closed_at":"2025-11-20T12:27:59.022391-05:00","source_repo":"."} -{"id":"bd-1098","content_hash":"a6c2a1aa593b134557f2559550fb7b197cd97f2c2aa29c22efab7900a6884d17","title":"Agent 1 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.004273-07:00","updated_at":"2025-11-20T12:27:43.348369-05:00","closed_at":"2025-11-20T12:27:43.348369-05:00","source_repo":"."} -{"id":"bd-1099","content_hash":"e23426870a9e7c09982a80213116b130f998da02fd9600ded63e745d5387103b","title":"Agent 3 Batch 15 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.00372-07:00","updated_at":"2025-11-20T12:27:59.022231-05:00","closed_at":"2025-11-20T12:27:59.022231-05:00","source_repo":"."} +{"id":"bd-1090","content_hash":"e6d673d1aa1b9bbacc57059f3b0764cf0ad5ce616a229500efd37b02112b80da","title":"Agent 1 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.999617-07:00","updated_at":"2025-11-20T12:27:43.349287-05:00","closed_at":"2025-11-20T12:27:43.349287-05:00","source_repo":"."} +{"id":"bd-1091","content_hash":"e999225adef7e804258897de747fe565c5b5f32e72d4ac4c386e135105aeef50","title":"Agent 3 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.999095-07:00","updated_at":"2025-11-20T12:27:59.022904-05:00","closed_at":"2025-11-20T12:27:59.022904-05:00","source_repo":"."} +{"id":"bd-1092","content_hash":"d9641e7393099e11523a730d83fc5248141742146d02aa5a6eb4932e2bbcd3f3","title":"Agent 3 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.000772-07:00","updated_at":"2025-11-20T12:27:43.34911-05:00","closed_at":"2025-11-20T12:27:43.34911-05:00","source_repo":"."} +{"id":"bd-1093","content_hash":"f2404403e5773823ad28af2d7f3e467b50bccf36733d2e41e178451c13fb79f5","title":"Agent 1 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.000196-07:00","updated_at":"2025-11-20T12:27:59.022725-05:00","closed_at":"2025-11-20T12:27:59.022725-05:00","source_repo":"."} +{"id":"bd-1094","content_hash":"dcf548a4af87f37a23dd649fec2af152de128fb07429153e8b45e8efa04758fc","title":"Agent 1 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.001974-07:00","updated_at":"2025-11-20T12:27:43.348901-05:00","closed_at":"2025-11-20T12:27:43.348901-05:00","source_repo":"."} +{"id":"bd-1095","content_hash":"a7ebcd2db2aa9049348e80357a8fb27259b274de5ee7d3f72b94b2b2e84b8240","title":"Agent 3 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.001408-07:00","updated_at":"2025-11-20T12:27:59.02254-05:00","closed_at":"2025-11-20T12:27:59.02254-05:00","source_repo":"."} +{"id":"bd-1096","content_hash":"299e0900095e1a860213a851b344d817db59d04e081660667fe58e349c0933c5","title":"Agent 3 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.003108-07:00","updated_at":"2025-11-20T12:27:43.348704-05:00","closed_at":"2025-11-20T12:27:43.348704-05:00","source_repo":"."} +{"id":"bd-1097","content_hash":"9d4744a76cc221d59b5365b1cb3d50fdeb79a27e723f08d31a07e852a1b7a244","title":"Agent 1 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.002558-07:00","updated_at":"2025-11-20T12:27:59.022391-05:00","closed_at":"2025-11-20T12:27:59.022391-05:00","source_repo":"."} +{"id":"bd-1098","content_hash":"a57cb00d294b4fbfa4bdf60c60f2c8a50901981c7fe0918d6a3bc545fcd67a0b","title":"Agent 1 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.004273-07:00","updated_at":"2025-11-20T12:27:43.348369-05:00","closed_at":"2025-11-20T12:27:43.348369-05:00","source_repo":"."} +{"id":"bd-1099","content_hash":"1366b01938a12fedd4f378d5640b0db5df807f0b50083a7767346430c906c0fd","title":"Agent 3 Batch 15 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.00372-07:00","updated_at":"2025-11-20T12:27:59.022231-05:00","closed_at":"2025-11-20T12:27:59.022231-05:00","source_repo":"."} {"id":"bd-11","content_hash":"6e230f95fed15054f50ad461da44dfa48fd6c532cd5d1bf1f776c3134b0bbedf","title":"Improve error handling in dependency removal during remapping","description":"In updateDependencyReferences(), RemoveDependency errors are caught and ignored with continue (line 392). Comment says 'if dependency doesn't exist' but this catches ALL errors including real failures. Should check error type with errors.Is(err, ErrDependencyNotFound) and only ignore not-found errors, returning other errors properly.","status":"closed","priority":3,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.519542-07:00","closed_at":"2025-10-18T09:41:18.209717-07:00","source_repo":"."} -{"id":"bd-110","content_hash":"5d348c7d9bc0a4d0bd844b1eed5d838a1fd19144ce549f30c95f7228a540e747","title":"Validate issue prefix matches database prefix on create","description":"Users can accidentally create issues with the wrong prefix (e.g., creating 'bd-95' in the vc tracker instead of the beads tracker).\n\nThis causes problems:\n- Issues appear in wrong project\n- Renumbering silently removes them (correct behavior, but surprising)\n- Confusion about which tracker owns the issue\n\nEvidence from vc project:\n- bd-95 and bd-96 were created in ~/src/vc/vc/.beads/vc.db (should use vc- prefix)\n- These were silently removed during renumbering (working as intended)\n- But user didn't realize they were in wrong database until too late\n\nRoot cause: User was in vc directory but created issues with bd- prefix, probably because they were beads-related fixes.","design":"Options:\n\n1. **Strict validation (recommended)**:\n - Detect database prefix from existing issues or .beads/*.db filename\n - Reject 'bd create' if prefix doesn't match\n - Error: 'This database uses prefix vc-, but you tried to create bd-X. Use --force to override.'\n\n2. **Auto-correct prefix**:\n - 'bd create' in vc database always uses vc- prefix regardless of what user intended\n - Warning: 'Auto-corrected prefix from bd- to vc-'\n\n3. **Multiple prefix support**:\n - Allow multiple prefixes per database\n - Group by prefix during renumbering\n - Complexity not worth it\n\nPrefer option 1 - fail fast with clear error.","acceptance_criteria":"Creating an issue with wrong prefix fails with helpful error message explaining the mismatch","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-17T22:19:33.942242-07:00","updated_at":"2025-10-21T00:25:40.519743-07:00","closed_at":"2025-10-17T22:20:06.795955-07:00","source_repo":"."} -{"id":"bd-1100","content_hash":"03e73cb792a3f88fe543162c5ebe958707f6c447691089cf2d7673a5fccc707c","title":"Agent 3 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.005382-07:00","updated_at":"2025-11-20T12:27:43.347703-05:00","closed_at":"2025-11-20T12:27:43.347703-05:00","source_repo":"."} -{"id":"bd-1101","content_hash":"518045850c9a88690e9fd0adb88a0961f2b67a34ded5a629f3f80f676cc6c863","title":"Agent 1 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.004838-07:00","updated_at":"2025-11-20T12:27:59.02208-05:00","closed_at":"2025-11-20T12:27:59.02208-05:00","source_repo":"."} -{"id":"bd-1102","content_hash":"0804e9b7bb22a2540d0fdce1d2c11eb4ff430f667ece2a12199c411d6c887174","title":"Agent 1 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.006478-07:00","updated_at":"2025-11-20T12:27:38.168948-05:00","closed_at":"2025-11-20T12:27:38.168948-05:00","source_repo":"."} -{"id":"bd-1103","content_hash":"56b62439e20e78fbeacfb1d4a08f7bf608273367551713d91c4621bc85250fda","title":"Agent 3 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.005956-07:00","updated_at":"2025-11-20T12:27:59.021926-05:00","closed_at":"2025-11-20T12:27:59.021926-05:00","source_repo":"."} -{"id":"bd-1104","content_hash":"c3e0a5739f2e968efa0b7b5630c47a5460589654883b4359a2e3f575c422427f","title":"Agent 3 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.007655-07:00","updated_at":"2025-11-20T12:27:38.168779-05:00","closed_at":"2025-11-20T12:27:38.168779-05:00","source_repo":"."} -{"id":"bd-1105","content_hash":"f4d16246e650767649bc6425c90a8468b20978404f3d9e9b723fb2bb2bd7347f","title":"Agent 1 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.007077-07:00","updated_at":"2025-11-20T12:27:59.021777-05:00","closed_at":"2025-11-20T12:27:59.021777-05:00","source_repo":"."} -{"id":"bd-1106","content_hash":"e98f9c793ab5562feda85e19a49f53f98c459490ff7e2faf1b7c286898484d36","title":"Agent 1 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.008732-07:00","updated_at":"2025-11-20T12:27:38.168632-05:00","closed_at":"2025-11-20T12:27:38.168632-05:00","source_repo":"."} -{"id":"bd-1107","content_hash":"5726f883699d48bf379e9f280d4e7d5e61441709805efa26c7dfa6ae65dcd479","title":"Agent 3 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.008228-07:00","updated_at":"2025-11-20T12:27:59.021595-05:00","closed_at":"2025-11-20T12:27:59.021595-05:00","source_repo":"."} -{"id":"bd-1108","content_hash":"3f8bb1471752c41e45f6e5b30b6e7dda4b05079f4c4ba8e8bfeb86ffa35fff05","title":"Agent 3 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.009835-07:00","updated_at":"2025-11-20T12:27:38.168484-05:00","closed_at":"2025-11-20T12:27:38.168484-05:00","source_repo":"."} -{"id":"bd-1109","content_hash":"60c83bc9458ab654fc5ed35f6e4253d40a950c684b79390ba6200fc398337cb3","title":"Agent 1 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.009312-07:00","updated_at":"2025-11-20T12:27:59.021447-05:00","closed_at":"2025-11-20T12:27:59.021447-05:00","source_repo":"."} +{"id":"bd-1100","content_hash":"f806874ff0face683c257eb2011b9c92647e917cf679d46c45bfac69a513f4e8","title":"Agent 3 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.005382-07:00","updated_at":"2025-11-20T12:27:43.347703-05:00","closed_at":"2025-11-20T12:27:43.347703-05:00","source_repo":"."} +{"id":"bd-1101","content_hash":"65eb7db23b7b3547a203534bc17f975e0571cddfb07e67a2f8a12fc98f1cf7b9","title":"Agent 1 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.004838-07:00","updated_at":"2025-11-20T12:27:59.02208-05:00","closed_at":"2025-11-20T12:27:59.02208-05:00","source_repo":"."} +{"id":"bd-1102","content_hash":"0eabec50b9409b81ac8ae3bbbe03f1f59a96764003d635d0e384aab240ffeb7c","title":"Agent 1 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.006478-07:00","updated_at":"2025-11-20T12:27:38.168948-05:00","closed_at":"2025-11-20T12:27:38.168948-05:00","source_repo":"."} +{"id":"bd-1103","content_hash":"b2367778abfac9f52e3b255906e8e16e4b14ec78df52b11039591bb7471c91e6","title":"Agent 3 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.005956-07:00","updated_at":"2025-11-20T12:27:59.021926-05:00","closed_at":"2025-11-20T12:27:59.021926-05:00","source_repo":"."} +{"id":"bd-1104","content_hash":"60028fe9f7d6ed25caf2a6f13f3f1c08ccca58ff7bd4a34cadf73c381a2bab22","title":"Agent 3 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.007655-07:00","updated_at":"2025-11-20T12:27:38.168779-05:00","closed_at":"2025-11-20T12:27:38.168779-05:00","source_repo":"."} +{"id":"bd-1105","content_hash":"1c165f60cab755e11da10d211f34d3a89f9d64457e322c6eeaecb95eeb8c0043","title":"Agent 1 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.007077-07:00","updated_at":"2025-11-20T12:27:59.021777-05:00","closed_at":"2025-11-20T12:27:59.021777-05:00","source_repo":"."} +{"id":"bd-1106","content_hash":"0d5e1e90a4f590f6d736fb393a9d2336ab231ab7b4d6ca28b19350a547f6b420","title":"Agent 1 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.008732-07:00","updated_at":"2025-11-20T12:27:38.168632-05:00","closed_at":"2025-11-20T12:27:38.168632-05:00","source_repo":"."} +{"id":"bd-1107","content_hash":"6547505ba59c1dfbdfc93293d1702d71abcaab3ac13caca5ee75f34edc1103eb","title":"Agent 3 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.008228-07:00","updated_at":"2025-11-20T12:27:59.021595-05:00","closed_at":"2025-11-20T12:27:59.021595-05:00","source_repo":"."} +{"id":"bd-1108","content_hash":"d92d111504e87ed8efab55dc9df611dafa34470122e6c851abfbf77fb2253202","title":"Agent 3 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.009835-07:00","updated_at":"2025-11-20T12:27:38.168484-05:00","closed_at":"2025-11-20T12:27:38.168484-05:00","source_repo":"."} +{"id":"bd-1109","content_hash":"b827e986d33df84f1b5bf637abda7d0cf04a13372baa3f21eb1972f9b66609db","title":"Agent 1 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.009312-07:00","updated_at":"2025-11-20T12:27:59.021447-05:00","closed_at":"2025-11-20T12:27:59.021447-05:00","source_repo":"."} {"id":"bd-111","content_hash":"32509b62dfbc774ddd2accb20020dc9912afed97a4309316beb6f854b3eeb158","title":"Daemon doesn't clean up stale socket on startup","description":"If daemon crashes, the socket file remains. Next startup fails with 'address already in use' even though no process is listening.\n\nFix: Before starting RPC server, check if socket exists and PID file shows dead process - remove stale socket.\n\nLines 520-532 in daemon.go create socket but don't clean up stale ones.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-17T22:58:02.137977-07:00","updated_at":"2025-10-21T00:25:40.519949-07:00","closed_at":"2025-10-17T23:01:31.094618-07:00","source_repo":"."} -{"id":"bd-1110","content_hash":"4a6460d450df90479d852d115b78498a5965547f598a262d88b58fb98041bb66","title":"Agent 1 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.010902-07:00","updated_at":"2025-11-20T12:27:38.168338-05:00","closed_at":"2025-11-20T12:27:38.168338-05:00","source_repo":"."} -{"id":"bd-1111","content_hash":"5ed4242cc2d79c42f6e3de0201c42c78b54049847affa1d61bbddb9ad1c14b50","title":"Agent 3 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.010391-07:00","updated_at":"2025-11-20T12:27:59.021301-05:00","closed_at":"2025-11-20T12:27:59.021301-05:00","source_repo":"."} -{"id":"bd-1112","content_hash":"f17eb00556e6068698d4c52b967255e609f7295723dec66d0310c9ef4ee96473","title":"Agent 3 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.012001-07:00","updated_at":"2025-11-20T12:27:38.168191-05:00","closed_at":"2025-11-20T12:27:38.168191-05:00","source_repo":"."} -{"id":"bd-1113","content_hash":"707b33b6293bfeb11c4972cc591556899d9dd2c499412e209922eaab7b131d66","title":"Agent 1 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.011463-07:00","updated_at":"2025-11-20T12:27:59.021153-05:00","closed_at":"2025-11-20T12:27:59.021153-05:00","source_repo":"."} -{"id":"bd-1114","content_hash":"f49372856de2383c13504b1af9b4446ddcfd53617eba2599e5cbe1138496262b","title":"Agent 1 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.013073-07:00","updated_at":"2025-11-20T12:27:38.168046-05:00","closed_at":"2025-11-20T12:27:38.168046-05:00","source_repo":"."} -{"id":"bd-1115","content_hash":"e59f7faf36a0c1160e5a08ddddaeceaa6057b6695547f2c084527b4c386ae9ff","title":"Agent 3 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.012556-07:00","updated_at":"2025-11-20T12:27:59.021001-05:00","closed_at":"2025-11-20T12:27:59.021001-05:00","source_repo":"."} -{"id":"bd-1116","content_hash":"e145aafe5ffe3fcb597ad78cf518a8f9510197a845e88e101df7d7586eab6c35","title":"Agent 3 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.014186-07:00","updated_at":"2025-11-20T12:27:38.167897-05:00","closed_at":"2025-11-20T12:27:38.167897-05:00","source_repo":"."} -{"id":"bd-1117","content_hash":"2bb5cbc6bddd6ea39e2c4f41b7656f9ef244d1b382b221e6ae391c336ddc0155","title":"Agent 1 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.01365-07:00","updated_at":"2025-11-20T12:27:59.020851-05:00","closed_at":"2025-11-20T12:27:59.020851-05:00","source_repo":"."} -{"id":"bd-1118","content_hash":"1953d90c5a10d47c4cd2b0e4e2f1e235f424737f9843048b785fcc6a0ddb5df2","title":"Agent 1 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.01529-07:00","updated_at":"2025-11-20T12:27:38.167745-05:00","closed_at":"2025-11-20T12:27:38.167745-05:00","source_repo":"."} -{"id":"bd-1119","content_hash":"f9299204e28b926ec951c36bf2e101769e4ba546893c149c59c6e1137b40e6d5","title":"Agent 3 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.014746-07:00","updated_at":"2025-11-20T12:27:59.020703-05:00","closed_at":"2025-11-20T12:27:59.020703-05:00","source_repo":"."} +{"id":"bd-1110","content_hash":"5fbf8607a6d7dcd7cc6ef5ae4d9843c5179a8e36639ded0948545977dbfa45ef","title":"Agent 1 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.010902-07:00","updated_at":"2025-11-20T12:27:38.168338-05:00","closed_at":"2025-11-20T12:27:38.168338-05:00","source_repo":"."} +{"id":"bd-1111","content_hash":"20721625c41e4cebc79866c67dc9fe8663415a1e648abe1bd7b4ac21b2d4045c","title":"Agent 3 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.010391-07:00","updated_at":"2025-11-20T12:27:59.021301-05:00","closed_at":"2025-11-20T12:27:59.021301-05:00","source_repo":"."} +{"id":"bd-1112","content_hash":"bbec2dc4407e1bc059317ed8883a9513e934e0bff7d8770057b8f43d53d10d97","title":"Agent 3 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.012001-07:00","updated_at":"2025-11-20T12:27:38.168191-05:00","closed_at":"2025-11-20T12:27:38.168191-05:00","source_repo":"."} +{"id":"bd-1113","content_hash":"acb3c309ea69183b49b5daf0b6d5e01f456fe5c625f538d2df1524b4fc8eb5f2","title":"Agent 1 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.011463-07:00","updated_at":"2025-11-20T12:27:59.021153-05:00","closed_at":"2025-11-20T12:27:59.021153-05:00","source_repo":"."} +{"id":"bd-1114","content_hash":"70ff7150391a9486c2baad3394436402f21be091f08482fe975c21182a68969e","title":"Agent 1 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.013073-07:00","updated_at":"2025-11-20T12:27:38.168046-05:00","closed_at":"2025-11-20T12:27:38.168046-05:00","source_repo":"."} +{"id":"bd-1115","content_hash":"84686a551d1223a866e34af11623469dec6287ba9f4cf4a8ec5ff4124c50b179","title":"Agent 3 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.012556-07:00","updated_at":"2025-11-20T12:27:59.021001-05:00","closed_at":"2025-11-20T12:27:59.021001-05:00","source_repo":"."} +{"id":"bd-1116","content_hash":"f7f11265ba63a7a829cd208c90bc1246b5f30e1c8a9f8ebca29fd5c6d3475971","title":"Agent 3 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.014186-07:00","updated_at":"2025-11-20T12:27:38.167897-05:00","closed_at":"2025-11-20T12:27:38.167897-05:00","source_repo":"."} +{"id":"bd-1117","content_hash":"ec24451ac2b290da60434118adea52cd4fb9fbd3b27b7414fd2756ea3b4764ba","title":"Agent 1 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.01365-07:00","updated_at":"2025-11-20T12:27:59.020851-05:00","closed_at":"2025-11-20T12:27:59.020851-05:00","source_repo":"."} +{"id":"bd-1118","content_hash":"17114e6a153663a199c94a5e8673f8b1c9f7bb162d777da4d4083adc0fd1a7fd","title":"Agent 1 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.01529-07:00","updated_at":"2025-11-20T12:27:38.167745-05:00","closed_at":"2025-11-20T12:27:38.167745-05:00","source_repo":"."} +{"id":"bd-1119","content_hash":"66be2964360fd776b8f1bfbd52b4721f3d0e4d5e64a5948d5e1b0db77c9aff41","title":"Agent 3 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.014746-07:00","updated_at":"2025-11-20T12:27:59.020703-05:00","closed_at":"2025-11-20T12:27:59.020703-05:00","source_repo":"."} {"id":"bd-112","content_hash":"858a05dbe19e3e51a1a645a18a98bb57b7e9b8580f626421c40524e5fc447498","title":"Global daemon should warn/reject --auto-commit and --auto-push","description":"When user runs 'bd daemon --global --auto-commit', it's unclear which repo the daemon will commit to (especially after fixing bd-99 where global daemon won't open a DB).\n\nOptions:\n1. Warn and ignore the flags in global mode\n2. Error out with clear message\n\nLine 87-91 already checks autoPush, but should skip check entirely for global mode. Add user-friendly messaging about flag incompatibility.","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-17T22:58:02.137987-07:00","updated_at":"2025-10-21T00:25:40.52016-07:00","closed_at":"2025-10-17T23:04:30.223432-07:00","source_repo":"."} -{"id":"bd-1120","content_hash":"a73025a0bd54dfb65ecd927f493fc5ecb44cedfb85fb5f3f86ba3fc8b5a66082","title":"Agent 3 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.016401-07:00","updated_at":"2025-11-20T12:27:38.167572-05:00","closed_at":"2025-11-20T12:27:38.167572-05:00","source_repo":"."} -{"id":"bd-1121","content_hash":"3be11367982ca379681e1ace1eb8dce5e1b470878a6d78f62b033ace5297988e","title":"Agent 1 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.015873-07:00","updated_at":"2025-11-20T12:27:59.02052-05:00","closed_at":"2025-11-20T12:27:59.02052-05:00","source_repo":"."} -{"id":"bd-1122","content_hash":"67798eedd97af039e8b6dd8e65377a411d63b512acd9d448675da01e11468924","title":"Agent 1 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.0175-07:00","updated_at":"2025-11-20T12:27:38.167427-05:00","closed_at":"2025-11-20T12:27:38.167427-05:00","source_repo":"."} -{"id":"bd-1123","content_hash":"746edc8c6ab4ccb89bc3ccb80680d25070d5dfe89deeaf8eecac87ad2fd0d496","title":"Agent 3 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.016974-07:00","updated_at":"2025-11-20T12:27:59.020364-05:00","closed_at":"2025-11-20T12:27:59.020364-05:00","source_repo":"."} -{"id":"bd-1124","content_hash":"ed2839ff06ae45afabbf36237fc6ded1bd31244432d003bebbb34a3c5182eee6","title":"Agent 3 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.018592-07:00","updated_at":"2025-11-20T12:27:38.16728-05:00","closed_at":"2025-11-20T12:27:38.16728-05:00","source_repo":"."} -{"id":"bd-1125","content_hash":"69f35941988fa90ededb24b39152d2d302a7390709fd1b2d2842201b41deb703","title":"Agent 1 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.018077-07:00","updated_at":"2025-11-20T12:27:59.020206-05:00","closed_at":"2025-11-20T12:27:59.020206-05:00","source_repo":"."} -{"id":"bd-1126","content_hash":"9d258747f468f76df6f4eac2a98d09d2117b2f461f2d70f5330f0453dcecf06f","title":"Agent 1 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.019683-07:00","updated_at":"2025-11-20T12:27:38.167134-05:00","closed_at":"2025-11-20T12:27:38.167134-05:00","source_repo":"."} -{"id":"bd-1127","content_hash":"b9d9b0742dbeef970130e90d2f37b580108d30cbd31cf868aa56243a634b50b6","title":"Agent 3 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.019139-07:00","updated_at":"2025-11-20T12:27:59.020048-05:00","closed_at":"2025-11-20T12:27:59.020048-05:00","source_repo":"."} -{"id":"bd-1128","content_hash":"511ed4a3fc32c609494f53f8e29f21c3a09ceab6d087e34cc778856b882e89ea","title":"Agent 3 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.020797-07:00","updated_at":"2025-11-20T12:27:38.166955-05:00","closed_at":"2025-11-20T12:27:38.166955-05:00","source_repo":"."} -{"id":"bd-1129","content_hash":"b8f2499e78bb15377a0734006b010a6c7678ded5ec1b10b9a29e2e51b471fad4","title":"Agent 1 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.020257-07:00","updated_at":"2025-11-20T12:27:59.019897-05:00","closed_at":"2025-11-20T12:27:59.019897-05:00","source_repo":"."} +{"id":"bd-1120","content_hash":"64e95070ce0cfaa3c537691880c4d3f7c12e32f92dac2fac71ecd323ebbec3a0","title":"Agent 3 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.016401-07:00","updated_at":"2025-11-20T12:27:38.167572-05:00","closed_at":"2025-11-20T12:27:38.167572-05:00","source_repo":"."} +{"id":"bd-1121","content_hash":"2dadf9e818f6d14aaca9ed3f5b0a8d96ffde4d36819598a0f1cbb87124cb39e0","title":"Agent 1 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.015873-07:00","updated_at":"2025-11-20T12:27:59.02052-05:00","closed_at":"2025-11-20T12:27:59.02052-05:00","source_repo":"."} +{"id":"bd-1122","content_hash":"4b4a7a7065b517a2ff6cae9293d764524f0267d11fe9b0e4c3cbaddcbf7dc900","title":"Agent 1 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.0175-07:00","updated_at":"2025-11-20T12:27:38.167427-05:00","closed_at":"2025-11-20T12:27:38.167427-05:00","source_repo":"."} +{"id":"bd-1123","content_hash":"09f06268bef5b1b462a13557a366339155cf9e86d87160d895155150606bb9f6","title":"Agent 3 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.016974-07:00","updated_at":"2025-11-20T12:27:59.020364-05:00","closed_at":"2025-11-20T12:27:59.020364-05:00","source_repo":"."} +{"id":"bd-1124","content_hash":"6703ca9aabf7f910c17346bb1d518275d2276a418688e218bb449a143a7615b9","title":"Agent 3 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.018592-07:00","updated_at":"2025-11-20T12:27:38.16728-05:00","closed_at":"2025-11-20T12:27:38.16728-05:00","source_repo":"."} +{"id":"bd-1125","content_hash":"4e6aa178ae068e6c20a92009a1589b0050edad200ba07f8a61940b8176265e12","title":"Agent 1 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.018077-07:00","updated_at":"2025-11-20T12:27:59.020206-05:00","closed_at":"2025-11-20T12:27:59.020206-05:00","source_repo":"."} +{"id":"bd-1126","content_hash":"e5fb474296999239787755bac5a28eff6f023be8253db04af6619fdb83983d9e","title":"Agent 1 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.019683-07:00","updated_at":"2025-11-20T12:27:38.167134-05:00","closed_at":"2025-11-20T12:27:38.167134-05:00","source_repo":"."} +{"id":"bd-1127","content_hash":"433c04b953f463cf1f75d52b8d02230d56ecac6228e0f1be33f1b03d2100dbe6","title":"Agent 3 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.019139-07:00","updated_at":"2025-11-20T12:27:59.020048-05:00","closed_at":"2025-11-20T12:27:59.020048-05:00","source_repo":"."} +{"id":"bd-1128","content_hash":"fe57c8ec5d4603faaa590cf25186b7fe9734d745be31ba187a391340f955c149","title":"Agent 3 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.020797-07:00","updated_at":"2025-11-20T12:27:38.166955-05:00","closed_at":"2025-11-20T12:27:38.166955-05:00","source_repo":"."} +{"id":"bd-1129","content_hash":"8f5ac4d85332c4dd2bfc7523fe1ff70f49c59a27902aa7a8414ae44f3e785be7","title":"Agent 1 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.020257-07:00","updated_at":"2025-11-20T12:27:59.019897-05:00","closed_at":"2025-11-20T12:27:59.019897-05:00","source_repo":"."} {"id":"bd-113","content_hash":"5d40ede2918fe1175cb5e3a951477d23e7c350e13f52b0e62224658af3fa492f","title":"Socket permissions should be 0600 for security","description":"Unix sockets should use 0600 permissions to prevent other users from connecting.\n\nCurrently:\n- Global .beads dir uses 0700 (good) \n- Local .beads dir uses 0700 (good)\n- But socket itself may inherit default perms\n\nVerify rpc.NewServer creates socket with 0600, or set umask/explicit perms.","status":"closed","priority":2,"issue_type":"chore","created_at":"2025-10-17T22:58:02.137989-07:00","updated_at":"2025-10-21T00:25:40.520343-07:00","closed_at":"2025-10-17T23:03:31.545735-07:00","source_repo":"."} -{"id":"bd-1130","content_hash":"4242c95bbdf9b60067e083c4d3c7fdc3d767b0ee89605173fc19389aa065fd0a","title":"Agent 1 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.021922-07:00","updated_at":"2025-11-20T12:27:38.166779-05:00","closed_at":"2025-11-20T12:27:38.166779-05:00","source_repo":"."} -{"id":"bd-1131","content_hash":"e34c9b458f871a99e7dd383678e02c330fcb885848de8101123321caf6940c1d","title":"Agent 3 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.021377-07:00","updated_at":"2025-11-20T12:27:59.019741-05:00","closed_at":"2025-11-20T12:27:59.019741-05:00","source_repo":"."} -{"id":"bd-1132","content_hash":"ffdcd39ec9c9334f4588905486d6176b8c9a9fc94e32cd311c0a8fd20dbbca06","title":"Agent 3 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.023036-07:00","updated_at":"2025-11-20T12:27:38.166571-05:00","closed_at":"2025-11-20T12:27:38.166571-05:00","source_repo":"."} -{"id":"bd-1133","content_hash":"281d0790d9d2790f4aa501623ab0d949afbcac865853fd1dfd25afc14a9f03d0","title":"Agent 1 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.022488-07:00","updated_at":"2025-11-20T12:27:59.019588-05:00","closed_at":"2025-11-20T12:27:59.019588-05:00","source_repo":"."} -{"id":"bd-1134","content_hash":"8249d1f3865cb5114eeb8d095695fcaf76899bd852ae2147dc127780340863b6","title":"Agent 1 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.024169-07:00","updated_at":"2025-11-20T12:27:38.1664-05:00","closed_at":"2025-11-20T12:27:38.1664-05:00","source_repo":"."} -{"id":"bd-1135","content_hash":"5b07072d122673d82524a337ac4e7db22cd9b75a8dcc33277c364656a088bac4","title":"Agent 3 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.023619-07:00","updated_at":"2025-11-20T12:27:59.019436-05:00","closed_at":"2025-11-20T12:27:59.019436-05:00","source_repo":"."} -{"id":"bd-1136","content_hash":"65f9e9fba02225cc797294120b1580bbcd07e8a178c0da7b8b94194d3e4922cf","title":"Agent 3 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.026074-07:00","updated_at":"2025-11-20T12:27:38.16625-05:00","closed_at":"2025-11-20T12:27:38.16625-05:00","source_repo":"."} -{"id":"bd-1137","content_hash":"947c42fef21b32c0caa916209f1d5c063dc45c95ba9be6b1546b9ba86ba811c2","title":"Agent 3 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.026821-07:00","updated_at":"2025-11-20T12:27:59.019131-05:00","closed_at":"2025-11-20T12:27:59.019131-05:00","source_repo":"."} -{"id":"bd-1138","content_hash":"5ec464fe73e6d1e5f45960b8f90206d7dca4e3fea5a0b3165d8c9d0840f6793d","title":"Agent 3 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.027405-07:00","updated_at":"2025-11-20T12:27:38.1661-05:00","closed_at":"2025-11-20T12:27:38.1661-05:00","source_repo":"."} -{"id":"bd-1139","content_hash":"9ae3ad911390bdee216e1c18d4ad151ec5e5a0801492c17e4c44455fd7313662","title":"Agent 3 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.02801-07:00","updated_at":"2025-11-20T12:27:59.018886-05:00","closed_at":"2025-11-20T12:27:59.018886-05:00","source_repo":"."} +{"id":"bd-1130","content_hash":"330b497af3a3c2fba69695a46cd819a63c60f3b127efd93fa0e9d7631b999f10","title":"Agent 1 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.021922-07:00","updated_at":"2025-11-20T12:27:38.166779-05:00","closed_at":"2025-11-20T12:27:38.166779-05:00","source_repo":"."} +{"id":"bd-1131","content_hash":"d0366fe0723c8477b126b9119fb77422136e66b03c279bcd8eea7fb250d31d4d","title":"Agent 3 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.021377-07:00","updated_at":"2025-11-20T12:27:59.019741-05:00","closed_at":"2025-11-20T12:27:59.019741-05:00","source_repo":"."} +{"id":"bd-1132","content_hash":"c2c3263f41a66b029e7b4f5d9100d6a1069f9c6c43e6582b3cc8cd256af0fc8d","title":"Agent 3 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.023036-07:00","updated_at":"2025-11-20T12:27:38.166571-05:00","closed_at":"2025-11-20T12:27:38.166571-05:00","source_repo":"."} +{"id":"bd-1133","content_hash":"a62ffa569e3c1eb4ac6e4ead025a7335ddd2dd4c4738dfb72718c24fac9874a4","title":"Agent 1 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.022488-07:00","updated_at":"2025-11-20T12:27:59.019588-05:00","closed_at":"2025-11-20T12:27:59.019588-05:00","source_repo":"."} +{"id":"bd-1134","content_hash":"cc36bcbf7f10ece7cff005156f9587e428b6363c6b5ebbb85f7ab4f70975362b","title":"Agent 1 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.024169-07:00","updated_at":"2025-11-20T12:27:38.1664-05:00","closed_at":"2025-11-20T12:27:38.1664-05:00","source_repo":"."} +{"id":"bd-1135","content_hash":"d65ef76add46b63a7342d221bba59d3775db36bcc73d3d4ebf4f9f22e4bbef23","title":"Agent 3 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.023619-07:00","updated_at":"2025-11-20T12:27:59.019436-05:00","closed_at":"2025-11-20T12:27:59.019436-05:00","source_repo":"."} +{"id":"bd-1136","content_hash":"36a90db1a64845db6165db75a7e62e44598986e1ec69cd4fbad2c61ba8452fdd","title":"Agent 3 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.026074-07:00","updated_at":"2025-11-20T12:27:38.16625-05:00","closed_at":"2025-11-20T12:27:38.16625-05:00","source_repo":"."} +{"id":"bd-1137","content_hash":"c895800be1d1cd555b8e5c1a1da1b4cb7bf7901c2e7a693bdbee68fb4e1ac9c2","title":"Agent 3 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.026821-07:00","updated_at":"2025-11-20T12:27:59.019131-05:00","closed_at":"2025-11-20T12:27:59.019131-05:00","source_repo":"."} +{"id":"bd-1138","content_hash":"022a680b13f58ac8c3307a800cbbf13ee54156dd64fc2fedde344e57021ab363","title":"Agent 3 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.027405-07:00","updated_at":"2025-11-20T12:27:38.1661-05:00","closed_at":"2025-11-20T12:27:38.1661-05:00","source_repo":"."} +{"id":"bd-1139","content_hash":"5dc8839a0942cc88d7097b20f1b48e602f774de4b12defa9018fd60d60af492e","title":"Agent 3 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.02801-07:00","updated_at":"2025-11-20T12:27:59.018886-05:00","closed_at":"2025-11-20T12:27:59.018886-05:00","source_repo":"."} {"id":"bd-114","content_hash":"98d5a7dfff4a290e3841753199836baa1d7587f8d9547b8ae6f4835673d27f04","title":"Global daemon still requires database and runs sync loop","description":"The --global flag skips git repo check (line 80) but runDaemonLoop still calls FindDatabasePath (line 500-507) and opens a store (line 512). It also runs the single-repo sync loop (lines 563-620).\n\nOracle correctly identified this violates the spec: 'Don't require being in a git repo when --global is used'.\n\nFix: Global mode should skip DB open and sync loop entirely. It should be a pure RPC router that uses per-request context (bd-92) to route to the correct repo's DB.\n\nImpact: Users can't run 'bd daemon --global' outside a repo, defeating the purpose.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-17T22:58:02.138008-07:00","updated_at":"2025-10-21T00:25:40.52053-07:00","closed_at":"2025-10-17T23:00:08.734632-07:00","source_repo":"."} -{"id":"bd-1140","content_hash":"df83e11107202d188a7b5334df17cd7b312a166915c992d2d7c536147993ff17","title":"Agent 3 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.028551-07:00","updated_at":"2025-11-20T12:27:38.165924-05:00","closed_at":"2025-11-20T12:27:38.165924-05:00","source_repo":"."} -{"id":"bd-1141","content_hash":"d8ad571a040cf3f32f65edf2e0184ab82c22ae9f769ed1bdfa203162ab984f17","title":"Agent 3 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.029101-07:00","updated_at":"2025-11-20T12:27:59.018735-05:00","closed_at":"2025-11-20T12:27:59.018735-05:00","source_repo":"."} -{"id":"bd-1142","content_hash":"30abeddcfa8273c5bd42336e5b43e53ed6644bd2526e69d9ac781c1b07b119d3","title":"Agent 3 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.029658-07:00","updated_at":"2025-11-20T12:27:38.165777-05:00","closed_at":"2025-11-20T12:27:38.165777-05:00","source_repo":"."} -{"id":"bd-1143","content_hash":"e714ace70ae389f8e78bc8daecc59b68543ce7a1a96afc215a17308a72273197","title":"Agent 3 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.030246-07:00","updated_at":"2025-11-20T12:27:59.018588-05:00","closed_at":"2025-11-20T12:27:59.018588-05:00","source_repo":"."} -{"id":"bd-1144","content_hash":"31fa95ad588c962259af293b205ca64ae44c39f9bbabb7a00795ab4cd75c0398","title":"Agent 3 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.030807-07:00","updated_at":"2025-11-20T12:27:38.165624-05:00","closed_at":"2025-11-20T12:27:38.165624-05:00","source_repo":"."} -{"id":"bd-1145","content_hash":"babbf5e4a619a63afabc69e7814db0855a9227b398d015915b31bb78eae1a5a7","title":"Agent 3 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.031347-07:00","updated_at":"2025-11-20T12:27:59.018437-05:00","closed_at":"2025-11-20T12:27:59.018437-05:00","source_repo":"."} -{"id":"bd-1146","content_hash":"c8873c7ccb1ebf15d5ff7c532346d0fe0b711df30da6adb2787629bb1e199d1b","title":"Agent 3 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.03187-07:00","updated_at":"2025-11-20T12:27:38.165441-05:00","closed_at":"2025-11-20T12:27:38.165441-05:00","source_repo":"."} -{"id":"bd-1147","content_hash":"dbe3cfbf570fca5aec5cbbb2641f858fb3df96095a51fb3b84178b00d3326d3e","title":"Agent 3 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.03244-07:00","updated_at":"2025-11-20T12:27:59.018281-05:00","closed_at":"2025-11-20T12:27:59.018281-05:00","source_repo":"."} -{"id":"bd-1148","content_hash":"d5b2dfc00a4871ada1572b40c5737b8bd665d5986068504243fa262de01d346b","title":"Agent 3 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.032958-07:00","updated_at":"2025-11-20T12:27:38.16529-05:00","closed_at":"2025-11-20T12:27:38.16529-05:00","source_repo":"."} -{"id":"bd-1149","content_hash":"810fa5c49f47e238cc7180ebf3e30d13478ea28a9d2a54e93bbb8acad623b7d3","title":"Agent 3 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.033521-07:00","updated_at":"2025-11-20T12:27:59.018128-05:00","closed_at":"2025-11-20T12:27:59.018128-05:00","source_repo":"."} +{"id":"bd-1140","content_hash":"064f0abf57f12dc27e943cab43c439e9a8b3a04f0be16aec3a02c9c1be6cd18c","title":"Agent 3 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.028551-07:00","updated_at":"2025-11-20T12:27:38.165924-05:00","closed_at":"2025-11-20T12:27:38.165924-05:00","source_repo":"."} +{"id":"bd-1141","content_hash":"d45a625a34156eca78dc4fa9365fe65053c63aaf1323e0a198b1873131d1b356","title":"Agent 3 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.029101-07:00","updated_at":"2025-11-20T12:27:59.018735-05:00","closed_at":"2025-11-20T12:27:59.018735-05:00","source_repo":"."} +{"id":"bd-1142","content_hash":"3925038cf822e52fd2f7558cc575665f743c98fe2fbec5c5ae94be433edb17d7","title":"Agent 3 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.029658-07:00","updated_at":"2025-11-20T12:27:38.165777-05:00","closed_at":"2025-11-20T12:27:38.165777-05:00","source_repo":"."} +{"id":"bd-1143","content_hash":"e476b7cfd2f9254b601f6f32e716e9838353fea9d90085ac27b1aa44cccefb10","title":"Agent 3 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.030246-07:00","updated_at":"2025-11-20T12:27:59.018588-05:00","closed_at":"2025-11-20T12:27:59.018588-05:00","source_repo":"."} +{"id":"bd-1144","content_hash":"c5f5dc0d1363357641111f38ae1ea8e3ec2238023732d692bf6a9f95f7dd9d18","title":"Agent 3 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.030807-07:00","updated_at":"2025-11-20T12:27:38.165624-05:00","closed_at":"2025-11-20T12:27:38.165624-05:00","source_repo":"."} +{"id":"bd-1145","content_hash":"9348519a3e6314b01f2d62f3363610686e24439e170469211d8b05c131dac796","title":"Agent 3 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.031347-07:00","updated_at":"2025-11-20T12:27:59.018437-05:00","closed_at":"2025-11-20T12:27:59.018437-05:00","source_repo":"."} +{"id":"bd-1146","content_hash":"b076ad99894f7a3881c1d4d53b12af95389fedabcf60fdef9cfb8cf2c2bd5f68","title":"Agent 3 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.03187-07:00","updated_at":"2025-11-20T12:27:38.165441-05:00","closed_at":"2025-11-20T12:27:38.165441-05:00","source_repo":"."} +{"id":"bd-1147","content_hash":"d8f7cffb34a4cfa4dfe4d9ad07b303c4a47ac85ab6bedd50b66a7422613b81e5","title":"Agent 3 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.03244-07:00","updated_at":"2025-11-20T12:27:59.018281-05:00","closed_at":"2025-11-20T12:27:59.018281-05:00","source_repo":"."} +{"id":"bd-1148","content_hash":"7f46799dc2df0656c0ec19f2f077b888a08c0e3aa94c5b149b76482ca63fdcfe","title":"Agent 3 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.032958-07:00","updated_at":"2025-11-20T12:27:38.16529-05:00","closed_at":"2025-11-20T12:27:38.16529-05:00","source_repo":"."} +{"id":"bd-1149","content_hash":"f3cc02661fb55a82e642458a631a80dce198fd3ff2c16eb8f2c27ba18c0df555","title":"Agent 3 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.033521-07:00","updated_at":"2025-11-20T12:27:59.018128-05:00","closed_at":"2025-11-20T12:27:59.018128-05:00","source_repo":"."} {"id":"bd-115","content_hash":"d5beebb358c34a5f19af9ed75939208fe9343f57adf81782536e218fa90ad69d","title":"Test A","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-17T23:06:59.59343-07:00","updated_at":"2025-10-21T00:25:40.520737-07:00","closed_at":"2025-10-17T23:06:59.740704-07:00","source_repo":"."} -{"id":"bd-1150","content_hash":"debc373371095924de97c2ea2b0ecfb7f980eac9c6b429bf1d144654f8f41892","title":"Agent 3 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.034064-07:00","updated_at":"2025-11-20T12:27:38.165144-05:00","closed_at":"2025-11-20T12:27:38.165144-05:00","source_repo":"."} -{"id":"bd-1151","content_hash":"918d32ab4db03d6906b908ff04c4eb9949764da6529988080bb534a76dd1f251","title":"Agent 3 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.034628-07:00","updated_at":"2025-11-20T12:27:59.017972-05:00","closed_at":"2025-11-20T12:27:59.017972-05:00","source_repo":"."} -{"id":"bd-1152","content_hash":"04d54e654e210dcbcc9b356fad1fa6e572e9208f567af7722223256a6766cf46","title":"Agent 3 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.035178-07:00","updated_at":"2025-11-20T12:27:38.164965-05:00","closed_at":"2025-11-20T12:27:38.164965-05:00","source_repo":"."} -{"id":"bd-1153","content_hash":"89e108a0ab9537920c834b78f1837cfa338aa843634ace04db919fbc545cfd48","title":"Agent 3 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.035741-07:00","updated_at":"2025-11-20T12:27:59.017816-05:00","closed_at":"2025-11-20T12:27:59.017816-05:00","source_repo":"."} -{"id":"bd-1154","content_hash":"6640bac41492ae70220a985aaceb95b4ae2478b1ad3767e8b5a76ea7c772fa32","title":"Agent 3 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.036297-07:00","updated_at":"2025-11-20T12:27:38.164819-05:00","closed_at":"2025-11-20T12:27:38.164819-05:00","source_repo":"."} -{"id":"bd-1155","content_hash":"64ecd1dd2b578126e1a0d8a150c1eb87f88759c981c7d6e2157f38a4133b0070","title":"Agent 3 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.036875-07:00","updated_at":"2025-11-20T12:27:59.017604-05:00","closed_at":"2025-11-20T12:27:59.017604-05:00","source_repo":"."} -{"id":"bd-1156","content_hash":"bc26433a2ea376817da9f210648c5d5a78c75e7ef35686638337c3a1530ab3f7","title":"Agent 3 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.037409-07:00","updated_at":"2025-11-20T12:27:38.164675-05:00","closed_at":"2025-11-20T12:27:38.164675-05:00","source_repo":"."} -{"id":"bd-1157","content_hash":"719196d210c85b726077cac1dc81756f558720fb6721a7b022167fdb6f86ae74","title":"Agent 3 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.037984-07:00","updated_at":"2025-11-20T12:27:59.017444-05:00","closed_at":"2025-11-20T12:27:59.017444-05:00","source_repo":"."} -{"id":"bd-1158","content_hash":"b9e11b8b4548a9a13990ca1d784fc78880e42db35f939b687d9aab35e8ebe8dc","title":"Agent 3 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.038514-07:00","updated_at":"2025-11-20T12:27:38.164476-05:00","closed_at":"2025-11-20T12:27:38.164476-05:00","source_repo":"."} -{"id":"bd-1159","content_hash":"22de5825456f8f6c183897b61248e58151e7ee34505cacf564436d5110c58d50","title":"Agent 3 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.039091-07:00","updated_at":"2025-11-20T12:27:59.01729-05:00","closed_at":"2025-11-20T12:27:59.01729-05:00","source_repo":"."} +{"id":"bd-1150","content_hash":"dd33b91ec884387abf50a52ce6cd7dbe605f946d8b3574b73d32865037cc6459","title":"Agent 3 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.034064-07:00","updated_at":"2025-11-20T12:27:38.165144-05:00","closed_at":"2025-11-20T12:27:38.165144-05:00","source_repo":"."} +{"id":"bd-1151","content_hash":"9abe1308e34f1dfa8e9ec466148e131410b15ecfce89043c2058720879641327","title":"Agent 3 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.034628-07:00","updated_at":"2025-11-20T12:27:59.017972-05:00","closed_at":"2025-11-20T12:27:59.017972-05:00","source_repo":"."} +{"id":"bd-1152","content_hash":"c5c8635c296c5ad230c2273b65dc53b9b5c2e2cc01ec988cdeb527a0d56f36e1","title":"Agent 3 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.035178-07:00","updated_at":"2025-11-20T12:27:38.164965-05:00","closed_at":"2025-11-20T12:27:38.164965-05:00","source_repo":"."} +{"id":"bd-1153","content_hash":"d635737e41f735f95b1021934aaed4393492ae6fcfa311b4a7a3cfeccbcaa235","title":"Agent 3 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.035741-07:00","updated_at":"2025-11-20T12:27:59.017816-05:00","closed_at":"2025-11-20T12:27:59.017816-05:00","source_repo":"."} +{"id":"bd-1154","content_hash":"cd50ccd5077c1fbad8532dcdf2353b8dd709058c2e2adbab5b8e6b1dcffb690c","title":"Agent 3 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.036297-07:00","updated_at":"2025-11-20T12:27:38.164819-05:00","closed_at":"2025-11-20T12:27:38.164819-05:00","source_repo":"."} +{"id":"bd-1155","content_hash":"5cb299b51ffb4298e0941aca70baccd75e6d32c63e3abebdc0fbaa4c92b83b23","title":"Agent 3 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.036875-07:00","updated_at":"2025-11-20T12:27:59.017604-05:00","closed_at":"2025-11-20T12:27:59.017604-05:00","source_repo":"."} +{"id":"bd-1156","content_hash":"ccd974de18b66885c492e3c61859c56aa31df8dabc2015998d39a2fe6897b519","title":"Agent 3 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.037409-07:00","updated_at":"2025-11-20T12:27:38.164675-05:00","closed_at":"2025-11-20T12:27:38.164675-05:00","source_repo":"."} +{"id":"bd-1157","content_hash":"6835f28ed190b94369fe9b7e367186dc5e30d245ea5f6b8d7da1e436169d9711","title":"Agent 3 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.037984-07:00","updated_at":"2025-11-20T12:27:59.017444-05:00","closed_at":"2025-11-20T12:27:59.017444-05:00","source_repo":"."} +{"id":"bd-1158","content_hash":"00641a892eb2a1f647d52c2fb1c4aa72c65c1dabe6ad01430b803fbc349cb495","title":"Agent 3 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.038514-07:00","updated_at":"2025-11-20T12:27:38.164476-05:00","closed_at":"2025-11-20T12:27:38.164476-05:00","source_repo":"."} +{"id":"bd-1159","content_hash":"41a75f330f2fdf85faf996c7c829b1c05fed3fe5dc60aca76f77b132a9b20cfd","title":"Agent 3 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.039091-07:00","updated_at":"2025-11-20T12:27:59.01729-05:00","closed_at":"2025-11-20T12:27:59.01729-05:00","source_repo":"."} {"id":"bd-116","content_hash":"19fab9a3ee082d4043272774e10d9e21e068d3c300a60a17d1d5f9b0550cf09c","title":"Test B","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-17T23:06:59.626612-07:00","updated_at":"2025-10-21T00:25:40.520915-07:00","closed_at":"2025-10-17T23:06:59.744519-07:00","source_repo":"."} -{"id":"bd-1160","content_hash":"a25367fa7f9fda393404eebd7349826952a82a34e5213e204fc894c813f04996","title":"Agent 3 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.039658-07:00","updated_at":"2025-11-20T12:27:38.164302-05:00","closed_at":"2025-11-20T12:27:38.164302-05:00","source_repo":"."} -{"id":"bd-1161","content_hash":"5c0876c0ab15e4b2104fa896d5d4e58cd0f1a9d483f9318dee9117d9dd3482a3","title":"Agent 3 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.040299-07:00","updated_at":"2025-11-20T12:27:59.017135-05:00","closed_at":"2025-11-20T12:27:59.017135-05:00","source_repo":"."} -{"id":"bd-1162","content_hash":"578a6cad3072b90c4472e7f976fbdf880ca3d7831850da0259fd67152104d5f3","title":"Agent 3 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.040896-07:00","updated_at":"2025-11-20T12:27:38.164124-05:00","closed_at":"2025-11-20T12:27:38.164124-05:00","source_repo":"."} -{"id":"bd-1163","content_hash":"6e4b4e274706f5dba8412ea156218eec474794864383bcd65118e8733d11f21b","title":"Agent 3 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.041543-07:00","updated_at":"2025-11-20T12:27:59.016953-05:00","closed_at":"2025-11-20T12:27:59.016953-05:00","source_repo":"."} -{"id":"bd-1164","content_hash":"9b1fc9e9d35949cc62192bdaa83558794039d646a42fb7c5e46b842b5e099820","title":"Agent 3 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.042095-07:00","updated_at":"2025-11-20T12:27:38.16395-05:00","closed_at":"2025-11-20T12:27:38.16395-05:00","source_repo":"."} -{"id":"bd-1165","content_hash":"2a7b05049d056f95dc0539d35ec2d85356594ab60072ce0cfffa844b23f39cdd","title":"Agent 3 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.042699-07:00","updated_at":"2025-11-20T12:27:59.016798-05:00","closed_at":"2025-11-20T12:27:59.016798-05:00","source_repo":"."} -{"id":"bd-1166","content_hash":"784dc189f0d598730cc8f7a290f2b5ead28ec4cdbf84c4bd62fa4dfb6445bdff","title":"Agent 3 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.043264-07:00","updated_at":"2025-11-20T12:27:38.163781-05:00","closed_at":"2025-11-20T12:27:38.163781-05:00","source_repo":"."} -{"id":"bd-1167","content_hash":"45d1e0b9591ee0347e5905dbde86001dbc7575e4044407b1efef030c8e93f882","title":"Agent 3 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.043828-07:00","updated_at":"2025-11-20T12:27:59.016602-05:00","closed_at":"2025-11-20T12:27:59.016602-05:00","source_repo":"."} -{"id":"bd-1168","content_hash":"2d38c79d66dbd9407150f35c843cc73e19607441d16df2296b63791d45e393aa","title":"Agent 3 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.044364-07:00","updated_at":"2025-11-20T12:27:38.163598-05:00","closed_at":"2025-11-20T12:27:38.163598-05:00","source_repo":"."} -{"id":"bd-1169","content_hash":"f09ae9e32a502c69bf1768e38fde8f3c52ed7baeae398f4ea008ccac441e3cb8","title":"Agent 3 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.044926-07:00","updated_at":"2025-11-20T12:27:59.016446-05:00","closed_at":"2025-11-20T12:27:59.016446-05:00","source_repo":"."} +{"id":"bd-1160","content_hash":"a60136a929ce33c7922273824f6c853d6aba2f4eddf005cd75b3819f9340f1f5","title":"Agent 3 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.039658-07:00","updated_at":"2025-11-20T12:27:38.164302-05:00","closed_at":"2025-11-20T12:27:38.164302-05:00","source_repo":"."} +{"id":"bd-1161","content_hash":"0864690c175d87634b52420a6587c408de654ffe10fd14bd50c638f575a2f12c","title":"Agent 3 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.040299-07:00","updated_at":"2025-11-20T12:27:59.017135-05:00","closed_at":"2025-11-20T12:27:59.017135-05:00","source_repo":"."} +{"id":"bd-1162","content_hash":"ddd8e5002385b85220ca65b08cbb1197097e1c75ac9bbfc6abc5bf28bc0cf715","title":"Agent 3 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.040896-07:00","updated_at":"2025-11-20T12:27:38.164124-05:00","closed_at":"2025-11-20T12:27:38.164124-05:00","source_repo":"."} +{"id":"bd-1163","content_hash":"c46a060aedae9c46ff350849b3f71c51723b59bac24180d34bf7e1669e717cd9","title":"Agent 3 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.041543-07:00","updated_at":"2025-11-20T12:27:59.016953-05:00","closed_at":"2025-11-20T12:27:59.016953-05:00","source_repo":"."} +{"id":"bd-1164","content_hash":"1766af1d308af64c86934f4bc8193f4ca4335307eeae1721ef3cc046428fc38a","title":"Agent 3 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.042095-07:00","updated_at":"2025-11-20T12:27:38.16395-05:00","closed_at":"2025-11-20T12:27:38.16395-05:00","source_repo":"."} +{"id":"bd-1165","content_hash":"2255c3954f77da415a5bc024daaf4bf8fcff40be689ec6e572637d4765948b12","title":"Agent 3 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.042699-07:00","updated_at":"2025-11-20T12:27:59.016798-05:00","closed_at":"2025-11-20T12:27:59.016798-05:00","source_repo":"."} +{"id":"bd-1166","content_hash":"41ed2251cba612244c47be1227aae7aad6fd99b8b111a5fb9c37404464e39295","title":"Agent 3 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.043264-07:00","updated_at":"2025-11-20T12:27:38.163781-05:00","closed_at":"2025-11-20T12:27:38.163781-05:00","source_repo":"."} +{"id":"bd-1167","content_hash":"d07850eea244a385c842e16ea54032cc50b9d80b4117189922618f7a430bbe08","title":"Agent 3 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.043828-07:00","updated_at":"2025-11-20T12:27:59.016602-05:00","closed_at":"2025-11-20T12:27:59.016602-05:00","source_repo":"."} +{"id":"bd-1168","content_hash":"60ff1d4af7622780a9eb19047b713d056d6dd7860d32d754215fb4d8d4c97bca","title":"Agent 3 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.044364-07:00","updated_at":"2025-11-20T12:27:38.163598-05:00","closed_at":"2025-11-20T12:27:38.163598-05:00","source_repo":"."} +{"id":"bd-1169","content_hash":"65e8a264deaf1a60817dcd0d470ca8306b54f7cf9a90ba0761f0f0fa31d02f89","title":"Agent 3 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.044926-07:00","updated_at":"2025-11-20T12:27:59.016446-05:00","closed_at":"2025-11-20T12:27:59.016446-05:00","source_repo":"."} {"id":"bd-117","content_hash":"cdd70d92da0c9d2c7b3bb9bf3d65fa71edb500462503e211de988edf44873ca4","title":"bd ready doesn't show epics/tasks ready to close when all children complete","description":"The 'bd ready' command doesn't show epics that have all children complete as ready work. Example: vc-30 (epic) blocks 4 children - 3 are closed, 1 is in_progress. The epic itself should be reviewable/closable but doesn't show in ready work. Similarly, vc-61 (epic, in_progress) depends on vc-48 (closed) but doesn't show as ready. Expected: epics with all dependencies satisfied should show as ready to review/close. Actual: 'bd ready' returns 'no ready work' even though multiple epics are completable.","acceptance_criteria":"bd ready shows epics/tasks that have all dependencies satisfied (even if status is in_progress), allowing user to review and close them","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-18T00:04:41.811991-07:00","updated_at":"2025-10-21T00:25:40.521114-07:00","closed_at":"2025-10-18T00:20:36.188211-07:00","source_repo":"."} -{"id":"bd-1170","content_hash":"d213773790aca5d6874504cbcb75d75b894dcb2343a3df398cddf89559dee4b9","title":"Agent 3 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.045464-07:00","updated_at":"2025-11-20T12:27:38.163373-05:00","closed_at":"2025-11-20T12:27:38.163373-05:00","source_repo":"."} -{"id":"bd-1171","content_hash":"4b2069f9042ab8f477ba229b419b5650e361cde9142a451f4243486781d58ede","title":"Agent 3 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.046012-07:00","updated_at":"2025-11-20T12:27:59.016285-05:00","closed_at":"2025-11-20T12:27:59.016285-05:00","source_repo":"."} -{"id":"bd-1172","content_hash":"f63fc0d0f1270c1ac20723ad0ce8cd8a27fd42fb38bfd3caad7dcdbc154fe2ed","title":"Agent 3 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.046583-07:00","updated_at":"2025-11-20T12:27:38.163225-05:00","closed_at":"2025-11-20T12:27:38.163225-05:00","source_repo":"."} -{"id":"bd-1173","content_hash":"37ed8ae36f8bfae2a4c6b301e3e1b55a23bafcf26fecee892791b37457db7e41","title":"Agent 3 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.047155-07:00","updated_at":"2025-11-20T12:27:59.016129-05:00","closed_at":"2025-11-20T12:27:59.016129-05:00","source_repo":"."} -{"id":"bd-1174","content_hash":"a16ac388116c52106011ddf376aa3358bce2bdf833a337e8c293a55f54dbef4e","title":"Agent 3 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.047698-07:00","updated_at":"2025-11-20T12:27:38.162967-05:00","closed_at":"2025-11-20T12:27:38.162967-05:00","source_repo":"."} -{"id":"bd-1175","content_hash":"4b3a68b8eda7f201ae8712dc65cbdf34287f9ad6600149128385df6a60ca3aae","title":"Agent 3 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.048265-07:00","updated_at":"2025-11-20T12:27:59.015915-05:00","closed_at":"2025-11-20T12:27:59.015915-05:00","source_repo":"."} -{"id":"bd-1176","content_hash":"e74fd4bddfe4c35b6aa1048c95e870f15be9aea4c6d024ee80553b79b1e26f85","title":"Agent 3 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.048833-07:00","updated_at":"2025-11-20T12:27:38.162821-05:00","closed_at":"2025-11-20T12:27:38.162821-05:00","source_repo":"."} -{"id":"bd-1177","content_hash":"7868387c4e8cd6cbe352348655b1937371854477f1c0c3e4696ec60a509540bc","title":"Agent 3 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.049401-07:00","updated_at":"2025-11-20T12:27:59.015761-05:00","closed_at":"2025-11-20T12:27:59.015761-05:00","source_repo":"."} -{"id":"bd-1178","content_hash":"aa95a0a01d139736d04ccd42cb94c0609721f1e669e5b125ba9f2838d6933410","title":"Agent 3 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.049984-07:00","updated_at":"2025-11-20T12:27:38.162647-05:00","closed_at":"2025-11-20T12:27:38.162647-05:00","source_repo":"."} -{"id":"bd-1179","content_hash":"eaa2f0c469ee245716e5b689e8dce6b30b05603d0795d96375ad9fd13a8e264d","title":"Agent 3 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.050549-07:00","updated_at":"2025-11-20T12:27:59.015603-05:00","closed_at":"2025-11-20T12:27:59.015603-05:00","source_repo":"."} +{"id":"bd-1170","content_hash":"9c0c07b2b3f63eb6778263342626a6723531dbc4786ce8a380ba316ec3e226c6","title":"Agent 3 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.045464-07:00","updated_at":"2025-11-20T12:27:38.163373-05:00","closed_at":"2025-11-20T12:27:38.163373-05:00","source_repo":"."} +{"id":"bd-1171","content_hash":"1bb7162c44736947b55bdda5393b74e122c30e8e02b5e6e864ca1c3b0704225a","title":"Agent 3 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.046012-07:00","updated_at":"2025-11-20T12:27:59.016285-05:00","closed_at":"2025-11-20T12:27:59.016285-05:00","source_repo":"."} +{"id":"bd-1172","content_hash":"fa086dfecf8c23e23a6dc58a7be238cefee34ffa6906e04a49fd57f36d660c04","title":"Agent 3 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.046583-07:00","updated_at":"2025-11-20T12:27:38.163225-05:00","closed_at":"2025-11-20T12:27:38.163225-05:00","source_repo":"."} +{"id":"bd-1173","content_hash":"7f1ea9449683484fb7b1559ce64c6039f7f48b0c628b98d11ce3dfecf28e06ca","title":"Agent 3 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.047155-07:00","updated_at":"2025-11-20T12:27:59.016129-05:00","closed_at":"2025-11-20T12:27:59.016129-05:00","source_repo":"."} +{"id":"bd-1174","content_hash":"2c19200bbb8c44ea762aeceeb992ecec3c377356fd838376b0243b4ac2c3371d","title":"Agent 3 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.047698-07:00","updated_at":"2025-11-20T12:27:38.162967-05:00","closed_at":"2025-11-20T12:27:38.162967-05:00","source_repo":"."} +{"id":"bd-1175","content_hash":"78065d302bd5efa6eccb1af53101b5527e8f90a9263972fa256b56ee7245e44c","title":"Agent 3 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.048265-07:00","updated_at":"2025-11-20T12:27:59.015915-05:00","closed_at":"2025-11-20T12:27:59.015915-05:00","source_repo":"."} +{"id":"bd-1176","content_hash":"15c31319290f16c816683535736f83ba10e0f191e9b9be9c794cf10298eecebb","title":"Agent 3 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.048833-07:00","updated_at":"2025-11-20T12:27:38.162821-05:00","closed_at":"2025-11-20T12:27:38.162821-05:00","source_repo":"."} +{"id":"bd-1177","content_hash":"a91c7813ca70eec0f6eb3ff7ac849c6d7334a408b72ffacf1576902325dd03e8","title":"Agent 3 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.049401-07:00","updated_at":"2025-11-20T12:27:59.015761-05:00","closed_at":"2025-11-20T12:27:59.015761-05:00","source_repo":"."} +{"id":"bd-1178","content_hash":"63187136c6dbfedee96ac2745589563ffa6f2f3761fb423825dd0b8fb5e00212","title":"Agent 3 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.049984-07:00","updated_at":"2025-11-20T12:27:38.162647-05:00","closed_at":"2025-11-20T12:27:38.162647-05:00","source_repo":"."} +{"id":"bd-1179","content_hash":"f22a829b74f6d394090f95e79fc2951ad1136f0b728db6c917d2165b5a94e7e9","title":"Agent 3 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.050549-07:00","updated_at":"2025-11-20T12:27:59.015603-05:00","closed_at":"2025-11-20T12:27:59.015603-05:00","source_repo":"."} {"id":"bd-118","content_hash":"68a929e73cbce98e40d2dca47f46464836e67797694aee8f4228e61725ce23ae","title":"CleanupStaleInstances() never called in production - orphaned claims accumulate","description":"The CleanupStaleInstances() method exists in storage layer but is never called in production code. This means dead executors leave orphaned claims that block work forever. Example: vc-106 claimed by executor that died 2 hours ago, still shows in_progress with execution_state record. Need to: 1) Add periodic cleanup to executor main loop (every 5 min?), 2) Make cleanup also release claimed issues (delete execution_state AND reset status to open), 3) Add comment explaining why released.","design":"Add background goroutine in executor that calls CleanupStaleInstances() every 5 minutes. When marking instance stopped, also query for all issues claimed by that instance and release them (delete execution_state, set status=open, add event comment).","acceptance_criteria":"Dead executors automatically release their claims within 5-10 minutes of going stale, issues return to open status and become available for re-execution","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-18T00:24:57.920072-07:00","updated_at":"2025-10-21T00:25:40.521325-07:00","closed_at":"2025-10-18T02:09:05.05969-07:00","source_repo":"."} -{"id":"bd-1180","content_hash":"ff3d90f6e3758071b7c45b9323ee1c8bc857f70afe5371d4496b5eefcad8e9a6","title":"Agent 3 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.051111-07:00","updated_at":"2025-11-20T12:27:38.162471-05:00","closed_at":"2025-11-20T12:27:38.162471-05:00","source_repo":"."} -{"id":"bd-1181","content_hash":"05baba668eb181d1731d87c26053dd993009ed18a4611e2e927483360203a7b7","title":"Agent 3 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.051672-07:00","updated_at":"2025-11-20T12:27:59.015443-05:00","closed_at":"2025-11-20T12:27:59.015443-05:00","source_repo":"."} -{"id":"bd-1182","content_hash":"b1bd296ae29bf5ada4d4b3b7dfb859f3913458f8978c6d857900a6f65732f947","title":"Agent 3 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.052234-07:00","updated_at":"2025-11-20T12:27:38.162316-05:00","closed_at":"2025-11-20T12:27:38.162316-05:00","source_repo":"."} -{"id":"bd-1183","content_hash":"2079a806239054e58aa7c2d8ae1deb889f52d6279c509d9887d4981e620c6db6","title":"Agent 3 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.052818-07:00","updated_at":"2025-11-20T12:27:59.015268-05:00","closed_at":"2025-11-20T12:27:59.015268-05:00","source_repo":"."} -{"id":"bd-1184","content_hash":"b0470de62580af6ec6329c45aa8793ef9b0c4090a93cd3d0c27a7ddf657b7ea6","title":"Agent 3 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.053383-07:00","updated_at":"2025-11-20T12:27:38.162169-05:00","closed_at":"2025-11-20T12:27:38.162169-05:00","source_repo":"."} -{"id":"bd-1185","content_hash":"3554e7bb574c6dfefe6ae2d078645742fadb2f4f024c59f1e8548b1d618e9b3a","title":"Agent 3 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.053999-07:00","updated_at":"2025-11-20T12:27:59.015069-05:00","closed_at":"2025-11-20T12:27:59.015069-05:00","source_repo":"."} -{"id":"bd-1186","content_hash":"18b93ecbf0a7c26774f6d3e7ecef02b4a3df745d25b115a4f63aa285b06829c5","title":"Agent 3 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.054573-07:00","updated_at":"2025-11-20T12:27:38.161996-05:00","closed_at":"2025-11-20T12:27:38.161996-05:00","source_repo":"."} -{"id":"bd-1187","content_hash":"994d2924de9868e79aea847cde7050d56a358b07a5084581783373354d07b5a6","title":"Agent 1 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.025327-07:00","updated_at":"2025-11-20T12:27:59.019282-05:00","closed_at":"2025-11-20T12:27:59.019282-05:00","source_repo":"."} -{"id":"bd-1188","content_hash":"70de457f2be99fb2a685162c6ca14775e205265f682c8f038f241679aafafae1","title":"Agent 1 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.055845-07:00","updated_at":"2025-11-20T12:27:38.161825-05:00","closed_at":"2025-11-20T12:27:38.161825-05:00","source_repo":"."} -{"id":"bd-1189","content_hash":"0edbe94694a529a1b53360d65bf84c687b703907cc9b45a7c5df6bd2431b6cfa","title":"Agent 1 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.056448-07:00","updated_at":"2025-11-20T12:27:59.014521-05:00","closed_at":"2025-11-20T12:27:59.014521-05:00","source_repo":"."} +{"id":"bd-1180","content_hash":"c90e358c3764a37bd3f9d5e5f3ea1a8a2b723b7ac781e773cfc1de026118c01a","title":"Agent 3 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.051111-07:00","updated_at":"2025-11-20T12:27:38.162471-05:00","closed_at":"2025-11-20T12:27:38.162471-05:00","source_repo":"."} +{"id":"bd-1181","content_hash":"106fef15a7a4e9a86bb68bc7173b1c54da4ffc6483200eca95fe54d29a177103","title":"Agent 3 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.051672-07:00","updated_at":"2025-11-20T12:27:59.015443-05:00","closed_at":"2025-11-20T12:27:59.015443-05:00","source_repo":"."} +{"id":"bd-1182","content_hash":"e5e43a495f28043a9adbc6e070179cbea2a4cb9c703bc9cbd94ad9953f588151","title":"Agent 3 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.052234-07:00","updated_at":"2025-11-20T12:27:38.162316-05:00","closed_at":"2025-11-20T12:27:38.162316-05:00","source_repo":"."} +{"id":"bd-1183","content_hash":"82328068b303ad87835e35a248d32ce9d8fe43f76c3499d7b897e0681088e068","title":"Agent 3 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.052818-07:00","updated_at":"2025-11-20T12:27:59.015268-05:00","closed_at":"2025-11-20T12:27:59.015268-05:00","source_repo":"."} +{"id":"bd-1184","content_hash":"b72a72b400bacb41bf162f5688d531bd7805b16a4cb7554b982f12ab9040f1bf","title":"Agent 3 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.053383-07:00","updated_at":"2025-11-20T12:27:38.162169-05:00","closed_at":"2025-11-20T12:27:38.162169-05:00","source_repo":"."} +{"id":"bd-1185","content_hash":"829c826b2238859343e91af3c7d2bf9145f089f8d2746ad72c84ffef528c08cd","title":"Agent 3 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.053999-07:00","updated_at":"2025-11-20T12:27:59.015069-05:00","closed_at":"2025-11-20T12:27:59.015069-05:00","source_repo":"."} +{"id":"bd-1186","content_hash":"ff6d0797e1ce7ab9780ae599384b29415aa975100692115954eed6cb1ea71bbe","title":"Agent 3 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.054573-07:00","updated_at":"2025-11-20T12:27:38.161996-05:00","closed_at":"2025-11-20T12:27:38.161996-05:00","source_repo":"."} +{"id":"bd-1187","content_hash":"377f9ba157191cd9bca638edf469d05049ee97142f2204e6b2c40779c0e09a83","title":"Agent 1 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.025327-07:00","updated_at":"2025-11-20T12:27:59.019282-05:00","closed_at":"2025-11-20T12:27:59.019282-05:00","source_repo":"."} +{"id":"bd-1188","content_hash":"ac0a330a393caa6c6f0c01d410d4ad6983f5ad93b336d080b6b5852ae7f7c416","title":"Agent 1 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.055845-07:00","updated_at":"2025-11-20T12:27:38.161825-05:00","closed_at":"2025-11-20T12:27:38.161825-05:00","source_repo":"."} +{"id":"bd-1189","content_hash":"27923361343446434a3a8f018edefa98d78e5c238fdb2c2790ab48ba9220ea2f","title":"Agent 1 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.056448-07:00","updated_at":"2025-11-20T12:27:59.014521-05:00","closed_at":"2025-11-20T12:27:59.014521-05:00","source_repo":"."} {"id":"bd-119","content_hash":"51ce81fb2e15e237d29d775b90b588ba72cafe7d49045cd9468d0e154e9b5315","title":"releaseIssueWithError() deletes execution_state but leaves status as in_progress","description":"When an executor hits an error and releases an issue via releaseIssueWithError(), it deletes the execution_state but leaves the issue status as in_progress. This means the issue drops out of ready work but has no active executor. Expected: releasing should reset status to open so the issue becomes available again. Current code in conversation.go just calls ReleaseIssue() which only deletes execution_state.","design":"Update releaseIssueWithError() to also update issue status back to open. Or create a new ReleaseAndReopen() method that does both atomically in a transaction.","acceptance_criteria":"Issues released due to errors automatically return to open status and show in bd ready","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-18T00:25:06.798843-07:00","updated_at":"2025-10-21T00:25:40.521543-07:00","closed_at":"2025-10-18T02:09:08.595764-07:00","source_repo":"."} -{"id":"bd-1190","content_hash":"9b6585c3df7f1d1cd4503d702febd6780d63e906a1268a8e4ea8035570c755b9","title":"Agent 1 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.057012-07:00","updated_at":"2025-11-20T12:27:38.161651-05:00","closed_at":"2025-11-20T12:27:38.161651-05:00","source_repo":"."} -{"id":"bd-1191","content_hash":"4c4d7eb5d40297a974d7c31525b65d5949fefe10281dee03e12abd03a9a63c10","title":"Agent 1 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.057595-07:00","updated_at":"2025-11-20T12:27:53.808938-05:00","closed_at":"2025-11-20T12:27:53.808938-05:00","source_repo":"."} -{"id":"bd-1192","content_hash":"d57cfba188c208ff698de29ead08d9316530549c909e1dda044e5d40717d1401","title":"Agent 1 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.058164-07:00","updated_at":"2025-11-20T12:27:38.161499-05:00","closed_at":"2025-11-20T12:27:38.161499-05:00","source_repo":"."} -{"id":"bd-1193","content_hash":"53267a5538f706889c19c5bfd02117e8c37f4ac37d326e2d70b6d05534d1d5ba","title":"Agent 1 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.058757-07:00","updated_at":"2025-11-20T12:27:53.808786-05:00","closed_at":"2025-11-20T12:27:53.808786-05:00","source_repo":"."} -{"id":"bd-1194","content_hash":"cde8e07e086b6877732f5ef276a2e9fe00594baac19ac1be129f92dacc41e3a5","title":"Agent 1 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.059339-07:00","updated_at":"2025-11-20T12:27:38.161338-05:00","closed_at":"2025-11-20T12:27:38.161338-05:00","source_repo":"."} -{"id":"bd-1195","content_hash":"1c75b43764e421bd5ba66e43db9bdb5c49dc9c7debac703903d5e0c650a014a3","title":"Agent 1 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.059921-07:00","updated_at":"2025-11-20T12:27:53.808631-05:00","closed_at":"2025-11-20T12:27:53.808631-05:00","source_repo":"."} -{"id":"bd-1196","content_hash":"96df85f4d6bf48acd3c91c146e301beee1218b6b811a1862847acb277d248319","title":"Agent 1 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.060469-07:00","updated_at":"2025-11-20T12:27:38.161182-05:00","closed_at":"2025-11-20T12:27:38.161182-05:00","source_repo":"."} -{"id":"bd-1197","content_hash":"de6a61b4bb052ffbae71825f480187ac31df8204f1d09c0f7f6ae72bc213df52","title":"Agent 1 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.061107-07:00","updated_at":"2025-11-20T12:27:53.808482-05:00","closed_at":"2025-11-20T12:27:53.808482-05:00","source_repo":"."} -{"id":"bd-1198","content_hash":"06851503b01428023a872e2e7b68f92440d373f8a5ef2bad1d8410473fdc833e","title":"Agent 1 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.061653-07:00","updated_at":"2025-11-20T12:27:38.160972-05:00","closed_at":"2025-11-20T12:27:38.160972-05:00","source_repo":"."} -{"id":"bd-1199","content_hash":"84462da6c9dd4ed411638bbcfc8ac21a96c560cd966c83cad07a8ba93e75e1f0","title":"Agent 1 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.062252-07:00","updated_at":"2025-11-20T12:27:53.808329-05:00","closed_at":"2025-11-20T12:27:53.808329-05:00","source_repo":"."} +{"id":"bd-1190","content_hash":"b0ac6fa2ebb98e9902ff892e693af76d918fcb5b714a2a8d381b83cebb1d9584","title":"Agent 1 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.057012-07:00","updated_at":"2025-11-20T12:27:38.161651-05:00","closed_at":"2025-11-20T12:27:38.161651-05:00","source_repo":"."} +{"id":"bd-1191","content_hash":"084a98e37a5c8408e55d4e06b2bd6f6f4114401ece4429616fdbac682b20f485","title":"Agent 1 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.057595-07:00","updated_at":"2025-11-20T12:27:53.808938-05:00","closed_at":"2025-11-20T12:27:53.808938-05:00","source_repo":"."} +{"id":"bd-1192","content_hash":"00d985f97b1e7c7e2b207c68ed1fa3a90e486e80eed319974450944f037fcb9e","title":"Agent 1 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.058164-07:00","updated_at":"2025-11-20T12:27:38.161499-05:00","closed_at":"2025-11-20T12:27:38.161499-05:00","source_repo":"."} +{"id":"bd-1193","content_hash":"e183c94f137e2cd0deb15685d900d63003993593f63daa6b4faf6eb6443bc888","title":"Agent 1 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.058757-07:00","updated_at":"2025-11-20T12:27:53.808786-05:00","closed_at":"2025-11-20T12:27:53.808786-05:00","source_repo":"."} +{"id":"bd-1194","content_hash":"39d9ffbb52c5dfadf1e33567121dd39acdcb4fce4aaab32954aeda06c2425c61","title":"Agent 1 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.059339-07:00","updated_at":"2025-11-20T12:27:38.161338-05:00","closed_at":"2025-11-20T12:27:38.161338-05:00","source_repo":"."} +{"id":"bd-1195","content_hash":"971d0d976670fb6b6953a48a8efaf340f82d643b13bfcfc1bbaca651e867bd7f","title":"Agent 1 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.059921-07:00","updated_at":"2025-11-20T12:27:53.808631-05:00","closed_at":"2025-11-20T12:27:53.808631-05:00","source_repo":"."} +{"id":"bd-1196","content_hash":"9cadec7fe97ccbb35f53091c7485f86214d5ca8c4a0d3239e170748c007d5ee5","title":"Agent 1 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.060469-07:00","updated_at":"2025-11-20T12:27:38.161182-05:00","closed_at":"2025-11-20T12:27:38.161182-05:00","source_repo":"."} +{"id":"bd-1197","content_hash":"26437a15e6add681401711f0c406249edbd7dc05400c64aab3db56442872ea3a","title":"Agent 1 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.061107-07:00","updated_at":"2025-11-20T12:27:53.808482-05:00","closed_at":"2025-11-20T12:27:53.808482-05:00","source_repo":"."} +{"id":"bd-1198","content_hash":"69b5878c4e22023ebfe9ebe377a1dd101ecf5519ad569d896eb1252932d560de","title":"Agent 1 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.061653-07:00","updated_at":"2025-11-20T12:27:38.160972-05:00","closed_at":"2025-11-20T12:27:38.160972-05:00","source_repo":"."} +{"id":"bd-1199","content_hash":"db48cabe2e08757b41b4e9dd6d53ca270c8c34eb52de9a85cac2583d99e7b51b","title":"Agent 1 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.062252-07:00","updated_at":"2025-11-20T12:27:53.808329-05:00","closed_at":"2025-11-20T12:27:53.808329-05:00","source_repo":"."} {"id":"bd-11e0","content_hash":"2f0b0a8d0f918cf665e378a1c817c591fc5efc284b65034e73b58b65d58d5674","title":"Database import silently fails when daemon version != CLI version","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-31T21:08:09.096749-07:00","updated_at":"2025-11-01T19:29:35.267817-07:00","closed_at":"2025-11-01T19:29:35.267817-07:00","source_repo":"."} {"id":"bd-12","content_hash":"6889b57b4dc2e5209432b983498c3777fc8f28bc09dcdec02adeff35ae001002","title":"Use safer placeholder pattern in replaceIDReferences","description":"Currently uses bd-313 which could theoretically collide with user text. Use a truly unique placeholder like null bytes: \\x00REMAP\\x00_0_\\x00 which are unlikely to appear in normal text. Located in collision.go:324. Very low probability issue but worth fixing for completeness.","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.521752-07:00","closed_at":"2025-10-18T09:43:18.250156-07:00","source_repo":"."} {"id":"bd-120","content_hash":"05c11765dabd7e8e9ee7e0d67f7aaa0f2bd0b309423d780e86f79ee39b08f42a","title":"Add 'bd stale' command to show orphaned claims and dead executors","description":"Need visibility into orphaned claims - issues stuck in_progress with execution_state but executor is dead/stopped. Add command to show: 1) All issues with execution_state where executor status=stopped or last_heartbeat \u003e threshold, 2) Executor instance details (when died, how long claimed), 3) Option to auto-release them. Makes manual recovery easier until auto-cleanup (bd-118) is implemented.","design":"Query: SELECT i.*, ei.status, ei.last_heartbeat FROM issues i JOIN issue_execution_state ies ON i.id = ies.issue_id JOIN executor_instances ei ON ies.executor_instance_id = ei.instance_id WHERE ei.status='stopped' OR ei.last_heartbeat \u003c NOW() - threshold. Add --release flag to auto-release all found issues.","acceptance_criteria":"bd stale shows orphaned claims, bd stale --release cleans them up","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-18T00:25:16.530937-07:00","updated_at":"2025-10-21T00:25:40.52193-07:00","closed_at":"2025-10-18T02:09:12.529064-07:00","source_repo":"."} -{"id":"bd-1200","content_hash":"45d631d4e4891bd5e1143a1054a71f2c714e443a9e93080a7d0c8c35f9902604","title":"Agent 1 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.06282-07:00","updated_at":"2025-11-20T12:27:38.160378-05:00","closed_at":"2025-11-20T12:27:38.160378-05:00","source_repo":"."} -{"id":"bd-1201","content_hash":"ab5f98822cf9ad14af7c04fddbfb4eba7aebcabe0c239609f7c52a2181864c9d","title":"Agent 1 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.063722-07:00","updated_at":"2025-11-20T12:27:53.80818-05:00","closed_at":"2025-11-20T12:27:53.80818-05:00","source_repo":"."} -{"id":"bd-1202","content_hash":"1e771ed4b4e4cf9e4865b268b9165071a7e08c297fe73aab333c0a816fa6348f","title":"Agent 1 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.064349-07:00","updated_at":"2025-11-20T12:27:32.968033-05:00","closed_at":"2025-11-20T12:27:32.968033-05:00","source_repo":"."} -{"id":"bd-1203","content_hash":"6f8bafb95aa5b9487d176bb469dbc51b8ff4977cb9e4dc6326c06b08c724b076","title":"Agent 1 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.064979-07:00","updated_at":"2025-11-20T12:27:53.808032-05:00","closed_at":"2025-11-20T12:27:53.808032-05:00","source_repo":"."} -{"id":"bd-1204","content_hash":"39af4a8ddbcfbae3fe3edb2e288e808debd7670ebc7ccf9f916031396adfa5d4","title":"Agent 1 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.065589-07:00","updated_at":"2025-11-20T12:27:32.967813-05:00","closed_at":"2025-11-20T12:27:32.967813-05:00","source_repo":"."} -{"id":"bd-1205","content_hash":"4fa097ebf5f819eec67a63af901d099b7aaba6f041ddcb4dee02dfe48788a2e0","title":"Agent 1 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.066209-07:00","updated_at":"2025-11-20T12:27:53.807881-05:00","closed_at":"2025-11-20T12:27:53.807881-05:00","source_repo":"."} -{"id":"bd-1206","content_hash":"a09258673ba43c7ad031d9872ab53ecced7ca3a44048e03815203977abec6eae","title":"Agent 1 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.066788-07:00","updated_at":"2025-11-20T12:27:32.967601-05:00","closed_at":"2025-11-20T12:27:32.967601-05:00","source_repo":"."} -{"id":"bd-1207","content_hash":"4e0078126583b6ff3d819d4fac4518f9b229b471c646f65f3038261dc2349227","title":"Agent 1 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.067378-07:00","updated_at":"2025-11-20T12:27:53.80773-05:00","closed_at":"2025-11-20T12:27:53.80773-05:00","source_repo":"."} -{"id":"bd-1208","content_hash":"d8530832719f6da149b6b767df12041baf1d3596a8e64c99511b4c65beca5942","title":"Agent 1 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.067942-07:00","updated_at":"2025-11-20T12:27:32.967398-05:00","closed_at":"2025-11-20T12:27:32.967398-05:00","source_repo":"."} -{"id":"bd-1209","content_hash":"7c8977bf83ae22d3533202532c8a6faa39a8d1dc0cba3dacc3e4cd271dc83e50","title":"Agent 1 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.068555-07:00","updated_at":"2025-11-20T12:27:53.807572-05:00","closed_at":"2025-11-20T12:27:53.807572-05:00","source_repo":"."} +{"id":"bd-1200","content_hash":"d293fb55154be5bca035f5b782a8030adcf1bdc4dfe2c468c0117732f52ffa68","title":"Agent 1 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.06282-07:00","updated_at":"2025-11-20T12:27:38.160378-05:00","closed_at":"2025-11-20T12:27:38.160378-05:00","source_repo":"."} +{"id":"bd-1201","content_hash":"36ced3f909503687b0fdc3d30f1e0ed6dd687ac1a1f0bbd1564b839b5e347d51","title":"Agent 1 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.063722-07:00","updated_at":"2025-11-20T12:27:53.80818-05:00","closed_at":"2025-11-20T12:27:53.80818-05:00","source_repo":"."} +{"id":"bd-1202","content_hash":"a089b4d95f292d3eec0bb8d1c35b4b1b3663cfef1cc19305320a879b7ecd07ed","title":"Agent 1 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.064349-07:00","updated_at":"2025-11-20T12:27:32.968033-05:00","closed_at":"2025-11-20T12:27:32.968033-05:00","source_repo":"."} +{"id":"bd-1203","content_hash":"eb35395c1304e60037a6d1be534a0c1700540434cc7cb493c691cd8ec6265fd9","title":"Agent 1 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.064979-07:00","updated_at":"2025-11-20T12:27:53.808032-05:00","closed_at":"2025-11-20T12:27:53.808032-05:00","source_repo":"."} +{"id":"bd-1204","content_hash":"9e2e6085f8ed3f6f471ae9086e106c22a30e2b42da608142a0c3cb24a29c9526","title":"Agent 1 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.065589-07:00","updated_at":"2025-11-20T12:27:32.967813-05:00","closed_at":"2025-11-20T12:27:32.967813-05:00","source_repo":"."} +{"id":"bd-1205","content_hash":"8ca449f535284a6ecc77eb58a489bdcecadeb8facddede7e156ba35b1773d4c1","title":"Agent 1 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.066209-07:00","updated_at":"2025-11-20T12:27:53.807881-05:00","closed_at":"2025-11-20T12:27:53.807881-05:00","source_repo":"."} +{"id":"bd-1206","content_hash":"ca741a6749aeb9516223ca439b64990aa5d7c9ff5ea722a438d0c75a4d1a8837","title":"Agent 1 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.066788-07:00","updated_at":"2025-11-20T12:27:32.967601-05:00","closed_at":"2025-11-20T12:27:32.967601-05:00","source_repo":"."} +{"id":"bd-1207","content_hash":"e59f5c998bd9c1fe0f15b567e8a9af5b68269b1d00184e28629c23f1de71539c","title":"Agent 1 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.067378-07:00","updated_at":"2025-11-20T12:27:53.80773-05:00","closed_at":"2025-11-20T12:27:53.80773-05:00","source_repo":"."} +{"id":"bd-1208","content_hash":"fa6d09b2e6ba71d0e5f8737e574f77c1a20d6c2cb07e54f3d40c6fa018650c4e","title":"Agent 1 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.067942-07:00","updated_at":"2025-11-20T12:27:32.967398-05:00","closed_at":"2025-11-20T12:27:32.967398-05:00","source_repo":"."} +{"id":"bd-1209","content_hash":"cafef356fad27140c4f2f8977ca39a4d88952d6445a28ba18aff67b311615098","title":"Agent 1 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.068555-07:00","updated_at":"2025-11-20T12:27:53.807572-05:00","closed_at":"2025-11-20T12:27:53.807572-05:00","source_repo":"."} {"id":"bd-121","content_hash":"fa57542b7755b6dc7bfa7b1cdc63b3e26fc1232a84e6e1a6e56060d391c23428","title":"Bias ready work towards recent issues before oldest-first","description":"Currently 'bd ready' shows oldest issues first (by created_at). This can bury recently discovered work that might be more relevant. Propose a hybrid approach: show issues from the past 1-2 days first (sorted by priority), then fall back to oldest-first for older issues. This keeps fresh discoveries visible while still surfacing old forgotten work.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-18T09:31:15.036495-07:00","updated_at":"2025-10-21T00:25:40.522137-07:00","closed_at":"2025-10-18T09:35:55.084891-07:00","source_repo":"."} -{"id":"bd-1210","content_hash":"e494e8752c710f1a266c8238b7223fd3e1edfaa6beb819f22f64d32aec39d943","title":"Agent 1 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.069141-07:00","updated_at":"2025-11-20T12:27:32.967183-05:00","closed_at":"2025-11-20T12:27:32.967183-05:00","source_repo":"."} -{"id":"bd-1211","content_hash":"5af35e2579dcd8a7b75ce49edd98dc74886a1a3cb4eec122814400b8773d9320","title":"Agent 1 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.069761-07:00","updated_at":"2025-11-20T12:27:53.807422-05:00","closed_at":"2025-11-20T12:27:53.807422-05:00","source_repo":"."} -{"id":"bd-1212","content_hash":"4de9726220937546cd77ae64d58913a793cc5f7753763a4013f8427b38d887cc","title":"Agent 1 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.070369-07:00","updated_at":"2025-11-20T12:27:32.966928-05:00","closed_at":"2025-11-20T12:27:32.966928-05:00","source_repo":"."} -{"id":"bd-1213","content_hash":"b6fd11892fce28a1518b5cad51568ae65c8c1e6f7a45f0873bec89c44459aae6","title":"Agent 1 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.070981-07:00","updated_at":"2025-11-20T12:27:53.807268-05:00","closed_at":"2025-11-20T12:27:53.807268-05:00","source_repo":"."} -{"id":"bd-1214","content_hash":"095f138bbfcb5f08286b5e2159676ceffa7e315d38b3bad6b0a844b8cdbf5142","title":"Agent 1 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.071572-07:00","updated_at":"2025-11-20T12:27:32.966768-05:00","closed_at":"2025-11-20T12:27:32.966768-05:00","source_repo":"."} -{"id":"bd-1215","content_hash":"c3ff424696d9162fe38f3de8b2107323adc0ede9038f07028c972fe188a2c65b","title":"Agent 0 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.983166-07:00","updated_at":"2025-11-20T12:28:04.215206-05:00","closed_at":"2025-11-20T12:28:04.215206-05:00","source_repo":"."} -{"id":"bd-1216","content_hash":"d3278a4db269bee1096bbc2273caa6065500b7ad6a136619ded256e03aefc02f","title":"Agent 0 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.082056-07:00","updated_at":"2025-11-20T12:27:32.966602-05:00","closed_at":"2025-11-20T12:27:32.966602-05:00","source_repo":"."} -{"id":"bd-1217","content_hash":"2536b428638f0f9a1a565c5a9fed0a3b9beef96f2fef810e8f186784614908ae","title":"Agent 0 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.082801-07:00","updated_at":"2025-11-20T12:27:53.807114-05:00","closed_at":"2025-11-20T12:27:53.807114-05:00","source_repo":"."} -{"id":"bd-1218","content_hash":"bfb66e3bf64b03753e1b48a3b8c7b75ed71ae2266b595a1a981a6dcf3eb29426","title":"Agent 0 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.083463-07:00","updated_at":"2025-11-20T12:27:32.966399-05:00","closed_at":"2025-11-20T12:27:32.966399-05:00","source_repo":"."} -{"id":"bd-1219","content_hash":"e74ca4edeef2299d2a3af61d5de350905e2998abd11588168ec625cb3e746ef9","title":"Agent 0 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.084092-07:00","updated_at":"2025-11-20T12:27:53.806965-05:00","closed_at":"2025-11-20T12:27:53.806965-05:00","source_repo":"."} +{"id":"bd-1210","content_hash":"57c676272a16c029ae769cac1e55ffa867bce92ad11ade55a6799a00f687841d","title":"Agent 1 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.069141-07:00","updated_at":"2025-11-20T12:27:32.967183-05:00","closed_at":"2025-11-20T12:27:32.967183-05:00","source_repo":"."} +{"id":"bd-1211","content_hash":"ae6b2a83091b687660d7a22a59172155190ff9868924fe6ddefc7fe1a867ffea","title":"Agent 1 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.069761-07:00","updated_at":"2025-11-20T12:27:53.807422-05:00","closed_at":"2025-11-20T12:27:53.807422-05:00","source_repo":"."} +{"id":"bd-1212","content_hash":"f98ce12df79e3d5781fe22938bcf4a179b18dee2c82218a31bc675ea36d93a03","title":"Agent 1 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.070369-07:00","updated_at":"2025-11-20T12:27:32.966928-05:00","closed_at":"2025-11-20T12:27:32.966928-05:00","source_repo":"."} +{"id":"bd-1213","content_hash":"88e022fdfefad1c5755fb61d8ec69b3dade4e459094a851ff5b70814c732493b","title":"Agent 1 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.070981-07:00","updated_at":"2025-11-20T12:27:53.807268-05:00","closed_at":"2025-11-20T12:27:53.807268-05:00","source_repo":"."} +{"id":"bd-1214","content_hash":"89e5ab9d8fd8699ce0cc41db2f731fd434ab60feb673eab4f1c8feee32faf762","title":"Agent 1 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.071572-07:00","updated_at":"2025-11-20T12:27:32.966768-05:00","closed_at":"2025-11-20T12:27:32.966768-05:00","source_repo":"."} +{"id":"bd-1215","content_hash":"867f9855949b1e3d2643188604af0373a373dd84d88434fe0814cec6cfe8aebf","title":"Agent 0 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.983166-07:00","updated_at":"2025-11-20T12:28:04.215206-05:00","closed_at":"2025-11-20T12:28:04.215206-05:00","source_repo":"."} +{"id":"bd-1216","content_hash":"db6f0cac74e39735d08cd09e31da2dff8db8c3fe73a074562385c7113b8a1a63","title":"Agent 0 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.082056-07:00","updated_at":"2025-11-20T12:27:32.966602-05:00","closed_at":"2025-11-20T12:27:32.966602-05:00","source_repo":"."} +{"id":"bd-1217","content_hash":"884ad83faa505ac6a8fd47d9195fcf7aba7e27983ac7871eaa51bceac14ca735","title":"Agent 0 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.082801-07:00","updated_at":"2025-11-20T12:27:53.807114-05:00","closed_at":"2025-11-20T12:27:53.807114-05:00","source_repo":"."} +{"id":"bd-1218","content_hash":"b20e9eb938c0db714a7e91e453a8c516eacb821dd5072553950251c88faff975","title":"Agent 0 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.083463-07:00","updated_at":"2025-11-20T12:27:32.966399-05:00","closed_at":"2025-11-20T12:27:32.966399-05:00","source_repo":"."} +{"id":"bd-1219","content_hash":"3918efe8d518c0ddcf50c8a591bf312ef06840fe47a72df81bb4b16ebb8d04d1","title":"Agent 0 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.084092-07:00","updated_at":"2025-11-20T12:27:53.806965-05:00","closed_at":"2025-11-20T12:27:53.806965-05:00","source_repo":"."} {"id":"bd-122","content_hash":"a76795ea7b354d5c623a712ae84b877dda823d0d891d726b261f009d52bfa186","title":"Fix nil pointer dereference in renumber command","description":"The 'bd renumber' command crashes with a nil pointer dereference at renumber.go:52 because store is nil. The command doesn't properly handle daemon/direct mode initialization like other commands do. Error occurs on both --dry-run and --force modes.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-18T09:54:31.59912-07:00","updated_at":"2025-10-21T00:25:40.52235-07:00","closed_at":"2025-10-18T09:56:49.88701-07:00","source_repo":"."} -{"id":"bd-1220","content_hash":"e6fea9dbabd3f4bb95e1955dca59f94f19e0092b4488b3b8902f56f9c51ccd47","title":"Agent 0 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.084715-07:00","updated_at":"2025-11-20T12:27:32.966209-05:00","closed_at":"2025-11-20T12:27:32.966209-05:00","source_repo":"."} -{"id":"bd-1221","content_hash":"56ded42357c0456bafe7d5a03ef9acd132ffd0a3f0791eb719d324785ee5f216","title":"Agent 0 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.085356-07:00","updated_at":"2025-11-20T12:27:53.806819-05:00","closed_at":"2025-11-20T12:27:53.806819-05:00","source_repo":"."} -{"id":"bd-1222","content_hash":"8b4fe20dfe1d931a5ed00a4ea28c9ca38c2ca0b68f39088903c86832f03eaaa5","title":"Agent 0 Batch 10 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.085961-07:00","updated_at":"2025-11-20T12:27:32.966023-05:00","closed_at":"2025-11-20T12:27:32.966023-05:00","source_repo":"."} -{"id":"bd-1223","content_hash":"f940cf7d45f141e5fdad46467a664f271aecebd4c1dd0e4502a667142997f397","title":"Agent 0 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.0866-07:00","updated_at":"2025-11-20T12:27:53.806671-05:00","closed_at":"2025-11-20T12:27:53.806671-05:00","source_repo":"."} -{"id":"bd-1224","content_hash":"5a4bddb735d0097d7e8b8091a017b68206c7462dee35c1a5488a5ff8e47e14a3","title":"Agent 0 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.087193-07:00","updated_at":"2025-11-20T12:27:32.965871-05:00","closed_at":"2025-11-20T12:27:32.965871-05:00","source_repo":"."} -{"id":"bd-1225","content_hash":"835cd70a45073e859c670d9136e172f9f6d564304d8507fb843509a01e606a7f","title":"Agent 0 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.087799-07:00","updated_at":"2025-11-20T12:27:53.806518-05:00","closed_at":"2025-11-20T12:27:53.806518-05:00","source_repo":"."} -{"id":"bd-1226","content_hash":"39fef426d5887ab2d0b5950b0853057fc0454ee8fdc7b1b81515bbfcd0f11b8f","title":"Agent 0 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.088401-07:00","updated_at":"2025-11-20T12:27:32.965705-05:00","closed_at":"2025-11-20T12:27:32.965705-05:00","source_repo":"."} -{"id":"bd-1227","content_hash":"4d0a4afaa979ce3969815ac3610b70fd859f557c4cf6dcce3031bbf940573217","title":"Agent 0 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.089075-07:00","updated_at":"2025-11-20T12:27:53.806363-05:00","closed_at":"2025-11-20T12:27:53.806363-05:00","source_repo":"."} -{"id":"bd-1228","content_hash":"10e56e9756c09c81a1ab06744a111af740808afef20008f5d4f2f25b7c525627","title":"Agent 0 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.089653-07:00","updated_at":"2025-11-20T12:27:32.965432-05:00","closed_at":"2025-11-20T12:27:32.965432-05:00","source_repo":"."} -{"id":"bd-1229","content_hash":"9374aa37050d352e1045167c327cba5f2b1e866cc562743be327e67564aff411","title":"Agent 0 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.090246-07:00","updated_at":"2025-11-20T12:27:53.806211-05:00","closed_at":"2025-11-20T12:27:53.806211-05:00","source_repo":"."} +{"id":"bd-1220","content_hash":"c7cdb5db09e240343350fa569585b487b19aecb65e60ec14a26da7618206522b","title":"Agent 0 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.084715-07:00","updated_at":"2025-11-20T12:27:32.966209-05:00","closed_at":"2025-11-20T12:27:32.966209-05:00","source_repo":"."} +{"id":"bd-1221","content_hash":"d9997e68f141e79947bdf55e685ef28d2a1eed500d28bd88e45d9c0cbce563b9","title":"Agent 0 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.085356-07:00","updated_at":"2025-11-20T12:27:53.806819-05:00","closed_at":"2025-11-20T12:27:53.806819-05:00","source_repo":"."} +{"id":"bd-1222","content_hash":"3330fc66c267b1b1de08dacf53ccb46cc094ce3f302e573d7213d212998d98c3","title":"Agent 0 Batch 10 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.085961-07:00","updated_at":"2025-11-20T12:27:32.966023-05:00","closed_at":"2025-11-20T12:27:32.966023-05:00","source_repo":"."} +{"id":"bd-1223","content_hash":"ecd3f32545965c56c698cd28dac58c3bd8bfc5d2cb310b5c6a8539dd8e743eb9","title":"Agent 0 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.0866-07:00","updated_at":"2025-11-20T12:27:53.806671-05:00","closed_at":"2025-11-20T12:27:53.806671-05:00","source_repo":"."} +{"id":"bd-1224","content_hash":"c28629ad227bc13e378ca68d0625fac3b2537c99fdc4b0b45c4b27bdb539c009","title":"Agent 0 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.087193-07:00","updated_at":"2025-11-20T12:27:32.965871-05:00","closed_at":"2025-11-20T12:27:32.965871-05:00","source_repo":"."} +{"id":"bd-1225","content_hash":"3aad7e5b06f253f5926c6e86cf3e00b29d9f43f55b1641f1b4877daa5b5899fa","title":"Agent 0 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.087799-07:00","updated_at":"2025-11-20T12:27:53.806518-05:00","closed_at":"2025-11-20T12:27:53.806518-05:00","source_repo":"."} +{"id":"bd-1226","content_hash":"af5752ab1c166ec14c380fe51b3135fb4592c6802889445dc0db349e9c66fae2","title":"Agent 0 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.088401-07:00","updated_at":"2025-11-20T12:27:32.965705-05:00","closed_at":"2025-11-20T12:27:32.965705-05:00","source_repo":"."} +{"id":"bd-1227","content_hash":"209f0e8907ec05651367502c6c43a1fb2b7d03b1e9070a25aed6cc4a943a0f39","title":"Agent 0 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.089075-07:00","updated_at":"2025-11-20T12:27:53.806363-05:00","closed_at":"2025-11-20T12:27:53.806363-05:00","source_repo":"."} +{"id":"bd-1228","content_hash":"042f9ff535aaa1976cacf8713be9a6b3c5b28ec6adc24a3fcba08d14aeecaa30","title":"Agent 0 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.089653-07:00","updated_at":"2025-11-20T12:27:32.965432-05:00","closed_at":"2025-11-20T12:27:32.965432-05:00","source_repo":"."} +{"id":"bd-1229","content_hash":"2af28125f4554707a66aa537ee7b2915b193bb9f792bd9b98feab5b48c745bf3","title":"Agent 0 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.090246-07:00","updated_at":"2025-11-20T12:27:53.806211-05:00","closed_at":"2025-11-20T12:27:53.806211-05:00","source_repo":"."} {"id":"bd-123","content_hash":"2d459f51e4c3ec637a29b0afb6314f7c6600926a029af949fd5c7457569c9a62","title":"Add storage cache eviction policy to daemon","description":"Daemon caches DB connections forever in storageCache map (server.go:29). For users with 50+ repos, this causes memory leaks and file descriptor exhaustion.\n\nNeed LRU cache with:\n- Max size limit (default: 50 repos)\n- TTL-based eviction (default: 30min idle)\n- Periodic cleanup goroutine\n\nLocation: internal/rpc/server.go:29-40","design":"Add StorageCacheEntry struct with lastAccess timestamp.\n\nImplement evictStaleStorage() method that runs every 5 minutes to close connections idle \u003e30min.\n\nAdd max cache size enforcement (LRU eviction when full).\n\nMake limits configurable via env vars:\n- BEADS_DAEMON_MAX_CACHE_SIZE (default: 50)\n- BEADS_DAEMON_CACHE_TTL (default: 30m)","acceptance_criteria":"- Cache evicts entries after 30min idle\n- Cache respects max size limit\n- Cleanup goroutine runs periodically\n- Evicted storage connections are properly closed\n- No resource leaks under sustained load\n- Unit tests for eviction logic","status":"closed","priority":0,"issue_type":"feature","created_at":"2025-10-18T13:05:46.174245-07:00","updated_at":"2025-10-21T00:25:40.522546-07:00","closed_at":"2025-10-18T13:16:56.921023-07:00","source_repo":"."} -{"id":"bd-1230","content_hash":"72dd81a0dfd83474482c9d5a52a30c9968c86808489176c21a0be67a4d9d475c","title":"Agent 0 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.090842-07:00","updated_at":"2025-11-20T12:27:32.965196-05:00","closed_at":"2025-11-20T12:27:32.965196-05:00","source_repo":"."} -{"id":"bd-1231","content_hash":"94139e31b3a3e58086ea77a916173a6f0c372a66a21925af0b9385de2f387c2f","title":"CI failing on all 3/4 test jobs despite individual tests passing","description":"CI has been broken for a day+ with mysterious test failures. Issue #173 on GitHub tracks this.\n\n## Current Status\n- **Lint job**: ✅ PASSING\n- **Test (Linux)**: ❌ FAILING (exit code 1)\n- **Test (Windows)**: ❌ FAILING (exit code 1)\n- **Test Nix Flake**: ❌ FAILING (exit code 1)\n\n## Key Observations\nAll three failing jobs show identical pattern:\n- Individual test output shows PASS for every test\n- Final result: `FAIL github.com/steveyegge/beads/cmd/bd`\n- Exit code 1 despite no visible test failures\n- Last visible test output before failure: \"No Reason Issue\" test (TestCloseCommand/close_without_reason)\n\n## Investigation So Far\n1. All tests appear to pass when examined individually\n2. Likely causes:\n - Race detector finding data races during test cleanup (`-race` flag)\n - Panic/error occurring after main tests complete\n - Test harness issue not reporting actual failure\n - Possible regression from PR #203 (dependency_type changes)\n\n## Recent CI Runs\n- Run 19015040655 (latest): 3/4 failing\n- Multiple recent commits tried to fix Windows/lint issues\n- Agent on rrnewton/beads fork attempting fixes (2/4 passing there)\n\n## Next Steps\n1. Run tests locally with `-race -v` to see full output\n2. Check for unreported test failures or panics\n3. Examine test cleanup/teardown code\n4. Review recent changes around close command tests\n5. Consider if race detector is too sensitive or catching real issues","notes":"## Progress Update\n\n### ✅ Fixed (commits 09bd4d3, 21a29bc)\n1. **Daemon auto-import** - Always recompute content_hash in importer to avoid stale hashes\n2. **TestScripts failures** - Added bd binary to PATH for shell subprocess tests\n3. **Test infrastructure** - Added .gitignore to test repos, fixed last_import_time metadata\n\n### ✅ CI Status (Run 19015638968)\n- **Test (Linux)**: ✅ SUCCESS - All tests passing\n- **Test (Windows)**: ❌ FAILURE - Pre-existing Windows test failures\n- **Test Nix Flake**: ❌ FAILURE - Build fails with same test errors\n- **Lint**: ❌ FAILURE - Pre-existing issue in migrate.go:647\n\n### ❌ Remaining Issues (not related to original bd-1231)\n\n**Windows failures:**\n- TestFindDatabasePathEnvVar\n- TestHashIDs_MultiCloneConverge \n- TestHashIDs_IdenticalContentDedup\n- TestDatabaseReinitialization (5 subtests)\n- TestFindBeadsDir_NotFound\n- TestMetricsSnapshot/uptime\n\n**Lint failure:**\n- cmd/bd/migrate.go:647:37: cleanupWALFiles - result 0 (error) is always nil (unparam)\n\n**Nix failure:**\n- Build fails during test phase with same test errors\n\n### Next Steps\n1. Investigate Windows-specific test failures\n2. Fix linting issue in migrate.go\n3. Debug Nix build test failures","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.091438-07:00","updated_at":"2025-11-12T10:57:44.249476-08:00","closed_at":"2025-11-02T12:32:00.158346-08:00","external_ref":"https://github.com/steveyegge/beads/issues/173","source_repo":"."} -{"id":"bd-1232","content_hash":"7ad6b4bf843ad8f6073d77e4b5aea460e983aee8210c1cdaf677e1ce43627a8b","title":"Agent 0 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.091993-07:00","updated_at":"2025-11-20T12:27:32.96505-05:00","closed_at":"2025-11-20T12:27:32.96505-05:00","source_repo":"."} -{"id":"bd-1233","content_hash":"edb5bb722fcba70a0c0c2164c064c827ee1abd2e8a227ea2471967b662e2c583","title":"Agent 0 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.092573-07:00","updated_at":"2025-11-20T12:27:53.806007-05:00","closed_at":"2025-11-20T12:27:53.806007-05:00","source_repo":"."} -{"id":"bd-1234","content_hash":"7e09c3b91df57087ecf7545c56bff283a64e380a06c8f655dfdf676840a7d1ac","title":"Agent 0 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.093138-07:00","updated_at":"2025-11-20T12:27:32.964897-05:00","closed_at":"2025-11-20T12:27:32.964897-05:00","source_repo":"."} -{"id":"bd-1235","content_hash":"e2e7f1cb04ec5c941dbd7b2d05e5a2e8098af98b73384c36cc45bbc1ff672596","title":"Agent 0 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.093753-07:00","updated_at":"2025-11-20T12:27:53.805834-05:00","closed_at":"2025-11-20T12:27:53.805834-05:00","source_repo":"."} -{"id":"bd-1236","content_hash":"b4e6cd7d42d1f1fbf8bab58e7479fb6f7e7357c8130eab03b8086bdde400a228","title":"Agent 0 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.094313-07:00","updated_at":"2025-11-20T12:27:32.964725-05:00","closed_at":"2025-11-20T12:27:32.964725-05:00","source_repo":"."} -{"id":"bd-1237","content_hash":"9e5b4ec549ae374651a08d270f35fd52eba0e7865027fdbf01bb620b00940ed9","title":"Agent 0 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.094915-07:00","updated_at":"2025-11-20T12:27:53.80568-05:00","closed_at":"2025-11-20T12:27:53.80568-05:00","source_repo":"."} -{"id":"bd-1238","content_hash":"c58310ff76081065272d7e90ed6c871707215c6197e0e5d2d8df4bd5736ed73b","title":"Agent 0 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.095484-07:00","updated_at":"2025-11-20T12:27:32.964577-05:00","closed_at":"2025-11-20T12:27:32.964577-05:00","source_repo":"."} -{"id":"bd-1239","content_hash":"177316f26ff0f711c7dbe32f05a01d8b085cf3304d8ec2992d842627b0d5c61c","title":"Agent 0 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.096075-07:00","updated_at":"2025-11-20T12:27:53.805529-05:00","closed_at":"2025-11-20T12:27:53.805529-05:00","source_repo":"."} +{"id":"bd-1230","content_hash":"fcb35701a8d6063790da77b6b0fd44d23168d3fe6176274b990ca114c921aed7","title":"Agent 0 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.090842-07:00","updated_at":"2025-11-20T12:27:32.965196-05:00","closed_at":"2025-11-20T12:27:32.965196-05:00","source_repo":"."} +{"id":"bd-1231","content_hash":"94139e31b3a3e58086ea77a916173a6f0c372a66a21925af0b9385de2f387c2f","title":"CI failing on all 3/4 test jobs despite individual tests passing","description":"CI has been broken for a day+ with mysterious test failures. Issue #173 on GitHub tracks this.\n\n## Current Status\n- **Lint job**: ✅ PASSING\n- **Test (Linux)**: ❌ FAILING (exit code 1)\n- **Test (Windows)**: ❌ FAILING (exit code 1)\n- **Test Nix Flake**: ❌ FAILING (exit code 1)\n\n## Key Observations\nAll three failing jobs show identical pattern:\n- Individual test output shows PASS for every test\n- Final result: `FAIL github.com/steveyegge/beads/cmd/bd`\n- Exit code 1 despite no visible test failures\n- Last visible test output before failure: \"No Reason Issue\" test (TestCloseCommand/close_without_reason)\n\n## Investigation So Far\n1. All tests appear to pass when examined individually\n2. Likely causes:\n - Race detector finding data races during test cleanup (`-race` flag)\n - Panic/error occurring after main tests complete\n - Test harness issue not reporting actual failure\n - Possible regression from PR #203 (dependency_type changes)\n\n## Recent CI Runs\n- Run 19015040655 (latest): 3/4 failing\n- Multiple recent commits tried to fix Windows/lint issues\n- Agent on rrnewton/beads fork attempting fixes (2/4 passing there)\n\n## Next Steps\n1. Run tests locally with `-race -v` to see full output\n2. Check for unreported test failures or panics\n3. Examine test cleanup/teardown code\n4. Review recent changes around close command tests\n5. Consider if race detector is too sensitive or catching real issues","notes":"## Progress Update\n\n### ✅ Fixed (commits 09bd4d3, 21a29bc)\n1. **Daemon auto-import** - Always recompute content_hash in importer to avoid stale hashes\n2. **TestScripts failures** - Added bd binary to PATH for shell subprocess tests\n3. **Test infrastructure** - Added .gitignore to test repos, fixed last_import_time metadata\n\n### ✅ CI Status (Run 19015638968)\n- **Test (Linux)**: ✅ SUCCESS - All tests passing\n- **Test (Windows)**: ❌ FAILURE - Pre-existing Windows test failures\n- **Test Nix Flake**: ❌ FAILURE - Build fails with same test errors\n- **Lint**: ❌ FAILURE - Pre-existing issue in migrate.go:647\n\n### ❌ Remaining Issues (not related to original bd-1231)\n\n**Windows failures:**\n- TestFindDatabasePathEnvVar\n- TestHashIDs_MultiCloneConverge \n- TestHashIDs_IdenticalContentDedup\n- TestDatabaseReinitialization (5 subtests)\n- TestFindBeadsDir_NotFound\n- TestMetricsSnapshot/uptime\n\n**Lint failure:**\n- cmd/bd/migrate.go:647:37: cleanupWALFiles - result 0 (error) is always nil (unparam)\n\n**Nix failure:**\n- Build fails during test phase with same test errors\n\n### Next Steps\n1. Investigate Windows-specific test failures\n2. Fix linting issue in migrate.go\n3. Debug Nix build test failures","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-02T08:42:16.142128-08:00","updated_at":"2025-11-02T12:32:00.15834-08:00","closed_at":"2025-11-02T12:32:00.158346-08:00","external_ref":"https://github.com/steveyegge/beads/issues/173","source_repo":"."} +{"id":"bd-1232","content_hash":"e17878c1eb8466824db2e308de3d14ec53e0f4a5a6d3a03d653a90d890e3933e","title":"Agent 0 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.091993-07:00","updated_at":"2025-11-20T12:27:32.96505-05:00","closed_at":"2025-11-20T12:27:32.96505-05:00","source_repo":"."} +{"id":"bd-1233","content_hash":"381bbee1b27360e81cc8e7c03576c33eebf4cf40a16dee53adae73a1c3f8a5f1","title":"Agent 0 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.092573-07:00","updated_at":"2025-11-20T12:27:53.806007-05:00","closed_at":"2025-11-20T12:27:53.806007-05:00","source_repo":"."} +{"id":"bd-1234","content_hash":"039d13e489ffdba7ba91e0536322496c60282edc91d3654c9fc00cbe817b74fe","title":"Agent 0 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.093138-07:00","updated_at":"2025-11-20T12:27:32.964897-05:00","closed_at":"2025-11-20T12:27:32.964897-05:00","source_repo":"."} +{"id":"bd-1235","content_hash":"608e9e192612a637f695a679968215b67f5d84e740d3736aa9c084099220d498","title":"Agent 0 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.093753-07:00","updated_at":"2025-11-20T12:27:53.805834-05:00","closed_at":"2025-11-20T12:27:53.805834-05:00","source_repo":"."} +{"id":"bd-1236","content_hash":"43c6407fbc7c02d079d031904070a93e92ebaa99247f85b7a0f4140c0e941605","title":"Agent 0 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.094313-07:00","updated_at":"2025-11-20T12:27:32.964725-05:00","closed_at":"2025-11-20T12:27:32.964725-05:00","source_repo":"."} +{"id":"bd-1237","content_hash":"c3ce8866873a54fbeb9bbb6ddbf36696334886b6ce138bbc6c10affc9a57f1c2","title":"Agent 0 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.094915-07:00","updated_at":"2025-11-20T12:27:53.80568-05:00","closed_at":"2025-11-20T12:27:53.80568-05:00","source_repo":"."} +{"id":"bd-1238","content_hash":"95c6f7fe07d6389bcc1bca4a3d82d80e514e1224a709870ab310a4fc1f13ce4f","title":"Agent 0 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.095484-07:00","updated_at":"2025-11-20T12:27:32.964577-05:00","closed_at":"2025-11-20T12:27:32.964577-05:00","source_repo":"."} +{"id":"bd-1239","content_hash":"7d1ebfc95d6b26b255738e956b142dad7d75910c28848303fb02b665f8f5ad26","title":"Agent 0 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.096075-07:00","updated_at":"2025-11-20T12:27:53.805529-05:00","closed_at":"2025-11-20T12:27:53.805529-05:00","source_repo":"."} {"id":"bd-124","content_hash":"d79bc43bbd3a471ec8a843ab17a2ef601ae39025e27e4abe067e6e3a8373613e","title":"Add daemon health check endpoint and probes","description":"Auto-start only checks socket existence, not daemon responsiveness. Daemon can be running but unresponsive (deadlock, hung DB). Users work in degraded direct mode without knowing why.\n\nNeed health check RPC operation that:\n- Tests DB connectivity (1s timeout)\n- Returns uptime, status, metrics\n- Used by auto-start before connecting\n- Enables monitoring/alerting\n\nLocation: internal/rpc/server.go, cmd/bd/main.go:100-108","design":"Add OpHealth RPC operation to protocol.\n\nhandleHealth() implementation:\n- Quick DB ping with 1s timeout\n- Return status, uptime, version\n- Include basic metrics (connections, cache size)\n\nUpdate TryConnect() to call Health() after socket connection:\n- If health check fails, close connection and return nil\n- Enables transparent failover to direct mode\n\nAdd 'bd daemon --health' CLI command for monitoring.","acceptance_criteria":"- Health check RPC endpoint works\n- Returns structured health status\n- Client uses health check before operations\n- bd daemon --health command exists\n- Unhealthy daemon triggers auto-restart or fallback\n- Health check completes in \u003c2 seconds","status":"closed","priority":0,"issue_type":"feature","created_at":"2025-10-18T13:05:58.647592-07:00","updated_at":"2025-10-21T00:25:40.522724-07:00","closed_at":"2025-10-18T13:32:15.106003-07:00","source_repo":"."} -{"id":"bd-1240","content_hash":"7ee6f72a3b117bcff0c533450d8f3df7ea6cf45e99bc5099cb61070eebae6610","title":"Agent 0 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.096651-07:00","updated_at":"2025-11-20T12:27:32.964429-05:00","closed_at":"2025-11-20T12:27:32.964429-05:00","source_repo":"."} -{"id":"bd-1241","content_hash":"b1ec58c029365ef3238c65dd80af9061066c3d688095350c6f113e775bbc5794","title":"Agent 0 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.097262-07:00","updated_at":"2025-11-20T12:27:53.805376-05:00","closed_at":"2025-11-20T12:27:53.805376-05:00","source_repo":"."} -{"id":"bd-1242","content_hash":"f50a37d2a8734e4baaeb2283b4d55eb3023a9be84f3b2464fffcd70d5a45729d","title":"Agent 0 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.097847-07:00","updated_at":"2025-11-20T12:27:32.964281-05:00","closed_at":"2025-11-20T12:27:32.964281-05:00","source_repo":"."} -{"id":"bd-1243","content_hash":"cd5e5b31768f6470fa69c99991b38dd9ccf5c545b4d8014d3e83e567e5b31b07","title":"Agent 0 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.098445-07:00","updated_at":"2025-11-20T12:27:53.805227-05:00","closed_at":"2025-11-20T12:27:53.805227-05:00","source_repo":"."} -{"id":"bd-1244","content_hash":"b85db0d53c5031b12ea9489c02995e344c2e27edfc35fb506c017087061a2767","title":"Agent 0 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.099037-07:00","updated_at":"2025-11-20T12:27:32.964133-05:00","closed_at":"2025-11-20T12:27:32.964133-05:00","source_repo":"."} -{"id":"bd-1245","content_hash":"4809bbe18b6d5f5e50cc09c0c27a56593973ffa7bbf1e6117e4918daceb1bc61","title":"Agent 0 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.099613-07:00","updated_at":"2025-11-20T12:27:53.805076-05:00","closed_at":"2025-11-20T12:27:53.805076-05:00","source_repo":"."} -{"id":"bd-1246","content_hash":"f0fe56903b654773131ca76c665fe1d737019d78e0600459fbc17c8f86568360","title":"Agent 0 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.100201-07:00","updated_at":"2025-11-20T12:27:32.96398-05:00","closed_at":"2025-11-20T12:27:32.96398-05:00","source_repo":"."} -{"id":"bd-1247","content_hash":"5193ab7ef9d4857c964fc343c4f5c3ae276243cf2f29c2ef661ca0806889947d","title":"Agent 0 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.100822-07:00","updated_at":"2025-11-20T12:27:53.804897-05:00","closed_at":"2025-11-20T12:27:53.804897-05:00","source_repo":"."} -{"id":"bd-1248","content_hash":"52d585658a602d76d339c45daac356c3ccf2f355e0ca3c74a8fbf41d227dc557","title":"Agent 0 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.101422-07:00","updated_at":"2025-11-20T12:27:32.963801-05:00","closed_at":"2025-11-20T12:27:32.963801-05:00","source_repo":"."} -{"id":"bd-1249","content_hash":"a4e24ff45ff100704ec32b184b6a2c74cebb3aac9e6c09db4c67c06c1fdb3565","title":"Agent 0 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.102008-07:00","updated_at":"2025-11-20T12:27:53.804746-05:00","closed_at":"2025-11-20T12:27:53.804746-05:00","source_repo":"."} +{"id":"bd-1240","content_hash":"83561ad32c7a64d73e2ed160c96ddb870d63c5dd99bb8cd7b795540f379f5046","title":"Agent 0 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.096651-07:00","updated_at":"2025-11-20T12:27:32.964429-05:00","closed_at":"2025-11-20T12:27:32.964429-05:00","source_repo":"."} +{"id":"bd-1241","content_hash":"d9c52827498f2934ee954f77816bf5c458888a9b339a92d9f5d47494b639920a","title":"Agent 0 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.097262-07:00","updated_at":"2025-11-20T12:27:53.805376-05:00","closed_at":"2025-11-20T12:27:53.805376-05:00","source_repo":"."} +{"id":"bd-1242","content_hash":"3b7d04aa0b6d1bca5b167e384965cf682af35534710b11fbb9f03152a843cf11","title":"Agent 0 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.097847-07:00","updated_at":"2025-11-20T12:27:32.964281-05:00","closed_at":"2025-11-20T12:27:32.964281-05:00","source_repo":"."} +{"id":"bd-1243","content_hash":"a0e29a95e6ce3b928068d21fca2c0ac8f389b9a8f86ad9d183a1cfaf020255a0","title":"Agent 0 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.098445-07:00","updated_at":"2025-11-20T12:27:53.805227-05:00","closed_at":"2025-11-20T12:27:53.805227-05:00","source_repo":"."} +{"id":"bd-1244","content_hash":"18516e1522135cead725c27925d15354dd62aae03e30ef51f91ecae23541fa05","title":"Agent 0 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.099037-07:00","updated_at":"2025-11-20T12:27:32.964133-05:00","closed_at":"2025-11-20T12:27:32.964133-05:00","source_repo":"."} +{"id":"bd-1245","content_hash":"2a05b1809371a3d517a3b184e8d5b88d1e732d08d6d2b21cba70c08d525f3bfb","title":"Agent 0 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.099613-07:00","updated_at":"2025-11-20T12:27:53.805076-05:00","closed_at":"2025-11-20T12:27:53.805076-05:00","source_repo":"."} +{"id":"bd-1246","content_hash":"f7f3b7e8f5e0b3f2380c363400c3dea0c59949203fae44bd717fe91279a0e683","title":"Agent 0 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.100201-07:00","updated_at":"2025-11-20T12:27:32.96398-05:00","closed_at":"2025-11-20T12:27:32.96398-05:00","source_repo":"."} +{"id":"bd-1247","content_hash":"f1236e8f9c38b15aea4412ea3c3bffadc23ef42b2feb40c8d2925cfc209c8898","title":"Agent 0 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.100822-07:00","updated_at":"2025-11-20T12:27:53.804897-05:00","closed_at":"2025-11-20T12:27:53.804897-05:00","source_repo":"."} +{"id":"bd-1248","content_hash":"dbe1f5e0a67e2296c0cc085c1370dd1f4b67be8066566550534c80be42f57922","title":"Agent 0 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.101422-07:00","updated_at":"2025-11-20T12:27:32.963801-05:00","closed_at":"2025-11-20T12:27:32.963801-05:00","source_repo":"."} +{"id":"bd-1249","content_hash":"ecfa154334af33a0e090f03cffcf92b008ca0d2ecff9be9dee92e45b663697cd","title":"Agent 0 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.102008-07:00","updated_at":"2025-11-20T12:27:53.804746-05:00","closed_at":"2025-11-20T12:27:53.804746-05:00","source_repo":"."} {"id":"bd-125","content_hash":"b16c1d8b7d9b19881a4e325a2f92b1b14d6496471069f2123200b7329bb73fff","title":"Add stale socket and crash recovery for daemon","description":"When daemon crashes (panic, OOM, signal), socket file remains and blocks new daemon start. Users must manually remove .beads/bd.sock.\n\nProblems:\n- Socket file remains after crash\n- PID file remains (isDaemonRunning false positive)\n- No automatic recovery\n- Users get 'daemon already running' error\n\nLocation: cmd/bd/daemon.go, cmd/bd/main.go:221-311","design":"Improve stale detection in tryAutoStartDaemon():\n\n1. If socket exists, try to connect\n2. If connection fails → stale socket, remove it\n3. Also remove PID file and lock files\n4. Retry daemon start\n\nAdd self-healing to daemon startup:\n- On startup, check for stale PID files\n- If PID in file doesn't exist, remove and continue\n- Use exclusive file lock to prevent races\n\nOptional: Add crash recovery watchdog that restarts daemon on exit.","acceptance_criteria":"- Stale sockets are automatically detected and removed\n- Auto-start recovers from daemon crashes\n- No manual intervention needed for crash recovery\n- PID file management is robust\n- Lock files prevent multiple daemon instances\n- Tests for crash recovery scenarios","notes":"Oracle code review identified race conditions. Improvements made:\n- Moved cleanup AFTER lock acquisition (prevents unlinking live sockets)\n- Added PID liveness check before removing socket\n- Added stale lock detection with retry\n- Tightened directory permissions to 0700\n- Improved socket readiness probing with short timeouts\n- Made removeOldSocket() ignore ENOENT errors\n\nChanges eliminate race where socket could be removed during daemon startup window.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-18T13:06:10.116917-07:00","updated_at":"2025-10-21T00:25:40.522925-07:00","closed_at":"2025-10-18T13:56:51.318675-07:00","source_repo":"."} -{"id":"bd-1250","content_hash":"973a6104163b0395a035c9c9ba95eda2fd9f927ed1da8871e3708d95ccbb74c1","title":"Agent 0 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.102584-07:00","updated_at":"2025-11-20T12:27:32.963648-05:00","closed_at":"2025-11-20T12:27:32.963648-05:00","source_repo":"."} -{"id":"bd-1251","content_hash":"ef134252d718481b279be28ac08ec476ada84a1253616a3b79659418c73e885a","title":"Agent 0 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.103186-07:00","updated_at":"2025-11-20T12:27:53.80459-05:00","closed_at":"2025-11-20T12:27:53.80459-05:00","source_repo":"."} -{"id":"bd-1252","content_hash":"1e70aaa1610a796b561b0fbf4a461eaaf97907ec6e37086b6664d0ee10cfe82a","title":"Agent 0 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.10376-07:00","updated_at":"2025-11-20T12:27:32.963501-05:00","closed_at":"2025-11-20T12:27:32.963501-05:00","source_repo":"."} -{"id":"bd-1253","content_hash":"a5cddf1c6da049531ca1613cfee5eff8361341df2fbfbd69aabff2353fdacc8e","title":"Agent 0 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.104359-07:00","updated_at":"2025-11-20T12:27:53.804438-05:00","closed_at":"2025-11-20T12:27:53.804438-05:00","source_repo":"."} -{"id":"bd-1254","content_hash":"af7c27a32ccf3f9176582645a5ed4a39d4251fe1f1914a669fe94a413ffd7d66","title":"Agent 0 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.10496-07:00","updated_at":"2025-11-20T12:27:32.963307-05:00","closed_at":"2025-11-20T12:27:32.963307-05:00","source_repo":"."} -{"id":"bd-1255","content_hash":"d3ad1447d783ac448a72c3251426402374b6188c5a44b68086f2cfebd14e50aa","title":"Agent 0 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.105578-07:00","updated_at":"2025-11-20T12:27:53.804233-05:00","closed_at":"2025-11-20T12:27:53.804233-05:00","source_repo":"."} -{"id":"bd-1256","content_hash":"21f0ffba2fb3268d6a7879736ae88cfb0bbd04d0fa1dcdd6010b56ef52886e3f","title":"Agent 0 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.106174-07:00","updated_at":"2025-11-20T12:27:32.963155-05:00","closed_at":"2025-11-20T12:27:32.963155-05:00","source_repo":"."} -{"id":"bd-1257","content_hash":"f31f3b48fc2d269d6ae492104ec56526736ac3e8e370e84063f081acc3b28a00","title":"Agent 0 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.106765-07:00","updated_at":"2025-11-20T12:27:53.804026-05:00","closed_at":"2025-11-20T12:27:53.804026-05:00","source_repo":"."} -{"id":"bd-1258","content_hash":"5dcbe080d38a27c05a21e0191f2f6cf38e528430c2018b021acb299a8673d3bc","title":"Agent 0 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.107375-07:00","updated_at":"2025-11-20T12:27:32.963003-05:00","closed_at":"2025-11-20T12:27:32.963003-05:00","source_repo":"."} -{"id":"bd-1259","content_hash":"7401baf75097ad3e5c65a9c0c6fa0859e5eccb6f9206fedfa583eaf021f36819","title":"Agent 0 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.107967-07:00","updated_at":"2025-11-20T12:27:53.803851-05:00","closed_at":"2025-11-20T12:27:53.803851-05:00","source_repo":"."} +{"id":"bd-1250","content_hash":"31dd44715add15ea05467bf4f195a953bb82eb5d820da02858c2679f511e6210","title":"Agent 0 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.102584-07:00","updated_at":"2025-11-20T12:27:32.963648-05:00","closed_at":"2025-11-20T12:27:32.963648-05:00","source_repo":"."} +{"id":"bd-1251","content_hash":"74e11fd31b055e4e35f640538811a81e61931fba8fa7ea4c328f1ad6ee9f694c","title":"Agent 0 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.103186-07:00","updated_at":"2025-11-20T12:27:53.80459-05:00","closed_at":"2025-11-20T12:27:53.80459-05:00","source_repo":"."} +{"id":"bd-1252","content_hash":"42d40a79a7c0b9809523d221f4d8653b7972933b68939d83370f2b2332dd748c","title":"Agent 0 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.10376-07:00","updated_at":"2025-11-20T12:27:32.963501-05:00","closed_at":"2025-11-20T12:27:32.963501-05:00","source_repo":"."} +{"id":"bd-1253","content_hash":"20833df7ccba9bdbda6acc4d743bcc7ca883139f18c2320eb569631ecf0de37b","title":"Agent 0 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.104359-07:00","updated_at":"2025-11-20T12:27:53.804438-05:00","closed_at":"2025-11-20T12:27:53.804438-05:00","source_repo":"."} +{"id":"bd-1254","content_hash":"6dd2496b2e5f4d8932d75a6fc209df77d9502c3ba1ec4fb7c6c3fab221431a93","title":"Agent 0 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.10496-07:00","updated_at":"2025-11-20T12:27:32.963307-05:00","closed_at":"2025-11-20T12:27:32.963307-05:00","source_repo":"."} +{"id":"bd-1255","content_hash":"1ac65a921f0f133e15b75e8077b6490ab61511c7d24f2b35dc681e8670c88c8b","title":"Agent 0 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.105578-07:00","updated_at":"2025-11-20T12:27:53.804233-05:00","closed_at":"2025-11-20T12:27:53.804233-05:00","source_repo":"."} +{"id":"bd-1256","content_hash":"2c63f1dfdc74c13022ada294bfae03de1b2b276b41e9dba1fab9875ad81f7ac7","title":"Agent 0 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.106174-07:00","updated_at":"2025-11-20T12:27:32.963155-05:00","closed_at":"2025-11-20T12:27:32.963155-05:00","source_repo":"."} +{"id":"bd-1257","content_hash":"73715b430aae2bf83daebabb4ca8aa4a538e47026fa5117335067f5506f31363","title":"Agent 0 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.106765-07:00","updated_at":"2025-11-20T12:27:53.804026-05:00","closed_at":"2025-11-20T12:27:53.804026-05:00","source_repo":"."} +{"id":"bd-1258","content_hash":"7c991856dd25b1677c58582d287571a4364976f17d9944c3c73a3db8e187da8d","title":"Agent 0 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.107375-07:00","updated_at":"2025-11-20T12:27:32.963003-05:00","closed_at":"2025-11-20T12:27:32.963003-05:00","source_repo":"."} +{"id":"bd-1259","content_hash":"eef6ce989f5c5ef14a5c4cab76b835fad0f340fe1178a187a05d966fd3b1a376","title":"Agent 0 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.107967-07:00","updated_at":"2025-11-20T12:27:53.803851-05:00","closed_at":"2025-11-20T12:27:53.803851-05:00","source_repo":"."} {"id":"bd-126","content_hash":"73b9406559efb5eb433792fda70beac444139f39d2fe3bf111bb6c8bc3e34c51","title":"Add lifecycle management for beads-mcp processes","description":"MCP server processes accumulate without cleanup. Each tool invocation spawns a new Python process that lingers after Claude disconnects.\n\nObserved: 6+ beads-mcp processes running simultaneously.\n\nProblems:\n- No parent-child relationship tracking\n- No cleanup on MCP client disconnect\n- Processes leak over days of use\n- Could accumulate hundreds of processes\n\nLocation: integrations/beads-mcp/src/beads_mcp/server.py","design":"Add proper cleanup handlers to MCP server:\n\n1. Register atexit handler to close daemon connections\n2. Handle SIGTERM/SIGINT for graceful shutdown\n3. Close daemon client in cleanup()\n4. Remove any temp files\n\nOptional improvements:\n- Track active connections to daemon\n- Implement connection pooling\n- Add process timeout/TTL\n- Log lifecycle events for debugging\n\nExample:\nimport atexit\nimport signal\n\ndef cleanup():\n # Close daemon connections\n # Remove temp files\n pass\n\natexit.register(cleanup)\nsignal.signal(signal.SIGTERM, lambda s, f: cleanup())","acceptance_criteria":"- MCP processes clean up on exit\n- Daemon connections are properly closed\n- No process leaks after repeated use\n- Signal handlers work correctly\n- Cleanup runs on normal and abnormal exit\n- Test with multiple concurrent MCP invocations","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-18T13:06:22.030027-07:00","updated_at":"2025-10-21T00:25:40.523122-07:00","closed_at":"2025-10-18T14:27:41.87646-07:00","source_repo":"."} -{"id":"bd-1260","content_hash":"30b4f302a9587b1023ef2f875351a8d24bd34a999b3ac279064385dc792655f7","title":"Agent 0 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.108556-07:00","updated_at":"2025-11-20T12:27:32.962848-05:00","closed_at":"2025-11-20T12:27:32.962848-05:00","source_repo":"."} -{"id":"bd-1261","content_hash":"5dcd8f1c883e3542367d3508e4818b5d31bb399eab3b8cd757d5a15bd412275e","title":"Agent 0 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.109145-07:00","updated_at":"2025-11-20T12:27:53.803647-05:00","closed_at":"2025-11-20T12:27:53.803647-05:00","source_repo":"."} -{"id":"bd-1262","content_hash":"a06b83e2b8e60ed58758d9f5f9ccd7683bd709c34bdb14b1c3d84b8172970d21","title":"Agent 0 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.109735-07:00","updated_at":"2025-11-20T12:27:32.962697-05:00","closed_at":"2025-11-20T12:27:32.962697-05:00","source_repo":"."} -{"id":"bd-1263","content_hash":"cecbe298c377a86734027269a5fd29b7b2c6f5f5dacc9aebc8416e6930b43a22","title":"Agent 0 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.110351-07:00","updated_at":"2025-11-20T12:27:53.803491-05:00","closed_at":"2025-11-20T12:27:53.803491-05:00","source_repo":"."} -{"id":"bd-1264","content_hash":"6a313495bd74ce5e27973c0d68fd09d7343566b883912d09901247d9ac15cb1d","title":"Agent 0 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.110925-07:00","updated_at":"2025-11-20T12:27:32.962541-05:00","closed_at":"2025-11-20T12:27:32.962541-05:00","source_repo":"."} -{"id":"bd-1265","content_hash":"bc54369c086d4c422822ef47b49d31bc2e12fcdc9be554444adc0d52ba84b5c5","title":"Agent 0 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.111809-07:00","updated_at":"2025-11-20T12:27:53.803312-05:00","closed_at":"2025-11-20T12:27:53.803312-05:00","source_repo":"."} -{"id":"bd-1266","content_hash":"19f86c1df39f2cabe8aa0138798076d6e8d26574caf8c86262ca5344531239f2","title":"Agent 2 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947517-07:00","updated_at":"2025-11-20T12:28:04.2207-05:00","closed_at":"2025-11-20T12:28:04.2207-05:00","source_repo":"."} -{"id":"bd-1267","content_hash":"0c1d58a61dafea42e1997a8368b1ef3be3de62c649a811c74151deaac585a5db","title":"Agent 2 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.11335-07:00","updated_at":"2025-11-20T12:27:32.962217-05:00","closed_at":"2025-11-20T12:27:32.962217-05:00","source_repo":"."} -{"id":"bd-1268","content_hash":"4be8afa32dcfcabed3647fae97f344f949b6ed85422374aa767a2a3dcd549ea4","title":"Agent 2 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.113984-07:00","updated_at":"2025-11-20T12:27:53.80316-05:00","closed_at":"2025-11-20T12:27:53.80316-05:00","source_repo":"."} -{"id":"bd-1269","content_hash":"3f44dc3303444ab7f604792b0286ef25a786af379493dfb714cb176545c6adad","title":"Agent 2 Batch 1 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.114603-07:00","updated_at":"2025-11-20T12:27:32.962032-05:00","closed_at":"2025-11-20T12:27:32.962032-05:00","source_repo":"."} +{"id":"bd-1260","content_hash":"dc14578c6e37a603916226124040c45627c1fe65a2c0870f1b5a734654d52514","title":"Agent 0 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.108556-07:00","updated_at":"2025-11-20T12:27:32.962848-05:00","closed_at":"2025-11-20T12:27:32.962848-05:00","source_repo":"."} +{"id":"bd-1261","content_hash":"48dc7dfaaf64da51a4ec7b3e0c8cfd2efad82da365b405d3df039d918a050951","title":"Agent 0 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.109145-07:00","updated_at":"2025-11-20T12:27:53.803647-05:00","closed_at":"2025-11-20T12:27:53.803647-05:00","source_repo":"."} +{"id":"bd-1262","content_hash":"3d2ef6b83000c65e029b2ebc6e4a88efee28d18e0ea0eb9f73bfda573c26ec23","title":"Agent 0 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.109735-07:00","updated_at":"2025-11-20T12:27:32.962697-05:00","closed_at":"2025-11-20T12:27:32.962697-05:00","source_repo":"."} +{"id":"bd-1263","content_hash":"2d8c5ef305a4d3f506a5e89ce4d5fc55901efca332d75acba7843d68eedfff0c","title":"Agent 0 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.110351-07:00","updated_at":"2025-11-20T12:27:53.803491-05:00","closed_at":"2025-11-20T12:27:53.803491-05:00","source_repo":"."} +{"id":"bd-1264","content_hash":"f8e4134a35daa69cd9c065707411a05f3bda7573517e70449933c17149ea0057","title":"Agent 0 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.110925-07:00","updated_at":"2025-11-20T12:27:32.962541-05:00","closed_at":"2025-11-20T12:27:32.962541-05:00","source_repo":"."} +{"id":"bd-1265","content_hash":"fedc39e3ddaa8b66a7f64088c38ab43e87bc05c244d94227b784bbea47ac0721","title":"Agent 0 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.111809-07:00","updated_at":"2025-11-20T12:27:53.803312-05:00","closed_at":"2025-11-20T12:27:53.803312-05:00","source_repo":"."} +{"id":"bd-1266","content_hash":"2c541d8c2f8cc5a2bd9dbfb14dca1bebdf88bf527b13d166deb97859fc7f799c","title":"Agent 2 Batch 0 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947517-07:00","updated_at":"2025-11-20T12:28:04.2207-05:00","closed_at":"2025-11-20T12:28:04.2207-05:00","source_repo":"."} +{"id":"bd-1267","content_hash":"11b4fa765cbee6f4b0e11b2ae90487e399d6119b31ec402d796522feaf0145fe","title":"Agent 2 Batch 0 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.11335-07:00","updated_at":"2025-11-20T12:27:32.962217-05:00","closed_at":"2025-11-20T12:27:32.962217-05:00","source_repo":"."} +{"id":"bd-1268","content_hash":"f88f804b9631009674b5367677d73f52f9272cc4e7ff94a0dcad0c26c2c571f6","title":"Agent 2 Batch 1 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.113984-07:00","updated_at":"2025-11-20T12:27:53.80316-05:00","closed_at":"2025-11-20T12:27:53.80316-05:00","source_repo":"."} +{"id":"bd-1269","content_hash":"a09694596cfbd17772bb9f102bf7cb050a4172e8d1dfbbbf6065cdf328bc3bad","title":"Agent 2 Batch 1 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.114603-07:00","updated_at":"2025-11-20T12:27:32.962032-05:00","closed_at":"2025-11-20T12:27:32.962032-05:00","source_repo":"."} {"id":"bd-127","content_hash":"43967f66191f949b2f80e7a7b3afd7647be7bfd89ce1526a9eacc7083fd286ac","title":"Add global daemon auto-start support","description":"Auto-start only works for local daemon. Users with multiple repos must manually run 'bd daemon --global'.\n\nProblems:\n- No detection of whether global daemon is preferable\n- No migration path from local → global\n- Multi-repo users don't discover global daemon\n- Manual setup required\n\nLocation: cmd/bd/main.go:221-311","design":"Add heuristics to shouldUseGlobalDaemon():\n\n1. Count .beads repos under home directory\n2. If \u003e3 repos found, prefer global daemon\n3. Check BEADS_PREFER_GLOBAL_DAEMON env var\n4. Check config file preference\n\nUpdate tryAutoStartDaemon() to:\n- Use shouldUseGlobalDaemon() to pick mode\n- Pass --global flag when appropriate\n- Log decision for debugging\n\nAdd migration helper:\n- Detect running local daemon\n- Suggest switching to global if multi-repo detected\n- bd daemon --migrate-to-global command","acceptance_criteria":"- Auto-start uses global daemon when appropriate\n- Multi-repo detection works correctly\n- Users can configure preference\n- Migration path is smooth\n- Both local and global auto-start work\n- Documentation updated","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-18T13:06:33.633238-07:00","updated_at":"2025-10-21T00:25:40.523318-07:00","closed_at":"2025-10-18T14:41:28.594337-07:00","source_repo":"."} -{"id":"bd-1270","content_hash":"4b717433314fe90cbc3a62de7a5c53144f4b943eb6dc6e5f9d2d1fa4919dc09b","title":"Agent 2 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.115256-07:00","updated_at":"2025-11-20T12:27:53.802978-05:00","closed_at":"2025-11-20T12:27:53.802978-05:00","source_repo":"."} -{"id":"bd-1271","content_hash":"24964937436a1b2cec72080a8886e9f1927f15c53dea56a510335d70a9715636","title":"Agent 2 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.115869-07:00","updated_at":"2025-11-20T12:27:32.961846-05:00","closed_at":"2025-11-20T12:27:32.961846-05:00","source_repo":"."} -{"id":"bd-1272","content_hash":"566640bb2e8511f555688b74e84276e3ca6eb509b17031395226d53f9318f4ca","title":"Agent 2 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.116502-07:00","updated_at":"2025-11-20T12:27:53.80279-05:00","closed_at":"2025-11-20T12:27:53.80279-05:00","source_repo":"."} -{"id":"bd-1273","content_hash":"85e61842ce41b01d2c5809cd21955e0b4f28096bb5d640cf30deb2481539ba66","title":"Agent 2 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.117111-07:00","updated_at":"2025-11-20T12:27:32.961675-05:00","closed_at":"2025-11-20T12:27:32.961675-05:00","source_repo":"."} -{"id":"bd-1274","content_hash":"9c3b051aeebd2e1fd87291c5807de26913d9719bdc6a584ecf508fff94444da8","title":"Agent 2 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.117769-07:00","updated_at":"2025-11-20T12:27:53.802638-05:00","closed_at":"2025-11-20T12:27:53.802638-05:00","source_repo":"."} -{"id":"bd-1275","content_hash":"15ac1bac7c9307b135348972b040ceb2222ce386bf2175bc4c4617b54fa3da55","title":"Agent 2 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.118363-07:00","updated_at":"2025-11-20T12:27:32.961495-05:00","closed_at":"2025-11-20T12:27:32.961495-05:00","source_repo":"."} -{"id":"bd-1276","content_hash":"9bd30897e17e9dd890cc7211715b4f7e71425d019d713f8a50b27ac88473a39e","title":"Agent 2 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.118999-07:00","updated_at":"2025-11-20T12:27:53.802489-05:00","closed_at":"2025-11-20T12:27:53.802489-05:00","source_repo":"."} -{"id":"bd-1277","content_hash":"80a5012b13796314ddc95cd85529f7dd621fd403189babc51f2aa6ee5edaa7cc","title":"Agent 2 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.119583-07:00","updated_at":"2025-11-20T12:27:32.961269-05:00","closed_at":"2025-11-20T12:27:32.961269-05:00","source_repo":"."} -{"id":"bd-1278","content_hash":"8372524501e9ba507a52a65a22229c09c90fc76e3a89a5cafad37f011b2dbe18","title":"Agent 2 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.120184-07:00","updated_at":"2025-11-20T12:27:53.802333-05:00","closed_at":"2025-11-20T12:27:53.802333-05:00","source_repo":"."} -{"id":"bd-1279","content_hash":"569a0a8da0adb0a767d1d865541b49607c8f3ac8af7784cafeb8b0888b74a7f5","title":"Agent 2 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.120769-07:00","updated_at":"2025-11-20T12:27:32.961079-05:00","closed_at":"2025-11-20T12:27:32.961079-05:00","source_repo":"."} +{"id":"bd-1270","content_hash":"8238b4d7c82a0e8e8dec2f103405b76bbf4d687a14fbf5bcf4f0a4c8dc9b990f","title":"Agent 2 Batch 2 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.115256-07:00","updated_at":"2025-11-20T12:27:53.802978-05:00","closed_at":"2025-11-20T12:27:53.802978-05:00","source_repo":"."} +{"id":"bd-1271","content_hash":"589db36ce9fce53a7c39776d577e8417308fe7e1da83a45445444becb9cb9556","title":"Agent 2 Batch 2 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.115869-07:00","updated_at":"2025-11-20T12:27:32.961846-05:00","closed_at":"2025-11-20T12:27:32.961846-05:00","source_repo":"."} +{"id":"bd-1272","content_hash":"c8bf5b2ed30c616104c269736c7ac92ba8df6ebfb17f53d186b4f5fd8af4db6d","title":"Agent 2 Batch 3 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.116502-07:00","updated_at":"2025-11-20T12:27:53.80279-05:00","closed_at":"2025-11-20T12:27:53.80279-05:00","source_repo":"."} +{"id":"bd-1273","content_hash":"eca04ca1e667dd64f4a3c92e07b2677d073112deac434c6328f540dd34ee8d29","title":"Agent 2 Batch 3 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.117111-07:00","updated_at":"2025-11-20T12:27:32.961675-05:00","closed_at":"2025-11-20T12:27:32.961675-05:00","source_repo":"."} +{"id":"bd-1274","content_hash":"641f24f598629175a7c312a41628c5115708efab0dd1817938b6530122c47bb8","title":"Agent 2 Batch 4 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.117769-07:00","updated_at":"2025-11-20T12:27:53.802638-05:00","closed_at":"2025-11-20T12:27:53.802638-05:00","source_repo":"."} +{"id":"bd-1275","content_hash":"f48b6f568cb18d404a4b6318534e960bbba68650afe2d691fcad7eead95d1c17","title":"Agent 2 Batch 4 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.118363-07:00","updated_at":"2025-11-20T12:27:32.961495-05:00","closed_at":"2025-11-20T12:27:32.961495-05:00","source_repo":"."} +{"id":"bd-1276","content_hash":"4cbcd5edafaca78b99766ba94498673bbabf29bea6713ff0a97c842cf2a6f166","title":"Agent 2 Batch 5 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.118999-07:00","updated_at":"2025-11-20T12:27:53.802489-05:00","closed_at":"2025-11-20T12:27:53.802489-05:00","source_repo":"."} +{"id":"bd-1277","content_hash":"71f13ca031717a5c3f94a92dcb006fcaf535b1e26e782726e2f76149f5e91149","title":"Agent 2 Batch 5 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.119583-07:00","updated_at":"2025-11-20T12:27:32.961269-05:00","closed_at":"2025-11-20T12:27:32.961269-05:00","source_repo":"."} +{"id":"bd-1278","content_hash":"409cfe2e51e4a2d8f3a4019d01e06d9c42c393e07b745afe2d0aa5ac0330e6f2","title":"Agent 2 Batch 6 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.120184-07:00","updated_at":"2025-11-20T12:27:53.802333-05:00","closed_at":"2025-11-20T12:27:53.802333-05:00","source_repo":"."} +{"id":"bd-1279","content_hash":"c8c0915659da62c7bb8e8f6883c645219aa50fd27255e233bd2627da8fb13a05","title":"Agent 2 Batch 6 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.120769-07:00","updated_at":"2025-11-20T12:27:32.961079-05:00","closed_at":"2025-11-20T12:27:32.961079-05:00","source_repo":"."} {"id":"bd-128","content_hash":"722f63e6a12e45bb7a80d343e5ba2dd2572f72e7443ec732982132cfa5b1afaa","title":"Improve daemon fallback visibility and user feedback","description":"When daemon is unavailable, bd silently falls back to direct mode. Users don't know:\n- That daemon exists\n- Why auto-start failed\n- That they're in degraded mode\n- How to fix it\n\nThis creates confusion for multi-repo users who get slower performance without explanation.\n\nLocation: cmd/bd/main.go:98-130","design":"Add visibility at multiple levels:\n\n1. Debug logging (existing BD_DEBUG):\n - Already shows daemon connection attempts\n - Add auto-start success/failure\n\n2. Verbose mode (BD_VERBOSE):\n - Show warning when falling back\n - Suggest 'bd daemon --status' to check\n\n3. Status indicator:\n - Add daemon status to all commands when --json\n - Example: {\"daemon_status\": \"healthy\", \"daemon_type\": \"local\", ...}\n\n4. Explicit status command:\n - bd daemon --status shows detailed info\n - Shows whether daemon is running/healthy/unavailable\n\n5. Helpful error messages:\n - When auto-start fails repeatedly\n - When falling back after health check failure\n - With actionable next steps","acceptance_criteria":"- Users can see daemon status easily\n- Fallback warnings are helpful not noisy\n- JSON output includes daemon status\n- Error messages are actionable\n- Documentation explains status indicators\n- bd daemon --status command works","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-18T13:06:46.212558-07:00","updated_at":"2025-10-21T00:25:40.523514-07:00","closed_at":"2025-10-18T18:36:51.769633-07:00","source_repo":"."} -{"id":"bd-1280","content_hash":"cb2e609787c58515be99d34f15ed367f2afc9d6b8be70f1348e02dfecd676755","title":"Agent 2 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.121362-07:00","updated_at":"2025-11-20T12:27:53.802146-05:00","closed_at":"2025-11-20T12:27:53.802146-05:00","source_repo":"."} -{"id":"bd-1281","content_hash":"f9015f1484835540e92317ce08c17dd287b45fd9718ccaab7b03b460db7c9244","title":"Agent 2 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.121959-07:00","updated_at":"2025-11-20T12:27:32.960799-05:00","closed_at":"2025-11-20T12:27:32.960799-05:00","source_repo":"."} -{"id":"bd-1282","content_hash":"daa6952cfcb08498fbea9ebd65d626cf3c2b779a8d3208468999ef7ce37462a6","title":"Agent 2 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.122558-07:00","updated_at":"2025-11-20T12:27:53.801994-05:00","closed_at":"2025-11-20T12:27:53.801994-05:00","source_repo":"."} -{"id":"bd-1283","content_hash":"6b14256a8f61225bbc546e983d78998acf3dd7e3a38eeb094a15bc9f4fa5d9d2","title":"Agent 2 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.123152-07:00","updated_at":"2025-11-20T12:27:32.960639-05:00","closed_at":"2025-11-20T12:27:32.960639-05:00","source_repo":"."} -{"id":"bd-1284","content_hash":"111bdee53150e3d76f78d653525586609ad51b8878609499578239ac2daa9881","title":"Agent 2 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.123741-07:00","updated_at":"2025-11-20T12:27:53.801841-05:00","closed_at":"2025-11-20T12:27:53.801841-05:00","source_repo":"."} -{"id":"bd-1285","content_hash":"f3dee2d11eabac9cc5d617ced5364d376c7ebee5f7f731b2c34be99633f66171","title":"Agent 2 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.124361-07:00","updated_at":"2025-11-20T12:27:32.960437-05:00","closed_at":"2025-11-20T12:27:32.960437-05:00","source_repo":"."} -{"id":"bd-1286","content_hash":"11d723cf217a40e1ecfb65f330da5dff484ae84aa1349a791c41f922299c9e8a","title":"Agent 2 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.124967-07:00","updated_at":"2025-11-20T12:27:53.801687-05:00","closed_at":"2025-11-20T12:27:53.801687-05:00","source_repo":"."} -{"id":"bd-1287","content_hash":"426f6bfdc0fc3c8557b1baf8eaf8b242aee12f4c49d1f29bcf89705c2fad982d","title":"Agent 2 Batch 10 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.125558-07:00","updated_at":"2025-11-20T12:27:32.960233-05:00","closed_at":"2025-11-20T12:27:32.960233-05:00","source_repo":"."} -{"id":"bd-1288","content_hash":"e165a721996e95f8762968f7525b872a928dfab2f68bf9d3b8593f4c868f317e","title":"Agent 2 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.126166-07:00","updated_at":"2025-11-20T12:27:53.801506-05:00","closed_at":"2025-11-20T12:27:53.801506-05:00","source_repo":"."} -{"id":"bd-1289","content_hash":"20177d0ee81cbc1ba5ef6b7522b88dc96c59a832984f120b0120f76848bef19e","title":"Agent 2 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.12675-07:00","updated_at":"2025-11-20T12:27:32.960065-05:00","closed_at":"2025-11-20T12:27:32.960065-05:00","source_repo":"."} +{"id":"bd-1280","content_hash":"6ae0f6bb6f4d7d4048b483b730045919565744a2cf88bc1aa16f97edac642e62","title":"Agent 2 Batch 7 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.121362-07:00","updated_at":"2025-11-20T12:27:53.802146-05:00","closed_at":"2025-11-20T12:27:53.802146-05:00","source_repo":"."} +{"id":"bd-1281","content_hash":"b4e902564d4cc0f29dc8c48262e6b2f416c4b6bdacfc271f7f81a7676a585ac5","title":"Agent 2 Batch 7 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.121959-07:00","updated_at":"2025-11-20T12:27:32.960799-05:00","closed_at":"2025-11-20T12:27:32.960799-05:00","source_repo":"."} +{"id":"bd-1282","content_hash":"558348776ccc7bfb62c1c4d42ce216fe3b7198cfdc3c389247b910254a4af33d","title":"Agent 2 Batch 8 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.122558-07:00","updated_at":"2025-11-20T12:27:53.801994-05:00","closed_at":"2025-11-20T12:27:53.801994-05:00","source_repo":"."} +{"id":"bd-1283","content_hash":"34e1439f21e7d3b03a9fcab42c09a6c1f36a1c497509fbaca06f3e78ace3ef62","title":"Agent 2 Batch 8 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.123152-07:00","updated_at":"2025-11-20T12:27:32.960639-05:00","closed_at":"2025-11-20T12:27:32.960639-05:00","source_repo":"."} +{"id":"bd-1284","content_hash":"d1f2c1dfc7d779d831a6f27d96dbbf4e4ad175d95eeacb712cde6b2604d41270","title":"Agent 2 Batch 9 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.123741-07:00","updated_at":"2025-11-20T12:27:53.801841-05:00","closed_at":"2025-11-20T12:27:53.801841-05:00","source_repo":"."} +{"id":"bd-1285","content_hash":"c4d90c6b2f5de30cf669319fd71851709eaed7c2189877b58b44833e49ac35ba","title":"Agent 2 Batch 9 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.124361-07:00","updated_at":"2025-11-20T12:27:32.960437-05:00","closed_at":"2025-11-20T12:27:32.960437-05:00","source_repo":"."} +{"id":"bd-1286","content_hash":"7cf02571324a16e21529b8e030976977c80692e7e84a0adbb48610d5b3b63074","title":"Agent 2 Batch 10 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.124967-07:00","updated_at":"2025-11-20T12:27:53.801687-05:00","closed_at":"2025-11-20T12:27:53.801687-05:00","source_repo":"."} +{"id":"bd-1287","content_hash":"f7959c639a313a53ab5b341266b1c2045bdc2c8a186685f4120603ff038a2723","title":"Agent 2 Batch 10 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.125558-07:00","updated_at":"2025-11-20T12:27:32.960233-05:00","closed_at":"2025-11-20T12:27:32.960233-05:00","source_repo":"."} +{"id":"bd-1288","content_hash":"ac82a11bd5cc6dc68f460ae3e152f7ccc14759dec1334351d4a812105647819c","title":"Agent 2 Batch 11 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.126166-07:00","updated_at":"2025-11-20T12:27:53.801506-05:00","closed_at":"2025-11-20T12:27:53.801506-05:00","source_repo":"."} +{"id":"bd-1289","content_hash":"17c2f9e0fa4d3cba6a3e971b7f185f886f508192c9cb6f83b81b91e5142755bf","title":"Agent 2 Batch 11 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.12675-07:00","updated_at":"2025-11-20T12:27:32.960065-05:00","closed_at":"2025-11-20T12:27:32.960065-05:00","source_repo":"."} {"id":"bd-129","content_hash":"94093876ee70caad20d7ca37327c56aa17129933ea7db8abfe2366edcdd46bc9","title":"Add version compatibility checks for daemon RPC protocol","description":"Client (bd CLI) and daemon may be different versions after upgrade. This causes:\n- Missing features (newer CLI, older daemon)\n- Protocol mismatches (older CLI, newer daemon)\n- Silent failures or confusing errors\n- No guidance to restart daemon\n\nLocation: internal/rpc/protocol.go, internal/rpc/client.go","design":"Add version field to RPC protocol:\n\n1. Add ClientVersion to Request struct\n2. Populate from Version constant in client\n3. Server checks compatibility in handleRequest()\n\nCompatibility rules:\n- Major version must match\n- Minor version backward compatible\n- Patch version always compatible\n\nOn mismatch:\n- Return clear error message\n- Suggest 'bd daemon --stop \u0026\u0026 bd daemon'\n- Log version info for debugging\n\nAdd to ping/health response:\n- Server version\n- Protocol version\n- Compatibility info\n\nAdd bd version --daemon command to check running daemon version.","acceptance_criteria":"- Version field in RPC protocol\n- Server validates client version\n- Clear error messages on mismatch\n- Health check returns version info\n- bd version --daemon command works\n- Documentation on version policy\n- Tests for version compatibility","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-18T13:06:57.417411-07:00","updated_at":"2025-10-21T00:25:40.523711-07:00","closed_at":"2025-10-18T18:46:03.047035-07:00","source_repo":"."} -{"id":"bd-1290","content_hash":"87bd1ecfc5f1d3418932965c92bae8174e6500460179f5f9c1baf5ade06531c8","title":"Agent 2 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.127364-07:00","updated_at":"2025-11-20T12:27:53.801276-05:00","closed_at":"2025-11-20T12:27:53.801276-05:00","source_repo":"."} -{"id":"bd-1291","content_hash":"afffb17801302a89cea0b26a84814fc390fa84e47d4878dfe6f31e6fbb714b4c","title":"Agent 2 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.127962-07:00","updated_at":"2025-11-20T12:27:32.959891-05:00","closed_at":"2025-11-20T12:27:32.959891-05:00","source_repo":"."} -{"id":"bd-1292","content_hash":"d94fbcb1af0e707da527803bf588c4ddee6871dd5503cc9ad2c1d773ab79b40e","title":"Agent 2 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.128564-07:00","updated_at":"2025-11-20T12:27:53.801063-05:00","closed_at":"2025-11-20T12:27:53.801063-05:00","source_repo":"."} -{"id":"bd-1293","content_hash":"8753117fb463dabf0e0fa3f9e56327435e92005a0e83cb8ad27e6702be7b003c","title":"Agent 2 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.129143-07:00","updated_at":"2025-11-20T12:27:32.959714-05:00","closed_at":"2025-11-20T12:27:32.959714-05:00","source_repo":"."} -{"id":"bd-1294","content_hash":"bfd77851baa319f6ff625712a3b97c9a3335e69412096dce7ce4c51df6c29f4f","title":"Agent 2 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.129739-07:00","updated_at":"2025-11-20T12:27:53.800477-05:00","closed_at":"2025-11-20T12:27:53.800477-05:00","source_repo":"."} -{"id":"bd-1295","content_hash":"3bf988b2264de5a5895190bb95933e08a2b65f5f8a4b13bd54df8e1b0e6d48d8","title":"Agent 2 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.130362-07:00","updated_at":"2025-11-20T12:27:32.959553-05:00","closed_at":"2025-11-20T12:27:32.959553-05:00","source_repo":"."} -{"id":"bd-1296","content_hash":"bcd74701dc49c9e3b421fb06f4adfabfb8ce053602513ddf78dfa2d1b2308989","title":"Agent 2 Batch 15 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.130951-07:00","updated_at":"2025-11-20T12:27:48.590377-05:00","closed_at":"2025-11-20T12:27:48.590377-05:00","source_repo":"."} -{"id":"bd-1297","content_hash":"1e1968ef8a63750a7a198976556ee66db40b9e21ff326740581836f208ec1e67","title":"Agent 2 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.131531-07:00","updated_at":"2025-11-20T12:27:32.959274-05:00","closed_at":"2025-11-20T12:27:32.959274-05:00","source_repo":"."} -{"id":"bd-1298","content_hash":"5e66e78d7703943e6546962947bbd1e11663e36a7bd2c9e4c801709a7c3da6f2","title":"Agent 2 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.132138-07:00","updated_at":"2025-11-20T12:27:48.590217-05:00","closed_at":"2025-11-20T12:27:48.590217-05:00","source_repo":"."} -{"id":"bd-1299","content_hash":"369fc6556b2d789f9aade3461edecc29ade6908a06216758a9c6443e3dd5ece0","title":"Agent 2 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.132799-07:00","updated_at":"2025-11-20T12:27:32.958665-05:00","closed_at":"2025-11-20T12:27:32.958665-05:00","source_repo":"."} +{"id":"bd-1290","content_hash":"219fbbe7123c470ab5f2454f1b641897eb75dd82713b64ebffe5f81f1cab6b04","title":"Agent 2 Batch 12 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.127364-07:00","updated_at":"2025-11-20T12:27:53.801276-05:00","closed_at":"2025-11-20T12:27:53.801276-05:00","source_repo":"."} +{"id":"bd-1291","content_hash":"ce6464efe063eef80f7995c0e9bb008d649c42d631835affbb542bb442510353","title":"Agent 2 Batch 12 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.127962-07:00","updated_at":"2025-11-20T12:27:32.959891-05:00","closed_at":"2025-11-20T12:27:32.959891-05:00","source_repo":"."} +{"id":"bd-1292","content_hash":"3095c4fe1c89a604b5a459629aef2f4c86b23a889f8207b709357abdb7d3776f","title":"Agent 2 Batch 13 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.128564-07:00","updated_at":"2025-11-20T12:27:53.801063-05:00","closed_at":"2025-11-20T12:27:53.801063-05:00","source_repo":"."} +{"id":"bd-1293","content_hash":"4ac632e6d8a1927bd18506e3bf43a5de7e3fd18f2f07d26d5a2b854ff3f3707b","title":"Agent 2 Batch 13 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.129143-07:00","updated_at":"2025-11-20T12:27:32.959714-05:00","closed_at":"2025-11-20T12:27:32.959714-05:00","source_repo":"."} +{"id":"bd-1294","content_hash":"72ec748eb1340fca92e7c1d65667f8da889f91dc86440a0d20b55ed6f29859af","title":"Agent 2 Batch 14 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.129739-07:00","updated_at":"2025-11-20T12:27:53.800477-05:00","closed_at":"2025-11-20T12:27:53.800477-05:00","source_repo":"."} +{"id":"bd-1295","content_hash":"083ddfb746306324fd8c27bf375cdf986cc2a30a33a1d5b28199e7bd5ac586b4","title":"Agent 2 Batch 14 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.130362-07:00","updated_at":"2025-11-20T12:27:32.959553-05:00","closed_at":"2025-11-20T12:27:32.959553-05:00","source_repo":"."} +{"id":"bd-1296","content_hash":"08f3a603b106009bdb97c288b0d8614f70fe0585bff4750c0b3052a79b71cef1","title":"Agent 2 Batch 15 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.130951-07:00","updated_at":"2025-11-20T12:27:48.590377-05:00","closed_at":"2025-11-20T12:27:48.590377-05:00","source_repo":"."} +{"id":"bd-1297","content_hash":"cd2fd4ea857410f03b43b6eb3f13b8e45938610f0bf0638724e31f85cb92b273","title":"Agent 2 Batch 15 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.131531-07:00","updated_at":"2025-11-20T12:27:32.959274-05:00","closed_at":"2025-11-20T12:27:32.959274-05:00","source_repo":"."} +{"id":"bd-1298","content_hash":"2fa91f1df7332334fc3a2cf5ccccfadf8a5268bbb8e0ebbc9dbb0e0b54c15552","title":"Agent 2 Batch 16 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.132138-07:00","updated_at":"2025-11-20T12:27:48.590217-05:00","closed_at":"2025-11-20T12:27:48.590217-05:00","source_repo":"."} +{"id":"bd-1299","content_hash":"db60d4b2ee5d9464901f4570bc3c73b6d0705f6b51b1be54bae61500ca10d195","title":"Agent 2 Batch 16 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.132799-07:00","updated_at":"2025-11-20T12:27:32.958665-05:00","closed_at":"2025-11-20T12:27:32.958665-05:00","source_repo":"."} {"id":"bd-12c2","content_hash":"77aa473abba394b850dfbaf1b5c4841aae3523238b21a82038ec0e8b39283677","title":"Add comprehensive tests for show.go commands (show, update, edit, close)","description":"Need to add tests for cmd/bd/show.go which contains show, update, edit, and close commands.\n\n**Challenge**: The existing test patterns use rootCmd.SetArgs() and rootCmd.Execute(), but the global `store` variable needs to match what the commands use. Initial attempt created tests that failed with \"no issue found\" because the test's store instance wasn't the same as the command's store.\n\n**Files to test**:\n- show.go (contains showCmd, updateCmd, editCmd, closeCmd)\n\n**Coverage needed**:\n- show command (single issue, multiple issues, JSON output, with dependencies, with labels, with compaction)\n- update command (status, priority, title, assignee, description, multiple fields, multiple issues)\n- edit command (requires $EDITOR, may need mocking)\n- close command (single issue, multiple issues, with reason, JSON output)\n\n**Test approach**:\n1. Study working test patterns in init_test.go, list_test.go, etc.\n2. Ensure BEADS_NO_DAEMON=1 is set\n3. Properly initialize database with bd init\n4. Use the command's global store, not a separate instance\n5. May need to reset global state between tests\n\n**Success criteria**: \n- All test functions pass\n- Coverage for show.go increases significantly\n- Tests follow existing patterns in cmd/bd/*_test.go","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-31T20:08:40.545173-07:00","updated_at":"2025-10-31T20:19:22.411066-07:00","closed_at":"2025-10-31T20:19:22.411066-07:00","source_repo":"."} {"id":"bd-13","content_hash":"f9bcb3bdd536e78df8a5ef82a6b6d715abe0a000c99b87214f32ac8034c4c4fc","title":"Implement full cross-type cycle prevention in AddDependency","description":"Expand cycle prevention in AddDependency to check for cycles across ALL dependency types, not just 'blocks'. Currently only 'blocks' type dependencies are checked for cycles, allowing cross-type circular dependencies to form (e.g., A blocks B, B parent-child A). This can cause semantic confusion and is a maintenance hazard for future operations that traverse dependencies.","design":"Implementation approach:\n1. Modify the cycle check in AddDependency (postgres.go:559-599)\n2. Remove the 'type = blocks' filter from the recursive CTE\n3. Check for cycles regardless of dependency type being added\n4. Return a clear error message indicating which types form the cycle\n\nTrade-offs to consider:\n- This is more mathematically correct (no cycles in dependency DAG)\n- May break legitimate use cases where cross-type cycles are intentional\n- Need to evaluate whether ANY cross-type cycles are valid in practice\n- Alternative: make this configurable with a --allow-cycle flag\n\nBefore implementing, should investigate:\n- Are there legitimate reasons for cross-type cycles?\n- What's the performance impact on large graphs (1000+ issues)?\n- Should certain type combinations be allowed to cycle?","acceptance_criteria":"- AddDependency prevents cycles across all dependency types, not just 'blocks'\n- Clear error message when cycle would be created, including dependency types\n- All existing tests pass\n- Performance benchmarked on large dependency graphs (100+ issues)\n- Decision documented on whether to add --allow-cycle flag or exception rules","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.523904-07:00","closed_at":"2025-10-16T20:31:19.174534-07:00","source_repo":"."} {"id":"bd-130","content_hash":"f573a4851b22e0afdc09c08132e6110525e5221bef9ffcb760cc3e4713456d67","title":"Add resource limits to daemon (connections, cache, memory)","description":"Daemon has no resource limits. Under heavy load or attack, it could:\n- Accept unlimited connections\n- Cache unlimited databases\n- Use unbounded memory\n- Exhaust file descriptors\n\nNeed limits for:\n- Max concurrent RPC connections (default: 100)\n- Max storage cache size (default: 50)\n- Request timeout enforcement (default: 30s)\n- Memory pressure detection\n\nLocation: internal/rpc/server.go","design":"Add resource tracking to Server:\n\ntype Server struct {\n // ... existing\n maxConns int32\n activeConns int32 // atomic\n connSemaphore chan struct{}\n}\n\nUse semaphore pattern for connection limiting:\n- Acquire token before handling connection\n- Release on completion\n- Reject connections when full\n\nAdd configurable limits via env vars:\n- BEADS_DAEMON_MAX_CONNS (default: 100)\n- BEADS_DAEMON_MAX_CACHE_SIZE (default: 50)\n- BEADS_DAEMON_REQUEST_TIMEOUT (default: 30s)\n\nAdd memory pressure detection:\n- Monitor runtime.MemStats\n- Trigger cache eviction at threshold\n- Log warnings at high memory use","acceptance_criteria":"- Connection limit enforced\n- Excess connections rejected gracefully\n- Request timeouts work\n- Memory limits configurable\n- Metrics expose current usage\n- Tests for limit enforcement\n- Documentation on tuning limits","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-18T13:07:09.810963-07:00","updated_at":"2025-10-21T00:25:40.524094-07:00","closed_at":"2025-10-19T13:21:47.891925-07:00","source_repo":"."} -{"id":"bd-1300","content_hash":"b189e608720511d4b8092160d2c6638078b205e9ede2894ab844d7adce32e1b2","title":"Agent 2 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.133392-07:00","updated_at":"2025-11-20T12:27:48.589977-05:00","closed_at":"2025-11-20T12:27:48.589977-05:00","source_repo":"."} -{"id":"bd-1301","content_hash":"35d2f81abde37704a339cdec5173ffc2ddab5ce45690ae0cb7cefd70b616c9ee","title":"Agent 2 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.133994-07:00","updated_at":"2025-11-20T12:27:27.741099-05:00","closed_at":"2025-11-20T12:27:27.741099-05:00","source_repo":"."} -{"id":"bd-1302","content_hash":"ea0ed209dfca245cf2603dc71e9569c74fe807b07919d9de8ba7f048b7918c95","title":"Agent 2 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.134599-07:00","updated_at":"2025-11-20T12:27:48.589752-05:00","closed_at":"2025-11-20T12:27:48.589752-05:00","source_repo":"."} -{"id":"bd-1303","content_hash":"d1bf173f9885dd2c8e7759536329ee19294ed80c05f477dd757061aaee40f57b","title":"Agent 2 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.13523-07:00","updated_at":"2025-11-20T12:27:27.740952-05:00","closed_at":"2025-11-20T12:27:27.740952-05:00","source_repo":"."} -{"id":"bd-1304","content_hash":"4729209856ae466009ceaa8c524c990503cf98959430ca9ad063fab778bbed94","title":"Agent 2 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.135859-07:00","updated_at":"2025-11-20T12:27:48.589575-05:00","closed_at":"2025-11-20T12:27:48.589575-05:00","source_repo":"."} -{"id":"bd-1305","content_hash":"177e6fd3694641178b52e4bccac554f02f57cc2f23a73d20d53e8f5d1e1f2f6d","title":"Agent 2 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.136476-07:00","updated_at":"2025-11-20T12:27:27.740789-05:00","closed_at":"2025-11-20T12:27:27.740789-05:00","source_repo":"."} -{"id":"bd-1306","content_hash":"292175c9515a515f5ca81430d845fecaccac64f9e44712703ec83478c85be8b3","title":"Agent 2 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.137124-07:00","updated_at":"2025-11-20T12:27:48.589425-05:00","closed_at":"2025-11-20T12:27:48.589425-05:00","source_repo":"."} -{"id":"bd-1307","content_hash":"baaf4295e1a36cdac795a2d9e2e66ef9b6ee23fb190ec64d32aae29e8d7e531b","title":"Agent 2 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.137763-07:00","updated_at":"2025-11-20T12:27:27.740641-05:00","closed_at":"2025-11-20T12:27:27.740641-05:00","source_repo":"."} -{"id":"bd-1308","content_hash":"8cd4037d4b79174443bcaa35b11b44ae9ddb1e41ca6aac07a53f5511a2c4082e","title":"Agent 2 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.138442-07:00","updated_at":"2025-11-20T12:27:48.589242-05:00","closed_at":"2025-11-20T12:27:48.589242-05:00","source_repo":"."} -{"id":"bd-1309","content_hash":"8bc023ef71c27f553d0b818cc27aca55e223572a371efd6c2fc90c0003b6cad1","title":"Agent 2 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.13908-07:00","updated_at":"2025-11-20T12:27:27.740473-05:00","closed_at":"2025-11-20T12:27:27.740473-05:00","source_repo":"."} +{"id":"bd-1300","content_hash":"0cd60e9afb1347acd3d956c257f24d057993230e4cf12285256402489a5280b0","title":"Agent 2 Batch 17 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.133392-07:00","updated_at":"2025-11-20T12:27:48.589977-05:00","closed_at":"2025-11-20T12:27:48.589977-05:00","source_repo":"."} +{"id":"bd-1301","content_hash":"af8de00eeb03840d60ad903f59fa15c641a3a9de2a97907175fe25c918289d48","title":"Agent 2 Batch 17 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.133994-07:00","updated_at":"2025-11-20T12:27:27.741099-05:00","closed_at":"2025-11-20T12:27:27.741099-05:00","source_repo":"."} +{"id":"bd-1302","content_hash":"0ab7a5e37d456d256d9dc41d47f0055358e19f1fe6d778a15aa9dddbdc33f970","title":"Agent 2 Batch 18 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.134599-07:00","updated_at":"2025-11-20T12:27:48.589752-05:00","closed_at":"2025-11-20T12:27:48.589752-05:00","source_repo":"."} +{"id":"bd-1303","content_hash":"9f04c08e769a7bdb0a19c2e2d3f842685ea9268001789ab2fbe42433bfaf3f34","title":"Agent 2 Batch 18 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.13523-07:00","updated_at":"2025-11-20T12:27:27.740952-05:00","closed_at":"2025-11-20T12:27:27.740952-05:00","source_repo":"."} +{"id":"bd-1304","content_hash":"c003064ae8bd96cc848fa382765d01e51c7807882324b55f221dc0cf070899e9","title":"Agent 2 Batch 19 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.135859-07:00","updated_at":"2025-11-20T12:27:48.589575-05:00","closed_at":"2025-11-20T12:27:48.589575-05:00","source_repo":"."} +{"id":"bd-1305","content_hash":"3c4505c63ef10fc8f93347748e25ea35696c8df6df98a82ea04e4d88920d7811","title":"Agent 2 Batch 19 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.136476-07:00","updated_at":"2025-11-20T12:27:27.740789-05:00","closed_at":"2025-11-20T12:27:27.740789-05:00","source_repo":"."} +{"id":"bd-1306","content_hash":"6dc8c2322f4ca551b6becd4b244bf33363745fae3c2c89cf4ef1aa9660e0ed72","title":"Agent 2 Batch 20 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.137124-07:00","updated_at":"2025-11-20T12:27:48.589425-05:00","closed_at":"2025-11-20T12:27:48.589425-05:00","source_repo":"."} +{"id":"bd-1307","content_hash":"9261d201e3922c03f47bed691d18003edec98ee592bdbed414fe9c14d6bf7440","title":"Agent 2 Batch 20 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.137763-07:00","updated_at":"2025-11-20T12:27:27.740641-05:00","closed_at":"2025-11-20T12:27:27.740641-05:00","source_repo":"."} +{"id":"bd-1308","content_hash":"22d6a10f9cdfc36387fb7faa93284df9e32a01aa16287a93c4cca1b667d023a3","title":"Agent 2 Batch 21 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.138442-07:00","updated_at":"2025-11-20T12:27:48.589242-05:00","closed_at":"2025-11-20T12:27:48.589242-05:00","source_repo":"."} +{"id":"bd-1309","content_hash":"1ae9ea8634c0cc2b2c5823750faaf4eb1e53b78dea87ef126e6bb507489823f7","title":"Agent 2 Batch 21 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.13908-07:00","updated_at":"2025-11-20T12:27:27.740473-05:00","closed_at":"2025-11-20T12:27:27.740473-05:00","source_repo":"."} {"id":"bd-131","content_hash":"1f7ecf4e0f85dab61cadb205d695790e04d81e0b89efa0603ee847b791275e70","title":"Add telemetry and observability to daemon","description":"Daemon has no metrics or observability. Cannot monitor:\n- Request latency (p50, p95, p99)\n- Cache hit/miss rates\n- Active connections\n- Error rates\n- Resource usage over time\n\nNeeded for:\n- Performance debugging\n- Capacity planning\n- Production monitoring\n- SLA tracking\n\nLocation: internal/rpc/server.go","design":"Add metrics collection to daemon:\n\n1. Request metrics:\n - Total requests by operation\n - Latency histogram\n - Error count by type\n\n2. Cache metrics:\n - Hit/miss ratio\n - Eviction count\n - Current size\n\n3. Connection metrics:\n - Active connections\n - Total connections\n - Rejected connections\n\n4. Resource metrics:\n - Memory usage\n - Goroutine count\n - File descriptor count\n\nAdd metrics endpoint:\n- bd daemon --metrics (JSON output)\n- OpMetrics RPC operation\n- Prometheus-compatible format option\n\nAdd to health check response for free monitoring.","acceptance_criteria":"- Metrics collected for key operations\n- bd daemon --metrics command works\n- Metrics include timestamps\n- Latency percentiles calculated\n- Zero performance overhead\n- Documentation on metrics","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-18T13:07:19.835495-07:00","updated_at":"2025-10-21T00:25:40.524284-07:00","closed_at":"2025-10-19T14:58:41.155435-07:00","source_repo":"."} -{"id":"bd-1310","content_hash":"796a708b412bc48a49f23860654d306a4a865b58c37cdf8554e2de9e8738e875","title":"Agent 2 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.139799-07:00","updated_at":"2025-11-20T12:27:48.589084-05:00","closed_at":"2025-11-20T12:27:48.589084-05:00","source_repo":"."} -{"id":"bd-1311","content_hash":"de238953e6206ee3ecda0861b1866d0471c3e05c373a61468e0d9466e3167042","title":"Agent 2 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.140417-07:00","updated_at":"2025-11-20T12:27:27.740273-05:00","closed_at":"2025-11-20T12:27:27.740273-05:00","source_repo":"."} -{"id":"bd-1312","content_hash":"d49e75f7a22366b15c09b298af5cfe4cd78a40bbb123161ac0dadb12e3871809","title":"Agent 2 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.141054-07:00","updated_at":"2025-11-20T12:27:48.588897-05:00","closed_at":"2025-11-20T12:27:48.588897-05:00","source_repo":"."} -{"id":"bd-1313","content_hash":"64ff3afe853c77ce20246a7ad798bbb612ae32dc5c5735ae662ee29d017c699f","title":"Agent 2 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.141664-07:00","updated_at":"2025-11-20T12:27:27.740098-05:00","closed_at":"2025-11-20T12:27:27.740098-05:00","source_repo":"."} -{"id":"bd-1314","content_hash":"ea3657434beccd755e6d573f0ab89f46d2c208e6293ade356795206af43523b6","title":"Agent 2 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.142278-07:00","updated_at":"2025-11-20T12:27:48.588741-05:00","closed_at":"2025-11-20T12:27:48.588741-05:00","source_repo":"."} -{"id":"bd-1315","content_hash":"d38d74899f02136b913d9a285cea81433ac1e1512baef2d7550d5c4e7c4e6ac1","title":"Agent 2 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.142869-07:00","updated_at":"2025-11-20T12:27:27.739925-05:00","closed_at":"2025-11-20T12:27:27.739925-05:00","source_repo":"."} -{"id":"bd-1316","content_hash":"7c4710f771cb6339351ae3678bdc19159eb22ee467d5b06e0b263419c4e0d3d5","title":"Agent 2 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.143502-07:00","updated_at":"2025-11-20T12:27:48.588511-05:00","closed_at":"2025-11-20T12:27:48.588511-05:00","source_repo":"."} -{"id":"bd-1317","content_hash":"d75cf5e8b3f543eebc9e8c3c5d0fd96537817b915f459ae7e2088e46642a717b","title":"Agent 2 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.14412-07:00","updated_at":"2025-11-20T12:27:27.739781-05:00","closed_at":"2025-11-20T12:27:27.739781-05:00","source_repo":"."} -{"id":"bd-1318","content_hash":"bc4e15f0d583d5a1d648801fbc2171d984c707706edd99174707eb517d5ac4ea","title":"Agent 2 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.144758-07:00","updated_at":"2025-11-20T12:27:48.588224-05:00","closed_at":"2025-11-20T12:27:48.588224-05:00","source_repo":"."} -{"id":"bd-1319","content_hash":"b00e1c5d28812a060492cfa9181cb43ed1c69dfafc0879cd8f22e9d5b21297ff","title":"Agent 2 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.145358-07:00","updated_at":"2025-11-20T12:27:27.739609-05:00","closed_at":"2025-11-20T12:27:27.739609-05:00","source_repo":"."} +{"id":"bd-1310","content_hash":"24c070b795bdc3d554bddc414ba3c527d6a4a752ab3d9774b10d067390af1302","title":"Agent 2 Batch 22 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.139799-07:00","updated_at":"2025-11-20T12:27:48.589084-05:00","closed_at":"2025-11-20T12:27:48.589084-05:00","source_repo":"."} +{"id":"bd-1311","content_hash":"afb80f184d1c7ac3222f955ca4683c908e9fc358864a9f394f0be63719fd1283","title":"Agent 2 Batch 22 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.140417-07:00","updated_at":"2025-11-20T12:27:27.740273-05:00","closed_at":"2025-11-20T12:27:27.740273-05:00","source_repo":"."} +{"id":"bd-1312","content_hash":"092c15c5b1df8d45028d29dae508f11ad6d3f6ad2bb0ef2b1214f12df24cdd91","title":"Agent 2 Batch 23 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.141054-07:00","updated_at":"2025-11-20T12:27:48.588897-05:00","closed_at":"2025-11-20T12:27:48.588897-05:00","source_repo":"."} +{"id":"bd-1313","content_hash":"e5239cedb72798157e5d6f524650d980dbbea85fa59bd3fcbb59cf13bc89f4ce","title":"Agent 2 Batch 23 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.141664-07:00","updated_at":"2025-11-20T12:27:27.740098-05:00","closed_at":"2025-11-20T12:27:27.740098-05:00","source_repo":"."} +{"id":"bd-1314","content_hash":"db5726c1ce4ea0384670735bea344cd7e0219ccab8bbb0e81498c6aab89bfefb","title":"Agent 2 Batch 24 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.142278-07:00","updated_at":"2025-11-20T12:27:48.588741-05:00","closed_at":"2025-11-20T12:27:48.588741-05:00","source_repo":"."} +{"id":"bd-1315","content_hash":"ea00a140c37c848f655c1f38c3d0ffe5af78a5da81d8a5cbbc3dd6d1b0639d3d","title":"Agent 2 Batch 24 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.142869-07:00","updated_at":"2025-11-20T12:27:27.739925-05:00","closed_at":"2025-11-20T12:27:27.739925-05:00","source_repo":"."} +{"id":"bd-1316","content_hash":"bae62916930061c80e91a92a5be2f684b57540850e09ba8e54639c7599966279","title":"Agent 2 Batch 25 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.143502-07:00","updated_at":"2025-11-20T12:27:48.588511-05:00","closed_at":"2025-11-20T12:27:48.588511-05:00","source_repo":"."} +{"id":"bd-1317","content_hash":"d827791e58382df9b4339306c6cb7c1af56e311573c1020a65c9d8ec5fc4272d","title":"Agent 2 Batch 25 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.14412-07:00","updated_at":"2025-11-20T12:27:27.739781-05:00","closed_at":"2025-11-20T12:27:27.739781-05:00","source_repo":"."} +{"id":"bd-1318","content_hash":"b9bacb113bb53c07328374509bc44ecd77fba35eb5613b0db7da1f69d02c0907","title":"Agent 2 Batch 26 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.144758-07:00","updated_at":"2025-11-20T12:27:48.588224-05:00","closed_at":"2025-11-20T12:27:48.588224-05:00","source_repo":"."} +{"id":"bd-1319","content_hash":"add1c34d6eef10967fc00f203187f97cb58be778618a0345d5b6f9e0df3e0b93","title":"Agent 2 Batch 26 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.145358-07:00","updated_at":"2025-11-20T12:27:27.739609-05:00","closed_at":"2025-11-20T12:27:27.739609-05:00","source_repo":"."} {"id":"bd-132","content_hash":"4f9a8ba4fe40921add9f558b3ec63ae26451dcf63e785a47483682f7d922f88f","title":"Add log rotation for daemon.log","description":"daemon.log grows forever without rotation. With sync every 5 minutes:\n- ~105k log entries per year\n- No size limit\n- No cleanup\n- Eventually fills disk\n\nNeed automatic log rotation with:\n- Size-based rotation (default: 10MB)\n- Age-based cleanup (default: 7 days)\n- Compression of old logs\n- Configurable retention\n\nLocation: cmd/bd/daemon.go:455","design":"Use lumberjack library for rotation:\n\nimport \"gopkg.in/natefinch/lumberjack.v2\"\n\nlogF := \u0026lumberjack.Logger{\n Filename: logPath,\n MaxSize: 10, // MB\n MaxBackups: 3,\n MaxAge: 7, // days\n Compress: true,\n}\n\nMake configurable via env vars:\n- BEADS_DAEMON_LOG_MAX_SIZE (default: 10MB)\n- BEADS_DAEMON_LOG_MAX_BACKUPS (default: 3)\n- BEADS_DAEMON_LOG_MAX_AGE (default: 7 days)\n\nAdd to daemon status output:\n- Current log size\n- Number of archived logs\n- Oldest log timestamp","acceptance_criteria":"- Log rotation works automatically\n- Old logs are compressed\n- Retention policy enforced\n- Configuration via env vars works\n- Log size stays bounded\n- No log data loss during rotation\n- Documentation updated","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-18T13:07:30.94896-07:00","updated_at":"2025-10-21T00:25:40.524469-07:00","closed_at":"2025-10-18T16:27:51.349037-07:00","source_repo":"."} -{"id":"bd-1320","content_hash":"1f1656bd047c0ef6532b61fe8b611d4207c291efdc31487db2bc3fe7bbc89375","title":"Agent 2 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.145972-07:00","updated_at":"2025-11-20T12:27:48.588077-05:00","closed_at":"2025-11-20T12:27:48.588077-05:00","source_repo":"."} -{"id":"bd-1321","content_hash":"35aa437f721b1af193a8fcc5196018af6a8f2ef082eb7f43391274c67c79010e","title":"Agent 2 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.146626-07:00","updated_at":"2025-11-20T12:27:27.739459-05:00","closed_at":"2025-11-20T12:27:27.739459-05:00","source_repo":"."} -{"id":"bd-1322","content_hash":"74e5270053e4d7a44b9fa1c1e5e46c13535290b887556cfbb3daa8e777b7388f","title":"Agent 2 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.147278-07:00","updated_at":"2025-11-20T12:27:48.587927-05:00","closed_at":"2025-11-20T12:27:48.587927-05:00","source_repo":"."} -{"id":"bd-1323","content_hash":"43c7bf7289984c94cdc4ef4c5c04d3bae3955ef01a16253d1741810af3e6df58","title":"Agent 2 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.147893-07:00","updated_at":"2025-11-20T12:27:27.73928-05:00","closed_at":"2025-11-20T12:27:27.73928-05:00","source_repo":"."} -{"id":"bd-1324","content_hash":"1863640a07d3e38902f114ad308fa6b66051502745c0878676d3ec45a5d3c42a","title":"Agent 2 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.148537-07:00","updated_at":"2025-11-20T12:27:48.58778-05:00","closed_at":"2025-11-20T12:27:48.58778-05:00","source_repo":"."} -{"id":"bd-1325","content_hash":"a7d18a48c08dfbcd5bd458bcc3808e14f433358c01624daa9b72496fabc091fc","title":"Agent 2 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.149184-07:00","updated_at":"2025-11-20T12:27:27.739133-05:00","closed_at":"2025-11-20T12:27:27.739133-05:00","source_repo":"."} -{"id":"bd-1326","content_hash":"79a4d6788ad4ea987556573d5ede956def7b2f18a0cff20855ccad3c62dbe6d1","title":"Agent 2 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.149813-07:00","updated_at":"2025-11-20T12:27:48.587608-05:00","closed_at":"2025-11-20T12:27:48.587608-05:00","source_repo":"."} -{"id":"bd-1327","content_hash":"e485b84f60dc38e4cbdc761e62db76e35b1aefda84c3db12cd3a7624c8c51c1f","title":"Agent 2 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.15071-07:00","updated_at":"2025-11-20T12:27:27.738955-05:00","closed_at":"2025-11-20T12:27:27.738955-05:00","source_repo":"."} -{"id":"bd-1328","content_hash":"335d3e89ca2a5d3439dea1594946fd1354bac64efcd3c5a25e5ec6b99af1d466","title":"Agent 2 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.151354-07:00","updated_at":"2025-11-20T12:27:48.587429-05:00","closed_at":"2025-11-20T12:27:48.587429-05:00","source_repo":"."} -{"id":"bd-1329","content_hash":"ea9fec61ab8fb36319378093d64334401bc40d177302852864b51a6dfe6f9db8","title":"Agent 2 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.151954-07:00","updated_at":"2025-11-20T12:27:27.738808-05:00","closed_at":"2025-11-20T12:27:27.738808-05:00","source_repo":"."} +{"id":"bd-1320","content_hash":"70c73d4325e7f797ddd6ca21e5d5a6c103524e4190335f63bed30c4b92c90899","title":"Agent 2 Batch 27 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.145972-07:00","updated_at":"2025-11-20T12:27:48.588077-05:00","closed_at":"2025-11-20T12:27:48.588077-05:00","source_repo":"."} +{"id":"bd-1321","content_hash":"29a32e5c17c1652321c65d2ee1d6d87bd218765644b33a18a95cfb6c8439770f","title":"Agent 2 Batch 27 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.146626-07:00","updated_at":"2025-11-20T12:27:27.739459-05:00","closed_at":"2025-11-20T12:27:27.739459-05:00","source_repo":"."} +{"id":"bd-1322","content_hash":"503a86a2587f5b5b86a8359c67967d74c916ac9cee2ad069816807db497384ad","title":"Agent 2 Batch 28 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.147278-07:00","updated_at":"2025-11-20T12:27:48.587927-05:00","closed_at":"2025-11-20T12:27:48.587927-05:00","source_repo":"."} +{"id":"bd-1323","content_hash":"8456553fb93e62c36d7694e5f88d928171e423ae818d99fbc75eb25e1e1af0ff","title":"Agent 2 Batch 28 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.147893-07:00","updated_at":"2025-11-20T12:27:27.73928-05:00","closed_at":"2025-11-20T12:27:27.73928-05:00","source_repo":"."} +{"id":"bd-1324","content_hash":"d4b0db606d0e9b5dc4c23d7f43967f40a149ace01cf224b51520bccf053e9dc2","title":"Agent 2 Batch 29 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.148537-07:00","updated_at":"2025-11-20T12:27:48.58778-05:00","closed_at":"2025-11-20T12:27:48.58778-05:00","source_repo":"."} +{"id":"bd-1325","content_hash":"5496f615d82e0c9fcb843b6ccba8eb8f0d7bae8c98585e3c62f02af01b64f923","title":"Agent 2 Batch 29 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.149184-07:00","updated_at":"2025-11-20T12:27:27.739133-05:00","closed_at":"2025-11-20T12:27:27.739133-05:00","source_repo":"."} +{"id":"bd-1326","content_hash":"a82efc61910ebe0cc04732051865ed959c2909eef0a386e93f7287c6559fe988","title":"Agent 2 Batch 30 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.149813-07:00","updated_at":"2025-11-20T12:27:48.587608-05:00","closed_at":"2025-11-20T12:27:48.587608-05:00","source_repo":"."} +{"id":"bd-1327","content_hash":"e5a3c0de4ac2c22e61da2b26708f692dc61adad70152263b8a7904161f33fc96","title":"Agent 2 Batch 30 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.15071-07:00","updated_at":"2025-11-20T12:27:27.738955-05:00","closed_at":"2025-11-20T12:27:27.738955-05:00","source_repo":"."} +{"id":"bd-1328","content_hash":"312a99ebb7da52df9816a405c02c546c2898b637f8f697921f212fd92c54f2bc","title":"Agent 2 Batch 31 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.151354-07:00","updated_at":"2025-11-20T12:27:48.587429-05:00","closed_at":"2025-11-20T12:27:48.587429-05:00","source_repo":"."} +{"id":"bd-1329","content_hash":"fda8b088f5c2f56e283984c55004d3fb14c50495a1a8c53f16523083232eed16","title":"Agent 2 Batch 31 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.151954-07:00","updated_at":"2025-11-20T12:27:27.738808-05:00","closed_at":"2025-11-20T12:27:27.738808-05:00","source_repo":"."} {"id":"bd-133","content_hash":"42847e8f0fe8c24e8ebd29c31f264a105b4f0e2aeb11ddbff04886f7aeac531f","title":"Daemon production readiness","description":"Make beads daemon production-ready for long-running use, multi-repo deployments, and resilient operation.\n\nCurrent state: Good foundation, works well for development\nTarget state: Production-ready for individual developers and small teams\n\nGap areas:\n1. Resource management (cache eviction, limits)\n2. Health monitoring and crash recovery\n3. Process lifecycle management\n4. User experience (visibility, feedback)\n5. Operational concerns (logging, metrics)\n\nSuccess criteria:\n- Can run for weeks without restart\n- Handles 50+ repositories efficiently\n- Recovers from crashes automatically\n- Users understand daemon status\n- Observable and debuggable","acceptance_criteria":"All child issues completed:\n- P0 issues: Storage cache, health checks, crash recovery, MCP cleanup\n- P1 issues: Global auto-start, visibility, version checks\n- P2 issues: Resource limits, telemetry, log rotation\n\nValidation:\n- Run daemon for 7+ days without issues\n- Test with 50+ repositories\n- Verify crash recovery\n- Confirm resource usage is bounded\n- Check metrics and logs are useful","status":"closed","priority":0,"issue_type":"epic","created_at":"2025-10-18T13:07:43.543715-07:00","updated_at":"2025-10-21T00:25:40.524655-07:00","closed_at":"2025-10-19T20:15:20.172178-07:00","source_repo":"."} -{"id":"bd-1330","content_hash":"3d23fd67ee160b6218be9fc66aa7a6b2d5e260135f7268c494249ef7993a0435","title":"Agent 2 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.152568-07:00","updated_at":"2025-11-20T12:27:48.587273-05:00","closed_at":"2025-11-20T12:27:48.587273-05:00","source_repo":"."} -{"id":"bd-1331","content_hash":"2bc9616d72e966c6560259245631c65a85c6f6e6b2ac29afed08954c8685241a","title":"Agent 2 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.153154-07:00","updated_at":"2025-11-20T12:27:27.738626-05:00","closed_at":"2025-11-20T12:27:27.738626-05:00","source_repo":"."} -{"id":"bd-1332","content_hash":"9bf319e584656c957f8832b00c3db3c0a2fdc7525ecf09a702d455b48e51ea30","title":"Agent 2 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.153783-07:00","updated_at":"2025-11-20T12:27:48.587092-05:00","closed_at":"2025-11-20T12:27:48.587092-05:00","source_repo":"."} -{"id":"bd-1333","content_hash":"b34318e7b7e2fe11b5ca3eeac8d5df02dda868c909e963f517681ffb893cf8d7","title":"Agent 2 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.154366-07:00","updated_at":"2025-11-20T12:27:27.738478-05:00","closed_at":"2025-11-20T12:27:27.738478-05:00","source_repo":"."} -{"id":"bd-1334","content_hash":"7f0f6c3981f939aae7ac2ebf13b1b05105627448cfdde99620f2391fbc233cde","title":"Agent 2 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.155028-07:00","updated_at":"2025-11-20T12:27:48.586943-05:00","closed_at":"2025-11-20T12:27:48.586943-05:00","source_repo":"."} -{"id":"bd-1335","content_hash":"f3abf99fc598f8e9059a78b80f265bd7c9ef8a7b303b0b7e6381c8527b401b17","title":"Agent 2 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.155651-07:00","updated_at":"2025-11-20T12:27:27.738324-05:00","closed_at":"2025-11-20T12:27:27.738324-05:00","source_repo":"."} -{"id":"bd-1336","content_hash":"00f0d2067f16a5af6b9d5095eadba9702021e56f0a2004369a279f4094bbbc46","title":"Agent 2 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.156299-07:00","updated_at":"2025-11-20T12:27:48.586793-05:00","closed_at":"2025-11-20T12:27:48.586793-05:00","source_repo":"."} -{"id":"bd-1337","content_hash":"19ef16c3a0806733f652e5b44dbdcac2cf0dcb777aa7b99f8c0e380b79bab242","title":"Agent 2 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.156927-07:00","updated_at":"2025-11-20T12:27:27.738179-05:00","closed_at":"2025-11-20T12:27:27.738179-05:00","source_repo":"."} -{"id":"bd-1338","content_hash":"1c9338c4c5cfe53d729a6368570073e486937a6ded434193a2428e6910ee6afd","title":"Agent 2 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.157569-07:00","updated_at":"2025-11-20T12:27:48.586617-05:00","closed_at":"2025-11-20T12:27:48.586617-05:00","source_repo":"."} -{"id":"bd-1339","content_hash":"643b36480aab41ed26cf565bcc734f0396745f536fdf16b8dce4cdf630627e70","title":"Agent 2 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.158158-07:00","updated_at":"2025-11-20T12:27:27.73803-05:00","closed_at":"2025-11-20T12:27:27.73803-05:00","source_repo":"."} +{"id":"bd-1330","content_hash":"b549d51920cd052a201c85348d2e51abe33835b785b55b4eac2a1d68b4258226","title":"Agent 2 Batch 32 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.152568-07:00","updated_at":"2025-11-20T12:27:48.587273-05:00","closed_at":"2025-11-20T12:27:48.587273-05:00","source_repo":"."} +{"id":"bd-1331","content_hash":"7f316903c4755301a500bd0fc4219b3f09a67954fda620071aeb68a6a75d674c","title":"Agent 2 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.153154-07:00","updated_at":"2025-11-20T12:27:27.738626-05:00","closed_at":"2025-11-20T12:27:27.738626-05:00","source_repo":"."} +{"id":"bd-1332","content_hash":"caeee7b4a4cdcc78289cc65686d6126bb55c6c24a73a060b3957bd8e76c6a456","title":"Agent 2 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.153783-07:00","updated_at":"2025-11-20T12:27:48.587092-05:00","closed_at":"2025-11-20T12:27:48.587092-05:00","source_repo":"."} +{"id":"bd-1333","content_hash":"135affa20f6570120b0bb0c2cf4d864a731ee526b9bd9cb25c12b7a4f2466a48","title":"Agent 2 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.154366-07:00","updated_at":"2025-11-20T12:27:27.738478-05:00","closed_at":"2025-11-20T12:27:27.738478-05:00","source_repo":"."} +{"id":"bd-1334","content_hash":"8d74e83ee112a52e10a62288a5c5b4fe4abc6e698929bb48d1113e704e0f2eea","title":"Agent 2 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.155028-07:00","updated_at":"2025-11-20T12:27:48.586943-05:00","closed_at":"2025-11-20T12:27:48.586943-05:00","source_repo":"."} +{"id":"bd-1335","content_hash":"351990895b2cb9380b5cf2da1f9a5b027ae7634db8339dcf9a1223e1708b2aca","title":"Agent 2 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.155651-07:00","updated_at":"2025-11-20T12:27:27.738324-05:00","closed_at":"2025-11-20T12:27:27.738324-05:00","source_repo":"."} +{"id":"bd-1336","content_hash":"232057748a629c07b3e2e2c391a0733bb074bfa9a70802c4ac71bd84b129a352","title":"Agent 2 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.156299-07:00","updated_at":"2025-11-20T12:27:48.586793-05:00","closed_at":"2025-11-20T12:27:48.586793-05:00","source_repo":"."} +{"id":"bd-1337","content_hash":"864595b94df130a5474e0375ab7fd7d0bf52cbe62c9dbd3081c1a4fc424099c3","title":"Agent 2 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.156927-07:00","updated_at":"2025-11-20T12:27:27.738179-05:00","closed_at":"2025-11-20T12:27:27.738179-05:00","source_repo":"."} +{"id":"bd-1338","content_hash":"a53859d57b7411cb3e58c63699b6b42bd74ddd5e3b6f28dcbdb853a797a15f4a","title":"Agent 2 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.157569-07:00","updated_at":"2025-11-20T12:27:48.586617-05:00","closed_at":"2025-11-20T12:27:48.586617-05:00","source_repo":"."} +{"id":"bd-1339","content_hash":"c422f86a73d005b51b76f78ce2b36af256ea2b93ce0736c28bb64d5dd9b6ae64","title":"Agent 2 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.158158-07:00","updated_at":"2025-11-20T12:27:27.73803-05:00","closed_at":"2025-11-20T12:27:27.73803-05:00","source_repo":"."} {"id":"bd-134","content_hash":"2b086d287572f7458ccb039451ff58fe367e02a897706abb7cb8b5d5586182cd","title":"Refactor import logic to eliminate duplication between manual and auto-import","description":"The import logic is duplicated in two places:\n1. cmd/bd/import.go (manual 'bd import' command)\n2. cmd/bd/main.go:autoImportIfNewer() (auto-import after git pull)\n\nBoth have nearly identical code for:\n- Reading and parsing JSONL\n- Type-asserting store to *sqlite.SQLiteStorage (where we just fixed a bug twice)\n- Opening direct SQLite connection when using daemon mode\n- Detecting collisions with sqlite.DetectCollisions()\n- Scoring and remapping collisions\n- Importing issues, dependencies, and labels\n\n**Problems:**\n- Bugs must be fixed in two places (we just did this for daemon mode)\n- Features must be implemented twice\n- Tests must cover both code paths\n- Harder to maintain and keep in sync\n- Higher risk of divergence over time\n\n**Proposed solution:**\nExtract a shared function that handles the core import logic:\n\n```go\n// importIssues handles the core import logic used by both manual and auto-import\nfunc importIssues(ctx context.Context, dbPath string, store storage.Storage, \n issues []*types.Issue, opts ImportOptions) (*ImportResult, error) {\n // Handle SQLite store detection/creation for daemon mode\n // Detect collisions\n // Score and remap if needed\n // Import issues, dependencies, labels\n // Return result\n}\n```\n\nBoth import.go and autoImportIfNewer() would call this shared function with their specific options.\n\n**Benefits:**\n- Single source of truth for import logic\n- Bugs fixed once\n- Easier to test\n- Easier to extend with new import features\n- Less code overall","status":"closed","priority":2,"issue_type":"chore","created_at":"2025-10-18T17:07:06.007026-07:00","updated_at":"2025-10-21T00:25:40.524849-07:00","closed_at":"2025-10-18T17:11:20.280214-07:00","source_repo":"."} -{"id":"bd-1340","content_hash":"bc044d940a12fad6759a1b7421fcf55d7ed5c430badb51998fb8d935604cf0a1","title":"Agent 2 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.158803-07:00","updated_at":"2025-11-20T12:27:48.586468-05:00","closed_at":"2025-11-20T12:27:48.586468-05:00","source_repo":"."} -{"id":"bd-1341","content_hash":"c77940b0ef7743dffd155e4e59bf61456503bdce53964e18d372589015632f0b","title":"Agent 2 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.159441-07:00","updated_at":"2025-11-20T12:27:27.737883-05:00","closed_at":"2025-11-20T12:27:27.737883-05:00","source_repo":"."} -{"id":"bd-1342","content_hash":"e6565bea44649775a39a79bb7850c640d94e076d6cfd3a80459116c1a6c63193","title":"Agent 2 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.160069-07:00","updated_at":"2025-11-20T12:27:48.586318-05:00","closed_at":"2025-11-20T12:27:48.586318-05:00","source_repo":"."} -{"id":"bd-1343","content_hash":"2c3ae8300e88c6a7b248a33c4e0e4f2caee346a36a38f690b756264a2fbd7a86","title":"Agent 2 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.160714-07:00","updated_at":"2025-11-20T12:27:27.737732-05:00","closed_at":"2025-11-20T12:27:27.737732-05:00","source_repo":"."} -{"id":"bd-1344","content_hash":"0151bee26e5b9588a32af834b93eddae7081a6cd9cb59ce3dfc7bbf7e8d1ae21","title":"Agent 2 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.161374-07:00","updated_at":"2025-11-20T12:27:48.586167-05:00","closed_at":"2025-11-20T12:27:48.586167-05:00","source_repo":"."} -{"id":"bd-1345","content_hash":"5298145f0daccb24df95f1924902df917a6c47365cf2415b2b438eda74c0cf92","title":"Agent 2 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.161955-07:00","updated_at":"2025-11-20T12:27:27.737585-05:00","closed_at":"2025-11-20T12:27:27.737585-05:00","source_repo":"."} -{"id":"bd-1346","content_hash":"df57eb9d0da058789d8b7469c6a1a67cf5c2f3d5bbddf7a476aed7d257346955","title":"Agent 2 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.162581-07:00","updated_at":"2025-11-20T12:27:48.586015-05:00","closed_at":"2025-11-20T12:27:48.586015-05:00","source_repo":"."} -{"id":"bd-1347","content_hash":"d92558dbb60b36fb3878ca91a8597fb20669d718ccc2d2d87e1885b63ef549d9","title":"Agent 2 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.163176-07:00","updated_at":"2025-11-20T12:27:27.737433-05:00","closed_at":"2025-11-20T12:27:27.737433-05:00","source_repo":"."} -{"id":"bd-1348","content_hash":"2a11e8848fb3f46e5ac4a9f3e59c9d2cfe7ce6d896c97e7802761d36c08c1ab6","title":"Agent 2 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.163794-07:00","updated_at":"2025-11-20T12:27:48.585861-05:00","closed_at":"2025-11-20T12:27:48.585861-05:00","source_repo":"."} -{"id":"bd-1349","content_hash":"3a168a8583352f4dd5b8698eb7a919aacaedaeefda605e4ecf32388a0d4bed99","title":"Agent 2 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.164537-07:00","updated_at":"2025-11-20T12:27:27.737281-05:00","closed_at":"2025-11-20T12:27:27.737281-05:00","source_repo":"."} +{"id":"bd-1340","content_hash":"c27a236226ff935c2e505680a232177fcc04050dcb87ef30810dea857bf40303","title":"Agent 2 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.158803-07:00","updated_at":"2025-11-20T12:27:48.586468-05:00","closed_at":"2025-11-20T12:27:48.586468-05:00","source_repo":"."} +{"id":"bd-1341","content_hash":"a9d67698262d98d87c84094a86c961337c4d4960241afa013cf59c7db8f64b9b","title":"Agent 2 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.159441-07:00","updated_at":"2025-11-20T12:27:27.737883-05:00","closed_at":"2025-11-20T12:27:27.737883-05:00","source_repo":"."} +{"id":"bd-1342","content_hash":"df48c80e2eb0d3e93e0a2b17ddb2fc1368274b878462db62b91be057dc2eb3c9","title":"Agent 2 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.160069-07:00","updated_at":"2025-11-20T12:27:48.586318-05:00","closed_at":"2025-11-20T12:27:48.586318-05:00","source_repo":"."} +{"id":"bd-1343","content_hash":"d5898e7fe3b562370410337816995825462e9298dd0b5cfd299877625d09ddeb","title":"Agent 2 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.160714-07:00","updated_at":"2025-11-20T12:27:27.737732-05:00","closed_at":"2025-11-20T12:27:27.737732-05:00","source_repo":"."} +{"id":"bd-1344","content_hash":"1de7c52b448651555301856c2ead5ae60c2cb28482e478de3c5b4dd310b23482","title":"Agent 2 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.161374-07:00","updated_at":"2025-11-20T12:27:48.586167-05:00","closed_at":"2025-11-20T12:27:48.586167-05:00","source_repo":"."} +{"id":"bd-1345","content_hash":"df131016bd308bb17464737abd1834f5184afa6b6c88f5984d5ea64f74395938","title":"Agent 2 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.161955-07:00","updated_at":"2025-11-20T12:27:27.737585-05:00","closed_at":"2025-11-20T12:27:27.737585-05:00","source_repo":"."} +{"id":"bd-1346","content_hash":"1791ee697e47414d6e795f24cc0bc4b63891d6a00a5916504437078b08ce4198","title":"Agent 2 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.162581-07:00","updated_at":"2025-11-20T12:27:48.586015-05:00","closed_at":"2025-11-20T12:27:48.586015-05:00","source_repo":"."} +{"id":"bd-1347","content_hash":"19df2f3e3328a856aca192936156eabe01f6b94318a3197b28a0e9fea9f06915","title":"Agent 2 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.163176-07:00","updated_at":"2025-11-20T12:27:27.737433-05:00","closed_at":"2025-11-20T12:27:27.737433-05:00","source_repo":"."} +{"id":"bd-1348","content_hash":"fad0e916c5b3e3abfc6a9a8c2fe1aba132252753ede548002edec45f564b68d3","title":"Agent 2 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.163794-07:00","updated_at":"2025-11-20T12:27:48.585861-05:00","closed_at":"2025-11-20T12:27:48.585861-05:00","source_repo":"."} +{"id":"bd-1349","content_hash":"c8524cc827819e27d97d42f0526dbbc0d8ae3d78d36b193d8cf023f66d9205b3","title":"Agent 2 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.164537-07:00","updated_at":"2025-11-20T12:27:27.737281-05:00","closed_at":"2025-11-20T12:27:27.737281-05:00","source_repo":"."} {"id":"bd-135","content_hash":"53b974a1f8dde3e9220ee6e54dee62d0897ad61eb0a76dc2641889b6a07bc939","title":"Complete auto-import refactoring to use shared importIssuesCore function","description":"The manual import command (bd import) was successfully refactored to use the shared importIssuesCore() function in import_shared.go, reducing code from 494 lines to 170 lines.\n\nHowever, autoImportIfNewer() in cmd/bd/main.go still has ~298 lines of duplicated import logic that should use the same shared function.\n\n**Current state:**\n- ✅ Manual import uses importIssuesCore() (commit 790233f)\n- ❌ Auto-import still has duplicated logic (lines 618-915 in main.go)\n\n**Duplication includes:**\n- SQLite store detection/creation for daemon mode (fixed in 790233f)\n- Collision detection with sqlite.DetectCollisions()\n- Scoring and remapping collisions\n- Importing issues (update existing, create new)\n- Importing dependencies\n- Importing labels\n\n**Benefits of completing this:**\n- Remove ~200 more lines of duplicated code\n- Ensure manual and auto-import have identical behavior\n- Future bug fixes only need to be made once\n- Easier to test and maintain\n\n**Implementation:**\nReplace lines 714-908 in autoImportIfNewer() with:\n```go\nopts := ImportOptions{\n ResolveCollisions: true, // Auto-import always resolves\n DryRun: false,\n SkipUpdate: false,\n Strict: false,\n}\nresult, err := importIssuesCore(ctx, dbPath, store, allIssues, opts)\n// Handle result and show remapping notification\n```\n\nThen update hash storage logic at the end.","status":"closed","priority":2,"issue_type":"chore","created_at":"2025-10-18T17:38:34.443872-07:00","updated_at":"2025-10-21T00:25:40.526466-07:00","closed_at":"2025-10-18T18:07:05.553928-07:00","source_repo":"."} -{"id":"bd-1350","content_hash":"b6c37bb83367336c2f4e0874737211440af0fa3f29bcc85713ed40822becba09","title":"Agent 2 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.16529-07:00","updated_at":"2025-11-20T12:27:48.585661-05:00","closed_at":"2025-11-20T12:27:48.585661-05:00","source_repo":"."} -{"id":"bd-1351","content_hash":"0f9a8511a3e9920cb67f0e44796da001285ba10b2de66f266000058856e4da3b","title":"Agent 2 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.165932-07:00","updated_at":"2025-11-20T12:27:27.737135-05:00","closed_at":"2025-11-20T12:27:27.737135-05:00","source_repo":"."} -{"id":"bd-1352","content_hash":"c241b7d28a86de8ca33cbb61e2fcf22239f5d266e38b214c6dbe3c7ef9ffec6a","title":"Agent 2 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.166561-07:00","updated_at":"2025-11-20T12:27:48.585495-05:00","closed_at":"2025-11-20T12:27:48.585495-05:00","source_repo":"."} -{"id":"bd-1353","content_hash":"b5d6e0275709327cbed25092cff0bea2458f8ce1516bc207003f417ce214a149","title":"Agent 2 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.167184-07:00","updated_at":"2025-11-20T12:27:27.736989-05:00","closed_at":"2025-11-20T12:27:27.736989-05:00","source_repo":"."} -{"id":"bd-1354","content_hash":"095181bd920f3afaf31628a1cb1b7322993caaceb1036149cca4aad5500924ee","title":"Agent 2 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.167821-07:00","updated_at":"2025-11-20T12:27:48.585292-05:00","closed_at":"2025-11-20T12:27:48.585292-05:00","source_repo":"."} -{"id":"bd-1355","content_hash":"2e594c9cc55d1ac908657f7018d57b207ed171d7a96f18bcc17742c2354007e4","title":"Agent 2 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.168391-07:00","updated_at":"2025-11-20T12:27:27.736841-05:00","closed_at":"2025-11-20T12:27:27.736841-05:00","source_repo":"."} -{"id":"bd-1356","content_hash":"9bad5f855af76f659cd57dcfa7f3cc86f85431fde7c58e7718608d58a710d93e","title":"Agent 2 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.168988-07:00","updated_at":"2025-11-20T12:27:48.584816-05:00","closed_at":"2025-11-20T12:27:48.584816-05:00","source_repo":"."} -{"id":"bd-1357","content_hash":"291af6b18507bbb644de2704e269199b6b0c558f7fe14d1f7232ea92904db4e0","title":"Agent 2 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.169636-07:00","updated_at":"2025-11-20T12:27:27.736684-05:00","closed_at":"2025-11-20T12:27:27.736684-05:00","source_repo":"."} -{"id":"bd-1358","content_hash":"c8ab95ee18d751ced9fea8ab727879efcc2d0f22b249a1a3d828c63019835b2b","title":"Agent 2 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.170265-07:00","updated_at":"2025-11-20T12:27:48.584647-05:00","closed_at":"2025-11-20T12:27:48.584647-05:00","source_repo":"."} -{"id":"bd-1359","content_hash":"10de3d6ecc3fced3187e351b9715b038cee98c155327f99f81b4d8380afd7b40","title":"Agent 2 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.17087-07:00","updated_at":"2025-11-20T12:27:27.736533-05:00","closed_at":"2025-11-20T12:27:27.736533-05:00","source_repo":"."} +{"id":"bd-1350","content_hash":"6378fb17ca2f574aea7df84fb2d400a4eb41862942c83129725e4b1178c8d081","title":"Agent 2 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.16529-07:00","updated_at":"2025-11-20T12:27:48.585661-05:00","closed_at":"2025-11-20T12:27:48.585661-05:00","source_repo":"."} +{"id":"bd-1351","content_hash":"98a75e0d53dbc1c80ddb846f8dc41ee72ef261792d4f721af33b71110f6cb49e","title":"Agent 2 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.165932-07:00","updated_at":"2025-11-20T12:27:27.737135-05:00","closed_at":"2025-11-20T12:27:27.737135-05:00","source_repo":"."} +{"id":"bd-1352","content_hash":"09ea85d1ecf97e8557028e42cc484f3e40774f6c190c9a6b35668ae8a8cebe72","title":"Agent 2 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.166561-07:00","updated_at":"2025-11-20T12:27:48.585495-05:00","closed_at":"2025-11-20T12:27:48.585495-05:00","source_repo":"."} +{"id":"bd-1353","content_hash":"157ef8bf24bcf19ff62b1da22bcdc77f0891a1c516f03e775c290872e0b57bb4","title":"Agent 2 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.167184-07:00","updated_at":"2025-11-20T12:27:27.736989-05:00","closed_at":"2025-11-20T12:27:27.736989-05:00","source_repo":"."} +{"id":"bd-1354","content_hash":"36826df530b920c8b0942f4f901cd0d2ef83beed02ccf71dd51c36d9a4efe089","title":"Agent 2 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.167821-07:00","updated_at":"2025-11-20T12:27:48.585292-05:00","closed_at":"2025-11-20T12:27:48.585292-05:00","source_repo":"."} +{"id":"bd-1355","content_hash":"f74f4bba522e1e77ae27c5b7ce5de56003b146d990e0441def7d0ec902ad91a7","title":"Agent 2 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.168391-07:00","updated_at":"2025-11-20T12:27:27.736841-05:00","closed_at":"2025-11-20T12:27:27.736841-05:00","source_repo":"."} +{"id":"bd-1356","content_hash":"1370a808fd1b2cf2bddfca02cf43e0ac04490f975889c8100a3f585f5ba672d5","title":"Agent 2 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.168988-07:00","updated_at":"2025-11-20T12:27:48.584816-05:00","closed_at":"2025-11-20T12:27:48.584816-05:00","source_repo":"."} +{"id":"bd-1357","content_hash":"2f4c3129aa9e9219f6ebe2fb1aafc7d7764c742aa467ba312f1631e4404012b6","title":"Agent 2 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.169636-07:00","updated_at":"2025-11-20T12:27:27.736684-05:00","closed_at":"2025-11-20T12:27:27.736684-05:00","source_repo":"."} +{"id":"bd-1358","content_hash":"74178f2dd5baa0bf3ad54c9fee605050298ee64ae29cb064c2d76d5c78405ef0","title":"Agent 2 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.170265-07:00","updated_at":"2025-11-20T12:27:48.584647-05:00","closed_at":"2025-11-20T12:27:48.584647-05:00","source_repo":"."} +{"id":"bd-1359","content_hash":"909a6b3dcaadfecae2e4d6bab219bc56a21cf08f3a1ef3ac02d7e23a8462ec94","title":"Agent 2 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.17087-07:00","updated_at":"2025-11-20T12:27:27.736533-05:00","closed_at":"2025-11-20T12:27:27.736533-05:00","source_repo":"."} {"id":"bd-136","content_hash":"ce1c681ba226fa304ea2a07a90d3abd0c2e6dbcf95c72c7ec8ea2170015fb668","title":"Add .gitignore to prevent noisy untracked beads files","description":"When using beads, git status shows several untracked files in .beads/ directory: .beads/.gitignore, .beads/db.sqlite, daemon.pid and daemon.lock files. These should be added to the project's .gitignore to prevent noise.","status":"closed","priority":2,"issue_type":"chore","created_at":"2025-10-18T18:27:16.424878-07:00","updated_at":"2025-10-21T00:25:40.526712-07:00","closed_at":"2025-10-19T09:05:48.4899-07:00","source_repo":"."} -{"id":"bd-1360","content_hash":"3176126c83780b34193212802a02eb97e2ca929ab926ef3c11af062b134fbb9e","title":"Agent 2 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.1715-07:00","updated_at":"2025-11-20T12:27:48.584463-05:00","closed_at":"2025-11-20T12:27:48.584463-05:00","source_repo":"."} -{"id":"bd-1361","content_hash":"c87b34b7dc9c64d589c9b9bf42840eacffad553139f1af177f55cca73ab87182","title":"Agent 2 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.172158-07:00","updated_at":"2025-11-20T12:27:27.736386-05:00","closed_at":"2025-11-20T12:27:27.736386-05:00","source_repo":"."} -{"id":"bd-1362","content_hash":"f038d03969376ad3704d65176f4ccc33b9f3fcb9288f00a71f31ac0cd503b7fc","title":"Agent 2 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.172811-07:00","updated_at":"2025-11-20T12:27:48.584225-05:00","closed_at":"2025-11-20T12:27:48.584225-05:00","source_repo":"."} -{"id":"bd-1363","content_hash":"eebf46b883b9e0814ca9e4bd183e3532f74ba1d86dd1e92e5480350a569ddacf","title":"Agent 2 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.173454-07:00","updated_at":"2025-11-20T12:27:27.736174-05:00","closed_at":"2025-11-20T12:27:27.736174-05:00","source_repo":"."} -{"id":"bd-1364","content_hash":"e12fdbaf43ccc494fb7660f25752313273a33b4e06349be04de98b2bd7592d7b","title":"Agent 2 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.17412-07:00","updated_at":"2025-11-20T12:27:48.584072-05:00","closed_at":"2025-11-20T12:27:48.584072-05:00","source_repo":"."} -{"id":"bd-1365","content_hash":"835fcb9d7a57b89404bd39459db4b518b850571a9682322ad4d7ce893b54656f","title":"Agent 2 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.174766-07:00","updated_at":"2025-11-20T12:27:27.735991-05:00","closed_at":"2025-11-20T12:27:27.735991-05:00","source_repo":"."} -{"id":"bd-1366","content_hash":"51fe6cd8b4841fcc88a12811b74295caf26c92be7d164caf2b9dfac73e6991b8","title":"Agent 0 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.112529-07:00","updated_at":"2025-11-20T12:27:32.962373-05:00","closed_at":"2025-11-20T12:27:32.962373-05:00","source_repo":"."} -{"id":"bd-1367","content_hash":"cceeb95824bd7958a71456a761f892e3d8b585d5032931d6cfd560446b7030d0","title":"Agent 0 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.176258-07:00","updated_at":"2025-11-20T12:27:48.583915-05:00","closed_at":"2025-11-20T12:27:48.583915-05:00","source_repo":"."} -{"id":"bd-1368","content_hash":"6702706e58c1850efbe74895c3208695980e63ddcce8a0ab3f95610c04f85e2e","title":"Agent 0 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.17699-07:00","updated_at":"2025-11-20T12:27:27.735836-05:00","closed_at":"2025-11-20T12:27:27.735836-05:00","source_repo":"."} -{"id":"bd-1369","content_hash":"8234308f6b7cd1590ac10997f54d9f6a6fa156c7cb5fd2f74de24ba955fb7cbf","title":"Agent 0 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.177699-07:00","updated_at":"2025-11-20T12:27:48.583762-05:00","closed_at":"2025-11-20T12:27:48.583762-05:00","source_repo":"."} +{"id":"bd-1360","content_hash":"75f35c3df86d55405fd3249fb5c1c2669b012d75f243653a3b92a2c99f950e57","title":"Agent 2 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.1715-07:00","updated_at":"2025-11-20T12:27:48.584463-05:00","closed_at":"2025-11-20T12:27:48.584463-05:00","source_repo":"."} +{"id":"bd-1361","content_hash":"3920de796e11e470896b625a68e913dbbc86b9cc858a0690838e231c3745da48","title":"Agent 2 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.172158-07:00","updated_at":"2025-11-20T12:27:27.736386-05:00","closed_at":"2025-11-20T12:27:27.736386-05:00","source_repo":"."} +{"id":"bd-1362","content_hash":"b39e6fe3841c50f7c62031af254cbe0082ca5e092dd4b975dad85d9d2915892a","title":"Agent 2 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.172811-07:00","updated_at":"2025-11-20T12:27:48.584225-05:00","closed_at":"2025-11-20T12:27:48.584225-05:00","source_repo":"."} +{"id":"bd-1363","content_hash":"7a76d17c4c4a4e0f10ea02ca3747ad9c219e15b76c46a1c86970eee89c3bd5c4","title":"Agent 2 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.173454-07:00","updated_at":"2025-11-20T12:27:27.736174-05:00","closed_at":"2025-11-20T12:27:27.736174-05:00","source_repo":"."} +{"id":"bd-1364","content_hash":"519ef5c16d9be997e5d8525890b58f6060fb77ffd712347316d5ec65e573eeeb","title":"Agent 2 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.17412-07:00","updated_at":"2025-11-20T12:27:48.584072-05:00","closed_at":"2025-11-20T12:27:48.584072-05:00","source_repo":"."} +{"id":"bd-1365","content_hash":"c89e17d006ced0d82538c02deb83a5420a067571489373cf07b62dd846c22888","title":"Agent 2 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.174766-07:00","updated_at":"2025-11-20T12:27:27.735991-05:00","closed_at":"2025-11-20T12:27:27.735991-05:00","source_repo":"."} +{"id":"bd-1366","content_hash":"69ccf3984aa4480295d06b41bef42a489bc16e7f60f031c804d8c36e402161ab","title":"Agent 0 Batch 32 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.112529-07:00","updated_at":"2025-11-20T12:27:32.962373-05:00","closed_at":"2025-11-20T12:27:32.962373-05:00","source_repo":"."} +{"id":"bd-1367","content_hash":"ef37af5fdcde3ca6d292ca26eb005c8ffed6b93ee3a500ad593dbd49da73bac1","title":"Agent 0 Batch 33 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.176258-07:00","updated_at":"2025-11-20T12:27:48.583915-05:00","closed_at":"2025-11-20T12:27:48.583915-05:00","source_repo":"."} +{"id":"bd-1368","content_hash":"2c0286237c8221568140f5bed40f2abe13949d207d3713506bd8c6bc63dab62e","title":"Agent 0 Batch 33 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.17699-07:00","updated_at":"2025-11-20T12:27:27.735836-05:00","closed_at":"2025-11-20T12:27:27.735836-05:00","source_repo":"."} +{"id":"bd-1369","content_hash":"590c75dd0abe98a3c30229e3594ceec533f2d89a7bc1b2e08c968b3d0b997d5b","title":"Agent 0 Batch 34 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.177699-07:00","updated_at":"2025-11-20T12:27:48.583762-05:00","closed_at":"2025-11-20T12:27:48.583762-05:00","source_repo":"."} {"id":"bd-137","content_hash":"91dc018caa8c598a0d71c3d7b0c7219cd90ed94f27d53591ab60657d1597551f","title":"Implement --max-depth flag for bd dep tree","description":"PR #87 adds the flag but doesn't wire it through. Need to:\n1. Add flag definition in cmd/bd/dep.go\n2. Pass maxDepth to store.GetDependencyTree()\n3. Fix truncation warning to show actual depth used\n4. Add tests for truncation behavior (TestGetDependencyTree_TruncationDepth, TestGetDependencyTree_DefaultDepth)\n5. Update CLI docs/help\n\nDefault should remain 50. Keep using direct storage mode (no RPC needed for now).\n\nRelated: PR #87, bd-5","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-19T08:31:15.473267-07:00","updated_at":"2025-10-21T00:25:40.526901-07:00","closed_at":"2025-10-19T08:55:21.266386-07:00","source_repo":"."} -{"id":"bd-1370","content_hash":"80171157d625af8b25cdbed5aafc4100059578e486040e51b0d3f59af21b1d85","title":"Agent 0 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.178434-07:00","updated_at":"2025-11-20T12:27:27.735687-05:00","closed_at":"2025-11-20T12:27:27.735687-05:00","source_repo":"."} -{"id":"bd-1371","content_hash":"baa3c227785c02f096be571565113cff27588ff7fa1bb34b28954925f1907d27","title":"Agent 0 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.179117-07:00","updated_at":"2025-11-20T12:27:48.583603-05:00","closed_at":"2025-11-20T12:27:48.583603-05:00","source_repo":"."} -{"id":"bd-1372","content_hash":"c1137e24e5c0e79fbe2ae10cc3ede5549a495deb53fb0bc821d38187bc65eef8","title":"Agent 0 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.179816-07:00","updated_at":"2025-11-20T12:27:27.735537-05:00","closed_at":"2025-11-20T12:27:27.735537-05:00","source_repo":"."} -{"id":"bd-1373","content_hash":"e58d2b2fc3a1427932809f39b0573377e5fdc1bebe1ec154275c6a2eadcf931e","title":"Agent 0 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.180552-07:00","updated_at":"2025-11-20T12:27:48.583434-05:00","closed_at":"2025-11-20T12:27:48.583434-05:00","source_repo":"."} -{"id":"bd-1374","content_hash":"ead4f9ce9b12fdb4fd2f168cc5ab6424979f292eeded111591f273e1113b8ce1","title":"Agent 0 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.181238-07:00","updated_at":"2025-11-20T12:27:27.735388-05:00","closed_at":"2025-11-20T12:27:27.735388-05:00","source_repo":"."} -{"id":"bd-1375","content_hash":"c51ea0141605e7a042ce9e52050f761973e7263d12ea3acd4774f755a3cd7a61","title":"Agent 0 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.181973-07:00","updated_at":"2025-11-20T12:27:48.583273-05:00","closed_at":"2025-11-20T12:27:48.583273-05:00","source_repo":"."} -{"id":"bd-1376","content_hash":"3330addb5705f3a9d90ae7f706cd2acedc1d2becc2fae472e2bbff11e259eb6e","title":"Agent 0 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.182661-07:00","updated_at":"2025-11-20T12:27:27.735233-05:00","closed_at":"2025-11-20T12:27:27.735233-05:00","source_repo":"."} -{"id":"bd-1377","content_hash":"ce58735293902cab1c8c1c3eb65ca9822da650e43ecb686ec1b299052f5d09a3","title":"Agent 0 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.183406-07:00","updated_at":"2025-11-20T12:27:48.583121-05:00","closed_at":"2025-11-20T12:27:48.583121-05:00","source_repo":"."} -{"id":"bd-1378","content_hash":"0b9e8180f9259ab6e1c63dca2ccc158ed3591617babc661c85d59c5308e5c8ef","title":"Agent 0 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.184082-07:00","updated_at":"2025-11-20T12:27:27.735086-05:00","closed_at":"2025-11-20T12:27:27.735086-05:00","source_repo":"."} -{"id":"bd-1379","content_hash":"7e55cc9d523957a931122711707202916e947052c12f32167a1082f09f5520be","title":"Agent 0 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.184919-07:00","updated_at":"2025-11-20T12:27:48.582968-05:00","closed_at":"2025-11-20T12:27:48.582968-05:00","source_repo":"."} +{"id":"bd-1370","content_hash":"c923ea351dbbc118d785f199941ad971a5adac0024f180a5b5f93973d6afd6ff","title":"Agent 0 Batch 34 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.178434-07:00","updated_at":"2025-11-20T12:27:27.735687-05:00","closed_at":"2025-11-20T12:27:27.735687-05:00","source_repo":"."} +{"id":"bd-1371","content_hash":"ecb586672a236ade51f249b97cdabafd18bf2a74c6595aeafd99a121ac310bd2","title":"Agent 0 Batch 35 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.179117-07:00","updated_at":"2025-11-20T12:27:48.583603-05:00","closed_at":"2025-11-20T12:27:48.583603-05:00","source_repo":"."} +{"id":"bd-1372","content_hash":"56dc9be59508e5404c62e4b175f10ea26cb2a71af1bfa4c15b5adf983c7e3cf8","title":"Agent 0 Batch 35 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.179816-07:00","updated_at":"2025-11-20T12:27:27.735537-05:00","closed_at":"2025-11-20T12:27:27.735537-05:00","source_repo":"."} +{"id":"bd-1373","content_hash":"6989cc2b7341a8df27dfd65e8b55743ff4f6fe0716f6ca98069183394999facc","title":"Agent 0 Batch 36 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.180552-07:00","updated_at":"2025-11-20T12:27:48.583434-05:00","closed_at":"2025-11-20T12:27:48.583434-05:00","source_repo":"."} +{"id":"bd-1374","content_hash":"043121565d114c39b5f3c48a952129ce926d3c58de3aad45c8fb9361a7d42c3c","title":"Agent 0 Batch 36 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.181238-07:00","updated_at":"2025-11-20T12:27:27.735388-05:00","closed_at":"2025-11-20T12:27:27.735388-05:00","source_repo":"."} +{"id":"bd-1375","content_hash":"d2fcc8cd9d0757c47cc9d5e9cdd525a3b699044b733a9646ab771f50db34d3d7","title":"Agent 0 Batch 37 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.181973-07:00","updated_at":"2025-11-20T12:27:48.583273-05:00","closed_at":"2025-11-20T12:27:48.583273-05:00","source_repo":"."} +{"id":"bd-1376","content_hash":"47f7fb41eb132b9e5d9bf3d175d0461b3406ffc253f2236f650869d2ed69fccc","title":"Agent 0 Batch 37 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.182661-07:00","updated_at":"2025-11-20T12:27:27.735233-05:00","closed_at":"2025-11-20T12:27:27.735233-05:00","source_repo":"."} +{"id":"bd-1377","content_hash":"88c2615bb97780f5cbe5e971b588a8140ee3a9a5be972304206ed2a16b45bd30","title":"Agent 0 Batch 38 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.183406-07:00","updated_at":"2025-11-20T12:27:48.583121-05:00","closed_at":"2025-11-20T12:27:48.583121-05:00","source_repo":"."} +{"id":"bd-1378","content_hash":"dfca99c93475eb70eca507e354113c90c23b4056532e534a5a076fa0f3e84bf6","title":"Agent 0 Batch 38 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.184082-07:00","updated_at":"2025-11-20T12:27:27.735086-05:00","closed_at":"2025-11-20T12:27:27.735086-05:00","source_repo":"."} +{"id":"bd-1379","content_hash":"79c7e5e4856fe923e2fcdfe4fee5d2410338afbcdbe4544fb18c6b707b172838","title":"Agent 0 Batch 39 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.184919-07:00","updated_at":"2025-11-20T12:27:48.582968-05:00","closed_at":"2025-11-20T12:27:48.582968-05:00","source_repo":"."} {"id":"bd-138","content_hash":"f42884a884126c139c0426f4b715d52ce2ca6a881aa3a5d21121115432c93cc6","title":"Fix race condition in TestSocketCleanup","description":"Race condition detected in internal/rpc/rpc_test.go:195 in TestSocketCleanup. This is causing CI test failures.\n\nThe race appears to be between goroutines accessing shared state during server startup/shutdown in the socket cleanup test.\n\nLocation: internal/rpc/rpc_test.go:195\nTest output shows DATA RACE between goroutines 83 and 85.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-19T09:11:34.766584-07:00","updated_at":"2025-10-21T00:25:40.527074-07:00","closed_at":"2025-10-19T09:14:37.781034-07:00","source_repo":"."} -{"id":"bd-1380","content_hash":"da643b7bcd75f067c3ac917879320faf72c783ad6d00dd336e7dbd4a020015e0","title":"Agent 0 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.185613-07:00","updated_at":"2025-11-20T12:27:27.734937-05:00","closed_at":"2025-11-20T12:27:27.734937-05:00","source_repo":"."} -{"id":"bd-1381","content_hash":"49ccd97eec466a4352645e237be90a5c2a01fcab5b872eb61e9b9ea1f965c270","title":"Agent 0 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.186383-07:00","updated_at":"2025-11-20T12:27:48.582819-05:00","closed_at":"2025-11-20T12:27:48.582819-05:00","source_repo":"."} -{"id":"bd-1382","content_hash":"f6ef15f00ee3e6c07fda35cf7c08bac8595c8324efc98f591161f1ee0439ada2","title":"Agent 0 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.187073-07:00","updated_at":"2025-11-20T12:27:27.734788-05:00","closed_at":"2025-11-20T12:27:27.734788-05:00","source_repo":"."} -{"id":"bd-1383","content_hash":"ed19fb0ab188b4969f7c8f97faf589536198e2797a77344aaa90535454023c19","title":"Agent 0 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.18785-07:00","updated_at":"2025-11-20T12:27:48.582655-05:00","closed_at":"2025-11-20T12:27:48.582655-05:00","source_repo":"."} -{"id":"bd-1384","content_hash":"d785aceb8ae4469f7f9fcbd477d24fedef3d73b9bdc8a3b9992bbc4348c7639e","title":"Agent 0 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.18857-07:00","updated_at":"2025-11-20T12:27:27.734606-05:00","closed_at":"2025-11-20T12:27:27.734606-05:00","source_repo":"."} -{"id":"bd-1385","content_hash":"5211bd4447a077005c14231d7099105d9771bb3aa99f1e45ebe507c4c5168721","title":"Agent 0 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.189429-07:00","updated_at":"2025-11-20T12:27:48.582495-05:00","closed_at":"2025-11-20T12:27:48.582495-05:00","source_repo":"."} -{"id":"bd-1386","content_hash":"cac9f2815fb7f3b4b2bb2f68ded868798ab38bf9408f4c56c7d0eb8dd0d7df5e","title":"Agent 0 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.190206-07:00","updated_at":"2025-11-20T12:27:27.734455-05:00","closed_at":"2025-11-20T12:27:27.734455-05:00","source_repo":"."} -{"id":"bd-1387","content_hash":"fc2b4c843b9eb6512771276bee84259fea786da493c613bb8b50eba44bd7679f","title":"Agent 0 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.19094-07:00","updated_at":"2025-11-20T12:27:48.582336-05:00","closed_at":"2025-11-20T12:27:48.582336-05:00","source_repo":"."} -{"id":"bd-1388","content_hash":"616e2776cf9269d93b37b885dcca850c0c423a3718555f6c59700ace30c0fc09","title":"Agent 0 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.191679-07:00","updated_at":"2025-11-20T12:27:27.734308-05:00","closed_at":"2025-11-20T12:27:27.734308-05:00","source_repo":"."} -{"id":"bd-1389","content_hash":"1bcf674c1cf93257a374192798006bfcdab365ae9bce227a86289082c371f0e9","title":"Agent 0 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.192403-07:00","updated_at":"2025-11-20T12:27:48.582149-05:00","closed_at":"2025-11-20T12:27:48.582149-05:00","source_repo":"."} +{"id":"bd-1380","content_hash":"4506ad2fd513d3bbce4faa938524cf5331ac128f5d563217a4a4542e38be8f21","title":"Agent 0 Batch 39 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.185613-07:00","updated_at":"2025-11-20T12:27:27.734937-05:00","closed_at":"2025-11-20T12:27:27.734937-05:00","source_repo":"."} +{"id":"bd-1381","content_hash":"cc61ebef4fb1f19921a69e25c96262b40f351c5d9f9842713dff5cd7a9059039","title":"Agent 0 Batch 40 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.186383-07:00","updated_at":"2025-11-20T12:27:48.582819-05:00","closed_at":"2025-11-20T12:27:48.582819-05:00","source_repo":"."} +{"id":"bd-1382","content_hash":"37e56b1d484a8db1e12a31f36084a8783bde956ea3a90579314d8855459d4ba6","title":"Agent 0 Batch 40 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.187073-07:00","updated_at":"2025-11-20T12:27:27.734788-05:00","closed_at":"2025-11-20T12:27:27.734788-05:00","source_repo":"."} +{"id":"bd-1383","content_hash":"a467eb9618ce32a1c821f1d99869535aef87dbc84a4e1be1af0737994f38525a","title":"Agent 0 Batch 41 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.18785-07:00","updated_at":"2025-11-20T12:27:48.582655-05:00","closed_at":"2025-11-20T12:27:48.582655-05:00","source_repo":"."} +{"id":"bd-1384","content_hash":"ce652ac9d5af24d4b4f5a254f147664a42792fca52c0c80b752281369df211f6","title":"Agent 0 Batch 41 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.18857-07:00","updated_at":"2025-11-20T12:27:27.734606-05:00","closed_at":"2025-11-20T12:27:27.734606-05:00","source_repo":"."} +{"id":"bd-1385","content_hash":"16c6a7ab32b7a84b2fbc3150c8c0c9e4b9e8896059cd5d0c97d554f789efe08f","title":"Agent 0 Batch 42 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.189429-07:00","updated_at":"2025-11-20T12:27:48.582495-05:00","closed_at":"2025-11-20T12:27:48.582495-05:00","source_repo":"."} +{"id":"bd-1386","content_hash":"1b59a1072f4727e61b6556fc188082ce5f7d5eec522e660afa17533b8404f196","title":"Agent 0 Batch 42 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.190206-07:00","updated_at":"2025-11-20T12:27:27.734455-05:00","closed_at":"2025-11-20T12:27:27.734455-05:00","source_repo":"."} +{"id":"bd-1387","content_hash":"ec88da8cc9fb8774752ed36f93146e5a04225bcb333d0b07b596fe67979b0ee3","title":"Agent 0 Batch 43 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.19094-07:00","updated_at":"2025-11-20T12:27:48.582336-05:00","closed_at":"2025-11-20T12:27:48.582336-05:00","source_repo":"."} +{"id":"bd-1388","content_hash":"001077e3600b10ad6b5d10a43a98fa1325d7a576b0985bc04c16bbb697faa808","title":"Agent 0 Batch 43 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.191679-07:00","updated_at":"2025-11-20T12:27:27.734308-05:00","closed_at":"2025-11-20T12:27:27.734308-05:00","source_repo":"."} +{"id":"bd-1389","content_hash":"605c891be543122b36f69a007cd065160b1f8944a6619d318837888ff31ab432","title":"Agent 0 Batch 44 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.192403-07:00","updated_at":"2025-11-20T12:27:48.582149-05:00","closed_at":"2025-11-20T12:27:48.582149-05:00","source_repo":"."} {"id":"bd-139","content_hash":"e909837360f6223f8c6e9130ca3c2c42de8affab61421c3f3932612d5a29c578","title":"Fix SQL timestamp scanning error on macOS (GH-88)","description":"User reported 'Scan error on column index 11, name created_at: unsupported Scan, storing driver.Value type string into type *time.Time' on macOS 13.5. \n\nRoot cause: modernc.org/sqlite driver doesn't recognize mattn-style DSN parameters like _journal_mode=WAL and _foreign_keys=ON. When these are present, it ignores _time_format=sqlite on some platforms, causing DATETIME columns to be returned as strings instead of time.Time.\n\nFix: Use modernc's native _pragma syntax for all options:\n- Changed _journal_mode=WAL to _pragma=journal_mode(WAL)\n- Changed _foreign_keys=ON to _pragma=foreign_keys(ON)\n\nThis ensures _time_format=sqlite is properly recognized and DATETIME columns are automatically parsed to time.Time.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-19T14:35:47.467251-07:00","updated_at":"2025-10-21T00:25:40.527242-07:00","closed_at":"2025-10-19T14:35:52.806252-07:00","source_repo":"."} -{"id":"bd-1390","content_hash":"b8729ff1d73a6d9576fa6305d9f231c9d5bac7d7d651aff92f7f5d99e4fce761","title":"Agent 0 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.193157-07:00","updated_at":"2025-11-20T12:27:27.734154-05:00","closed_at":"2025-11-20T12:27:27.734154-05:00","source_repo":"."} -{"id":"bd-1391","content_hash":"f8172a2feead2724dd5e64646b79e7d56ec4ffc6318b6f5e72c8adbbb4afc507","title":"Agent 0 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.193965-07:00","updated_at":"2025-11-20T12:27:48.581985-05:00","closed_at":"2025-11-20T12:27:48.581985-05:00","source_repo":"."} -{"id":"bd-1392","content_hash":"75e64146aca0e9732ed595b7cecc8defe0eee7e75ff9490831b7dba824a95fb2","title":"Agent 0 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.195197-07:00","updated_at":"2025-11-20T12:27:27.734001-05:00","closed_at":"2025-11-20T12:27:27.734001-05:00","source_repo":"."} -{"id":"bd-1393","content_hash":"7d75dbf687064368f1abaac336ef4c632a8289e6ee0ace1ea70222c411c30cb9","title":"Agent 0 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.196258-07:00","updated_at":"2025-11-20T12:27:48.581769-05:00","closed_at":"2025-11-20T12:27:48.581769-05:00","source_repo":"."} -{"id":"bd-1394","content_hash":"10e63fa0c8a79a255d861475486609ed2ac898522af9f2a4943331f50c878d77","title":"Agent 0 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.196996-07:00","updated_at":"2025-11-20T12:27:27.733847-05:00","closed_at":"2025-11-20T12:27:27.733847-05:00","source_repo":"."} -{"id":"bd-1395","content_hash":"5c645811ac88aa5aa5ea86370329183610645b944ecdecf5e115a9f70ed23c6e","title":"Agent 0 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.199678-07:00","updated_at":"2025-11-20T12:27:48.581173-05:00","closed_at":"2025-11-20T12:27:48.581173-05:00","source_repo":"."} -{"id":"bd-1396","content_hash":"45749f42a5480a8bbe2095d41eb8f2bea151925e5af6f3f0fe673c7ed99d0147","title":"Agent 0 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.200415-07:00","updated_at":"2025-11-20T12:27:27.733689-05:00","closed_at":"2025-11-20T12:27:27.733689-05:00","source_repo":"."} -{"id":"bd-1397","content_hash":"b1a94ad95b80942cb2f03cfe51b1e779ad847d0a9fce78d446fe36d14aa99dff","title":"Agent 0 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.201306-07:00","updated_at":"2025-11-20T12:27:43.356888-05:00","closed_at":"2025-11-20T12:27:43.356888-05:00","source_repo":"."} -{"id":"bd-1398","content_hash":"939f369806e0ae2b3bbe7976c0a4bb690fd79c19b27f06d7d360acaad74e3169","title":"Agent 0 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.202305-07:00","updated_at":"2025-11-20T12:27:27.733513-05:00","closed_at":"2025-11-20T12:27:27.733513-05:00","source_repo":"."} -{"id":"bd-1399","content_hash":"8fc7528c7602b2ae9b68bf7282c6aa8a64537de7ef6fcf08e990f3d05089c98f","title":"Agent 0 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.203114-07:00","updated_at":"2025-11-20T12:27:43.356711-05:00","closed_at":"2025-11-20T12:27:43.356711-05:00","source_repo":"."} +{"id":"bd-1390","content_hash":"f8a300e0980bf0410c8cef80ce2ff4566b5ba02f5b7aacd0b475858696428c35","title":"Agent 0 Batch 44 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.193157-07:00","updated_at":"2025-11-20T12:27:27.734154-05:00","closed_at":"2025-11-20T12:27:27.734154-05:00","source_repo":"."} +{"id":"bd-1391","content_hash":"4449a81389ed112712bc03f3144224b9ec30f0bdb0856218bd9a328743497774","title":"Agent 0 Batch 45 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.193965-07:00","updated_at":"2025-11-20T12:27:48.581985-05:00","closed_at":"2025-11-20T12:27:48.581985-05:00","source_repo":"."} +{"id":"bd-1392","content_hash":"e5c0dbd0d4d6ea835b3340d15d92b3f1c32f27f5de81401560a9b44e48e9319c","title":"Agent 0 Batch 45 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.195197-07:00","updated_at":"2025-11-20T12:27:27.734001-05:00","closed_at":"2025-11-20T12:27:27.734001-05:00","source_repo":"."} +{"id":"bd-1393","content_hash":"7b8ca093238e35c43861136424fac88cc42b626d7f443e1932efa703fc481c6b","title":"Agent 0 Batch 46 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.196258-07:00","updated_at":"2025-11-20T12:27:48.581769-05:00","closed_at":"2025-11-20T12:27:48.581769-05:00","source_repo":"."} +{"id":"bd-1394","content_hash":"1038f4c95337b1847922fe67293f83174bbe1ba690827e38d1bfaefc2843877a","title":"Agent 0 Batch 46 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.196996-07:00","updated_at":"2025-11-20T12:27:27.733847-05:00","closed_at":"2025-11-20T12:27:27.733847-05:00","source_repo":"."} +{"id":"bd-1395","content_hash":"e938971a60b3b27cfe68cc2f5605e7a631babaf8a6c5112c8c235e823ff4d1f7","title":"Agent 0 Batch 47 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.199678-07:00","updated_at":"2025-11-20T12:27:48.581173-05:00","closed_at":"2025-11-20T12:27:48.581173-05:00","source_repo":"."} +{"id":"bd-1396","content_hash":"84a781e08c4275db1eee4b782a3d9774615a7eca06a7cad75c8abef1f5f9b3e1","title":"Agent 0 Batch 47 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.200415-07:00","updated_at":"2025-11-20T12:27:27.733689-05:00","closed_at":"2025-11-20T12:27:27.733689-05:00","source_repo":"."} +{"id":"bd-1397","content_hash":"554f3f6fb2aec111293e9ec45257fd99223e72a3f53fda96a59d5d422405fce8","title":"Agent 0 Batch 48 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.201306-07:00","updated_at":"2025-11-20T12:27:43.356888-05:00","closed_at":"2025-11-20T12:27:43.356888-05:00","source_repo":"."} +{"id":"bd-1398","content_hash":"cc1696b6e72353483b8c9d71423638c10d3ec3ce46d04b43dc5360686a52e990","title":"Agent 0 Batch 48 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.202305-07:00","updated_at":"2025-11-20T12:27:27.733513-05:00","closed_at":"2025-11-20T12:27:27.733513-05:00","source_repo":"."} +{"id":"bd-1399","content_hash":"8ffe43be3e2f0537e113c511ba117865fd76db72c6a45505a3fe24456c72bf79","title":"Agent 0 Batch 49 Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.203114-07:00","updated_at":"2025-11-20T12:27:43.356711-05:00","closed_at":"2025-11-20T12:27:43.356711-05:00","source_repo":"."} {"id":"bd-14","content_hash":"da1a8aa3d1ff27e1b18e6f0bc1ee02c5f2181fbeee6b9189d2b37b0dfa015a20","title":"Refactor duplicate flush logic in PersistentPostRun","description":"PersistentPostRun contains a complete copy of the flush logic instead of calling flushToJSONL(). This violates DRY principle and makes maintenance harder. Refactor to use flushToJSONL() with a force parameter to bypass isDirty check, or extract shared logic into a helper function. Located in cmd/bd/main.go:104-138.","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.527418-07:00","closed_at":"2025-10-18T09:44:24.167574-07:00","source_repo":"."} {"id":"bd-140","content_hash":"347ffca398786126f926cbd7b38df64ea623eb3ebba50e01b41e512157c1d155","title":"Add 'bd comments' command to view and manage issue comments","description":"Add support for commenting on issues with a new 'bd comments' command.\n\nCommands:\n- bd comments \u003cissue-id\u003e # List all comments on an issue\n- bd comments add \u003cissue-id\u003e \"text\" # Add a comment\n- bd comments add \u003cissue-id\u003e -f file.txt # Add comment from file\n- bd comments \u003cissue-id\u003e --json # JSON output for agents\n\nUse cases:\n- Track discussion/decisions on issues\n- Add context without cluttering description\n- Record why work was paused/resumed\n- Multi-person collaboration notes\n- Agent can leave progress updates\n\nImplementation:\n- Add comments table to schema (id, issue_id, author, text, timestamp)\n- Store in JSONL as nested array in issue objects\n- Show chronologically with timestamps\n- Include in 'bd show' output (collapsed by default?)\n\nQuestions:\n- Should comments be editable/deletable?\n- Include author field (env var or git config)?\n- Threading/replies to comments?","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-19T15:58:07.483312-07:00","updated_at":"2025-10-21T00:25:40.527584-07:00","closed_at":"2025-10-19T18:24:50.979019-07:00","source_repo":"."} -{"id":"bd-1400","content_hash":"03924728183760fb24d5c97eeee353a85fb5fb9712485b4a82c10d819e9b5a25","title":"Agent 0 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.204068-07:00","updated_at":"2025-11-20T12:27:27.732874-05:00","closed_at":"2025-11-20T12:27:27.732874-05:00","source_repo":"."} +{"id":"bd-1400","content_hash":"e9b6deb0e7e2a40ef017a79d295fdb2dd9603d44fe7ee71caec9b858e084ff13","title":"Agent 0 Batch 49 Issue 2","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.204068-07:00","updated_at":"2025-11-20T12:27:27.732874-05:00","closed_at":"2025-11-20T12:27:27.732874-05:00","source_repo":"."} {"id":"bd-1401","content_hash":"63396654b753ab4a0c7975184fbd2a9e5616a865db7e397d704f55d05c3fca48","title":"Base Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.362958-07:00","updated_at":"2025-10-21T00:29:11.362958-07:00","source_repo":"."} {"id":"bd-1402","content_hash":"ef556abff8584432e3d5528ff26c40021bb348402a8a5df109d157543ef29d82","title":"Updated by agent 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.363911-07:00","updated_at":"2025-10-21T00:29:11.656635-07:00","source_repo":"."} {"id":"bd-1403","content_hash":"2afed1552620cc847ec864e87c816bfe33c35ae4fe576158e1d0c83b9472e167","title":"Base Issue 2","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.364866-07:00","updated_at":"2025-10-21T00:29:11.364866-07:00","source_repo":"."} @@ -521,7 +520,7 @@ {"id":"bd-1442","content_hash":"deeaa223b51488d64abc8dd9301308ce3c327528b164fe03aee68dfcd887dd90","title":"Agent 4 New Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.438998-07:00","updated_at":"2025-10-21T00:29:11.438998-07:00","source_repo":"."} {"id":"bd-1443","content_hash":"9bcbfe13a3edf9e1be5c661552c630f324f83e9193e51fd75cb99a5f5bfa3d3c","title":"Agent 0 New Issue 45","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.441126-07:00","updated_at":"2025-10-21T00:29:11.441126-07:00","source_repo":"."} {"id":"bd-1444","content_hash":"af0c8b467a2c71bac21f3a23a80f00308dca7a028b05a22e2d3d035527309579","title":"Agent 3 New Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.38959-07:00","updated_at":"2025-10-21T00:29:11.38959-07:00","source_repo":"."} -{"id":"bd-1445","content_hash":"b3272105f48a2b0f11d2cf669d3e7e5c93a5e6c491cbabddf16872966618de0a","title":"Create shared insert/event/dirty helpers","description":"Create issues.go (insertIssue/insertIssues), events.go (recordCreatedEvent/recordCreatedEvents), dirty.go (markDirty/markDirtyBatch). Refactor single and bulk create paths to use these.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.424448-07:00","updated_at":"2025-11-12T10:57:44.250267-08:00","closed_at":"2025-11-02T15:28:11.997063-08:00","source_repo":"."} +{"id":"bd-1445","content_hash":"b3272105f48a2b0f11d2cf669d3e7e5c93a5e6c491cbabddf16872966618de0a","title":"Create shared insert/event/dirty helpers","description":"Create issues.go (insertIssue/insertIssues), events.go (recordCreatedEvent/recordCreatedEvents), dirty.go (markDirty/markDirtyBatch). Refactor single and bulk create paths to use these.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T11:41:14.882142-07:00","updated_at":"2025-11-02T15:28:11.99706-08:00","closed_at":"2025-11-02T15:28:11.997063-08:00","source_repo":"."} {"id":"bd-1446","content_hash":"3ba7c0cc460d3bdac6244fb1f43f6fcdca61abe184b17ef1f523c4d17799a1f0","title":"Agent 1 New Issue 35","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.448781-07:00","updated_at":"2025-10-21T00:29:11.448781-07:00","source_repo":"."} {"id":"bd-1447","content_hash":"8d8dbf8f8c1f5da5b79bcaad853c033f00fe0d933c1a44ffb648625295e98912","title":"Agent 1 New Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.452118-07:00","updated_at":"2025-10-21T00:29:11.452118-07:00","source_repo":"."} {"id":"bd-1448","content_hash":"cfe8f508f1cb78c8dff2505b9ca8773ae9a2e9cf3369aee2a510b5d06b373cd9","title":"Agent 3 New Issue 15","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.457614-07:00","updated_at":"2025-10-21T00:29:11.457614-07:00","source_repo":"."} @@ -570,7 +569,7 @@ {"id":"bd-1487","content_hash":"d6160fa90f517c0456462bd096e12f524cbbfe9551c752079cd326486bf729d8","title":"Agent 5 Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.923111-07:00","updated_at":"2025-10-21T00:29:11.923111-07:00","source_repo":"."} {"id":"bd-1488","content_hash":"ed7a95bd5c39401980588b116210b5b17083b363e48fe334968b1a47b10bd532","title":"Agent 5 Issue 11","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.924251-07:00","updated_at":"2025-10-21T00:29:11.924251-07:00","source_repo":"."} {"id":"bd-1489","content_hash":"ac30cf73f6b7b5454c4421b1f8991f3ddee6b054d3c49f3c1db8958851d71872","title":"Agent 5 Issue 12","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.925107-07:00","updated_at":"2025-10-21T00:29:11.925107-07:00","source_repo":"."} -{"id":"bd-149","content_hash":"4865a0eaf982fedd744f824f990037f40763be2a133e4c3bb4e28971f8372428","title":"Auth tokens expire too quickly","description":"## Summary\n\n[Brief description of the bug]\n\n## Steps to Reproduce\n\n1. Step 1\n2. Step 2\n3. Step 3\n\n## Expected Behavior\n\n[What should happen]\n\n## Actual Behavior\n\n[What actually happens]\n\n## Environment\n\n- OS: [e.g., macOS 15.7.1]\n- Version: [e.g., bd 0.20.1]\n- Additional context: [any relevant details]\n\n## Additional Context\n\n[Screenshots, logs, or other relevant information]\n","design":"## Root Cause Analysis\n\n[Describe the underlying cause once identified]\n\n## Proposed Fix\n\n[Outline the solution approach]\n\n## Impact Assessment\n\n- Affected features: [list]\n- Breaking changes: [yes/no and details]\n- Migration needed: [yes/no and details]\n","acceptance_criteria":"- [ ] Bug no longer reproduces with original steps\n- [ ] Regression tests added\n- [ ] Related edge cases tested\n- [ ] Documentation updated if behavior changed\n","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-19T20:01:18.977976-07:00","updated_at":"2025-11-12T10:57:44.251014-08:00","closed_at":"2025-11-05T00:25:06.427601-08:00","source_repo":".","labels":["bug"]} +{"id":"bd-149","content_hash":"4865a0eaf982fedd744f824f990037f40763be2a133e4c3bb4e28971f8372428","title":"Auth tokens expire too quickly","description":"## Summary\n\n[Brief description of the bug]\n\n## Steps to Reproduce\n\n1. Step 1\n2. Step 2\n3. Step 3\n\n## Expected Behavior\n\n[What should happen]\n\n## Actual Behavior\n\n[What actually happens]\n\n## Environment\n\n- OS: [e.g., macOS 15.7.1]\n- Version: [e.g., bd 0.20.1]\n- Additional context: [any relevant details]\n\n## Additional Context\n\n[Screenshots, logs, or other relevant information]\n","design":"## Root Cause Analysis\n\n[Describe the underlying cause once identified]\n\n## Proposed Fix\n\n[Outline the solution approach]\n\n## Impact Assessment\n\n- Affected features: [list]\n- Breaking changes: [yes/no and details]\n- Migration needed: [yes/no and details]\n","acceptance_criteria":"- [ ] Bug no longer reproduces with original steps\n- [ ] Regression tests added\n- [ ] Related edge cases tested\n- [ ] Documentation updated if behavior changed\n","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-03T19:54:10.671488-08:00","updated_at":"2025-11-05T00:25:06.427601-08:00","closed_at":"2025-11-05T00:25:06.427601-08:00","source_repo":".","labels":["bug"]} {"id":"bd-1490","content_hash":"bd598a743d3b21f0ea982ce684d29f06a179198cc5137338d0369c40e0f65cce","title":"Agent 5 Issue 13","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.925962-07:00","updated_at":"2025-10-21T00:29:11.925962-07:00","source_repo":"."} {"id":"bd-1491","content_hash":"72c40c8062cc1ff22685c9e136d97be8c216ab0febe6af2938a9fd4313f32072","title":"Agent 5 Issue 14","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.927195-07:00","updated_at":"2025-10-21T00:29:11.927195-07:00","source_repo":"."} {"id":"bd-1492","content_hash":"27e7a5746b214933c8d1aa7261da6efed49375d38a7fc677fc727e55f2979113","title":"Agent 5 Issue 15","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.92835-07:00","updated_at":"2025-10-21T00:29:11.92835-07:00","source_repo":"."} @@ -737,7 +736,6 @@ {"id":"bd-1637","content_hash":"525099c3d9b3a8ca138d640d07911eca45895db5056f029ec52419ed7027101f","title":"Agent 6 Issue 17","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.045181-07:00","updated_at":"2025-10-21T00:29:12.045181-07:00","source_repo":"."} {"id":"bd-1638","content_hash":"c661ecdf4e589f0ee32d8caead6581736e4adb01a86357467c8f98649c87548b","title":"Agent 6 Issue 18","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.045884-07:00","updated_at":"2025-10-21T00:29:12.045884-07:00","source_repo":"."} {"id":"bd-1639","content_hash":"467f7b12af116f89bb116c8cf23b0f4ad015ada2755f62d11c5f9ff95517531c","title":"Agent 6 Issue 19","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.046638-07:00","updated_at":"2025-10-21T00:29:12.046638-07:00","source_repo":"."} -{"id":"bd-164","content_hash":"54001e2a1da8800dfd64e107503986219dd38ad55b5e7f43c789ec7358497d7c","title":"Implement label CLI commands (add, remove, list)","description":"Add CLI commands for label management:\n- bd label add \u003cissue\u003e \u003clabel...\u003e\n- bd label remove \u003cissue\u003e \u003clabel...\u003e\n- bd label list \u003cissue\u003e\n- bd labels (list all labels in use)\n\nBackend already has AddLabel/GetLabels/RemoveLabel methods in storage layer.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T20:49:44.344807-07:00","updated_at":"2025-10-21T00:25:40.532485-07:00","closed_at":"2025-10-19T21:14:12.231668-07:00","source_repo":"."} {"id":"bd-1640","content_hash":"59f8d2567ee7ab2edd9d90e6fe61ef1853b6bae8f2f5b911dd5874fefc5cfd23","title":"Agent 6 Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.047356-07:00","updated_at":"2025-10-21T00:29:12.047356-07:00","source_repo":"."} {"id":"bd-1641","content_hash":"0db328f41646c82669aba1a0e67ae0d699c77d6677347acf9b1121cc03a922bc","title":"Agent 6 Issue 21","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.048133-07:00","updated_at":"2025-10-21T00:29:12.048133-07:00","source_repo":"."} {"id":"bd-1642","content_hash":"e8cfbc1f09cb24bc80b85f773aab34fca1387b0d0886d610c6354d1c48ebb7ff","title":"Agent 6 Issue 22","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.048887-07:00","updated_at":"2025-10-21T00:29:12.048887-07:00","source_repo":"."} @@ -912,7 +910,7 @@ {"id":"bd-1797","content_hash":"3da122ce88fd12128acd0186625a4582915ddfc378a90a37e88ae6b5668b11e8","title":"Agent 6 Issue 98","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.165998-07:00","updated_at":"2025-10-21T00:29:12.165998-07:00","source_repo":"."} {"id":"bd-1798","content_hash":"6c6af47f3701608bbbbd2db883b7e45e8ce09cfa33d617f4e6e4a2093ed98cf5","title":"Agent 6 Issue 99","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.16675-07:00","updated_at":"2025-10-21T00:29:12.16675-07:00","source_repo":"."} {"id":"bd-1799","content_hash":"df7fb78a6df8e90c9678491517234f5fed302f9bd89dcaf248304bb61a3ce9d3","title":"Agent 8 Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.113218-07:00","updated_at":"2025-10-21T00:29:12.113218-07:00","source_repo":"."} -{"id":"bd-17d5","content_hash":"a0e9affb9666bb33ffb26aa9aab151a80b94b37578667aa439bbcccd842243ef","title":"bd sync false positive: conflict detection triggers on JSON-encoded angle brackets in issue content","description":"The bd sync --import-only command incorrectly detects conflict markers when issue descriptions contain the text '\u003c\u003c\u003c\u003c\u003c\u003c\u003c' or '\u003e\u003e\u003e\u003e\u003e\u003e\u003e' as legitimate content (e.g., documentation about git conflict markers).\n\n**Reproduction:**\n1. Create issue with design field containing: 'Read file, extract \u003c\u003c\u003c\u003c\u003c\u003c\u003c / ======= / \u003e\u003e\u003e\u003e\u003e\u003e\u003e markers'\n2. Export to JSONL (gets JSON-encoded as \\u003c\\u003c\\u003c...)\n3. Commit and push\n4. Pull from remote\n5. bd sync --import-only fails with: 'Git conflict markers detected in JSONL file'\n\n**Root cause:**\nThe conflict detection appears to decode JSON before checking for conflict markers, causing false positives when issue content legitimately contains these strings.\n\n**Expected behavior:**\nConflict detection should only trigger on actual git conflict markers (literal '\u003c\u003c\u003c\u003c\u003c\u003c\u003c' bytes in the raw file), not on JSON-encoded content within issue fields.\n\n**Test case:**\nVC project at ~/src/dave/vc has vc-85 'JSONL Conflict Parser' which documents conflict parsing and triggers this bug.\n\n**Suggested fixes:**\n1. Only scan for literal '\u003c\u003c\u003c\u003c\u003c\u003c\u003c' bytes (not decoded JSON content)\n2. Parse JSONL first and only flag unparseable lines\n3. Check git merge state (git status) to confirm actual conflict\n4. Add --skip-conflict-check flag for override","acceptance_criteria":"- bd sync works with vc-85 issue in VC project\n- Conflict detection only triggers on actual git conflict markers\n- False positives eliminated for legitimate issue content\n- Regression test added with conflict marker text in issue description","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T13:02:54.730745-08:00","updated_at":"2025-11-08T13:07:37.108225-08:00","closed_at":"2025-11-08T13:07:37.108225-08:00","source_repo":"."} +{"id":"bd-17d5","content_hash":"2ab13adb479424b0c7e9a090534f631b0dfb9139c529eca881d166b80a205419","title":"bd sync false positive: conflict detection triggers on JSON-encoded angle brackets in issue content","description":"The bd sync --import-only command incorrectly detects conflict markers when issue descriptions contain the text '\u003c\u003c\u003c\u003c\u003c\u003c\u003c' or '\u003e\u003e\u003e\u003e\u003e\u003e\u003e' as legitimate content (e.g., documentation about git conflict markers).\n\n**Reproduction:**\n1. Create issue with design field containing: 'Read file, extract \u003c\u003c\u003c\u003c\u003c\u003c\u003c / ======= / \u003e\u003e\u003e\u003e\u003e\u003e\u003e markers'\n2. Export to JSONL (gets JSON-encoded as \\u003c\\u003c\\u003c...)\n3. Commit and push\n4. Pull from remote\n5. bd sync --import-only fails with: 'Git conflict markers detected in JSONL file'\n\n**Root cause:**\nThe conflict detection appears to decode JSON before checking for conflict markers, causing false positives when issue content legitimately contains these strings.\n\n**Expected behavior:**\nConflict detection should only trigger on actual git conflict markers (literal '\u003c\u003c\u003c\u003c\u003c\u003c\u003c' bytes in the raw file), not on JSON-encoded content within issue fields.\n\n**Test case:**\nVC project at ~/src/dave/vc has vc-85 'JSONL Conflict Parser' which documents conflict parsing and triggers this bug.\n\n**Suggested fixes:**\n1. Only scan for literal '\u003c\u003c\u003c\u003c\u003c\u003c\u003c' bytes (not decoded JSON content)\n2. Parse JSONL first and only flag unparseable lines\n3. Check git merge state (git status) to confirm actual conflict\n4. Add --skip-conflict-check flag for override","acceptance_criteria":"- bd sync works with vc-85 issue in VC project\n- Conflict detection only triggers on actual git conflict markers\n- False positives eliminated for legitimate issue content\n- Regression test added with conflict marker text in issue description","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T13:02:54.730745-08:00","updated_at":"2025-11-08T13:07:37.108225-08:00","closed_at":"2025-11-08T13:07:37.108225-08:00","source_repo":"."} {"id":"bd-17fa2d21","content_hash":"b909e616bec8d75eaf6ab0c2deb90ad047740d44892194afeaa5deb07f15f43a","title":"Batch test 2","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T15:29:01.877052-07:00","updated_at":"2025-10-31T12:00:43.183657-07:00","closed_at":"2025-10-31T12:00:43.183657-07:00","source_repo":"."} {"id":"bd-18","content_hash":"3b8322e12eb46102956e5e89639a079750bd1f5cd57ecf309ada619be9e7b5e6","title":"Fix: bd init --prefix test -q flag not recognized","description":"The init command doesn't recognize the -q flag. When running 'bd init --prefix test -q', it fails silently or behaves unexpectedly. The flag should either be implemented for quiet mode or removed from documentation if not supported.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.534804-07:00","closed_at":"2025-10-17T00:09:18.921816-07:00","source_repo":"."} {"id":"bd-180","content_hash":"364c0a50581de5b8a8b602c21cd78d4573f6ec50c628730f9bade655e4577e1e","title":"bd import should create database if it doesn't exist","description":"When running 'bd import file.jsonl' and the database doesn't exist, the command reports '0 created, 0 updated' but doesn't actually create the database file. This makes it confusing to reset/recreate a database from JSONL.\n\nExpected behavior: If .beads/vc.db doesn't exist, 'bd import .beads/issues.jsonl' should:\n1. Create the database file\n2. Initialize the schema\n3. Import all issues from the JSONL\n\nCurrent workaround: Restore an old database first, then import updates it.\n\nUse case: During VC dogfooding, we wanted to recreate the database with updated schema after schema.go changes. The workflow should be:\n1. mv .beads/vc.db .beads/vc.db.backup\n2. bd import .beads/issues.jsonl # Should create fresh DB\n3. Ready to go\n\nInstead, step 2 silently does nothing.","acceptance_criteria":"bd import creates database if missing, imports all issues successfully, returns count of created issues","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-20T23:06:14.27608-07:00","updated_at":"2025-10-21T00:25:40.534988-07:00","closed_at":"2025-10-20T23:12:16.245609-07:00","source_repo":"."} @@ -1049,7 +1047,6 @@ {"id":"bd-1917","content_hash":"af08b2c3ab1750bf2a0b83de3adec622911a909788c5e7343461a5f8ac3f716f","title":"Agent 7 Issue 96","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.261643-07:00","updated_at":"2025-10-21T00:29:12.261643-07:00","source_repo":"."} {"id":"bd-1918","content_hash":"ce4f38de742e73cec19b94ab47a4e40d3c735197e194a22eee2b7d7975a65862","title":"Agent 7 Issue 97","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.262436-07:00","updated_at":"2025-10-21T00:29:12.262436-07:00","source_repo":"."} {"id":"bd-1919","content_hash":"08fbc1b9616762094228a7a82431eae7daba073f9cbdfc52f78ef7b11f5c520f","title":"Agent 7 Issue 98","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.263197-07:00","updated_at":"2025-10-21T00:29:12.263197-07:00","source_repo":"."} -{"id":"bd-192","content_hash":"60a34b3eab4923a94a9be42785649c87e70b8be2eb25c9dabeb6088aca62f3a7","title":"Test Issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:09.556043-07:00","updated_at":"2025-10-21T00:29:09.556043-07:00","source_repo":"."} {"id":"bd-1920","content_hash":"b272a04a0884d384b64eaf32a9585ef038cadef88c183a603e4b031e572d6a6e","title":"Agent 7 Issue 99","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.264043-07:00","updated_at":"2025-10-21T00:29:12.264043-07:00","source_repo":"."} {"id":"bd-1921","content_hash":"a19c0dafc0cf8b915b302850c57a653e33017aa4c57c2e6dfa3a2a10a4db3f69","title":"Agent 9 Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.911782-07:00","updated_at":"2025-10-21T00:29:11.911782-07:00","source_repo":"."} {"id":"bd-1922","content_hash":"0da21d2f89b0f084143904ece4f6fe7b2446cf06fe1aa6b961916336b88bc2c4","title":"Agent 9 Issue 1","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.26579-07:00","updated_at":"2025-10-21T00:29:12.26579-07:00","source_repo":"."} @@ -1060,7 +1057,6 @@ {"id":"bd-1927","content_hash":"ee3289e4a528ceed77238f4484789b72ee7da9fceb7faed9c145bce4f55c0804","title":"Agent 9 Issue 6","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.269956-07:00","updated_at":"2025-10-21T00:29:12.269956-07:00","source_repo":"."} {"id":"bd-1928","content_hash":"2f81ff9e997935a85ea12a1a3ecafdbce2d62deebbd4fe669af8603653065b1b","title":"Agent 9 Issue 7","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.2707-07:00","updated_at":"2025-10-21T00:29:12.2707-07:00","source_repo":"."} {"id":"bd-1929","content_hash":"fadc785313ad3f505e3b7df292b93f47bd18b1f6c40319bcd3915ae89d69e77e","title":"Agent 9 Issue 8","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.271463-07:00","updated_at":"2025-10-21T00:29:12.271463-07:00","source_repo":"."} -{"id":"bd-193","content_hash":"60a34b3eab4923a94a9be42785649c87e70b8be2eb25c9dabeb6088aca62f3a7","title":"Test Issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:09.556355-07:00","updated_at":"2025-10-21T00:29:09.556355-07:00","source_repo":"."} {"id":"bd-1930","content_hash":"8c996b8313a47149d530b6726046ed244ec76e84cd5b130fe4523ba79f5e10c6","title":"Agent 9 Issue 9","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.272251-07:00","updated_at":"2025-10-21T00:29:12.272251-07:00","source_repo":"."} {"id":"bd-1931","content_hash":"6ecb132dca01a9b34d5f7e4fa91d114fc8c95541b690f5a320b179097e995eb1","title":"Agent 9 Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.273027-07:00","updated_at":"2025-10-21T00:29:12.273027-07:00","source_repo":"."} {"id":"bd-1932","content_hash":"d881af31958c610466c063e7a0605771cde5adf1b93e8dea54503a508ffbb9b2","title":"Agent 2 Issue 24","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.184924-07:00","updated_at":"2025-10-21T00:29:12.184924-07:00","source_repo":"."} @@ -1082,7 +1078,6 @@ {"id":"bd-1947","content_hash":"f4e9b37fd0c93a76e407a0e9297fccc32091aafae033c82fff90e34cbb938ca7","title":"Agent 2 Issue 39","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.286221-07:00","updated_at":"2025-10-21T00:29:12.286221-07:00","source_repo":"."} {"id":"bd-1948","content_hash":"4965e1546d975c942183b64c8d38dee792361d6756b5ccb0faeaa09f920efb8f","title":"Agent 2 Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.286994-07:00","updated_at":"2025-10-21T00:29:12.286994-07:00","source_repo":"."} {"id":"bd-1949","content_hash":"bcf2b714c39ec23bef3c57661a86dbbdad7af3bd565a1e8ac94b54e9293f8f02","title":"Agent 2 Issue 41","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.287781-07:00","updated_at":"2025-10-21T00:29:12.287781-07:00","source_repo":"."} -{"id":"bd-195","content_hash":"4703548aa4c29cd37acf11d5c6d70e12a9c5d85a4213e4f773aa75880118c09b","title":"Concurrent Issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:09.698652-07:00","updated_at":"2025-10-21T00:29:09.698652-07:00","source_repo":"."} {"id":"bd-1950","content_hash":"58973ab7056d8b3405d0694583d4fcd6dcd5f97b4ad4edd91bcdf6e2703b73fe","title":"Agent 2 Issue 42","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.288579-07:00","updated_at":"2025-10-21T00:29:12.288579-07:00","source_repo":"."} {"id":"bd-1951","content_hash":"6f1d4f421ab284902a787a96f90a39b21d792c29ec1a8337016e552393dec670","title":"Agent 2 Issue 43","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.289662-07:00","updated_at":"2025-10-21T00:29:12.289662-07:00","source_repo":"."} {"id":"bd-1952","content_hash":"b53a3c56905601bbfed2acadf3f4110887e6ebcbbab7d72636074e94e0f8df48","title":"Agent 2 Issue 44","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.290496-07:00","updated_at":"2025-10-21T00:29:12.290496-07:00","source_repo":"."} @@ -1093,7 +1088,6 @@ {"id":"bd-1957","content_hash":"a35f192573e56e1560b856f1083c61f06d3c0bfd8ea0cc202df0bb53086cfcbd","title":"Agent 2 Issue 49","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.29451-07:00","updated_at":"2025-10-21T00:29:12.29451-07:00","source_repo":"."} {"id":"bd-1958","content_hash":"dab059630f4b4e2911b7d36f713f88dc0fc78f38857252003748cbc08da826a3","title":"Agent 2 Issue 50","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.295333-07:00","updated_at":"2025-10-21T00:29:12.295333-07:00","source_repo":"."} {"id":"bd-1959","content_hash":"7375caee34825f8d68c2c81d2b36f3cf5ee56dffa0f247100f1aa85e852c8277","title":"Agent 2 Issue 51","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.296142-07:00","updated_at":"2025-10-21T00:29:12.296142-07:00","source_repo":"."} -{"id":"bd-196","content_hash":"4703548aa4c29cd37acf11d5c6d70e12a9c5d85a4213e4f773aa75880118c09b","title":"Concurrent Issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:09.698845-07:00","updated_at":"2025-10-21T00:29:09.698845-07:00","source_repo":"."} {"id":"bd-1960","content_hash":"eebaee1a86f97fd33f27f52e3b8130cdaae5701b21ac1201e0f6176dad3be68a","title":"Agent 2 Issue 52","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.296982-07:00","updated_at":"2025-10-21T00:29:12.296982-07:00","source_repo":"."} {"id":"bd-1961","content_hash":"271715b5c153fee8fb7d236bc656617f08ff16065825f2216d6894224de32ca8","title":"Agent 2 Issue 53","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.29781-07:00","updated_at":"2025-10-21T00:29:12.29781-07:00","source_repo":"."} {"id":"bd-1962","content_hash":"e18e07464458123d2ff5aa66aa0cb2076e99974f85ffb8d69f41026da40a4366","title":"Agent 2 Issue 54","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.298648-07:00","updated_at":"2025-10-21T00:29:12.298648-07:00","source_repo":"."} @@ -1104,7 +1098,6 @@ {"id":"bd-1967","content_hash":"dafa395d9aadf5afe9450fe2f42c88f4487fb677c78cd995647d731aaf3772b0","title":"Agent 2 Issue 59","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.302669-07:00","updated_at":"2025-10-21T00:29:12.302669-07:00","source_repo":"."} {"id":"bd-1968","content_hash":"e7054d8c0fa3a2240c0f7edfc665bc1b7fc43138e0e1d5d3140a8a8e762e62b9","title":"Agent 2 Issue 60","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.303435-07:00","updated_at":"2025-10-21T00:29:12.303435-07:00","source_repo":"."} {"id":"bd-1969","content_hash":"0f5b1a8f8fcea136d62bb273f7026f0bc1d7b2b2882b35067dc884a91ee6c238","title":"Agent 2 Issue 61","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.304237-07:00","updated_at":"2025-10-21T00:29:12.304237-07:00","source_repo":"."} -{"id":"bd-197","content_hash":"4703548aa4c29cd37acf11d5c6d70e12a9c5d85a4213e4f773aa75880118c09b","title":"Concurrent Issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:09.69887-07:00","updated_at":"2025-10-21T00:29:09.69887-07:00","source_repo":"."} {"id":"bd-1970","content_hash":"c4e9a21e18e32528af1009399289403679b010c3d4681643219cfae1ecca032c","title":"Agent 2 Issue 62","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.305018-07:00","updated_at":"2025-10-21T00:29:12.305018-07:00","source_repo":"."} {"id":"bd-1971","content_hash":"f401307427d5dff1b7a4eee2045110af8ebc2f0c4cc62c4ab0cd687d734f988d","title":"Agent 2 Issue 63","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.305872-07:00","updated_at":"2025-10-21T00:29:12.305872-07:00","source_repo":"."} {"id":"bd-1972","content_hash":"d45503178a0a82299e128f0d6bf063e46de8a2a50ade000ec565a1aa41eb08c1","title":"Agent 2 Issue 64","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.306674-07:00","updated_at":"2025-10-21T00:29:12.306674-07:00","source_repo":"."} @@ -1116,7 +1109,6 @@ {"id":"bd-1978","content_hash":"32beee8b78cd38e7f963636a57b869c3a430ff19de7095b60868ee9f6b104e7c","title":"Agent 2 Issue 70","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.311642-07:00","updated_at":"2025-10-21T00:29:12.311642-07:00","source_repo":"."} {"id":"bd-1979","content_hash":"faa70772d24453c8d49e9b5ca254421b6338fbb1860e05e0b77a7a68cf6cdd80","title":"Agent 2 Issue 71","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.31245-07:00","updated_at":"2025-10-21T00:29:12.31245-07:00","source_repo":"."} {"id":"bd-197b","content_hash":"0077ab3305b0c5a4b8cc600b1a2f4f30b64a289e4674c3b90110ac537c3f8224","title":"Set up WASM build pipeline","description":"Configure Go→WASM compilation pipeline. Child of epic bd-44d0.\n\n## Tasks\n- [ ] Create build-wasm.sh script (GOOS=js GOARCH=wasm)\n- [ ] Test basic WASM module loading in Node.js\n- [ ] Set up wasm_exec.js wrapper\n- [ ] Add WASM build to CI/CD\n- [ ] Document build process\n\n## Validation\n- bd.wasm compiles successfully\n- Can load in Node.js without errors\n- Bundle size \u003c10MB","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-02T18:33:19.407373-08:00","updated_at":"2025-11-05T00:55:48.755936-08:00","closed_at":"2025-11-05T00:55:48.755941-08:00","source_repo":".","dependencies":[{"issue_id":"bd-197b","depends_on_id":"bd-44d0","type":"blocks","created_at":"2025-11-02T18:33:19.407904-08:00","created_by":"daemon"}]} -{"id":"bd-198","content_hash":"4703548aa4c29cd37acf11d5c6d70e12a9c5d85a4213e4f773aa75880118c09b","title":"Concurrent Issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:09.699351-07:00","updated_at":"2025-10-21T00:29:09.699351-07:00","source_repo":"."} {"id":"bd-1980","content_hash":"d22ff1ba6004f61d6b978c37eb0a4023d964a52a3ac72c0e4c2e559ae22bc56e","title":"Agent 2 Issue 72","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.313286-07:00","updated_at":"2025-10-21T00:29:12.313286-07:00","source_repo":"."} {"id":"bd-1981","content_hash":"aca7103b5d8687ffbbace04d81af01d0ba9f04e9a1e76ac0741f821e0b52a593","title":"Agent 2 Issue 73","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.314107-07:00","updated_at":"2025-10-21T00:29:12.314107-07:00","source_repo":"."} {"id":"bd-1982","content_hash":"6b6c78f63018c0c1e1865979236a6a0f338af85043c525a5071a1d3ba7981c3c","title":"Agent 2 Issue 74","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.314905-07:00","updated_at":"2025-10-21T00:29:12.314905-07:00","source_repo":"."} @@ -1152,7 +1144,7 @@ {"id":"bd-1fkr","content_hash":"ad8fd9d0254ef9f4ff430253234569af0a606b5d813ee98995dc5a6a2cbf897b","title":"bd-hv01: Storage backend extensibility broken by type assertion","description":"Problem: deletion_tracking.go:69-82 uses type assertion for DeleteIssue which breaks if someone adds a new storage backend.\n\nFix: Check capability before starting merge or add DeleteIssue to Storage interface.\n\nFiles: cmd/bd/deletion_tracking.go:69-82, internal/storage/storage.go","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-06T18:16:20.770662-08:00","updated_at":"2025-11-06T18:55:08.666253-08:00","closed_at":"2025-11-06T18:55:08.666253-08:00","source_repo":".","dependencies":[{"issue_id":"bd-1fkr","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T18:19:14.925961-08:00","created_by":"daemon"}]} {"id":"bd-1ls","content_hash":"af79708476d560abaac3cbe9c537bcf43c2100dcb1d676954ea604486f75d199","title":"Override test","description":"## Overview\n\n[Describe the high-level goal and scope of this epic]\n\n## Success Criteria\n\n- [ ] Criteria 1\n- [ ] Criteria 2\n- [ ] Criteria 3\n\n## Background\n\n[Provide context and motivation]\n\n## Scope\n\n**In Scope:**\n- Item 1\n- Item 2\n\n**Out of Scope:**\n- Item 1\n- Item 2\n","design":"## Architecture\n\n[Describe the overall architecture and approach]\n\n## Components\n\n- Component 1: [description]\n- Component 2: [description]\n\n## Dependencies\n\n[List external dependencies or constraints]\n","acceptance_criteria":"- [ ] All child issues are completed\n- [ ] Integration tests pass\n- [ ] Documentation is updated\n- [ ] Code review completed\n","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-03T20:15:10.01471-08:00","updated_at":"2025-11-03T22:07:10.946574-08:00","closed_at":"2025-11-03T22:07:10.946574-08:00","source_repo":".","labels":["epic"]} {"id":"bd-1mzt","content_hash":"3dffe5c0934f51c6fa526a952a975e808665d80e7c69dffbe910aabc87d32a7b","title":"Client self-heal: remove stale pid when lock free + socket missing","description":"When client detects:\n- Socket is missing AND\n- tryDaemonLock shows lock NOT held\n\nThen automatically:\n1. Remove stale daemon.pid file\n2. Optionally auto-start daemon (behind BEADS_AUTO_START_DAEMON=1 env var)\n\nThis prevents stale artifacts from accumulating after daemon crashes.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-07T16:42:12.75205-08:00","updated_at":"2025-11-07T22:07:17.342845-08:00","closed_at":"2025-11-07T21:21:15.317562-08:00","source_repo":".","dependencies":[{"issue_id":"bd-1mzt","depends_on_id":"bd-ndyz","type":"discovered-from","created_at":"2025-11-07T16:42:12.753099-08:00","created_by":"daemon"}]} -{"id":"bd-1nrn","content_hash":"8aebd77c19946d60143f7b7f699d1bcf6e8792c347f6d7c41a2ffbba744bfa8e","title":"Issue 2 to reopen","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:20.157016-08:00","updated_at":"2025-11-07T19:04:20.225059-08:00","source_repo":"."} +{"id":"bd-1nrn","content_hash":"8aebd77c19946d60143f7b7f699d1bcf6e8792c347f6d7c41a2ffbba744bfa8e","title":"Issue 2 to reopen","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:20.157016-08:00","updated_at":"2025-11-08T02:06:34.746105-08:00","closed_at":"2025-11-08T02:06:34.746105-08:00","source_repo":"."} {"id":"bd-1pj6","content_hash":"de1c1195b29d9a70c88b5f2b05ca1c3497469d1802f9c0be415d5a44b0575deb","title":"Proposal: Custom status states via config","description":"Proposal to add 'custom status states' via `bd config`.\nUsers could define an optional issue status enum (e.g., awaiting_review, review_in_progress) in the config.\nThis would enable multi-step pipelines to process issues where each step correlates to a specific status.\n\nExamples:\n- awaiting_verification\n- awaiting_docs\n- awaiting_testing\n","status":"open","priority":3,"issue_type":"feature","created_at":"2025-11-20T18:55:48.670499-05:00","updated_at":"2025-11-20T18:55:48.670499-05:00","source_repo":"."} {"id":"bd-1vup","content_hash":"99df92e0d2e6f2998d9ef52c60ae1db55a2e52b84c3e935bf371517e5154ad77","title":"Test FK constraint via close","description":"","status":"closed","priority":4,"issue_type":"task","created_at":"2025-11-07T15:06:10.324045-08:00","updated_at":"2025-11-07T15:06:14.289835-08:00","closed_at":"2025-11-07T15:06:14.289835-08:00","source_repo":"."} {"id":"bd-1vv","content_hash":"1db907ddb55edaf7a4c06a566c4e1b8244fcd9ba5d7e2fca4d5c053e424ac515","title":"Add WebSocket support","description":"## Feature Request\n\n[Describe the desired feature]\n\n## Motivation\n\n[Why is this feature needed? What problem does it solve?]\n\n## Use Cases\n\n1. **Use Case 1**: [description]\n2. **Use Case 2**: [description]\n\n## Proposed Solution\n\n[High-level approach to implementing this feature]\n\n## Alternatives Considered\n\n- **Alternative 1**: [description and why not chosen]\n- **Alternative 2**: [description and why not chosen]\n","design":"## Technical Design\n\n[Detailed technical approach]\n\n## API Changes\n\n[New commands, flags, or APIs]\n\n## Data Model Changes\n\n[Database schema changes if any]\n\n## Implementation Notes\n\n- Note 1\n- Note 2\n\n## Testing Strategy\n\n- Unit tests: [scope]\n- Integration tests: [scope]\n- Manual testing: [steps]\n","acceptance_criteria":"- [ ] Feature implements all described use cases\n- [ ] All tests pass\n- [ ] Documentation updated (README, commands)\n- [ ] Examples added if applicable\n- [ ] No performance regressions\n","status":"open","priority":2,"issue_type":"feature","created_at":"2025-11-03T19:56:41.271215-08:00","updated_at":"2025-11-03T19:56:41.271215-08:00","source_repo":".","labels":["feature"]} @@ -1603,7 +1595,7 @@ {"id":"bd-2397","content_hash":"9cb1967a6e2db05ca30f9e1d4db5995172ecc8b2eb6d5c72db2b28a33dfe90c3","title":"Agent 3 Issue 78","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.687678-07:00","updated_at":"2025-10-21T00:29:12.687678-07:00","source_repo":"."} {"id":"bd-2398","content_hash":"4cb006a5ad789b2ee116f2bdda40ee8c3c6369a27a1e4649e3c8ae41890528b5","title":"Agent 3 Issue 79","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.688603-07:00","updated_at":"2025-10-21T00:29:12.688603-07:00","source_repo":"."} {"id":"bd-2399","content_hash":"98a370ab32936edcb7a863ddd6b7a06be5adaef786d1570bbcc853d297d5234f","title":"Agent 3 Issue 80","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.689507-07:00","updated_at":"2025-10-21T00:29:12.689507-07:00","source_repo":"."} -{"id":"bd-23a8","content_hash":"7c54bea4624429ff0842a192489979e0a1eafdd872027a0934b1a1d9b0e80d33","title":"Test simple issue","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-02T17:11:04.464726-08:00","updated_at":"2025-11-04T11:10:23.529727-08:00","closed_at":"2025-11-04T11:10:23.529731-08:00","source_repo":"."} +{"id":"bd-23a8","content_hash":"7c54bea4624429ff0842a192489979e0a1eafdd872027a0934b1a1d9b0e80d33","title":"Test simple issue","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-02T17:11:04.464726-08:00","updated_at":"2025-11-04T11:10:23.529727-08:00","closed_at":"2025-11-04T11:10:23.529731-08:00","source_repo":".","comments":[{"id":1,"issue_id":"bd-23a8","author":"stevey","text":"Testing the new bd comment alias!","created_at":"2025-11-08T09:49:23Z"},{"id":2,"issue_id":"bd-23a8","author":"stevey","text":"Another test with JSON output","created_at":"2025-11-08T09:49:23Z"},{"id":3,"issue_id":"bd-23a8","author":"stevey","text":"Test comment from file\n","created_at":"2025-11-08T09:49:23Z"}]} {"id":"bd-24","content_hash":"dddae33e160e3bccf9aaec9f7651c604b58ebab5b6f2f52f9672c4a89077c67c","title":"Verify auto-export works","description":"","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.537264-07:00","closed_at":"2025-10-14T14:16:09.268591-07:00","source_repo":"."} {"id":"bd-240","content_hash":"5dc8ae707b4c47ed8b13fe2ad61972f209b948450309b4efc82562e3fb078f88","title":"Agent 1 Issue 37","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.479578-07:00","updated_at":"2025-10-21T00:29:10.479578-07:00","source_repo":"."} {"id":"bd-2400","content_hash":"bc680db0aa4d7d476e1bf5b115cae2a718358a982c9a6e71fe1be689605125f6","title":"Agent 3 Issue 81","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.690444-07:00","updated_at":"2025-10-21T00:29:12.690444-07:00","source_repo":"."} @@ -1768,7 +1760,7 @@ {"id":"bd-2f388ca7","content_hash":"27498c808874010ee62da58e12434a6ae7c73f4659b2233aaf8dcd59566a907d","title":"Fix TestTwoCloneCollision timeout","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-28T14:11:25.219607-07:00","updated_at":"2025-10-30T17:12:58.217635-07:00","closed_at":"2025-10-28T16:12:26.286611-07:00","source_repo":"."} {"id":"bd-2ifg","content_hash":"1a32ca6b21a14e121fc8e1026d83d85683cd3ff3b500f56eb8a05398b89ebf51","title":"bd-hv01: Silent partial deletion failures cause DB inconsistency","description":"Problem: deletion_tracking.go:76-77 logs deletion errors as warnings but continues. If deletion fails midway (database locked, disk full), some issues delete but others don't. System thinks all deletions succeeded.\n\nImpact: Database diverges from JSONL, silent corruption, issues may resurrect on next sync.\n\nFix: Collect errors and fail the operation:\nvar deletionErrors []error\nfor _, id := range acceptedDeletions {\n if err := d.DeleteIssue(ctx, id); err != nil {\n deletionErrors = append(deletionErrors, fmt.Errorf(\"issue %s: %w\", id, err))\n }\n}\nif len(deletionErrors) \u003e 0 {\n return false, fmt.Errorf(\"deletion failures: %v\", deletionErrors)\n}\n\nFiles: cmd/bd/deletion_tracking.go:73-82","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-06T18:16:19.465137-08:00","updated_at":"2025-11-06T18:46:55.901973-08:00","closed_at":"2025-11-06T18:46:55.901973-08:00","source_repo":".","dependencies":[{"issue_id":"bd-2ifg","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T18:19:14.833477-08:00","created_by":"daemon"}]} {"id":"bd-2ku7","content_hash":"65cee891959383f7c8862b54b72c4bafae950ee47eecb47f0f842e6c10c8ba04","title":"Test integration issue","description":"This is a real integration test","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T19:07:11.528577-08:00","updated_at":"2025-11-07T22:07:17.343154-08:00","closed_at":"2025-11-07T21:55:09.426381-08:00","source_repo":"."} -{"id":"bd-3","content_hash":"41ae09ef713b88fa3724ae81a255c55eb336b66c2a4173b6146bc298286021ba","title":"Investigate and upgrade to modernc.org/sqlite 1.39.1+","description":"We had to pin modernc.org/sqlite to v1.38.2 due to a FOREIGN KEY constraint regression in v1.39.1 (SQLite 3.50.4).\n\n**Issue:** [deleted:bd-47], GH #144\n\n**Symptom:** CloseIssue fails with \"FOREIGN KEY constraint failed (787)\" when called via MCP/daemon, but works fine via CLI.\n\n**Root Cause:** Unknown - likely stricter FK enforcement in SQLite 3.50.4 or modernc.org wrapper changes.\n\n**Workaround:** Pinned to v1.38.2 (SQLite 3.49.x)\n\n**TODO:**\n1. Monitor modernc.org/sqlite releases for fixes\n2. Check SQLite 3.50.5+ changelogs for FK-related fixes\n3. Investigate why daemon mode fails but CLI succeeds (connection reuse? transaction isolation?)\n4. Consider filing upstream issue with reproducible test case\n5. Upgrade when safe","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-11-12T10:57:44.251356-08:00","closed_at":"2025-11-07T15:06:26.240131-08:00","source_repo":"."} +{"id":"bd-3","content_hash":"41ae09ef713b88fa3724ae81a255c55eb336b66c2a4173b6146bc298286021ba","title":"Investigate and upgrade to modernc.org/sqlite 1.39.1+","description":"We had to pin modernc.org/sqlite to v1.38.2 due to a FOREIGN KEY constraint regression in v1.39.1 (SQLite 3.50.4).\n\n**Issue:** [deleted:bd-47], GH #144\n\n**Symptom:** CloseIssue fails with \"FOREIGN KEY constraint failed (787)\" when called via MCP/daemon, but works fine via CLI.\n\n**Root Cause:** Unknown - likely stricter FK enforcement in SQLite 3.50.4 or modernc.org wrapper changes.\n\n**Workaround:** Pinned to v1.38.2 (SQLite 3.49.x)\n\n**TODO:**\n1. Monitor modernc.org/sqlite releases for fixes\n2. Check SQLite 3.50.5+ changelogs for FK-related fixes\n3. Investigate why daemon mode fails but CLI succeeds (connection reuse? transaction isolation?)\n4. Consider filing upstream issue with reproducible test case\n5. Upgrade when safe","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-07T09:43:47.856354-08:00","updated_at":"2025-11-07T15:06:26.240131-08:00","closed_at":"2025-11-07T15:06:26.240131-08:00","source_repo":"."} {"id":"bd-30","content_hash":"6e9cab3e7c8e06c5ff78fd363a0e0d8b3cce601f091ec7697cc1637a568608af","title":"Add cross-type cycle detection warnings to dependency operations","description":"When adding a dependency with 'bd dep add', run DetectCycles() afterwards and warn users if any cycles exist (across all dependency types, not just 'blocks'). This provides visibility into circular dependencies without blocking the operation.","design":"Implementation approach:\n1. After successfully adding a dependency in AddDependency, call DetectCycles()\n2. If cycles are found, print a warning to stderr showing:\n - The cycle path(s) detected\n - Which dependency types are involved\n - A note that this may cause confusion in dependency visualization\n3. Do NOT fail the operation - this is informational only\n4. Consider adding a --quiet flag to suppress warnings if needed\n\nThe warning should be clear and actionable, e.g.:\nWARNING: Circular dependency detected:\n vc-5 (blocks) → vc-13 (parent-child) → vc-5\nThis may cause confusion in dependency visualization.","acceptance_criteria":"- After 'bd dep add' creates a cross-type cycle, a warning is printed to stderr\n- Warning includes the full cycle path with dependency types\n- Operation still succeeds (warning only, not an error)\n- No warning is printed when no cycles exist\n- Warning message is clear and actionable","notes":"Current behavior: bd PREVENTS cycles (errors out). This issue wants to ALLOW cycles but WARN. \n\nDecision: Current behavior is better. Cycles break the ready work algorithm and dep tree visualization. Prevention is safer than warnings users might ignore.\n\nCode at dep.go:70-92 has cycle detection but it's unreachable - AddDependency errors before that code runs.\n\nRecommend closing as won't-do or changing requirement to match current behavior.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.538436-07:00","closed_at":"2025-10-17T23:08:00.079059-07:00","source_repo":"."} {"id":"bd-300","content_hash":"f7282ea83a97fad4ab87fe45ce0abf228f481feadba90fd29242adab88ebabcc","title":"Agent 3 Issue 56","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.49636-07:00","updated_at":"2025-10-21T00:29:10.49636-07:00","source_repo":"."} {"id":"bd-301","content_hash":"e92800c0d5aa589f9606f94d8d0f11c3f2b88932bc8bab5596dac0ca792f85bc","title":"Agent 3 Issue 57","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.496615-07:00","updated_at":"2025-10-21T00:29:10.496615-07:00","source_repo":"."} @@ -1777,7 +1769,7 @@ {"id":"bd-304","content_hash":"db516276401aef5d9dc0c5e4da3cbca95762440a1f7babc0227d11346f0046fd","title":"Agent 3 Issue 60","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.497462-07:00","updated_at":"2025-10-21T00:29:10.497462-07:00","source_repo":"."} {"id":"bd-305","content_hash":"8652a973ab97167f764aa6fedb191348cd5f23f4f74d1d7a2bc650361c1d664a","title":"Agent 3 Issue 61","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.497734-07:00","updated_at":"2025-10-21T00:29:10.497734-07:00","source_repo":"."} {"id":"bd-306","content_hash":"44c664bbe19460000bd808c03430c20f1fcaef4b420e38edec93e3d56a519760","title":"Agent 3 Issue 62","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.498016-07:00","updated_at":"2025-10-21T00:29:10.498016-07:00","source_repo":"."} -{"id":"bd-307","content_hash":"6c1bda0d392414f4bb16f078a18f3958a869d3d1ed72bde6cc9012739eae88ef","title":"Multi-repo hydration layer","description":"Build core infrastructure to hydrate database from N repos (N≥1), with smart caching via file mtime tracking and routing writes to correct JSONL based on source_repo metadata.","design":"Components:\n- Config schema for repos.additional\n- source_repo metadata field (which repo owns each issue)\n- Hydration logic (read from N JSONLs)\n- Write routing (write to correct JSONL)\n- Smart caching (file mtime tracking to avoid re-parsing)\n- SQLite DB as cache layer","acceptance_criteria":"1. Can configure N repos via config.toml\n2. Database hydrates from all configured repos\n3. Writes route to correct JSONL via source_repo\n4. File mtime caching prevents re-parsing unchanged JSONLs\n5. Query performance \u003c100ms even with 5-10 polling interval\n6. N=1 (single repo) works unchanged","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-21T00:29:10.49829-07:00","updated_at":"2025-11-12T10:57:44.25195-08:00","closed_at":"2025-11-05T00:08:42.811879-08:00","source_repo":".","dependencies":[{"issue_id":"bd-307","depends_on_id":"bd-4ms","type":"parent-child","created_at":"2025-11-04T11:22:21.823652-08:00","created_by":"daemon"}]} +{"id":"bd-307","content_hash":"6c1bda0d392414f4bb16f078a18f3958a869d3d1ed72bde6cc9012739eae88ef","title":"Multi-repo hydration layer","description":"Build core infrastructure to hydrate database from N repos (N≥1), with smart caching via file mtime tracking and routing writes to correct JSONL based on source_repo metadata.","design":"Components:\n- Config schema for repos.additional\n- source_repo metadata field (which repo owns each issue)\n- Hydration logic (read from N JSONLs)\n- Write routing (write to correct JSONL)\n- Smart caching (file mtime tracking to avoid re-parsing)\n- SQLite DB as cache layer","acceptance_criteria":"1. Can configure N repos via config.toml\n2. Database hydrates from all configured repos\n3. Writes route to correct JSONL via source_repo\n4. File mtime caching prevents re-parsing unchanged JSONLs\n5. Query performance \u003c100ms even with 5-10 polling interval\n6. N=1 (single repo) works unchanged","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-04T11:21:30.655765-08:00","updated_at":"2025-11-05T00:08:42.811877-08:00","closed_at":"2025-11-05T00:08:42.811879-08:00","source_repo":".","dependencies":[{"issue_id":"bd-307","depends_on_id":"bd-4ms","type":"parent-child","created_at":"2025-11-04T11:22:21.823652-08:00","created_by":"daemon"}]} {"id":"bd-308","content_hash":"c5f336e7c059ca2a10e950b5dc1269cfd221c255509c00ccfda43b00c17de70f","title":"Agent 3 Issue 64","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.498546-07:00","updated_at":"2025-10-21T00:29:10.498546-07:00","source_repo":"."} {"id":"bd-309","content_hash":"9654a16fd6bec7d14b2b1fccd0e421a8d25e00ac4260c271900ee05c25c6bd12","title":"Agent 3 Issue 65","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.498799-07:00","updated_at":"2025-10-21T00:29:10.498799-07:00","source_repo":"."} {"id":"bd-31","content_hash":"fdbeb782361ec88e84bce1e4fc742f346c6299a2365458b2255477ab23399db9","title":"Cache compiled regexes in replaceIDReferences for performance","description":"replaceIDReferences() compiles the same regex patterns on every call. With 100 issues and 10 ID mappings, that's 1000 regex compilations. Pre-compile regexes once and reuse. Can use a struct with compiled regex, placeholder, and newID. Located in collision.go:329. Estimated performance improvement: 10-100x for large batches.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.538626-07:00","closed_at":"2025-10-16T10:07:22.469891-07:00","source_repo":"."} @@ -1868,7 +1860,7 @@ {"id":"bd-376","content_hash":"685fa7863f4e7d91d39da564db8383abcabe0c53b2d28d67aea57cf0f82ea95d","title":"Agent 1 Issue 58","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.530039-07:00","updated_at":"2025-10-21T00:29:10.530039-07:00","source_repo":"."} {"id":"bd-377","content_hash":"9ae1046ae6c105580c1219ea5c87ad330dd079ae46fbbae5b123230d119a94a8","title":"Agent 1 Issue 59","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.530492-07:00","updated_at":"2025-10-21T00:29:10.530492-07:00","source_repo":"."} {"id":"bd-378","content_hash":"14a423fb64faa962c76810f044b0cec273315eba710e064181be15cd475ab62a","title":"Agent 1 Issue 60","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.530981-07:00","updated_at":"2025-10-21T00:29:10.530981-07:00","source_repo":"."} -{"id":"bd-379","content_hash":"d1edf5009291680270e9bad61ef0d6e80fe1e24fa90f71fc80748a8bd52b32d2","title":"Implement `bd setup cursor` for Cursor IDE integration","description":"Create a `bd setup cursor` command that integrates Beads workflow into Cursor IDE via .cursorrules file. Unlike Claude Code (which has hooks), Cursor uses a static rules file to provide context to its AI.","design":"## Implementation\n\nCreate `cursor` subcommand in `cmd/bd/setup.go` that manages `.cursorrules` integration:\n\n### Command Interface\n```bash\nbd setup cursor # Install/update Cursor integration\nbd setup cursor --check # Verify .cursorrules has bd section\nbd setup cursor --remove # Remove bd section from .cursorrules\n```\n\n### Behavior\n\n**If `.cursorrules` doesn't exist:**\n- Create new file with complete bd rules template\n- Mark sections for easy identification\n\n**If `.cursorrules` exists:**\n- Check if bd section already exists (look for marker comments)\n- If not exists: append bd section\n- If exists: update in place (preserve user customizations outside bd section)\n- Backup original with `.cursorrules.backup` suffix\n\n### .cursorrules Template\n\n```markdown\n# Beads Issue Tracking\n# Auto-generated by 'bd setup cursor' - do not remove these markers\n# BEGIN BEADS INTEGRATION\n\nThis project uses [Beads (bd)](https://github.com/steveyegge/beads) for issue tracking.\n\n## Core Rules\n- Track ALL work in bd (never use markdown TODOs or comment-based task lists)\n- Use `bd ready` to find available work\n- Use `bd create` to track new issues/tasks/bugs\n- Use `bd sync` at end of session to sync with git remote\n- Git hooks auto-sync on commit/merge\n\n## Quick Reference\n```bash\nbd prime # Load complete workflow context\nbd ready # Show issues ready to work (no blockers)\nbd list --status=open # List all open issues\nbd create --title=\"...\" --type=task # Create new issue\nbd update \u003cid\u003e --status=in_progress # Claim work\nbd close \u003cid\u003e # Mark complete\nbd dep \u003cfrom\u003e \u003cto\u003e # Add dependency (from blocks to)\nbd sync # Sync with git remote\n```\n\n## Workflow\n1. Check for ready work: `bd ready`\n2. Claim an issue: `bd update \u003cid\u003e --status=in_progress`\n3. Do the work\n4. Mark complete: `bd close \u003cid\u003e`\n5. Sync: `bd sync` (or let git hooks handle it)\n\n## Context Loading\nRun `bd prime` to get complete workflow documentation in AI-optimized format (~1-2k tokens).\n\nFor detailed docs: see AGENTS.md, QUICKSTART.md, or run `bd --help`\n\n# END BEADS INTEGRATION\n```\n\n### Detection Logic\n\n```go\nfunc setupCursor() error {\n cursorRulesPath := \".cursorrules\"\n \n // Check if file exists\n content, err := os.ReadFile(cursorRulesPath)\n if err != nil {\n if os.IsNotExist(err) {\n // Create new file\n return createCursorRules(cursorRulesPath)\n }\n return err\n }\n \n // Check if bd section exists\n if hasBeadsSection(string(content)) {\n // Update existing section\n return updateBeadsSection(cursorRulesPath, string(content))\n } else {\n // Append new section\n return appendBeadsSection(cursorRulesPath, string(content))\n }\n}\n\nfunc hasBeadsSection(content string) bool {\n return strings.Contains(content, \"BEGIN BEADS INTEGRATION\")\n}\n```\n\n## Files\n- `cmd/bd/setup.go` - Add cursor subcommand\n- `cmd/bd/setup_cursor.go` - Cursor-specific logic\n- `cmd/bd/setup_cursor_test.go` - Tests\n- Template stored as Go string constant\n\n## Differences from Claude Setup\n\n| Aspect | Claude | Cursor |\n|--------|--------|--------|\n| **Integration file** | `.claude/commands/`, `.claude/hooks/` | `.cursorrules` |\n| **Auto-refresh** | Hooks call `bd prime` | Static rules (manual refresh) |\n| **Setup complexity** | Multiple files | Single file |\n| **Update frequency** | Dynamic (hooks) | Static (updated via `bd setup cursor`) |","acceptance_criteria":"- `bd setup cursor` creates/updates .cursorrules\n- Idempotent (safe to run multiple times)\n- Preserves non-bd content in .cursorrules\n- Backs up existing .cursorrules before modifying\n- `bd setup cursor --check` verifies integration\n- Markers allow updating bd section without affecting user content\n- Unit tests for template insertion/update logic\n- Documentation in AGENTS.md mentions Cursor setup","status":"open","priority":3,"issue_type":"feature","created_at":"2025-10-21T00:29:10.531723-07:00","updated_at":"2025-11-12T10:57:44.252433-08:00","source_repo":"."} +{"id":"bd-379","content_hash":"d1edf5009291680270e9bad61ef0d6e80fe1e24fa90f71fc80748a8bd52b32d2","title":"Implement `bd setup cursor` for Cursor IDE integration","description":"Create a `bd setup cursor` command that integrates Beads workflow into Cursor IDE via .cursorrules file. Unlike Claude Code (which has hooks), Cursor uses a static rules file to provide context to its AI.","design":"## Implementation\n\nCreate `cursor` subcommand in `cmd/bd/setup.go` that manages `.cursorrules` integration:\n\n### Command Interface\n```bash\nbd setup cursor # Install/update Cursor integration\nbd setup cursor --check # Verify .cursorrules has bd section\nbd setup cursor --remove # Remove bd section from .cursorrules\n```\n\n### Behavior\n\n**If `.cursorrules` doesn't exist:**\n- Create new file with complete bd rules template\n- Mark sections for easy identification\n\n**If `.cursorrules` exists:**\n- Check if bd section already exists (look for marker comments)\n- If not exists: append bd section\n- If exists: update in place (preserve user customizations outside bd section)\n- Backup original with `.cursorrules.backup` suffix\n\n### .cursorrules Template\n\n```markdown\n# Beads Issue Tracking\n# Auto-generated by 'bd setup cursor' - do not remove these markers\n# BEGIN BEADS INTEGRATION\n\nThis project uses [Beads (bd)](https://github.com/steveyegge/beads) for issue tracking.\n\n## Core Rules\n- Track ALL work in bd (never use markdown TODOs or comment-based task lists)\n- Use `bd ready` to find available work\n- Use `bd create` to track new issues/tasks/bugs\n- Use `bd sync` at end of session to sync with git remote\n- Git hooks auto-sync on commit/merge\n\n## Quick Reference\n```bash\nbd prime # Load complete workflow context\nbd ready # Show issues ready to work (no blockers)\nbd list --status=open # List all open issues\nbd create --title=\"...\" --type=task # Create new issue\nbd update \u003cid\u003e --status=in_progress # Claim work\nbd close \u003cid\u003e # Mark complete\nbd dep \u003cfrom\u003e \u003cto\u003e # Add dependency (from blocks to)\nbd sync # Sync with git remote\n```\n\n## Workflow\n1. Check for ready work: `bd ready`\n2. Claim an issue: `bd update \u003cid\u003e --status=in_progress`\n3. Do the work\n4. Mark complete: `bd close \u003cid\u003e`\n5. Sync: `bd sync` (or let git hooks handle it)\n\n## Context Loading\nRun `bd prime` to get complete workflow documentation in AI-optimized format (~1-2k tokens).\n\nFor detailed docs: see AGENTS.md, QUICKSTART.md, or run `bd --help`\n\n# END BEADS INTEGRATION\n```\n\n### Detection Logic\n\n```go\nfunc setupCursor() error {\n cursorRulesPath := \".cursorrules\"\n \n // Check if file exists\n content, err := os.ReadFile(cursorRulesPath)\n if err != nil {\n if os.IsNotExist(err) {\n // Create new file\n return createCursorRules(cursorRulesPath)\n }\n return err\n }\n \n // Check if bd section exists\n if hasBeadsSection(string(content)) {\n // Update existing section\n return updateBeadsSection(cursorRulesPath, string(content))\n } else {\n // Append new section\n return appendBeadsSection(cursorRulesPath, string(content))\n }\n}\n\nfunc hasBeadsSection(content string) bool {\n return strings.Contains(content, \"BEGIN BEADS INTEGRATION\")\n}\n```\n\n## Files\n- `cmd/bd/setup.go` - Add cursor subcommand\n- `cmd/bd/setup_cursor.go` - Cursor-specific logic\n- `cmd/bd/setup_cursor_test.go` - Tests\n- Template stored as Go string constant\n\n## Differences from Claude Setup\n\n| Aspect | Claude | Cursor |\n|--------|--------|--------|\n| **Integration file** | `.claude/commands/`, `.claude/hooks/` | `.cursorrules` |\n| **Auto-refresh** | Hooks call `bd prime` | Static rules (manual refresh) |\n| **Setup complexity** | Multiple files | Single file |\n| **Update frequency** | Dynamic (hooks) | Static (updated via `bd setup cursor`) |","acceptance_criteria":"- `bd setup cursor` creates/updates .cursorrules\n- Idempotent (safe to run multiple times)\n- Preserves non-bd content in .cursorrules\n- Backs up existing .cursorrules before modifying\n- `bd setup cursor --check` verifies integration\n- Markers allow updating bd section without affecting user content\n- Unit tests for template insertion/update logic\n- Documentation in AGENTS.md mentions Cursor setup","status":"open","priority":3,"issue_type":"feature","created_at":"2025-11-11T23:32:22.170083-08:00","updated_at":"2025-11-11T23:32:22.170083-08:00","source_repo":"."} {"id":"bd-37dd","content_hash":"cd19e661a3d2b923145dd61e7f1f07bdc6bf93136967fd2543b48b3a8b4134e1","title":"Add topological sort utility functions","description":"Create internal/importer/sort.go with utilities for depth-based sorting of issues. Functions: GetHierarchyDepth(id), SortByDepth(issues), GroupByDepth(issues). Include stable sorting for same-depth issues.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T12:31:42.309207-08:00","updated_at":"2025-11-05T00:08:42.812378-08:00","closed_at":"2025-11-05T00:08:42.81238-08:00","source_repo":"."} {"id":"bd-38","content_hash":"fdbc9e7db910a836f798bbb91c1ed840837d772f9577a5fe2d7b77a9a2219954","title":"Add test coverage for auto-flush feature","description":"Add comprehensive tests for auto-flush functionality:\\n- Test that markDirtyAndScheduleFlush() is called after CRUD operations\\n- Test debounce timing (rapid operations result in single flush)\\n- Test --no-auto-flush flag disables feature\\n- Test flush on program exit\\n- Test concurrent operations don't cause races\\n- Test error scenarios (disk full, permission denied, etc.)\\n- Test import command triggers auto-flush\\n\\nCurrent implementation has no test coverage for the auto-flush feature. Located in cmd/bd/main_test.go (to be created).","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.539812-07:00","closed_at":"2025-10-16T10:07:22.508336-07:00","source_repo":"."} {"id":"bd-380","content_hash":"9d7820fc07d9b2b83e8cec5b7e7281901a7d024e7bb857515671305fcd436153","title":"Agent 1 Issue 62","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.532144-07:00","updated_at":"2025-10-21T00:29:10.532144-07:00","source_repo":"."} @@ -1902,7 +1894,7 @@ {"id":"bd-3e9ddc31","content_hash":"4e03660281dbe2c069617fc8d723d546d6e5eb386142c0359b862747867a1b90","title":"Replace getStorageForRequest with Direct Access","description":"Replace all getStorageForRequest(req) calls with s.storage","acceptance_criteria":"- No references to getStorageForRequest() in codebase (except in deleted file)\n- All handlers use s.storage directly\n- Code compiles without errors\n\nFiles to update:\n- internal/rpc/server_issues_epics.go (~8 calls)\n- internal/rpc/server_labels_deps_comments.go (~4 calls)\n- internal/rpc/server_compact.go (~2 calls)\n- internal/rpc/server_export_import_auto.go (~2 calls)\n- internal/rpc/server_routing_validation_diagnostics.go (~1 call)\n\nPattern: store, err := s.getStorageForRequest(req) → store := s.storage","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-27T23:20:10.393759-07:00","updated_at":"2025-10-30T17:12:58.21613-07:00","closed_at":"2025-10-28T14:08:38.06721-07:00","source_repo":"."} {"id":"bd-3ee2c7e9","content_hash":"80a0101dd9082c194cd4f138dc116c0fc14d178d8afacb6b5b61ee863ee2eea7","title":"Add \"bd daemons\" command for multi-daemon management","description":"Add a new \"bd daemons\" command with subcommands to manage daemon processes across all beads repositories/worktrees. Should show all running daemons with metadata (version, workspace, uptime, last sync), allow stopping/restarting individual daemons, auto-clean stale processes, view logs, and show exclusive lock status.","design":"Subcommands:\n- list: Show all running daemons with metadata (workspace, PID, version, socket path, uptime, last activity, exclusive lock status)\n- stop \u003cpath|pid\u003e: Gracefully stop a specific daemon\n- restart \u003cpath|pid\u003e: Stop and restart daemon\n- killall: Emergency stop all daemons\n- health: Verify each daemon responds to ping\n- logs \u003cpath\u003e: View daemon logs\n\nFeatures:\n- Auto-clean stale sockets/dead processes\n- Discovery: Scan for .beads/bd.sock files + running processes\n- Communication: Use existing socket protocol, add GET /status endpoint for metadata","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-26T16:53:40.970042-07:00","updated_at":"2025-11-02T17:12:34.621017-08:00","closed_at":"2025-11-02T17:12:34.62102-08:00","source_repo":"."} {"id":"bd-3f6a","content_hash":"7fef5b08bbb32c4f4ab7d906539a765b01f1a74d0bb71102c954a5bdec4b442e","title":"Add concurrent import race condition tests","description":"Currently no tests verify behavior when multiple clones import simultaneously with external_ref matching.\n\nScenarios to test:\n1. Two clones import same external_ref update at same time\n2. Clone A imports while Clone B updates same issue\n3. Verify transaction isolation prevents corruption\n4. Document expected behavior (last-write-wins vs timestamp-based)\n\nRelated: bd-1022\nFiles: internal/importer/external_ref_test.go","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-02T15:32:11.286956-08:00","updated_at":"2025-11-02T16:11:16.127009-08:00","closed_at":"2025-11-02T16:11:16.127009-08:00","source_repo":"."} -{"id":"bd-3f80d9e0","content_hash":"6abdab20b716cb5f605f678d0f605bb07c5f9683d573ea724001d6f94177088e","title":"Improve internal/daemon test coverage (currently 22.5%)","description":"Daemon functionality needs better coverage:\n- Auto-start behavior\n- Lock file management\n- Discovery mechanisms\n- Connection handling\n- Error recovery\n\nCurrent coverage: 58.3% (improved from 22.5% as of Nov 2025)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:30.832728-07:00","updated_at":"2025-11-20T12:05:34.81966-05:00","closed_at":"2025-11-15T14:13:47.303529-08:00","source_repo":"."} +{"id":"bd-3f80d9e0","content_hash":"faa0e91ddc5cafa96a2e2b708a57eb84ecf0f74e236784ed1f64545ed8d6200b","title":"Improve internal/daemon test coverage (currently 22.5%)","description":"Daemon functionality needs better coverage:\n- Auto-start behavior\n- Lock file management\n- Discovery mechanisms\n- Connection handling\n- Error recovery\n\nCurrent coverage: 58.3% (improved from 22.5% as of Nov 2025)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:30.832728-07:00","updated_at":"2025-11-15T14:13:47.303529-08:00","closed_at":"2025-11-15T14:13:47.303529-08:00","source_repo":"."} {"id":"bd-3tfh","content_hash":"d8a889d96a2a236db3d6c60d239878ffee607e6c91b2d6fc6dd85bfca938da03","title":"Benchmark Helper Functions","description":"Extend existing benchmark helpers in internal/storage/sqlite/bench_helpers_test.go (or create if organizing separately).\n\nExisting helper (in compact_bench_test.go):\n- setupBenchDB(tb) - Creates temp SQLite database with basic config\n * Used by compact and cycle benchmarks\n * Returns (*SQLiteStorage, cleanup func())\n\nNew helpers to add:\n- setupLargeBenchDB(b *testing.B) storage.Storage\n * Creates 10K issue database using LargeSQLite fixture\n * Returns configured storage instance\n \n- setupXLargeBenchDB(b *testing.B) storage.Storage\n * Creates 20K issue database using XLargeSQLite fixture\n * Returns configured storage instance\n\nImplementation options:\n1. Add to existing compact_bench_test.go (co-located with setupBenchDB)\n2. Create new bench_helpers_test.go for organization\n\nBoth approaches:\n- Build tag: //go:build bench\n- Uses fixture generator from internal/testutil/fixtures\n- Follows existing setupBenchDB() pattern\n- Handles database cleanup\n\nThese helpers reduce duplication across new benchmark functions and provide consistent large-scale database setup.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-13T22:22:55.694834-08:00","updated_at":"2025-11-13T23:13:41.244758-08:00","closed_at":"2025-11-13T23:13:41.244758-08:00","source_repo":".","dependencies":[{"issue_id":"bd-3tfh","depends_on_id":"bd-m62x","type":"blocks","created_at":"2025-11-13T22:24:02.632994-08:00","created_by":"daemon"}]} {"id":"bd-4","content_hash":"11b46c8dfe971d0301f3790587d7f97c4bc6073e42ae32454238daca468d9350","title":"Add godoc comments for auto-flush functions","description":"Add comprehensive godoc comments for findJSONLPath(), markDirtyAndScheduleFlush(), and flushToJSONL() explaining behavior, concurrency considerations, and error handling. Include notes about debouncing behavior (timer resets on each write, flush occurs 5s after LAST operation) and flush-on-exit guarantees. Located in cmd/bd/main.go:188-307.","status":"closed","priority":4,"issue_type":"chore","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.540145-07:00","closed_at":"2025-10-19T19:22:19.172983-07:00","source_repo":"."} {"id":"bd-40","content_hash":"e9071ab7b5023aca23f78b26249f4675ec35aba51b4b0587ce4d6119a7e9da75","title":"Document hierarchical blocking behavior in README","description":"The fix for bd-50 changes user-visible behavior: children of blocked epics are now automatically blocked.\n\n**What needs documenting:**\n1. README.md dependency section should explain blocking propagation\n2. Clarify that 'blocks' + 'parent-child' together create transitive blocking\n3. Note that 'related' and 'discovered-from' do NOT propagate blocking\n4. Add example showing epic → child blocking propagation\n\n**Example to add:**\n```bash\n# If epic is blocked, children are too\nbd create \"Epic 1\" -t epic -p 1\nbd create \"Task 1\" -t task -p 1\nbd dep add task-1 epic-1 --type parent-child\n\n# Block the epic\nbd create \"Blocker\" -t task -p 0\nbd dep add epic-1 blocker-1 --type blocks\n\n# Now both epic-1 AND task-1 are blocked\nbd ready # Neither will show up\n```","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.540305-07:00","closed_at":"2025-10-14T13:10:38.482538-07:00","source_repo":"."} @@ -2020,12 +2012,13 @@ {"id":"bd-498","content_hash":"19d53fbc575d0699cee55476e7c5233819dc4408bdcf9e3017629ffe8388705d","title":"Agent 0 Issue 21","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.573446-07:00","updated_at":"2025-10-21T00:29:10.573446-07:00","source_repo":"."} {"id":"bd-499","content_hash":"4224cb1b56251697fd70f374712f08dac7ba0cfd7df6612a445eaf710ec03084","title":"Agent 0 Issue 22","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.573816-07:00","updated_at":"2025-10-21T00:29:10.573816-07:00","source_repo":"."} {"id":"bd-49kw","content_hash":"32637477ea60088882c4637c9153af420f5843cab488a50af255b1c33b5db69e","title":"Workaround for FastMCP outputSchema bug in Claude Code","description":"The beads MCP server (v0.23.1) successfully connects to Claude Code, but all tools fail to load with a schema validation error due to a bug in FastMCP 2.13.1.\n\nError: \"Invalid literal value, expected \\\"object\\\"\" in outputSchema.\n\nRoot Cause: FastMCP generates outputSchema with $ref at root level without \"type\": \"object\" for self-referential models (Issue).\n\nWorkaround: Use slash commands (/beads:ready) or wait for FastMCP fix.\n","status":"open","priority":1,"issue_type":"bug","created_at":"2025-11-20T18:55:39.041831-05:00","updated_at":"2025-11-20T18:55:39.041831-05:00","source_repo":"."} -{"id":"bd-4aeed709","content_hash":"3ab290915c117ec902bda1761e8c27850512f3fd4b494a93546c44b397d573a3","title":"bd resolve-conflicts - Git merge conflict resolver","description":"Automatically resolve JSONL merge conflicts.\n\nModes:\n- Mechanical: ID remapping (no AI)\n- AI-assisted: Smart merge/keep decisions\n- Interactive: Review each conflict\n\nHandles \u003c\u003c\u003c\u003c\u003c\u003c\u003c conflict markers in .beads/beads.jsonl\n\nFiles: cmd/bd/resolve_conflicts.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T12:05:34.820922-05:00","updated_at":"2025-11-20T12:05:34.820922-05:00","closed_at":"2025-10-28T15:47:33.037021-07:00","source_repo":"."} +{"id":"bd-4aao","content_hash":"67e1bab2ec59b16ea0daf6220b137588a6704793584663d1cf6d58765d41437e","title":"Fix failing integration tests in beads-mcp","description":"The `beads-mcp` test suite has failures in `tests/test_bd_client_integration.py` (assertion error in `test_init_creates_beads_directory`) and errors in `tests/test_worktree_separate_dbs.py` (setup failures finding database). These need to be investigated and fixed to ensure a reliable CI baseline.","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-20T18:53:28.4803-05:00","updated_at":"2025-11-20T18:53:28.4803-05:00","source_repo":"."} +{"id":"bd-4aeed709","content_hash":"3ab290915c117ec902bda1761e8c27850512f3fd4b494a93546c44b397d573a3","title":"bd resolve-conflicts - Git merge conflict resolver","description":"Automatically resolve JSONL merge conflicts.\n\nModes:\n- Mechanical: ID remapping (no AI)\n- AI-assisted: Smart merge/keep decisions\n- Interactive: Review each conflict\n\nHandles \u003c\u003c\u003c\u003c\u003c\u003c\u003c conflict markers in .beads/beads.jsonl\n\nFiles: cmd/bd/resolve_conflicts.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T07:37:26.091863-08:00","updated_at":"2025-11-20T07:37:26.091863-08:00","closed_at":"2025-10-28T15:47:33.037021-07:00","source_repo":"."} {"id":"bd-4b6u","content_hash":"352f8de1093c5d3bc53a4069c5a9c14a788f6214207d2353500d7bd056179800","title":"Update docs with multi-repo patterns","description":"Update AGENTS.md, README.md, QUICKSTART.md with multi-repo patterns. Document: config options, routing behavior, backward compatibility, troubleshooting, best practices.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T18:04:30.18358-08:00","updated_at":"2025-11-06T19:53:04.721589-08:00","closed_at":"2025-11-06T19:53:04.721589-08:00","source_repo":".","dependencies":[{"issue_id":"bd-4b6u","depends_on_id":"bd-8rd","type":"parent-child","created_at":"2025-11-05T18:04:39.297009-08:00","created_by":"daemon"}]} {"id":"bd-4ba5908b","content_hash":"70b8d577e5f65acb215f1c4caf18fdafcbd124db14fbc0e70132eea2b1848a93","title":"Implement content-hash based collision resolution for deterministic convergence","description":"The current collision resolution uses creation timestamps to decide which issue to keep vs. remap. This is non-deterministic when two clones create issues at nearly the same time.\n\nRoot cause of bd-71107098:\n- Clone A creates test-1=\"Issue from clone A\" at T0\n- Clone B creates test-1=\"Issue from clone B\" at T0+30ms\n- Clone B syncs first, remaps Clone A's to test-2\n- Clone A syncs second, sees collision, remaps Clone B's to test-2\n- Result: titles are swapped between clones\n\nSolution:\n- Use content-based hashing (title + description + priority + type)\n- Deterministic winner: always keep issue with lower hash\n- Same collision on different clones produces same result (idempotent)\n\nImplementation:\n- Modify ScoreCollisions in internal/storage/sqlite/collision.go\n- Replace timestamp-based scoring with content hash comparison\n- Ensure hash function is stable across platforms","notes":"Rename detection successfully implemented and tested!\n\n**What was implemented:**\n1. Content-hash based rename detection in DetectCollisions\n2. When importing JSONL, if an issue has different ID but same content as DB issue, treat as rename\n3. Delete old ID and accept new ID from JSONL\n4. Added post-import re-export in sync command to flush rename changes\n5. Added post-import commit to capture rename changes\n\n**Test results:**\nTestTwoCloneCollision now shows full convergence:\n- Clone A: test-2=\"Issue from clone A\", test-1=\"Issue from clone B\"\n- Clone B: test-1=\"Issue from clone B\", test-2=\"Issue from clone A\"\n\nBoth clones have **identical content** (titles match IDs correctly). Only timestamps differ (expected).\n\n**What remains:**\n- Test still expects exact JSON match including timestamps\n- Could normalize timestamp comparison, but content convergence is the critical success metric\n- The two-clone collision workflow now works without data corruption!","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-28T17:04:11.530026-07:00","updated_at":"2025-10-30T17:12:58.225987-07:00","closed_at":"2025-10-28T17:18:27.777019-07:00","source_repo":".","dependencies":[{"issue_id":"bd-4ba5908b","depends_on_id":"bd-71107098","type":"blocks","created_at":"2025-10-28T17:04:18.149604-07:00","created_by":"daemon"}]} {"id":"bd-4c18","content_hash":"d3d162cefdf9f3637ffb0ead341f48ffefe50fdf5e6ff9edc3ffcd05cdd703b4","title":"bd delete fails to find closed issues","description":"## Steps to Reproduce\n1. Close some issues with `bd close`\n2. Try to delete them with `bd delete \u003cids\u003e --force`\n3. Get error \"issues not found\"\n\n## Expected Behavior\nShould delete the closed issues\n\n## Actual Behavior\n```\nError: issues not found: bd-74ee, bd-9b13, bd-72w, bd-149, bd-5iv, bd-78w\n```\n\nBut `bd list --status closed --json` shows they exist.\n\n## Root Cause\nLikely the delete command is only looking for open issues, or there's a race condition with auto-import.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-03T20:57:31.763179-08:00","updated_at":"2025-11-03T21:31:18.677629-08:00","closed_at":"2025-11-03T21:31:18.677629-08:00","source_repo":"."} {"id":"bd-4cyb","content_hash":"1d02ccb8a552b2dec49bdfc3a7ed70b3307bcdebcaa8a563902a86a8bdcf7507","title":"Test graceful degradation when server unavailable","description":"Verify that agents continue working normally when Agent Mail server is stopped or unreachable.\n\nAcceptance Criteria:\n- Agent detects server unavailable on startup\n- Logs \"falling back to Beads-only mode\"\n- All bd commands work normally\n- Agent can claim issues (no reservations, like today)\n- Git sync operates as normal\n- No errors or crashes\n\nSuccess Metric: Zero functional difference when Agent Mail unavailable","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-07T22:42:00.094481-08:00","updated_at":"2025-11-08T01:51:40.349332-08:00","closed_at":"2025-11-08T00:20:29.841174-08:00","source_repo":".","dependencies":[{"issue_id":"bd-4cyb","depends_on_id":"bd-6hji","type":"blocks","created_at":"2025-11-07T23:03:53.054449-08:00","created_by":"daemon"}]} -{"id":"bd-4d7fca8a","content_hash":"5da2fc1fc0cbade7e4cfaf7fdb87b58487ce7661443e6ad4083f2f8de655e206","title":"Add tests for internal/utils package","description":"Currently 0.0% coverage. Need tests for utility functions including issue ID parsing and validation.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:24.066403-07:00","updated_at":"2025-11-08T17:57:28.956561-08:00","closed_at":"2025-11-08T17:57:28.956561-08:00","source_repo":".","dependencies":[{"issue_id":"bd-4d7fca8a","depends_on_id":"bd-cbed9619.5","type":"blocks","created_at":"2025-10-29T19:52:05.52888-07:00","created_by":"import-remap"},{"issue_id":"bd-4d7fca8a","depends_on_id":"bd-cbed9619.4","type":"blocks","created_at":"2025-10-29T19:52:05.529565-07:00","created_by":"import-remap"},{"issue_id":"bd-4d7fca8a","depends_on_id":"bd-0dcea000","type":"blocks","created_at":"2025-10-29T19:52:05.529982-07:00","created_by":"import-remap"}]} +{"id":"bd-4d7fca8a","content_hash":"57a2b25548d175bdd495044afa0ddb0739118c7faa2fc0860b13aaabb2635c23","title":"Add tests for internal/utils package","description":"Currently 0.0% coverage. Need tests for utility functions including issue ID parsing and validation.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:24.066403-07:00","updated_at":"2025-11-08T17:57:28.956561-08:00","closed_at":"2025-11-08T17:57:28.956561-08:00","source_repo":".","dependencies":[{"issue_id":"bd-4d7fca8a","depends_on_id":"bd-cbed9619.5","type":"blocks","created_at":"2025-10-29T19:52:05.52888-07:00","created_by":"import-remap"},{"issue_id":"bd-4d7fca8a","depends_on_id":"bd-cbed9619.4","type":"blocks","created_at":"2025-10-29T19:52:05.529565-07:00","created_by":"import-remap"},{"issue_id":"bd-4d7fca8a","depends_on_id":"bd-0dcea000","type":"blocks","created_at":"2025-10-29T19:52:05.529982-07:00","created_by":"import-remap"}]} {"id":"bd-4d80b7b1","content_hash":"7465ff154e916f0101dcd2aed683c2ffb72abdb3f1c8b60467a760441232d35b","title":"Investigate and upgrade to modernc.org/sqlite 1.39.1+","description":"We had to pin modernc.org/sqlite to v1.38.2 due to a FOREIGN KEY constraint regression in v1.39.1 (SQLite 3.50.4).\n\n**Issue:** [deleted:bd-cb64c226.2], GH #144\n\n**Symptom:** CloseIssue fails with \"FOREIGN KEY constraint failed (787)\" when called via MCP/daemon, but works fine via CLI.\n\n**Root Cause:** Unknown - likely stricter FK enforcement in SQLite 3.50.4 or modernc.org wrapper changes.\n\n**Workaround:** Pinned to v1.38.2 (SQLite 3.49.x)\n\n**TODO:**\n1. Monitor modernc.org/sqlite releases for fixes\n2. Check SQLite 3.50.5+ changelogs for FK-related fixes\n3. Investigate why daemon mode fails but CLI succeeds (connection reuse? transaction isolation?)\n4. Consider filing upstream issue with reproducible test case\n5. Upgrade when safe","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-24T11:49:12.836292-07:00","updated_at":"2025-11-07T14:55:51.908404-08:00","closed_at":"2025-11-07T14:55:51.908404-08:00","source_repo":"."} {"id":"bd-4e21b5ad","content_hash":"8029d0c5b14261648d3d17d8bc26413183962eab2875772cd2585db92c0104a6","title":"Add test case for symmetric collision (both clones create same ID simultaneously)","description":"TestTwoCloneCollision demonstrates the problem, but we need a simpler unit test for the collision resolver itself.\n\nTest should verify:\n- Two issues with same ID, different content\n- Content hash determines winner deterministically \n- Result is same regardless of which clone imports first\n- No title swapping occurs\n\nThis can be a simpler test than the full integration test.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T17:46:10.046999-07:00","updated_at":"2025-10-31T12:00:43.196705-07:00","closed_at":"2025-10-31T12:00:43.196705-07:00","source_repo":"."} {"id":"bd-4ec8","content_hash":"64d140d382b4efd1a0d67cda9a0af9a0240c013cafc4aa61f3644b74b7b1cd94","title":"Widespread double JSON encoding bug in daemon mode RPC calls","description":"Multiple CLI commands had the same double JSON encoding bug found in bd-1048. All commands that called ResolveID via RPC used string(resp.Data) instead of properly unmarshaling the JSON response. This caused IDs to retain JSON quotes (\"bd-1048\" instead of bd-1048), which then got double-encoded when passed to subsequent RPC calls.\n\nAffected commands:\n- bd show (3 instances)\n- bd dep add/remove/tree (5 instances)\n- bd label add/remove/list (3 instances)\n- bd reopen (1 instance)\n\nRoot cause: resp.Data is json.RawMessage (already JSON-encoded), so string() conversion preserves quotes.\n\nFix: Replace all string(resp.Data) with json.Unmarshal(resp.Data, \u0026id) for proper deserialization.\n\nAll commands now tested and working correctly with daemon mode.","status":"open","priority":0,"issue_type":"bug","created_at":"2025-11-02T22:33:01.632691-08:00","updated_at":"2025-11-02T22:33:01.632691-08:00","source_repo":"."} @@ -2171,7 +2164,7 @@ {"id":"bd-5ibn","content_hash":"b7c7980704c017ba234dc80e8fb3f57617e3e911fea0385b70ad9dbfdefd438a","title":"Latency test 1","description":"","status":"in_progress","priority":3,"issue_type":"task","created_at":"2025-11-10T10:50:39.603332-08:00","updated_at":"2025-11-10T10:50:39.603332-08:00","source_repo":"."} {"id":"bd-5iv","content_hash":"229ad9764bd3eb8b09441adefce960aede63fd1b5466d52cc74f112f5bb610ac","title":"Test Epic","description":"## Overview\n\n[Describe the high-level goal and scope of this epic]\n\n## Success Criteria\n\n- [ ] Criteria 1\n- [ ] Criteria 2\n- [ ] Criteria 3\n\n## Background\n\n[Provide context and motivation]\n\n## Scope\n\n**In Scope:**\n- Item 1\n- Item 2\n\n**Out of Scope:**\n- Item 1\n- Item 2\n","design":"## Architecture\n\n[Describe the overall architecture and approach]\n\n## Components\n\n- Component 1: [description]\n- Component 2: [description]\n\n## Dependencies\n\n[List external dependencies or constraints]\n","acceptance_criteria":"- [ ] All child issues are completed\n- [ ] Integration tests pass\n- [ ] Documentation is updated\n- [ ] Code review completed\n","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-03T20:15:03.864229-08:00","updated_at":"2025-11-05T00:25:06.538749-08:00","closed_at":"2025-11-05T00:25:06.538749-08:00","source_repo":".","labels":["epic"]} {"id":"bd-5ki8","content_hash":"d89e5e528819934bcb7ee162fa7e32c27298db5816ecf51bcc8ede1809f1d5b9","title":"Add integration tests for adapter library","description":"Test suite for beads_mail_adapter.py covering all scenarios.\n\nAcceptance Criteria:\n- Test enabled mode (server available)\n- Test disabled mode (server unavailable)\n- Test graceful degradation (server dies mid-operation)\n- Test reservation conflicts\n- Test message sending/receiving\n- Mock HTTP server for testing\n- 90%+ code coverage\n\nFile: lib/test_beads_mail_adapter.py","notes":"Test suite completed with 29 comprehensive tests covering:\n- Enabled mode (server available): 10 tests\n- Disabled mode (server unavailable): 2 tests \n- Graceful degradation: 4 tests\n- Reservation conflicts: 2 tests\n- Configuration: 5 tests\n- Health check scenarios: 3 tests\n- HTTP error handling: 3 tests\n\n**Performance**: All tests run in 10ms (fast!)\n\n**Coverage highlights**:\n✅ Server health checks (ok, degraded, error, timeout)\n✅ All API operations (reserve, release, notify, check_inbox, get_reservations)\n✅ HTTP errors (404, 409 conflict, 500, 503)\n✅ Network errors (timeout, connection refused)\n✅ Malformed responses (bad JSON, empty body, plain text errors)\n✅ Environment variable configuration\n✅ Graceful degradation when server dies mid-operation\n✅ Conflict handling with both JSON and plain text errors\n✅ Dict wrapper responses ({\"messages\": [...]} and {\"reservations\": [...]})\n✅ Custom TTL for reservations\n✅ Default agent name fallback\n\nNo external dependencies, no slow integration tests, just fast unit tests with mocks.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T22:43:21.294596-08:00","updated_at":"2025-11-08T01:52:23.359176-08:00","closed_at":"2025-11-08T01:32:39.906342-08:00","source_repo":".","dependencies":[{"issue_id":"bd-5ki8","depends_on_id":"bd-m9th","type":"blocks","created_at":"2025-11-07T22:43:21.296024-08:00","created_by":"daemon"}]} -{"id":"bd-5ohb","content_hash":"c7432e58e6518764c9e88b92b16becbb545e179f187becf13aa980f1b93c8192","title":"Issue to reopen with reason","description":"","status":"open","priority":1,"issue_type":"bug","created_at":"2025-11-07T19:00:18.583903-08:00","updated_at":"2025-11-07T19:00:18.629189-08:00","source_repo":"."} +{"id":"bd-5ohb","content_hash":"c7432e58e6518764c9e88b92b16becbb545e179f187becf13aa980f1b93c8192","title":"Issue to reopen with reason","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T19:00:18.583903-08:00","updated_at":"2025-11-08T02:06:17.805253-08:00","closed_at":"2025-11-08T02:06:17.805253-08:00","source_repo":"."} {"id":"bd-5ots","content_hash":"ba3efab3e7a2b9bb2bd2dba3aace56cfbdd1b67efd1cfc4758d9c79919f632af","title":"SearchIssues N+1 query causes context timeout with GetLabels","description":"scanIssues() calls GetLabels in a loop for every issue, causing N+1 queries and context deadline exceeded errors when used with short timeouts or in-memory databases. This is especially problematic since SearchIssues already supports label filtering via SQL WHERE clauses.","acceptance_criteria":"- Optimize scanIssues to batch-load labels for all issues in one query\n- Or make label loading optional/lazy\n- Add test that calls SearchIssues repeatedly with label filters and short context timeouts","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-05T19:12:02.245879-08:00","updated_at":"2025-11-05T19:22:11.668682-08:00","closed_at":"2025-11-05T19:22:11.668682-08:00","source_repo":"."} {"id":"bd-5qim","content_hash":"5117e87c5a56b5b8254402d982e85bea1478c1961f05654a50cf2df11e7ad6bf","title":"Optimize GetReadyWork performance - 752ms on 10K database (target: \u003c50ms)","description":"","notes":"# Performance Analysis (10K Issue Database)\n\nAnalyzed using CPU profiles from benchmark suite on Apple M2 Pro.\n\n## Operation Performance\n\n| Operation | Time | Allocations | Memory |\n|----------------------------------|---------|-------------|--------|\n| bd ready (GetReadyWork) | ~752ms | 167,466 | 16MB |\n| bd list (SearchIssues no filter) | ~11.6ms | 89,214 | 5.8MB |\n| bd list (SearchIssues filtered) | ~9.2ms | 62,365 | 3.5MB |\n| bd create (CreateIssue) | ~2.6ms | 146 | 8.6KB |\n| bd update (UpdateIssue) | ~0.32ms | 364 | 15KB |\n| bd close (UpdateIssue) | ~0.32ms | 364 | 15KB |\n\n**Target: \u003c50ms for all operations on 10K database**\n\n**Current issue: GetReadyWork is 15x over target (752ms vs 50ms)**\n\n## Root Cause\n\nGetReadyWork (internal/storage/sqlite/ready.go:90-128) uses recursive CTE to propagate blocking:\n- 65x slower than SearchIssues\n- Recalculates entire blocked issue tree on every call\n- Algorithm:\n 1. Find directly blocked issues via 'blocks' dependencies\n 2. Recursively propagate blockage to descendants (max depth: 50)\n 3. Exclude all blocked issues from results\n\n## CPU Profile Analysis\n\n- Database syscalls (pthread_cond_signal, syscall6): ~75%\n- SQLite engine overhead: inherent to recursive CTE\n- Application code (query construction): \u003c1%\n\n**Bottleneck is the recursive CTE query execution, not application code.**\n\n## Optimization Recommendations\n\n### High Impact (Likely to achieve \u003c50ms target)\n\n1. **Cache blocked issue calculation**\n - Add `blocked_issues` table updated on dependency changes\n - Trade write complexity for read speed (ready called \u003e\u003e dependency changes)\n - Eliminates recursive CTE on every read\n\n2. **Add/verify database indexes**\n ```sql\n CREATE INDEX IF NOT EXISTS idx_dependencies_blocked \n ON dependencies(issue_id, type, depends_on_id);\n CREATE INDEX IF NOT EXISTS idx_issues_status \n ON issues(status);\n ```\n\n### Medium Impact\n\n3. **Reduce allocations** (167K allocations for GetReadyWork)\n - Profile `scanIssues()` for object pooling opportunities\n - Reuse slice capacity for repeated calls\n\n### Low Impact (Not recommended)\n- Query optimization for CRUD operations (already \u003c3ms)\n- Connection pooling tuning (not showing in profiles)\n\n## Verification\n\nRun benchmarks to validate optimization:\n```bash\nmake bench-quick\ngo tool pprof -http=:8080 internal/storage/sqlite/bench-cpu-*.prof\n```\n\nProfile files automatically generated in `internal/storage/sqlite/`.","status":"open","priority":0,"issue_type":"bug","created_at":"2025-11-14T09:02:46.507526-08:00","updated_at":"2025-11-14T09:03:44.073236-08:00","source_repo":"."} {"id":"bd-6","content_hash":"d2873aaf1e25e6b17fb4e9caeb6b31e42e2bc2783e98a68d4096b2f6f62fb90e","title":"Add --show-all-paths flag to bd dep tree","description":"Currently bd dep tree deduplicates nodes when multiple paths exist (diamond dependencies). Add optional --show-all-paths flag to display the full graph with all paths, showing duplicates. Useful for debugging complex dependency structures and understanding all relationships.","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.544198-07:00","closed_at":"2025-10-18T10:11:38.985862-07:00","source_repo":"."} @@ -2181,7 +2174,7 @@ {"id":"bd-602","content_hash":"abfa5860463fc9da08a1beef20a703b60ce3774d514503102f0b8bd838706673","title":"Agent 2 Issue 3","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.624988-07:00","updated_at":"2025-10-21T00:29:10.624988-07:00","source_repo":"."} {"id":"bd-603","content_hash":"63310a51e25686b55168b53019ec3fdc8b0ad827336f9098686320c97f6f2518","title":"Agent 2 Issue 4","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.625534-07:00","updated_at":"2025-10-21T00:29:10.625534-07:00","source_repo":"."} {"id":"bd-604","content_hash":"0349d5e5111e910979df9c215d6884c8fea2789c9fe6225bbf178e5289681f55","title":"Agent 2 Issue 5","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.626166-07:00","updated_at":"2025-10-21T00:29:10.626166-07:00","source_repo":"."} -{"id":"bd-6049","content_hash":"16c54bc547f4ab180aee39efbb197709a47a39047f5bc2dd59e6e6b57ca8bc87","title":"bd doctor --json flag not working","description":"The --json flag on bd doctor command doesn't produce JSON output. It continues to show human-readable output instead. The flag is registered locally on doctorCmd but the code uses the global jsonOutput variable set by PersistentPreRun. Need to investigate why the flag isn't being honored.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-02T17:08:18.170428-08:00","updated_at":"2025-11-02T18:41:01.376783-08:00","closed_at":"2025-11-02T18:41:01.376786-08:00","source_repo":"."} +{"id":"bd-6049","content_hash":"16c54bc547f4ab180aee39efbb197709a47a39047f5bc2dd59e6e6b57ca8bc87","title":"bd doctor --json flag not working","description":"The --json flag on bd doctor command doesn't produce JSON output. It continues to show human-readable output instead. The flag is registered locally on doctorCmd but the code uses the global jsonOutput variable set by PersistentPreRun. Need to investigate why the flag isn't being honored.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-02T17:08:18.170428-08:00","updated_at":"2025-11-02T18:41:01.376783-08:00","closed_at":"2025-11-02T18:41:01.376786-08:00","source_repo":".","comments":[{"id":4,"issue_id":"bd-6049","author":"stevey","text":"Fixed by removing the local --json flag definition in doctor.go that was shadowing the persistent --json flag from main.go. The doctor command now correctly uses the global jsonOutput variable.","created_at":"2025-11-08T09:49:23Z"}]} {"id":"bd-605","content_hash":"dffac19cfcc24aa776dd6e5891e3de39e4fa1fe96d0516ef62b6fa8faf05668d","title":"Agent 2 Issue 6","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.626693-07:00","updated_at":"2025-10-21T00:29:10.626693-07:00","source_repo":"."} {"id":"bd-606","content_hash":"3bbe858b9569d5588940e342891ea48db70c07ab1b307b5ba72add506b7bf99c","title":"Agent 2 Issue 7","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.627182-07:00","updated_at":"2025-10-21T00:29:10.627182-07:00","source_repo":"."} {"id":"bd-607","content_hash":"ac4e79955276bd98e67f7691685e05df01bab502d25c8468740d416f0d27d38d","title":"Agent 2 Issue 8","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.627592-07:00","updated_at":"2025-10-21T00:29:10.627592-07:00","source_repo":"."} @@ -2203,7 +2196,7 @@ {"id":"bd-621","content_hash":"a653b369924e2e61c14990ed09011e1add284b9f6477ab680c2a9826a567274c","title":"Agent 2 Issue 22","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.64122-07:00","updated_at":"2025-10-21T00:29:10.64122-07:00","source_repo":"."} {"id":"bd-6214875c","content_hash":"d4d20e71bbf5c08f1fe1ed07f67b7554167aa165d4972ea51b5cacc1b256c4c1","title":"Split internal/rpc/server.go into focused modules","description":"The file `internal/rpc/server.go` is 2,273 lines with 50+ methods, making it difficult to navigate and prone to merge conflicts. Split into 8 focused files with clear responsibilities.\n\nCurrent structure: Single 2,273-line file with:\n- Connection handling\n- Request routing\n- All 40+ RPC method implementations\n- Storage caching\n- Health checks \u0026 metrics\n- Cleanup loops\n\nTarget structure:\n```\ninternal/rpc/\n├── server.go # Core server, connection handling (~300 lines)\n├── methods_issue.go # Issue operations (~400 lines)\n├── methods_deps.go # Dependency operations (~200 lines)\n├── methods_labels.go # Label operations (~150 lines)\n├── methods_ready.go # Ready work queries (~150 lines)\n├── methods_compact.go # Compaction operations (~200 lines)\n├── methods_comments.go # Comment operations (~150 lines)\n├── storage_cache.go # Storage caching logic (~300 lines)\n└── health.go # Health \u0026 metrics (~200 lines)\n```\n\nMigration strategy:\n1. Create new files with appropriate methods\n2. Keep `server.go` as main file with core server logic\n3. Test incrementally after each file split\n4. Final verification with full test suite","acceptance_criteria":"- All 50 methods split into appropriate files\n- Each file \u003c500 LOC\n- All methods remain on `*Server` receiver (no behavior change)\n- All tests pass: `go test ./internal/rpc/...`\n- Verify daemon works: start daemon, run operations, check health\n- Update internal documentation if needed\n- No change to public API","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-28T14:21:37.51524-07:00","updated_at":"2025-10-30T17:12:58.2179-07:00","closed_at":"2025-10-28T14:11:04.399811-07:00","source_repo":"."} {"id":"bd-622","content_hash":"144f25a83777597e585b1c6b22285304fb81cde1e7d5686fc010fcfdda08eb64","title":"Agent 2 Issue 23","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.641646-07:00","updated_at":"2025-10-21T00:29:10.641646-07:00","source_repo":"."} -{"id":"bd-6221bdcd","content_hash":"6749091ed73f5ec7b55af226b2ae8c9aa134759951435e08e65a363c674ea0c9","title":"Optimize cmd/bd test suite performance (currently 30+ minutes)","description":"CLI test suite is extremely slow (~30+ minutes for full run). Tests are poorly designed and need performance optimization before expanding coverage.\n\nCurrent coverage: 24.8% (improved from 20.2%)\n\n**Problem**: Tests take far too long to run, making development iteration painful.\n\n**Priority**: Fix test performance FIRST, then consider increasing coverage.\n\n**Investigation needed**:\n- Profile test execution to identify bottlenecks\n- Look for redundant git operations, database initialization, or daemon operations\n- Identify opportunities for test parallelization\n- Consider mocking or using in-memory databases where appropriate\n- Review test design patterns\n\n**Related**: bd-ktng mentions 13 CLI tests with redundant git init calls (31s total)\n\n**Goal**: Get full test suite under 1-2 minutes before adding more tests.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T14:06:27.951656-07:00","updated_at":"2025-11-08T22:41:05.766749-08:00","closed_at":"2025-11-08T22:41:05.766749-08:00","source_repo":".","dependencies":[{"issue_id":"bd-6221bdcd","depends_on_id":"bd-4d7fca8a","type":"blocks","created_at":"2025-10-29T19:52:05.532391-07:00","created_by":"import-remap"}]} +{"id":"bd-6221bdcd","content_hash":"6fe008205e84cf7ab85ed80827e44f0410520737c1bb86ccd14719f917472004","title":"Optimize cmd/bd test suite performance (currently 30+ minutes)","description":"CLI test suite is extremely slow (~30+ minutes for full run). Tests are poorly designed and need performance optimization before expanding coverage.\n\nCurrent coverage: 24.8% (improved from 20.2%)\n\n**Problem**: Tests take far too long to run, making development iteration painful.\n\n**Priority**: Fix test performance FIRST, then consider increasing coverage.\n\n**Investigation needed**:\n- Profile test execution to identify bottlenecks\n- Look for redundant git operations, database initialization, or daemon operations\n- Identify opportunities for test parallelization\n- Consider mocking or using in-memory databases where appropriate\n- Review test design patterns\n\n**Related**: bd-ktng mentions 13 CLI tests with redundant git init calls (31s total)\n\n**Goal**: Get full test suite under 1-2 minutes before adding more tests.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T14:06:27.951656-07:00","updated_at":"2025-11-08T22:41:05.766749-08:00","closed_at":"2025-11-08T22:41:05.766749-08:00","source_repo":".","dependencies":[{"issue_id":"bd-6221bdcd","depends_on_id":"bd-4d7fca8a","type":"blocks","created_at":"2025-10-29T19:52:05.532391-07:00","created_by":"import-remap"}]} {"id":"bd-623","content_hash":"897673001dd6e0097a1da2cce6b09a62fefcd680ff252c69e57744bd2eadfdec","title":"Agent 2 Issue 24","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.642057-07:00","updated_at":"2025-10-21T00:29:10.642057-07:00","source_repo":"."} {"id":"bd-624","content_hash":"871f2c4d9325d2a6f3a5a9923945a7e6f3078646acadfebb304e1e90b7a7bf95","title":"Agent 2 Issue 25","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.64246-07:00","updated_at":"2025-10-21T00:29:10.64246-07:00","source_repo":"."} {"id":"bd-625","content_hash":"84fb04dd4e90ad21ec3dc34a19364a7b6744c654cda32e6525cdb78b843b3f75","title":"Agent 2 Issue 26","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.6429-07:00","updated_at":"2025-10-21T00:29:10.6429-07:00","source_repo":"."} @@ -2238,7 +2231,7 @@ {"id":"bd-649","content_hash":"76fb7eef7e27e46f4ad5f1ca33f8d682dc139dd11a33155623c7e96c1ccbbd71","title":"Agent 2 Issue 50","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.664623-07:00","updated_at":"2025-10-21T00:29:10.664623-07:00","source_repo":"."} {"id":"bd-64c05d00","content_hash":"ab391b33353bfe693ef571e9fcb4a222eb5289a07e60258bd88c29565e85c4d0","title":"Multi-clone collision resolution testing and documentation","description":"Epic to track improvements to multi-clone collision resolution based on ultrathinking analysis of-3d844c58 and [deleted:bd-71107098].\n\nCurrent state:\n- 2-clone collision resolution is SOUND and working correctly\n- Hash-based deterministic collision resolution works\n- Test fails due to timestamp comparison, not actual logic issues\n\nWork needed:\n1. Fix TestTwoCloneCollision to compare content not timestamps\n2. Add TestThreeCloneCollision for regression protection\n3. Document 3-clone ID non-determinism as known behavior","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-28T17:58:38.316626-07:00","updated_at":"2025-11-05T00:32:09.153134-08:00","closed_at":"2025-11-04T11:10:23.531681-08:00","source_repo":"."} {"id":"bd-64c05d00.1","content_hash":"4ed407ab9518dbf45a4097460354d7857dd53881b913ad770def31d46dc6dc15","title":"Fix TestTwoCloneCollision to compare content not timestamps","description":"The test at beads_twoclone_test.go:204-207 currently compares full JSON output including timestamps, causing false negative failures.\n\nCurrent behavior:\n- Both clones converge to identical semantic content\n- Clone A: test-2=\"Issue from clone A\", test-1=\"Issue from clone B\"\n- Clone B: test-1=\"Issue from clone B\", test-2=\"Issue from clone A\"\n- Titles match IDs correctly, no data corruption\n- Only timestamps differ (expected and acceptable)\n\nFix needed:\n- Replace exact JSON comparison with content-aware comparison\n- Normalize or ignore timestamp fields when asserting convergence\n- Test should PASS after this fix\n\nThis blocks completion of bd-71107098.","acceptance_criteria":"- Test compares issue content (title, description, status, priority) not timestamps\n- TestTwoCloneCollision passes\n- Both clones shown to have identical semantic content\n- Timestamps explicitly documented as acceptable difference","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-28T17:58:52.057194-07:00","updated_at":"2025-10-30T17:12:58.226744-07:00","closed_at":"2025-10-28T18:01:38.751895-07:00","source_repo":".","dependencies":[{"issue_id":"bd-64c05d00.1","depends_on_id":"bd-64c05d00","type":"parent-child","created_at":"2025-10-28T17:58:52.058202-07:00","created_by":"stevey"},{"issue_id":"bd-64c05d00.1","depends_on_id":"bd-71107098","type":"blocks","created_at":"2025-10-28T17:58:52.05873-07:00","created_by":"stevey"}]} -{"id":"bd-64c05d00.2","content_hash":"bee12f24cd1fc490bef9065a1981f4d4f5289d375102290db320e24afa90a3ca","title":"Document 3-clone ID non-determinism in collision resolution","description":"Document the known behavior of 3+ way collision resolution where ID assignments may vary based on sync order, even though content always converges correctly.\n\nUpdates needed:\n- Update bd-71107098 notes to mark 2-clone case as solved\n- Document 3-clone ID non-determinism as known limitation\n- Add explanation to ADVANCED.md or collision resolution docs\n- Explain why this happens (pairwise hash comparison is deterministic, but multi-way ID allocation uses sync-order dependent counters)\n- Clarify trade-offs: content convergence ✅ vs ID stability ❌\n\nKey points to document:\n- Hash-based resolution is pairwise deterministic\n- Content always converges correctly (all issues present with correct data)\n- Numeric ID assignments in 3+ way collisions depend on sync order\n- This is acceptable for most use cases (content convergence is primary goal)\n- Full determinism would require complex multi-way comparison","acceptance_criteria":"- bd-71107098 updated with notes about 2-clone solution being complete\n- 3-clone ID non-determinism documented in ADVANCED.md or similar\n- Explanation includes why it happens and trade-offs\n- Links to TestThreeCloneCollision as demonstration\n- Users understand this is expected behavior, not a bug","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-28T17:59:21.93014-07:00","updated_at":"2025-11-20T12:05:34.821446-05:00","closed_at":"2025-11-15T14:13:47.304584-08:00","source_repo":".","dependencies":[{"issue_id":"bd-64c05d00.2","depends_on_id":"bd-64c05d00","type":"parent-child","created_at":"2025-10-28T17:59:21.938709-07:00","created_by":"stevey"}]} +{"id":"bd-64c05d00.2","content_hash":"19918bb968b59b1e13e87504b2f02a826cd1dc4700f2cf3997500a463c01a2d6","title":"Document 3-clone ID non-determinism in collision resolution","description":"Document the known behavior of 3+ way collision resolution where ID assignments may vary based on sync order, even though content always converges correctly.\n\nUpdates needed:\n- Update bd-71107098 notes to mark 2-clone case as solved\n- Document 3-clone ID non-determinism as known limitation\n- Add explanation to ADVANCED.md or collision resolution docs\n- Explain why this happens (pairwise hash comparison is deterministic, but multi-way ID allocation uses sync-order dependent counters)\n- Clarify trade-offs: content convergence ✅ vs ID stability ❌\n\nKey points to document:\n- Hash-based resolution is pairwise deterministic\n- Content always converges correctly (all issues present with correct data)\n- Numeric ID assignments in 3+ way collisions depend on sync order\n- This is acceptable for most use cases (content convergence is primary goal)\n- Full determinism would require complex multi-way comparison","acceptance_criteria":"- bd-71107098 updated with notes about 2-clone solution being complete\n- 3-clone ID non-determinism documented in ADVANCED.md or similar\n- Explanation includes why it happens and trade-offs\n- Links to TestThreeCloneCollision as demonstration\n- Users understand this is expected behavior, not a bug","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-28T17:59:21.93014-07:00","updated_at":"2025-11-15T14:13:47.304584-08:00","closed_at":"2025-11-15T14:13:47.304584-08:00","source_repo":".","dependencies":[{"issue_id":"bd-64c05d00.2","depends_on_id":"bd-64c05d00","type":"parent-child","created_at":"2025-10-28T17:59:21.938709-07:00","created_by":"stevey"}]} {"id":"bd-64c05d00.3","content_hash":"e006b991353a26f949bc3ae4476849ef785f399f6aca866586eb6fa03d243b35","title":"Add TestThreeCloneCollision for regression protection","description":"Add a 3-clone collision test to document behavior and provide regression protection.\n\nPurpose:\n- Verify content convergence regardless of sync order\n- Document the ID non-determinism behavior (IDs may be assigned differently based on sync order)\n- Provide regression protection for multi-way collisions\n\nTest design:\n- 3 clones create same ID with different content\n- Test two different sync orders (A→B→C vs C→A→B)\n- Assert content sets match (ignore specific ID assignments)\n- Add comment explaining ID non-determinism is expected behavior\n\nKnown limitation:\n- Content always converges correctly (all issues present with correct titles)\n- Numeric ID assignments (test-2 vs test-3) depend on sync order\n- This is acceptable if content convergence is the primary goal","acceptance_criteria":"- TestThreeCloneCollision added to beads_twoclone_test.go (or new file)\n- Tests 3 clones with same ID collision\n- Tests two different sync orders\n- Asserts content convergence (all issues present, correct titles)\n- Documents ID non-determinism in test comments\n- Test passes consistently","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-28T17:59:05.941735-07:00","updated_at":"2025-10-30T17:12:58.227089-07:00","closed_at":"2025-10-28T18:09:12.717604-07:00","source_repo":".","dependencies":[{"issue_id":"bd-64c05d00.3","depends_on_id":"bd-64c05d00","type":"parent-child","created_at":"2025-10-28T17:59:05.942783-07:00","created_by":"stevey"}]} {"id":"bd-64z4","content_hash":"d707d871411b33bd6268d2a83ec6cc7696d9b38c86510dc7cb7a073fb2a8cfa3","title":"Assigned issue","description":"","status":"closed","priority":1,"issue_type":"task","assignee":"testuser","created_at":"2025-11-07T19:04:24.201309-08:00","updated_at":"2025-11-07T22:07:17.344151-08:00","closed_at":"2025-11-07T21:55:09.427387-08:00","source_repo":"."} {"id":"bd-65","content_hash":"3ea9a2a8e14332913fa63e41cc21d13897d6116fe2cec448cb2dbf421b5acd5a","title":"bd should auto-detect .beads/*.db in current directory","description":"When bd is run without --db flag, it defaults to beads' own database instead of looking for a .beads/*.db file in the current working directory. This causes confusion when working on other projects that use beads for issue tracking (like vc).\n\nExpected behavior: bd should search for .beads/*.db in cwd and use that if found, before falling back to default beads database.\n\nExample: Running 'bd ready' in /Users/stevey/src/vc/vc/ should automatically find and use .beads/vc.db without requiring --db flag every time.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.546251-07:00","closed_at":"2025-10-16T10:07:34.046944-07:00","source_repo":"."} @@ -2302,9 +2295,10 @@ {"id":"bd-6ada971e","content_hash":"3979df7395526a6796508aa1ed1e89c4fedc46ee5c2b79dd85066c8a78c8487a","title":"Create cmd/bd/daemon_event_loop.go (~200 LOC)","description":"Implement runEventDrivenLoop to replace polling ticker. Coordinate FileWatcher, mutation events, debouncer. Include health check ticker (60s) for daemon validation.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-28T16:20:02.429383-07:00","updated_at":"2025-10-30T17:12:58.220612-07:00","closed_at":"2025-10-28T12:30:44.067036-07:00","source_repo":"."} {"id":"bd-6bebe013","content_hash":"f22a22149f90f02b8fcc211c3082f2bbb014ee6700ee7749037851e9d1f9cf2f","title":"Rapid 1","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-29T19:11:57.404437-07:00","updated_at":"2025-11-08T01:49:23.457646-08:00","closed_at":"2025-11-07T23:18:52.368766-08:00","source_repo":"."} {"id":"bd-6c68","content_hash":"e35e484e4f95b135186624795a5eaa5ef8fc13bbcbdde30829a4796c420c4412","title":"bd info shows 'auto_start_disabled' even when daemon is crashed/missing","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-31T21:08:03.385681-07:00","updated_at":"2025-11-01T19:13:43.819004-07:00","closed_at":"2025-11-01T19:13:43.819004-07:00","source_repo":".","dependencies":[{"issue_id":"bd-6c68","depends_on_id":"bd-2752a7a2","type":"discovered-from","created_at":"2025-10-31T21:08:03.387045-07:00","created_by":"stevey"}]} +{"id":"bd-6cxz","content_hash":"e083f81a4836dc434a214cdc4f1fefdfebfdcb523d08a89486f682fe25e0e16b","title":"Fix MCP tools failing to load in Claude Code (GH#346)","description":"Fix FastMCP schema generation bug by refactoring `Issue` model to avoid recursion.\n \n - Refactored `Issue` in `models.py` to use `LinkedIssue` for dependencies/dependents.\n - Restored missing `Mail*` models to `models.py`.\n - Fixed `tests/test_mail.py` mock assertion.\n \n Fixes GH#346.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T18:53:40.229801-05:00","updated_at":"2025-11-20T18:53:44.280296-05:00","closed_at":"2025-11-20T18:53:44.280296-05:00","source_repo":"."} {"id":"bd-6d7efe32","content_hash":"e5c88e7c673bc83ef3b7c24deea92055c4f663327f6831c41f2aa601d0855528","title":"CRDT-based architecture for guaranteed convergence (v2.0)","description":"## Vision\nRedesign beads around Conflict-Free Replicated Data Types (CRDTs) to provide mathematical guarantees for N-way collision resolution at arbitrary scale.\n\n## Current Limitations\n- Content-hash based collision resolution fails at 5+ clones\n- Non-deterministic convergence in multi-round scenarios\n- UNIQUE constraint violations during rename operations\n- No formal proof of convergence properties\n\n## CRDT Benefits\n- Provably convergent (Strong Eventual Consistency)\n- Commutative/Associative/Idempotent operations\n- No coordination required between clones\n- Scales to 100+ concurrent workers\n- Well-understood mathematical foundations\n\n## Proposed Architecture\n\n### 1. UUID-Based IDs\nReplace sequential IDs with UUIDs:\n- Current: bd-1c63eb84, bd-9063acda, bd-4d80b7b1\n- CRDT: bd-a1b2c3d4-e5f6-7890-abcd-ef1234567890\n- Human aliases maintained separately: #42 maps to UUID\n\n### 2. Last-Write-Wins (LWW) Elements\nEach field becomes an LWW register:\n- title: (timestamp, clone_id, value)\n- status: (timestamp, clone_id, value)\n- Deterministic conflict resolution via Lamport timestamp + clone_id tiebreaker\n\n### 3. Operation Log\nTrack all operations as CRDT ops:\n- CREATE(uuid, timestamp, clone_id, fields)\n- UPDATE(uuid, field, timestamp, clone_id, value)\n- DELETE(uuid, timestamp, clone_id) - tombstone, not hard delete\n\n### 4. Sync as Merge\nSyncing becomes merging two CRDT states:\n- No merge conflicts possible\n- Deterministic merge function\n- Guaranteed convergence\n\n## Implementation Phases\n\n### Phase 1: Research \u0026 Design (4 weeks)\n- Study existing CRDT implementations (Automerge, Yjs, Loro)\n- Design schema for CRDT-based issue tracking\n- Prototype LWW-based Issue CRDT\n- Benchmark performance vs current system\n\n### Phase 2: Parallel Implementation (6 weeks)\n- Implement CRDT storage layer alongside SQLite\n- Build conversion tools: SQLite ↔ CRDT\n- Maintain backward compatibility with v1.x format\n- Migration path for existing databases\n\n### Phase 3: Testing \u0026 Validation (4 weeks)\n- Formal verification of convergence properties\n- Stress testing with 100+ clone scenario\n- Performance profiling and optimization\n- Documentation and examples\n\n### Phase 4: Migration \u0026 Rollout (4 weeks)\n- Release v2.0-beta with CRDT backend\n- Gradual migration from v1.x\n- Monitoring and bug fixes\n- Final v2.0 release\n\n## Risks \u0026 Mitigations\n\n**Risk 1: Performance overhead**\n- Mitigation: Benchmark early, optimize hot paths\n- CRDTs can be slower than append-only logs\n- May need compaction strategy\n\n**Risk 2: Storage bloat**\n- Mitigation: Implement operation log compaction\n- Tombstone garbage collection for deleted issues\n- Periodic snapshots to reduce log size\n\n**Risk 3: Breaking changes**\n- Mitigation: Maintain v1.x compatibility layer\n- Gradual migration tools\n- Dual-mode operation during transition\n\n**Risk 4: Complexity**\n- Mitigation: Use battle-tested CRDT libraries\n- Comprehensive documentation\n- Clear migration guide\n\n## Success Criteria\n- 100-clone collision test passes without failures\n- Formal proof of convergence properties\n- Performance within 2x of current system\n- Zero manual conflict resolution required\n- Backward compatible with v1.x databases\n\n## Timeline\n18-20 weeks total (4-5 months)\n\n## References\n- Automerge: https://automerge.org\n- Yjs: https://docs.yjs.dev\n- Loro: https://loro.dev\n- CRDT theory: Shapiro et al, A comprehensive study of CRDTs\n- Related issues: bd-e6d71828, bd-7a2b58fc, bd-81abb639","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-29T20:48:00.267237-07:00","updated_at":"2025-10-31T20:06:44.604643-07:00","closed_at":"2025-10-31T20:06:44.604643-07:00","source_repo":"."} {"id":"bd-6ed8","content_hash":"f9c4f8b0dfc2f32b8976294a030120a3122a7a0163fbabbf97e23e6c1240c1ae","title":"Fixture Generator for Realistic Test Data","description":"Create internal/testutil/fixtures/fixtures.go with functions to generate realistic test data at scale.\n\nFunctions:\n- LargeSQLite(storage) - 10K issues, native SQLite\n- XLargeSQLite(storage) - 20K issues, native SQLite \n- LargeFromJSONL(storage) - 10K issues imported from JSONL\n- XLargeFromJSONL(storage) - 20K issues imported from JSONL\n\nData characteristics:\n- Epic hierarchies (depth 4): Epic → Feature → Task → Subtask\n- Cross-linked dependencies (tasks blocking across epics)\n- Realistic status/priority/label distribution\n- Representative assignees and temporal data\n\nImplementation:\n- Single file: internal/testutil/fixtures/fixtures.go\n- No config structs, simple direct functions\n- Seeded RNG for reproducibility\n- Reusable by both benchmarks and tests","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-13T22:22:28.233977-08:00","updated_at":"2025-11-13T22:40:19.485552-08:00","closed_at":"2025-11-13T22:40:19.485552-08:00","source_repo":".","dependencies":[{"issue_id":"bd-6ed8","depends_on_id":"bd-3tfh","type":"blocks","created_at":"2025-11-13T22:23:58.120794-08:00","created_by":"daemon"},{"issue_id":"bd-6ed8","depends_on_id":"bd-m62x","type":"blocks","created_at":"2025-11-13T22:24:02.598071-08:00","created_by":"daemon"}]} -{"id":"bd-6fe4622f","content_hash":"8a8df680150f73fef6ac9cede6a1b2b0033406b35553a8a3795b13a542cd62f1","title":"Remove unreachable utility functions","description":"Several small utility functions are unreachable:\n\nFiles to clean:\n1. `internal/storage/sqlite/hash.go` - `computeIssueContentHash` (line 17)\n - Check if entire file can be deleted if only contains this function\n\n2. `internal/config/config.go` - `FileUsed` (line 151)\n - Delete unused config helper\n\n3. `cmd/bd/git_sync_test.go` - `verifyIssueOpen` (line 300)\n - Delete dead test helper\n\n4. `internal/compact/haiku.go` - `HaikuClient.SummarizeTier2` (line 81)\n - Tier 2 summarization not implemented\n - Options: implement feature OR delete method\n\nImpact: Removes 50-100 LOC depending on decisions","acceptance_criteria":"- Remove unreachable functions\n- If entire files can be deleted (like hash.go), delete them\n- For SummarizeTier2: decide to implement or delete, document decision\n- All tests pass: `go test ./...`\n- Verify no callers exist for each function","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-28T16:20:02.434573-07:00","updated_at":"2025-11-06T19:36:13.971241-08:00","closed_at":"2025-11-06T19:30:18.18734-08:00","source_repo":"."} +{"id":"bd-6fe4622f","content_hash":"d0d8e0634aea5e60373d339b363d7601af5d42d0f90780a54a4978c3e39ca747","title":"Remove unreachable utility functions","description":"Several small utility functions are unreachable:\n\nFiles to clean:\n1. `internal/storage/sqlite/hash.go` - `computeIssueContentHash` (line 17)\n - Check if entire file can be deleted if only contains this function\n\n2. `internal/config/config.go` - `FileUsed` (line 151)\n - Delete unused config helper\n\n3. `cmd/bd/git_sync_test.go` - `verifyIssueOpen` (line 300)\n - Delete dead test helper\n\n4. `internal/compact/haiku.go` - `HaikuClient.SummarizeTier2` (line 81)\n - Tier 2 summarization not implemented\n - Options: implement feature OR delete method\n\nImpact: Removes 50-100 LOC depending on decisions","acceptance_criteria":"- Remove unreachable functions\n- If entire files can be deleted (like hash.go), delete them\n- For SummarizeTier2: decide to implement or delete, document decision\n- All tests pass: `go test ./...`\n- Verify no callers exist for each function","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-28T16:20:02.434573-07:00","updated_at":"2025-10-30T17:12:58.224957-07:00","source_repo":"."} {"id":"bd-6hji","content_hash":"6da407d81b32c439e93754b0d5322a6ba2a4377569b9f7a425d02c6b1b1987dc","title":"Test exclusive file reservations with two agents","description":"Simulate two agents racing to claim the same issue and verify that exclusive reservations prevent collision.\n\nAcceptance Criteria:\n- Agent A reserves bd-123 → succeeds\n- Agent B tries to reserve bd-123 → fails with clear error message\n- Agent B can see who has the reservation\n- Reservation expires after TTL\n- Agent B can claim after expiration","notes":"Successfully tested file reservations:\n- Agent BrownBear reserved bd-123 → granted\n- Agent ChartreuseHill tried same → conflicts returned\n- System correctly prevents collision","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-07T22:41:59.963468-08:00","updated_at":"2025-11-08T01:51:40.349671-08:00","closed_at":"2025-11-08T00:03:18.004972-08:00","source_repo":".","dependencies":[{"issue_id":"bd-6hji","depends_on_id":"bd-muls","type":"blocks","created_at":"2025-11-07T23:03:52.897843-08:00","created_by":"daemon"},{"issue_id":"bd-6hji","depends_on_id":"bd-27xm","type":"blocks","created_at":"2025-11-07T23:20:21.911222-08:00","created_by":"daemon"},{"issue_id":"bd-6hji","depends_on_id":"bd-spmx","type":"parent-child","created_at":"2025-11-08T00:02:47.904652-08:00","created_by":"daemon"}]} {"id":"bd-6ku3","content_hash":"44f4b7c866bd65391dccc5aadee556a7be9b07661e355018c6cb8906b73e3ab3","title":"Fix TestMigrateHashIDs test failure","description":"Test failure in cmd/bd/migrate_hash_ids_test.go:100 - New ID bd-09970281 for bd-1 is not a hash ID. This test is validating the hash ID migration but the generated ID doesn't match the expected format.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-06T18:52:58.114046-08:00","updated_at":"2025-11-06T19:04:58.804373-08:00","closed_at":"2025-11-06T19:04:58.804373-08:00","source_repo":"."} {"id":"bd-6mjj","content_hash":"2226a78fdb09302679f4fd9424d4e8c8fbdef1ef374bdd3789471b4c0868358d","title":"Split test suites: fast vs. integration","description":"Reorganize tests into separate packages/files for fast unit tests vs slow integration tests.\n\nBenefits:\n- Clear separation of concerns\n- Easier to run just fast tests during development\n- Can parallelize CI jobs better\n\nFiles to organize:\n- beads_hash_multiclone_test.go (slow integration tests)\n- beads_integration_test.go (medium-speed integration tests)\n- Other test files (fast unit tests)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-04T01:24:21.040347-08:00","updated_at":"2025-11-04T10:38:12.408674-08:00","closed_at":"2025-11-04T10:38:12.408674-08:00","source_repo":".","dependencies":[{"issue_id":"bd-6mjj","depends_on_id":"bd-l5gq","type":"blocks","created_at":"2025-11-04T01:24:21.041228-08:00","created_by":"daemon"}]} @@ -2365,7 +2359,7 @@ {"id":"bd-738","content_hash":"3e34370323c24eebaf078617dfc52dccac535bbfd54210b09775379d2a75e509","title":"Agent 4 Issue 63","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.702088-07:00","updated_at":"2025-10-21T00:29:10.702088-07:00","source_repo":"."} {"id":"bd-739","content_hash":"52d23cf64914dc84559fb76a5cc6f9b352681a40c2dbb77000c42c7e3327dc77","title":"Agent 4 Issue 64","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.702513-07:00","updated_at":"2025-10-21T00:29:10.702513-07:00","source_repo":"."} {"id":"bd-73iz","content_hash":"6003ff8e78d951d6a708f6aac6bcf841637977cab4f4a93a80b3dc2bab3287cb","title":"Test issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:17.430269-08:00","updated_at":"2025-11-07T22:07:17.344468-08:00","closed_at":"2025-11-07T21:55:09.427697-08:00","source_repo":"."} -{"id":"bd-73n8","content_hash":"d8808071441c4faaa429c2100b421348df1750118ac618c6d68437064eb060c5","title":"Blocking issue","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-11-07T19:06:46.156536-08:00","updated_at":"2025-11-07T19:06:46.156536-08:00","source_repo":"."} +{"id":"bd-73n8","content_hash":"d8808071441c4faaa429c2100b421348df1750118ac618c6d68437064eb060c5","title":"Blocking issue","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:06:46.156536-08:00","updated_at":"2025-11-08T02:06:46.038302-08:00","closed_at":"2025-11-08T02:06:46.038302-08:00","source_repo":"."} {"id":"bd-74","content_hash":"38d6d05a643a215d9ec8a1e82843d9662d776648a0844fd72cf8d4fce66a80d1","title":"Task B under epic","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.547969-07:00","closed_at":"2025-10-16T10:07:34.129768-07:00","source_repo":"."} {"id":"bd-740","content_hash":"8a011a5117852e9310bccc4f71a65a232bce7bf8173c19c4c052ae2c45d08192","title":"Agent 4 Issue 65","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.702946-07:00","updated_at":"2025-10-21T00:29:10.702946-07:00","source_repo":"."} {"id":"bd-741","content_hash":"ae1589bb2198e4279d9b21af9b5efb655be7ca4185ee558675745ba15d82730d","title":"Agent 4 Issue 66","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.703377-07:00","updated_at":"2025-10-21T00:29:10.703377-07:00","source_repo":"."} @@ -2378,7 +2372,6 @@ {"id":"bd-748","content_hash":"d13d26e67b12dc3ee2da07139aebec0c0140de841ec3d857c4c995599082ccee","title":"Agent 4 Issue 73","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.706517-07:00","updated_at":"2025-10-21T00:29:10.706517-07:00","source_repo":"."} {"id":"bd-749","content_hash":"7f402dc19aa9917721b08035413a5f931e008d1cfb9cb3d039ca49b4011907b4","title":"Agent 4 Issue 74","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.706923-07:00","updated_at":"2025-10-21T00:29:10.706923-07:00","source_repo":"."} {"id":"bd-74ee","content_hash":"476deaacd64c91c96e5c9aca9ba0640dcf0f3854f9f11bbaa25a8ae80af3adf3","title":"Frontend task","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-03T19:11:59.358631-08:00","updated_at":"2025-11-05T00:25:06.457813-08:00","closed_at":"2025-11-05T00:25:06.457813-08:00","source_repo":".","labels":["frontend","week1"]} -{"id":"bd-74q9","content_hash":"426f1e44ca47486e2fa5b97832a635612ac9fcb98064f00559c8833480f11bd6","title":"Issue to reopen with reason","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-20T19:11:50.950742-05:00","updated_at":"2025-11-20T19:11:50.950742-05:00","closed_at":"2025-11-09T16:13:23.938513-08:00","source_repo":"."} {"id":"bd-75","content_hash":"dc7a96adc5012e90eaa3becbdc873d42c5813d0d6fa37b2fd62d3a006be86446","title":"Test issue with explicit ID","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.548133-07:00","closed_at":"2025-10-16T10:07:34.124331-07:00","source_repo":"."} {"id":"bd-750","content_hash":"2ad9417c9fc0c51607a1e26f96c0a2231a2259487ef0dc5936c98b8d75ae000d","title":"Agent 4 Issue 75","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.707338-07:00","updated_at":"2025-10-21T00:29:10.707338-07:00","source_repo":"."} {"id":"bd-751","content_hash":"7fb7c5508eb3fd200ff0498543ac9c918ef596dff5293852e14f70abdc987b58","title":"Agent 4 Issue 76","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.707752-07:00","updated_at":"2025-10-21T00:29:10.707752-07:00","source_repo":"."} @@ -2402,7 +2395,7 @@ {"id":"bd-767","content_hash":"ee98d83b62a2122f7bea741746d973c211c826290dc5403d30857aa37ffb9428","title":"Agent 4 Issue 92","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.714544-07:00","updated_at":"2025-10-21T00:29:10.714544-07:00","source_repo":"."} {"id":"bd-768","content_hash":"551a14ffd0ed3db2f1d479d4b97b2f674ace4ccf436af29d96e8a5cb3058fa0a","title":"Agent 4 Issue 93","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.71498-07:00","updated_at":"2025-10-21T00:29:10.71498-07:00","source_repo":"."} {"id":"bd-769","content_hash":"3ecb1603e1822b3c63846d0aecf77a1aefc154529feea43a590a4d91e6398a1e","title":"Agent 4 Issue 94","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.715397-07:00","updated_at":"2025-10-21T00:29:10.715397-07:00","source_repo":"."} -{"id":"bd-76cu","content_hash":"2236f911e6f321a74aa61bdf702d24949e44a68ed511d12dd011aa4103c89230","title":"Issue 2","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:21.562329-08:00","updated_at":"2025-11-07T19:04:21.562329-08:00","source_repo":"."} +{"id":"bd-76cu","content_hash":"2236f911e6f321a74aa61bdf702d24949e44a68ed511d12dd011aa4103c89230","title":"Issue 2","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:21.562329-08:00","updated_at":"2025-11-08T02:06:40.397755-08:00","closed_at":"2025-11-08T02:06:40.397755-08:00","source_repo":"."} {"id":"bd-77","content_hash":"ea462c841c76e346eabcb3e78f1f6fab9307e1d1d73175fc0306b6e9e185cb70","title":"Auto-flush JSONL on CRUD operations with 5-second debounce","description":"Implemented automatic write-through from SQLite to JSONL with 5-second debouncing. After any CRUD operation (create, update, close, dep add/remove), changes are scheduled to flush to JSONL after 5 seconds of inactivity. On process exit, any pending changes are flushed immediately. This prevents .db and .jsonl from getting out of sync, solving the workflow gap where agents forget to run 'bd export'. Can be disabled with --no-auto-flush flag. Addresses bd-48.","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.548459-07:00","closed_at":"2025-10-16T10:07:22.493112-07:00","source_repo":"."} {"id":"bd-770","content_hash":"1a13edcd95ef0f68d3efe453b3aafbc8b49ac2881c8a0c9bce567eded8643724","title":"Agent 4 Issue 95","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.715821-07:00","updated_at":"2025-10-21T00:29:10.715821-07:00","source_repo":"."} {"id":"bd-771","content_hash":"f0caafab6a0cde3bd0cddd8aadcb0a18a9c98dd749419d5848d3cdf26b63d507","title":"Agent 4 Issue 96","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.716248-07:00","updated_at":"2025-10-21T00:29:10.716248-07:00","source_repo":"."} @@ -2451,7 +2444,7 @@ {"id":"bd-7eed","content_hash":"38bc75490042cd3b3dea4dd9c7fd0ce576212b2c31ccf3d51992d1dc73b0fbd9","title":"Remove obsolete stale.go command (executor tables never implemented)","description":"","status":"closed","priority":2,"issue_type":"chore","created_at":"2025-10-31T21:27:05.555369-07:00","updated_at":"2025-10-31T21:27:11.427631-07:00","closed_at":"2025-10-31T21:27:11.427631-07:00","source_repo":"."} {"id":"bd-7fe8","content_hash":"106aa3a1717d3c2a6ff518a8881976fd70911b006714b04f47327959d7ca1444","title":"Fix linting error in migrate.go","description":"Linter reports error:\n```\ncmd/bd/migrate.go:647:37: cleanupWALFiles - result 0 (error) is always nil (unparam)\n```\n\nThe `cleanupWALFiles` function always returns nil, so the error return type should be removed or the function should actually return errors when appropriate.","status":"closed","priority":2,"issue_type":"chore","created_at":"2025-11-02T09:29:37.279747-08:00","updated_at":"2025-11-02T09:46:52.18793-08:00","closed_at":"2025-11-02T09:46:52.18793-08:00","source_repo":".","dependencies":[{"issue_id":"bd-7fe8","depends_on_id":"bd-1231","type":"blocks","created_at":"2025-11-02T09:29:37.280881-08:00","created_by":"stevey"}]} {"id":"bd-7kua","content_hash":"2dedc0d0d5444db45ab146cc59f3c51bc4bfc3c864da43d3c086a9153613c29f","title":"Reduce sync rounds in multiclone tests","description":"Analyze and reduce the number of sync rounds in hash multiclone tests.\n\nCurrent state:\n- TestHashIDs_MultiCloneConverge: 1 round of syncs across 3 clones\n- TestHashIDs_IdenticalContentDedup: 2 rounds across 2 clones\n\nInvestigation needed:\n- Profile to see how much time each sync takes\n- Determine minimum rounds needed for convergence\n- Consider making rounds configurable via env var\n\nFile: beads_hash_multiclone_test.go:70, :132","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-04T01:24:18.405038-08:00","updated_at":"2025-11-04T10:26:34.449434-08:00","closed_at":"2025-11-04T10:26:34.449434-08:00","source_repo":".","dependencies":[{"issue_id":"bd-7kua","depends_on_id":"bd-l5gq","type":"blocks","created_at":"2025-11-04T01:24:18.405883-08:00","created_by":"daemon"}]} -{"id":"bd-7so1","content_hash":"65e5dcb12407f83aad0c37c06127fcf76cf00bf581adab726b221da75c6c7f74","title":"Issue 1 to reopen","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:20.12433-08:00","updated_at":"2025-11-07T19:04:20.224399-08:00","source_repo":"."} +{"id":"bd-7so1","content_hash":"65e5dcb12407f83aad0c37c06127fcf76cf00bf581adab726b221da75c6c7f74","title":"Issue 1 to reopen","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:20.12433-08:00","updated_at":"2025-11-08T02:06:29.112482-08:00","closed_at":"2025-11-08T02:06:29.112482-08:00","source_repo":"."} {"id":"bd-8","content_hash":"f8001fe0ae589b40c335a9a083d09e33bcce9298596065825094f4aa23eee5b2","title":"Simplify getNextID SQL query parameters","description":"Query passes prefix four times to same SQL query. Works but fragile if query changes. Consider simplifying SQL to require fewer parameters. Location: internal/storage/sqlite/sqlite.go:73-78","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.548923-07:00","closed_at":"2025-10-16T10:07:34.038708-07:00","source_repo":"."} {"id":"bd-80","content_hash":"e7d1543fb4458c206a0fe633a1f017281646ee982da63799c59004ebe0b7f0cd","title":"Implement daemon architecture for concurrent access","description":"Multiple AI agents running concurrently cause database corruption, git lock contention, and data loss. Implement a daemon-based architecture where bd daemon owns SQLite (single writer) and all bd commands become RPC clients when daemon is running. Batches git operations to prevent index.lock contention. Maintains backward compatibility with graceful fallback to direct mode. See DAEMON_DESIGN.md for full details.","design":"Architecture: Unix socket RPC with JSON payloads. bd commands auto-detect daemon socket, fall back to direct mode if not present. Daemon serializes all SQLite writes and batches git exports every 5 seconds. Per-repo daemon using .beads/bd.sock location.\n\nImplementation phases:\n1. RPC protocol infrastructure (protocol.go, server.go, client.go)\n2. Client auto-detection and fallback\n3. Daemon SQLite ownership and git batching\n4. Atomic operations and transactions","acceptance_criteria":"- 4 concurrent agents can run without errors\n- No UNIQUE constraint failures on ID generation\n- No git index.lock errors \n- SQLite counter stays in sync with actual issues\n- Graceful fallback when daemon not running\n- All existing tests pass\n- Documentation updated","status":"closed","priority":0,"issue_type":"epic","created_at":"2025-10-16T21:54:48.794119-07:00","updated_at":"2025-10-21T00:25:40.549073-07:00","closed_at":"2025-10-16T23:45:02.505335-07:00","source_repo":"."} {"id":"bd-800","content_hash":"d58a832162cd303300a09c8e4aad8dbc5a87e8bc698e817eb683a79aeb63781c","title":"Agent 6 Issue 1","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.729436-07:00","updated_at":"2025-10-21T00:29:10.729436-07:00","source_repo":"."} @@ -2484,13 +2477,13 @@ {"id":"bd-821","content_hash":"a49b46c61e22e58e62467de363935d6aa11f2afc7f826780cf37ce1f6d215bf4","title":"Agent 6 Issue 22","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.739181-07:00","updated_at":"2025-10-21T00:29:10.739181-07:00","source_repo":"."} {"id":"bd-822","content_hash":"e7fc8930a990d491d3eb99a177e595047f9bcdd1067388bd9de5ae46927f27ae","title":"Agent 6 Issue 23","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.739624-07:00","updated_at":"2025-10-21T00:29:10.739624-07:00","source_repo":"."} {"id":"bd-823","content_hash":"ca70bd9db4f3a09691ff4612a1a090e20b3ef5916ab853ce9f3e840579499f3f","title":"Agent 6 Issue 24","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.740049-07:00","updated_at":"2025-10-21T00:29:10.740049-07:00","source_repo":"."} -{"id":"bd-824","content_hash":"ba893642ee6145900797db1937943f5dc38e848ed85e74307bcfa0352c2130a6","title":"Add migration guide for library consumers","description":"The contributor-workflow-analysis.md has excellent migration examples for CLI users (lines 508-549) but lacks examples for library consumers like VC that use beadsLib in Go/TypeScript code.\n\nLibrary consumers need to know:\n- Whether their existing code continues to work unchanged (backward compatibility)\n- How config.toml is automatically read (transparent hydration)\n- When and how to use explicit multi-repo configuration\n- What happens if config.toml doesn't exist (defaults)\n\nExample needed:\n```go\n// Before (v0.17.3)\nstore, err := beadsLib.NewSQLiteStorage(\".beads/vc.db\")\n\n// After (v0.18.0 with multi-repo) - still works!\nstore, err := beadsLib.NewSQLiteStorage(\".beads/vc.db\")\n// Automatically reads .beads/config.toml if present\n\n// Explicit multi-repo (if needed)\ncfg := beadsLib.Config{\n Primary: \".beads/vc.db\",\n Additional: []string{\"~/.beads-planning\"},\n}\nstore, err := beadsLib.NewStorageWithConfig(cfg)\n```","acceptance_criteria":"- Section added to contributor-workflow-analysis.md for library consumers\n- Code examples showing backward compatibility\n- Code examples showing explicit multi-repo configuration\n- Guidance on when library consumers should use multi-repo vs single-repo","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.740511-07:00","updated_at":"2025-11-12T10:57:44.253014-08:00","closed_at":"2025-11-05T14:15:44.154675-08:00","source_repo":"."} +{"id":"bd-824","content_hash":"ba893642ee6145900797db1937943f5dc38e848ed85e74307bcfa0352c2130a6","title":"Add migration guide for library consumers","description":"The contributor-workflow-analysis.md has excellent migration examples for CLI users (lines 508-549) but lacks examples for library consumers like VC that use beadsLib in Go/TypeScript code.\n\nLibrary consumers need to know:\n- Whether their existing code continues to work unchanged (backward compatibility)\n- How config.toml is automatically read (transparent hydration)\n- When and how to use explicit multi-repo configuration\n- What happens if config.toml doesn't exist (defaults)\n\nExample needed:\n```go\n// Before (v0.17.3)\nstore, err := beadsLib.NewSQLiteStorage(\".beads/vc.db\")\n\n// After (v0.18.0 with multi-repo) - still works!\nstore, err := beadsLib.NewSQLiteStorage(\".beads/vc.db\")\n// Automatically reads .beads/config.toml if present\n\n// Explicit multi-repo (if needed)\ncfg := beadsLib.Config{\n Primary: \".beads/vc.db\",\n Additional: []string{\"~/.beads-planning\"},\n}\nstore, err := beadsLib.NewStorageWithConfig(cfg)\n```","acceptance_criteria":"- Section added to contributor-workflow-analysis.md for library consumers\n- Code examples showing backward compatibility\n- Code examples showing explicit multi-repo configuration\n- Guidance on when library consumers should use multi-repo vs single-repo","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-03T20:24:17.748337-08:00","updated_at":"2025-11-05T14:15:44.154675-08:00","closed_at":"2025-11-05T14:15:44.154675-08:00","source_repo":"."} {"id":"bd-825","content_hash":"ea384c1774b69ac4251b958c7f7da66e36d6fdc2e5b37dbd39bb81f1e1871fda","title":"Agent 6 Issue 26","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.740985-07:00","updated_at":"2025-10-21T00:29:10.740985-07:00","source_repo":"."} {"id":"bd-826","content_hash":"edd219fadc5590be468ec86072089ff56b40a5bf343ef9736a2c170dbe1acdca","title":"Agent 6 Issue 27","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.741443-07:00","updated_at":"2025-10-21T00:29:10.741443-07:00","source_repo":"."} {"id":"bd-827","content_hash":"adcf0e04f9b8c7136fe4be3505f623043e3ec30c2fd79664d451a1d67f65e84d","title":"Agent 6 Issue 28","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.741928-07:00","updated_at":"2025-10-21T00:29:10.741928-07:00","source_repo":"."} {"id":"bd-828","content_hash":"e61b17244ad0da586572aa40fa0433c46f709b842194d78d56f732ea4f27e18b","title":"Agent 6 Issue 29","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.74238-07:00","updated_at":"2025-10-21T00:29:10.74238-07:00","source_repo":"."} {"id":"bd-829","content_hash":"3709342b25f08bffe7c29e6b4193376b44d02111fed73beb3f853ecc3913beeb","title":"Agent 6 Issue 30","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.742826-07:00","updated_at":"2025-10-21T00:29:10.742826-07:00","source_repo":"."} -{"id":"bd-82dv","content_hash":"a5f24bc24c6b85c34577386af16ec2f20dc0b7816a91f484169e6e06bb46d1d3","title":"cmd/bd tests fail without -short flag (parallel test deadlock)","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T22:58:38.72748-08:00","updated_at":"2025-11-09T12:54:44.557562-08:00","closed_at":"2025-11-09T12:54:44.557562-08:00","source_repo":"."} +{"id":"bd-82dv","content_hash":"872b8d8f96db62a6faf618a264a1c3eec23bf75beb544be5afc75ca00262117a","title":"cmd/bd tests fail without -short flag (parallel test deadlock)","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T22:58:38.72748-08:00","updated_at":"2025-11-09T12:54:44.557562-08:00","closed_at":"2025-11-09T12:54:44.557562-08:00","source_repo":"."} {"id":"bd-83","content_hash":"dedcd44420320495c412a84b4627a6695e8fbeaeccb47e3164bf4bc8e8bc020b","title":"Phase 3: Implement daemon command with SQLite ownership","description":"Create 'bd daemon' command that starts the RPC server and owns the SQLite database.\n\nImplementation:\n- Add cmd/bd/daemon.go with start/stop/status subcommands\n- Daemon holds exclusive SQLite connection\n- Integrates git sync loop (batch exports every 5 seconds)\n- PID file management for daemon lifecycle\n- Logging for daemon operations\n\nSocket location: .beads/bd.sock per repository","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-16T22:47:42.86546-07:00","updated_at":"2025-10-21T00:25:40.549577-07:00","closed_at":"2025-10-16T23:18:57.600602-07:00","source_repo":"."} {"id":"bd-830","content_hash":"8538a35f5b6d74ceaa9ab2ecfd6489e311a12914664a808597d8a6be78be3587","title":"Agent 6 Issue 31","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.743283-07:00","updated_at":"2025-10-21T00:29:10.743283-07:00","source_repo":"."} {"id":"bd-831","content_hash":"a630f13a4c9e91b5f8416f9983931c0ae80fa1ce52beba858266fabeffb179ad","title":"Agent 6 Issue 32","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.743723-07:00","updated_at":"2025-10-21T00:29:10.743723-07:00","source_repo":"."} @@ -2522,7 +2515,7 @@ {"id":"bd-853","content_hash":"3b9ecfbfd4fbe33d22d41fdadb53fcc7260e9321f08802c34b888b80b37b12fc","title":"Agent 6 Issue 54","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.753844-07:00","updated_at":"2025-10-21T00:29:10.753844-07:00","source_repo":"."} {"id":"bd-8534","content_hash":"05b543a341ac0210f6025318e2eaead1da295b8d270fd17356fa3337c856607d","title":"Switch from modernc.org/sqlite to ncruces/go-sqlite3 for WASM support","description":"modernc.org/sqlite depends on modernc.org/libc which has no js/wasm support (platform-specific syscalls). Need to switch to ncruces/go-sqlite3 which wraps a WASM build of SQLite using wazero runtime.\n\nKey differences:\n- ncruces/go-sqlite3: Uses WASM build of SQLite + wazero runtime\n- modernc.org/sqlite: Pure Go translation, requires libc for syscalls\n\nThis is a prerequisite for bd-62a0 (WASM build infrastructure).","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T22:14:27.627154-08:00","updated_at":"2025-11-02T22:23:49.377223-08:00","closed_at":"2025-11-02T22:23:49.377223-08:00","source_repo":".","dependencies":[{"issue_id":"bd-8534","depends_on_id":"bd-44d0","type":"parent-child","created_at":"2025-11-02T22:23:49.555691-08:00","created_by":"stevey"}]} {"id":"bd-854","content_hash":"bb9ea7996637a02e2c4b4c38854839981b51d7203545f89b4c6472b71febfe42","title":"Agent 6 Issue 55","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.754297-07:00","updated_at":"2025-10-21T00:29:10.754297-07:00","source_repo":"."} -{"id":"bd-85487065","content_hash":"f11f458db379288179b4c2434eacee8940eac910781a74c721c7e6e889f76bc1","title":"Add tests for internal/autoimport package","description":"Currently 0.0% coverage. Need tests for auto-import functionality that detects and imports updated JSONL files.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:18.154805-07:00","updated_at":"2025-11-08T18:06:25.811317-08:00","closed_at":"2025-11-08T18:06:25.811317-08:00","source_repo":"."} +{"id":"bd-85487065","content_hash":"637cbd56af122b175ff060b4df050871fe86124c5d883ba7f8a17f2f95479613","title":"Add tests for internal/autoimport package","description":"Currently 0.0% coverage. Need tests for auto-import functionality that detects and imports updated JSONL files.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:18.154805-07:00","updated_at":"2025-11-08T18:06:25.811317-08:00","closed_at":"2025-11-08T18:06:25.811317-08:00","source_repo":"."} {"id":"bd-855","content_hash":"11f583f0257f3385fbe8d59145c61c8fed354a3d2b0f85b3ab637be3441ada90","title":"Agent 6 Issue 56","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.754771-07:00","updated_at":"2025-10-21T00:29:10.754771-07:00","source_repo":"."} {"id":"bd-856","content_hash":"3f3cfc2f08c51b1210f8da0d10c60687704891788e2afe33931815332adf78ae","title":"Agent 6 Issue 57","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.755226-07:00","updated_at":"2025-10-21T00:29:10.755226-07:00","source_repo":"."} {"id":"bd-857","content_hash":"10dd9719181188198ccf5b315590137c1ce5cf128cfb42ba3a763135b584cde8","title":"Agent 6 Issue 58","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.755698-07:00","updated_at":"2025-10-21T00:29:10.755698-07:00","source_repo":"."} @@ -2552,7 +2545,7 @@ {"id":"bd-878","content_hash":"93e4a40b616e2dc286ae5ea2468c142d53c808bdf952ced4252a4d7e7675ad8c","title":"Agent 6 Issue 79","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.765791-07:00","updated_at":"2025-10-21T00:29:10.765791-07:00","source_repo":"."} {"id":"bd-879","content_hash":"75cae1c073a6ee762ac613177cce253ac5b5f2638ab949ff4ca849038a2c8460","title":"Agent 6 Issue 80","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.766249-07:00","updated_at":"2025-10-21T00:29:10.766249-07:00","source_repo":"."} {"id":"bd-879d","content_hash":"9716c230d9b2793bd1e51d9e3c380c06caf7b3e9a0dd20253764af19e3de7ac8","title":"Test issue 1","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-02T09:44:12.538697729Z","updated_at":"2025-11-02T09:45:20.76214671Z","closed_at":"2025-11-02T09:45:20.76214671Z","source_repo":".","dependencies":[{"issue_id":"bd-879d","depends_on_id":"bd-d3e5","type":"discovered-from","created_at":"2025-11-02T09:44:22.103468321Z","created_by":"mrdavidlaing"}]} -{"id":"bd-87a0","content_hash":"b6c322852ff360ade9f0d46bb2af29a7cf3d3acc8b7469dcbb5d98bf48050240","title":"Publish @beads/bd package to npm registry","description":"Publish the npm package to the public npm registry:\n\n## Prerequisites\n- npm account created\n- Organization @beads created (or use different namespace)\n- npm login completed locally\n- Package tested locally (bd-f282 completed)\n\n## Publishing steps\n1. Verify package.json version matches current bd version\n2. Run npm pack and inspect tarball contents\n3. Test installation from tarball one more time\n4. Run npm publish --access public\n5. Verify package appears on https://www.npmjs.com/package/@beads/bd\n6. Test installation from registry: npm install -g @beads/bd\n\n## Post-publish\n- Add npm badge to README.md\n- Update CHANGELOG.md with npm package release\n- Announce in release notes\n\n## Note\n- May need to choose different name if @beads namespace unavailable\n- Alternative: beads-cli, bd-cli, or unscoped beads-issue-tracker","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T23:40:25.263569-08:00","updated_at":"2025-11-03T10:39:41.772338-08:00","closed_at":"2025-11-03T10:39:41.772338-08:00","source_repo":".","dependencies":[{"issue_id":"bd-87a0","depends_on_id":"bd-febc","type":"parent-child","created_at":"2025-11-02T23:40:33.014043-08:00","created_by":"daemon"}]} +{"id":"bd-87a0","content_hash":"b6c322852ff360ade9f0d46bb2af29a7cf3d3acc8b7469dcbb5d98bf48050240","title":"Publish @beads/bd package to npm registry","description":"Publish the npm package to the public npm registry:\n\n## Prerequisites\n- npm account created\n- Organization @beads created (or use different namespace)\n- npm login completed locally\n- Package tested locally (bd-f282 completed)\n\n## Publishing steps\n1. Verify package.json version matches current bd version\n2. Run npm pack and inspect tarball contents\n3. Test installation from tarball one more time\n4. Run npm publish --access public\n5. Verify package appears on https://www.npmjs.com/package/@beads/bd\n6. Test installation from registry: npm install -g @beads/bd\n\n## Post-publish\n- Add npm badge to README.md\n- Update CHANGELOG.md with npm package release\n- Announce in release notes\n\n## Note\n- May need to choose different name if @beads namespace unavailable\n- Alternative: beads-cli, bd-cli, or unscoped beads-issue-tracker","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T23:40:25.263569-08:00","updated_at":"2025-11-03T10:39:41.772338-08:00","closed_at":"2025-11-03T10:39:41.772338-08:00","source_repo":".","dependencies":[{"issue_id":"bd-87a0","depends_on_id":"bd-febc","type":"parent-child","created_at":"2025-11-02T23:40:33.014043-08:00","created_by":"daemon"}],"comments":[{"id":5,"issue_id":"bd-87a0","author":"stevey","text":"Package is ready to publish. All code complete and tested locally. Next steps: 1) npm login, 2) create @beads org if needed, 3) npm publish --access public. See npm-package/PUBLISHING.md for complete instructions.","created_at":"2025-11-08T09:49:23Z"}]} {"id":"bd-88","content_hash":"cf27316a5850911c4ae9bf264e4b1fde093a0991d3fcf2f91a2d333ead115265","title":"Another epic","description":"","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-17T12:08:10.396072-07:00","updated_at":"2025-10-21T00:25:40.550404-07:00","closed_at":"2025-10-17T12:10:06.062102-07:00","source_repo":"."} {"id":"bd-880","content_hash":"4857ed345177dec6d8300db184e52d01adcac05683217a3b534f0e890071658e","title":"Agent 6 Issue 81","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.767053-07:00","updated_at":"2025-10-21T00:29:10.767053-07:00","source_repo":"."} {"id":"bd-881","content_hash":"9cfa5cbb1356d73a2c9052247e85a8d41b57b30ecc40fe935129447bff4807be","title":"Agent 6 Issue 82","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.767556-07:00","updated_at":"2025-10-21T00:29:10.767556-07:00","source_repo":"."} @@ -2579,7 +2572,7 @@ {"id":"bd-898","content_hash":"7b0a6734f0344673b1771a7523b16e9009b701800d5596a00d3a02555a8b826f","title":"Agent 6 Issue 99","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.775934-07:00","updated_at":"2025-10-21T00:29:10.775934-07:00","source_repo":"."} {"id":"bd-899","content_hash":"4bd790b298b1c36cf835618e9339ed45cd8842295459b530a5fa47a50bdfada7","title":"Agent 7 Issue 0","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.465814-07:00","updated_at":"2025-10-21T00:29:10.465814-07:00","source_repo":"."} {"id":"bd-89e2","content_hash":"c7da1d6c0d28b2fe9a5a1166a7b6712a870b5271fdf21558e4ef639e2675f92f","title":"Daemon race condition: stale export overwrites recent DB changes","description":"**Symptom:**\nMerged bd-fc2d into bd-fb05 in ~/src/beads (commit ce4d756), pushed to remote. The ~/src/fred/beads daemon then exported its stale DB state and committed (8cc1bb4), reverting bd-fc2d back to \"open\" status.\n\n**Timeline:**\n1. 21:45:12 - Merge committed from ~/src/beads (ce4d756): bd-fc2d closed\n2. 21:49:42 - Daemon in ~/src/fred/beads exported stale state (8cc1bb4): bd-fc2d open again\n\n**Root cause:**\nThe fred/beads daemon had a stale database (bd-fc2d still open) and didn't auto-import the newer JSONL before exporting. When it exported, it overwrote the merge with its stale state.\n\n**Expected behavior:**\nDaemon should detect that JSONL is newer than its last export and import before exporting.\n\n**Actual behavior:**\nDaemon exported stale DB state, creating a conflicting commit that reverted upstream changes.\n\n**Impact:**\nMulti-workspace setups with daemons can silently lose changes if one daemon has stale state and exports.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-01T21:53:07.930819-07:00","updated_at":"2025-11-01T22:01:25.54126-07:00","closed_at":"2025-11-01T22:01:25.54126-07:00","source_repo":"."} -{"id":"bd-89f89fc0","content_hash":"404b82a19dde2fdece7eb6bb3b816db7906e81a03a5a05341ed631af7a2a8e87","title":"Remove unreachable RPC methods","description":"Several RPC server and client methods are unreachable and should be removed:\n\nServer methods (internal/rpc/server.go):\n- `Server.GetLastImportTime` (line 2116)\n- `Server.SetLastImportTime` (line 2123)\n- `Server.findJSONLPath` (line 2255)\n\nClient methods (internal/rpc/client.go):\n- `Client.Import` (line 311) - RPC import not used (daemon uses autoimport)\n\nEvidence:\n```bash\ngo run golang.org/x/tools/cmd/deadcode@latest -test ./...\n```\n\nImpact: Removes ~80 LOC of unused RPC code","acceptance_criteria":"- Remove the 4 unreachable methods (~80 LOC total)\n- Verify no callers: `grep -r \"GetLastImportTime\\|SetLastImportTime\\|findJSONLPath\" .`\n- All tests pass: `go test ./internal/rpc/...`\n- Daemon functionality works: test daemon start/stop/operations","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-28T16:20:02.432202-07:00","updated_at":"2025-11-06T19:36:13.971809-08:00","closed_at":"2025-11-06T19:30:50.92317-08:00","source_repo":"."} +{"id":"bd-89f89fc0","content_hash":"235c3bdeb45e3069167f81e7b4e798fc98547478bb16df40556100478c5e505a","title":"Remove unreachable RPC methods","description":"Several RPC server and client methods are unreachable and should be removed:\n\nServer methods (internal/rpc/server.go):\n- `Server.GetLastImportTime` (line 2116)\n- `Server.SetLastImportTime` (line 2123)\n- `Server.findJSONLPath` (line 2255)\n\nClient methods (internal/rpc/client.go):\n- `Client.Import` (line 311) - RPC import not used (daemon uses autoimport)\n\nEvidence:\n```bash\ngo run golang.org/x/tools/cmd/deadcode@latest -test ./...\n```\n\nImpact: Removes ~80 LOC of unused RPC code","acceptance_criteria":"- Remove the 4 unreachable methods (~80 LOC total)\n- Verify no callers: `grep -r \"GetLastImportTime\\|SetLastImportTime\\|findJSONLPath\" .`\n- All tests pass: `go test ./internal/rpc/...`\n- Daemon functionality works: test daemon start/stop/operations","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-28T16:20:02.432202-07:00","updated_at":"2025-10-30T17:12:58.222655-07:00","source_repo":"."} {"id":"bd-8a39","content_hash":"cf11bd12f8906b73236f46998076d6111d69f05e76198e9823a8f10f3e03112b","title":"Fix Windows-specific test failures in CI","description":"Several tests are failing on Windows but passing on Linux:\n\n**Failing tests:**\n- TestFindDatabasePathEnvVar\n- TestHashIDs_MultiCloneConverge\n- TestHashIDs_IdenticalContentDedup\n- TestDatabaseReinitialization (all 5 subtests):\n - fresh_clone_auto_import\n - database_removal_scenario\n - legacy_filename_support\n - precedence_test\n - init_safety_check\n- TestFindBeadsDir_NotFound\n- TestMetricsSnapshot/uptime (in internal/rpc)\n\n**CI Run:** https://github.com/steveyegge/beads/actions/runs/19015638968\n\nThese are likely path separator or filesystem behavior differences between Windows and Linux.","notes":"Fixed all Windows path issues:\n1. TestFindDatabasePathEnvVar - expects canonicalized paths ✅\n2. TestHashIDs tests - use platform-specific bd.exe command ✅ \n3. TestMetricsSnapshot/uptime - enforce minimum 1 second uptime ✅\n4. TestFindBeadsDir_NotFound - allow finding .beads in parent dirs ✅\n5. TestDatabaseReinitialization - fix git path conversion on Windows (git returns /c/Users/... but filepath needs C:\\Users\\...) ✅\n\nCI run in progress to verify all fixes.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-02T09:29:37.274103-08:00","updated_at":"2025-11-02T12:32:00.158713-08:00","closed_at":"2025-11-02T12:32:00.158716-08:00","source_repo":".","dependencies":[{"issue_id":"bd-8a39","depends_on_id":"bd-1231","type":"blocks","created_at":"2025-11-02T09:29:37.276579-08:00","created_by":"stevey"}]} {"id":"bd-8ayj","content_hash":"291e1a56d1aefe412ecf58170e539ed34febc8f01d8d100062e7de8e67ca5361","title":"bd-hv01: Race condition with concurrent snapshot operations","description":"## Problem\nSnapshot files have no locking. Multiple processes can call captureLeftSnapshot simultaneously:\n\n1. Process A: export → begins snapshot\n2. Process B: export → begins snapshot\n3. Process A: writes partial left.jsonl\n4. Process B: overwrites with its left.jsonl\n5. Process A: completes merge with wrong snapshot\n\n## Impact\n- Data corruption in multi-process scenarios\n- Daemon + manual sync race\n- Multiple git clones on same filesystem\n\n## Fix\nUse atomic file operations with process-specific temp files:\n```go\nfunc captureLeftSnapshot(jsonlPath string) error {\n _, leftPath := getSnapshotPaths(jsonlPath)\n tempPath := fmt.Sprintf(\"%s.%d.tmp\", leftPath, os.Getpid())\n if err := copyFileSnapshot(jsonlPath, tempPath); err != nil {\n return err\n }\n return os.Rename(tempPath, leftPath) // Atomic on POSIX\n}\n```\n\n## Files Affected\n- cmd/bd/deletion_tracking.go:24-29 (captureLeftSnapshot)\n- cmd/bd/deletion_tracking.go:31-36 (updateBaseSnapshot)","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-06T18:15:38.177367-08:00","updated_at":"2025-11-06T18:46:55.91344-08:00","closed_at":"2025-11-06T18:46:55.91344-08:00","source_repo":".","dependencies":[{"issue_id":"bd-8ayj","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T18:19:14.875543-08:00","created_by":"daemon"}]} {"id":"bd-8b65","content_hash":"8675dbc7a679f06245ad85c184730d7bc495559d934ba4081886b576ed628d38","title":"Add depth-based batch creation in upsertIssues","description":"Replace single batch creation with depth-level batching (max depth 3). Create issues at depth 0, then 1, then 2, then 3. Prevents parent validation errors when importing hierarchical issues in same batch. File: internal/importer/importer.go:534-546","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-04T12:31:42.267746-08:00","updated_at":"2025-11-05T00:08:42.813239-08:00","closed_at":"2025-11-05T00:08:42.813246-08:00","source_repo":"."} @@ -2590,7 +2583,7 @@ {"id":"bd-8mfn","content_hash":"866a8afcdadb8e4e015aab6ab0b8882f48ae9856098181205013b992d2aa08f3","title":"bd message: Implement full message reading functionality","description":"The `bd message read` command is incomplete and doesn't actually fetch or display message content.\n\n**Location:** cmd/bd/message.go:413-441\n\n**Current Behavior:**\n- Only marks message as read\n- Prints placeholder text\n- Doesn't fetch message body\n\n**Expected:**\n- Fetch full message from Agent Mail resource API\n- Display sender, subject, timestamp, body\n- Consider markdown rendering\n\n**Blocker:** Core feature for message system MVP","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-08T12:54:24.018957-08:00","updated_at":"2025-11-08T12:57:32.91854-08:00","closed_at":"2025-11-08T12:57:32.91854-08:00","source_repo":".","dependencies":[{"issue_id":"bd-8mfn","depends_on_id":"bd-6uix","type":"parent-child","created_at":"2025-11-08T12:55:54.811368-08:00","created_by":"daemon"}]} {"id":"bd-8ph6","content_hash":"c64a644d8f2ea530109e7e6ef569ebd18b553a793cce5a4bd657581d75304167","title":"Support Ubuntu 20.04 LTS (glibc compatibility issue)","description":"Starting at v0.22, precompiled binaries require GLIBC 2.32+ which is not available on Ubuntu 20.04 LTS (Focal Fossa). Ubuntu 20.04 has GLIBC 2.31.\n\nError:\n```\nbd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by bd)\nbd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by bd)\n```\n\nCurrent workarounds:\n1. Upgrade to Ubuntu 22.04+\n2. Build from source: `go build -o bd ./cmd/bd/`\n\nRoot cause: Go 1.24+ runtime requires newer glibc. CGO is already disabled in .goreleaser.yml.\n\nPossible solutions:\n- Pin Go version to 1.21 or 1.22 for releases\n- Use Docker/cross-compile with older build environment\n- Provide separate build for older distros\n- Document minimum requirements clearly","notes":"Decision: Document minimum requirements in README instead of pinning Go version.\n\nRationale:\n- Ubuntu 20.04 LTS standard support ended April 2025 (already EOL)\n- Pinning Go prevents security fixes, performance improvements, and new features\n- Users on EOL distros can upgrade OS or build from source\n- Added Requirements section to README with clear glibc 2.32+ requirement","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-07T14:25:47.055357-08:00","updated_at":"2025-11-07T14:30:15.755733-08:00","closed_at":"2025-11-07T14:30:15.755733-08:00","source_repo":"."} {"id":"bd-8rd","content_hash":"e5845f6bda21414b3715f9589c76f8a02594f4cb8691939ced6765329346e411","title":"Migration and onboarding for multi-repo","description":"Create migration tools, wizards, and documentation to help users adopt multi-repo workflow, with special focus on OSS contributor onboarding and team adoption scenarios.","design":"Components:\n- Migration guide documentation\n- bd migrate command to move issues between repos\n- bd init --contributor wizard for OSS setup\n- bd init --team wizard for team setup\n- Auto-detect scenarios and prompt users\n- Examples for common workflows (OSS, multi-phase, personas)\n\nScenarios:\n1. OSS contributor (fork workflow)\n2. Team member (branch workflow)\n3. Multi-phase development\n4. Multiple personas (architect/implementer)","acceptance_criteria":"1. Migration guide covers all scenarios\n2. bd migrate moves issues with filtering\n3. Init wizards guide common setups\n4. Examples demonstrate key workflows\n5. Auto-detection prompts users when appropriate\n6. Docs updated with multi-repo patterns\n7. Backward compatibility clearly documented","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-11-04T11:22:13.491033-08:00","updated_at":"2025-11-07T16:08:24.951261-08:00","closed_at":"2025-11-07T16:03:09.75064-08:00","source_repo":".","dependencies":[{"issue_id":"bd-8rd","depends_on_id":"bd-4ms","type":"parent-child","created_at":"2025-11-04T11:22:21.858002-08:00","created_by":"daemon"}]} -{"id":"bd-8v37","content_hash":"74aa57ab28e70fb995a1e154379a17a211bc10ffae8e5901213661b154941981","title":"BG's issue to reopen","description":"","status":"open","priority":1,"issue_type":"bug","created_at":"2025-11-07T19:04:19.450509-08:00","updated_at":"2025-11-07T19:04:19.49687-08:00","source_repo":"."} +{"id":"bd-8v37","content_hash":"74aa57ab28e70fb995a1e154379a17a211bc10ffae8e5901213661b154941981","title":"BG's issue to reopen","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T19:04:19.450509-08:00","updated_at":"2025-11-08T02:06:23.470867-08:00","closed_at":"2025-11-08T02:06:23.470867-08:00","source_repo":"."} {"id":"bd-8zf2","content_hash":"6aaca1fd593b88220f2d8e41f7af9b0cbce6d9152ac4d0b9d2ffe3b8f464adc5","title":"MCP server loses workspace context after Amp restart - causes silent failures","description":"**CRITICAL BUG**: The beads MCP server loses workspace context when Amp restarts, leading to silent failures and potential data corruption.\n\n## Reproduction\n1. Start Amp with beads MCP server configured\n2. Call `mcp__beads__set_context(workspace_root=\"/path/to/project\")`\n3. Use MCP tools successfully (e.g., `mcp__beads__show`, `mcp__beads__list`)\n4. Restart Amp (new thread/session)\n5. Try to use MCP tools without calling `set_context` again\n6. **Result**: \"Not connected\" or \"No workspace set\" errors\n\n## Impact\n- Amp agents silently fail when trying to read/update beads issues\n- May attempt to create duplicate issues because they can't see existing ones\n- Potential for data corruption if operating on wrong database\n- Breaks multi-session workflows\n- Creates confusion: CLI works (`./bd`) but MCP tools don't\n\n## Current Workaround\nManually call `mcp__beads__set_context()` at start of every Amp session.\n\n## Root Cause\nMCP server is stateful and doesn't persist workspace context across restarts.\n\n## Proposed Fix\n**Option 1 (Best)**: Auto-detect workspace from current working directory\n- Match behavior of CLI `./bd` commands\n- Check for `.beads/` directory in current dir or parents\n- No manual context setting needed\n\n**Option 2**: Persist context in MCP server state file\n- Save last workspace_root to `~/.config/beads/mcp_context.json`\n- Restore on server startup\n\n**Option 3**: Require explicit context in every MCP call\n- Add optional `workspace_root` parameter to all MCP tools\n- Fall back to saved context if not provided\n\nAcceptance:\n- MCP tools work across Amp restarts without manual set_context()\n- Auto-detection matches CLI behavior (walks up from CWD)\n- Clear error message when no workspace found\n- set_context() still works for explicit override\n- BEADS_WORKING_DIR env var support\n- Integration test validates restart behavior","design":"**Recommended Implementation: Option 1 (Auto-detect)**\n\n1. Workspace Discovery Algorithm (same as CLI):\n - Start from CWD or provided directory\n - Walk up directory tree looking for .beads/beads.db\n - Cache result for performance\n\n2. MCP Tool Wrapper Changes:\n - Before each MCP tool execution, check if workspace is set\n - If not set, try auto-detection from CWD\n - If found, auto-connect and cache\n - If not found, return clear error with instructions\n\n3. Fallback Behavior:\n - Auto-detect from CWD first\n - Check BEADS_WORKING_DIR env var\n - Check ~/.config/beads/last_workspace (persisted)\n - Return actionable error if all fail\n\n4. Backwards Compatibility:\n - Keep set_context() working for explicit control\n - Auto-detect is always tried first if no explicit context\n - set_context() takes precedence over auto-detect","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-07T23:50:52.083111-08:00","updated_at":"2025-11-07T23:58:44.397502-08:00","closed_at":"2025-11-07T23:58:44.397502-08:00","source_repo":"."} {"id":"bd-8zpg","content_hash":"31c8e1312c7d75e9c17f9557f86bc642ca47e5c9a39d4f7e76429cc61bc9793d","title":"Add tests for bd init --contributor wizard","description":"Write integration tests for the contributor wizard:\n- Test fork detection logic\n- Test planning repo creation\n- Test config setup\n- Test with/without upstream remote\n- Test with SSH vs HTTPS origins","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T18:58:18.171851-08:00","updated_at":"2025-11-06T18:19:16.232739-08:00","closed_at":"2025-11-06T16:14:06.341689-08:00","source_repo":"."} {"id":"bd-9","content_hash":"4743831760ddb3f01ae4531dcd70a1e7907aeea76ded3cc4cbd69acf72ebd7ed","title":"Add validation/warning for malformed issue IDs","description":"getNextID silently ignores non-numeric ID suffixes (e.g., bd-foo). CAST returns NULL for invalid strings. Consider detecting and warning about malformed IDs in database. Location: internal/storage/sqlite/sqlite.go:79-82","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.55077-07:00","closed_at":"2025-10-14T02:51:52.198988-07:00","source_repo":"."} @@ -2654,7 +2647,6 @@ {"id":"bd-947","content_hash":"e9cf8bd9c650417b3ef4b66debae54899477c2120c363514bb64b5d5be28a1f6","title":"Agent 7 Issue 48","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.803044-07:00","updated_at":"2025-10-21T00:29:10.803044-07:00","source_repo":"."} {"id":"bd-948","content_hash":"58c121da14a6971da44a0da2a3a0b21a4241179890e0472b69ebc1a1490778c2","title":"Agent 7 Issue 49","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.803579-07:00","updated_at":"2025-10-21T00:29:10.803579-07:00","source_repo":"."} {"id":"bd-949","content_hash":"031397153adba482f2786352a5c3265d97590f1f4690c74fa8eb85c7c71c1382","title":"Agent 7 Issue 50","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.80435-07:00","updated_at":"2025-10-21T00:29:10.80435-07:00","source_repo":"."} -{"id":"bd-95","content_hash":"fc9dc3900cd925e0d4da6b73ef092a6ed5677445438d78a2a6da69673d03aad1","title":"Issue in repo2","description":"This should go to repo2 database","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-17T16:35:02.535522-07:00","updated_at":"2025-10-21T00:25:40.551988-07:00","closed_at":"2025-10-17T18:13:19.394252-07:00","source_repo":"."} {"id":"bd-950","content_hash":"f8662412918d40a3fda596dacab5ccc46e009e19a84e850833e78dc0515ca00d","title":"Agent 7 Issue 51","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.804913-07:00","updated_at":"2025-10-21T00:29:10.804913-07:00","source_repo":"."} {"id":"bd-951","content_hash":"b729fcc423752ee2545915aed3eb7ea5cd32151bf5c2fa11681529479f6809ed","title":"Agent 7 Issue 52","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.805468-07:00","updated_at":"2025-10-21T00:29:10.805468-07:00","source_repo":"."} {"id":"bd-952","content_hash":"a93db280f635fb0ca9579c436c145c4a532127c9fae913e0678b3946e56631ff","title":"Agent 7 Issue 53","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.805986-07:00","updated_at":"2025-10-21T00:29:10.805986-07:00","source_repo":"."} @@ -2665,7 +2657,6 @@ {"id":"bd-957","content_hash":"3866d545078afa6b23baa9fd16d4ddc293fb3329ce3b1994b08cc03b6893d3b0","title":"Agent 7 Issue 58","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.808843-07:00","updated_at":"2025-10-21T00:29:10.808843-07:00","source_repo":"."} {"id":"bd-958","content_hash":"05b2ded2d714b6c38a1ec943c4fa05eb9fa4c196ab3f55cc89e85a1c8710951c","title":"Agent 7 Issue 59","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.809379-07:00","updated_at":"2025-10-21T00:29:10.809379-07:00","source_repo":"."} {"id":"bd-959","content_hash":"43ed29d0f0277847b626a73bbf59bd987dfcd21e4f45e1f5febdf112f19092e8","title":"Agent 7 Issue 60","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.809902-07:00","updated_at":"2025-10-21T00:29:10.809902-07:00","source_repo":"."} -{"id":"bd-96","content_hash":"5db8f042ea26c32d45459d4eb8b3503747c8dc91b10734428e3d25d194e1dbac","title":"Issue in repo1","description":"This should go to repo1 database","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-17T16:35:02.535742-07:00","updated_at":"2025-10-21T00:25:40.552142-07:00","closed_at":"2025-10-17T18:13:19.394276-07:00","source_repo":"."} {"id":"bd-960","content_hash":"2c1e146b53c99f664a2cd4bf418de96b14ace9c4c0a9f1a9ced1e8a263b894d7","title":"Agent 7 Issue 61","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.810409-07:00","updated_at":"2025-10-21T00:29:10.810409-07:00","source_repo":"."} {"id":"bd-961","content_hash":"754dcf849d2f9f855de2447fe591eae4cca279442c77e9856a128fe87f2dc398","title":"Agent 7 Issue 62","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.810932-07:00","updated_at":"2025-10-21T00:29:10.810932-07:00","source_repo":"."} {"id":"bd-96142dec","content_hash":"721a9407dc1f092be7fa260c390100f76d2e095e487e514f937a5a396b5620f7","title":"Add fallback to polling on watcher failure","description":"Detect fsnotify.NewWatcher() errors and log warning. Auto-switch to polling mode with 5s ticker. Add BEADS_WATCHER_FALLBACK env var to control behavior.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-28T16:20:02.428439-07:00","updated_at":"2025-10-30T17:12:58.220378-07:00","closed_at":"2025-10-28T19:23:43.595916-07:00","source_repo":"."} @@ -2702,7 +2693,7 @@ {"id":"bd-988","content_hash":"7d42fd338d4e78ec8aaef75bbfa3c3c77d38f7b37862e29cacd5f38bdb4abc2c","title":"Agent 7 Issue 89","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.824503-07:00","updated_at":"2025-10-21T00:29:10.824503-07:00","source_repo":"."} {"id":"bd-989","content_hash":"3fcfc529e69dc9413bcb32e5ba6b1aa9816eb3ac7b05d26231446e76511bce4b","title":"Agent 7 Issue 90","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.825004-07:00","updated_at":"2025-10-21T00:29:10.825004-07:00","source_repo":"."} {"id":"bd-98c4e1fa","content_hash":"24b80fab2399079003fd39235e3c7992d404577f8794cc367552340244308636","title":"Event-driven daemon architecture","description":"Replace 5-second polling sync loop with event-driven architecture that reacts instantly to changes. Eliminates stale data issues while reducing CPU ~60%. Key components: FileWatcher (fsnotify), Debouncer (500ms), RPC mutation events, optional git hooks. Target latency: \u003c500ms (vs 5000ms). See event_driven_daemon.md for full design.","notes":"## Implementation Progress\n\n**Completed:**\n1. ✅ Mutation events infrastructure (bd-143 equivalent)\n - MutationEvent channel in RPC server\n - Events emitted for all write operations: create, update, close, label add/remove, dep add/remove, comment add\n - Non-blocking emission with dropped event counter\n\n2. ✅ FileWatcher with fsnotify (bd-b0c7f7ef related)\n - Watches .beads/issues.jsonl and .git/refs/heads\n - 500ms debounce\n - Polling fallback if fsnotify unavailable\n\n3. ✅ Debouncer (bd-144 equivalent)\n - 500ms debounce for both export and import triggers\n - Thread-safe trigger/cancel\n\n4. ✅ Separate export-only and import-only functions\n - createExportFunc(): exports + optional commit/push (no pull/import)\n - createAutoImportFunc(): pull + import (no export)\n - Target latency \u003c500ms achieved by avoiding full sync\n\n5. ✅ Dropped events safety net (bd-eef03e0a related)\n - Atomic counter tracks dropped mutation events\n - 60-second health check triggers export if events were dropped\n - Prevents silent data loss from event storms\n\n**Still Needed:**\n- Platform-specific tests (bd-69bce74a)\n- Integration test for mutation→export latency (bd-140)\n- Unit tests for FileWatcher (bd-b0c7f7ef)\n- Unit tests for Debouncer (bd-144)\n- Event storm stress test (bd-eef03e0a)\n- Documentation update (bd-142)\n\n**Next Steps:**\nAdd comprehensive test coverage before enabling events mode by default.","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-29T21:19:36.203436-07:00","updated_at":"2025-10-30T17:12:58.197875-07:00","closed_at":"2025-10-29T15:53:34.022335-07:00","source_repo":"."} -{"id":"bd-98c4e1fa.1","content_hash":"6440d1ece0a91c8f49adc09aafa7a998b049bcd51f257125ad8bc0b7b03e317b","title":"Update AGENTS.md with event-driven mode","description":"Document BEADS_DAEMON_MODE env var. Explain opt-in during Phase 1. Add troubleshooting for watcher failures.","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-29T23:05:13.986452-07:00","updated_at":"2025-10-31T20:36:49.381832-07:00","source_repo":".","dependencies":[{"issue_id":"bd-98c4e1fa.1","depends_on_id":"bd-98c4e1fa","type":"parent-child","created_at":"2025-10-29T21:19:36.206187-07:00","created_by":"import-remap"},{"issue_id":"bd-98c4e1fa.1","depends_on_id":"bd-0e1f2b1b","type":"parent-child","created_at":"2025-10-31T19:38:09.131439-07:00","created_by":"stevey"}]} +{"id":"bd-98c4e1fa.1","content_hash":"6440d1ece0a91c8f49adc09aafa7a998b049bcd51f257125ad8bc0b7b03e317b","title":"Update AGENTS.md with event-driven mode","description":"Document BEADS_DAEMON_MODE env var. Explain opt-in during Phase 1. Add troubleshooting for watcher failures.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T23:05:13.986452-07:00","updated_at":"2025-11-15T14:13:47.304404-08:00","closed_at":"2025-11-15T14:13:47.304404-08:00","source_repo":".","dependencies":[{"issue_id":"bd-98c4e1fa.1","depends_on_id":"bd-98c4e1fa","type":"parent-child","created_at":"2025-10-29T21:19:36.206187-07:00","created_by":"import-remap"},{"issue_id":"bd-98c4e1fa.1","depends_on_id":"bd-0e1f2b1b","type":"parent-child","created_at":"2025-10-31T19:38:09.131439-07:00","created_by":"stevey"}]} {"id":"bd-99","content_hash":"5a995824d58e9df527ab3e44f14ca2e59356356da0dc606d1c8aa4bafcaecf82","title":"Document multi-repo workflow with daemon","description":"The daemon already supports multi-repo via per-request context routing (bd-92), but this isn't documented. Users need to know how to use beads across multiple projects.\n\nAdd documentation for:\n1. How daemon serves multiple repos simultaneously\n2. Starting daemon in one repo, using from others\n3. MCP server multi-repo configuration\n4. Example: tracking work across a dozen projects\n5. Comparison to workspace/global instance approaches\n\nDocumentation locations:\n- README.md (Multi-repo section)\n- AGENTS.md (MCP multi-repo config)\n- integrations/beads-mcp/README.md (working_dir parameter)\n\nInclude:\n- Architecture diagram showing one daemon, many repos\n- Example MCP config with BEADS_WORKING_DIR\n- CLI workflow example\n- Reference to test_multi_repo.py as proof of concept\n\nContext: Feature already works (proven by test_multi_repo.py), just needs user-facing docs.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-17T20:43:48.91315-07:00","updated_at":"2025-10-21T00:25:40.552635-07:00","closed_at":"2025-10-17T22:49:32.514372-07:00","source_repo":"."} {"id":"bd-990","content_hash":"dcd11054cc0a44b7e995beaa3bc3f5b367db6c351dab4adf2ad0a9917bb93795","title":"Agent 7 Issue 91","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.825492-07:00","updated_at":"2025-10-21T00:29:10.825492-07:00","source_repo":"."} {"id":"bd-991","content_hash":"d40b34f27dc8d1413946fe8714335bb48d9f938383995ce5584fd8157a5e1fe7","title":"Agent 7 Issue 92","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.825996-07:00","updated_at":"2025-10-21T00:29:10.825996-07:00","source_repo":"."} @@ -2713,7 +2704,7 @@ {"id":"bd-996","content_hash":"2fb7171db999317cd88cc9a730d47a6d897e1664b0287066560d9206aff23446","title":"Agent 7 Issue 97","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.828873-07:00","updated_at":"2025-10-21T00:29:10.828873-07:00","source_repo":"."} {"id":"bd-997","content_hash":"7442c7bcb0b853f5dee357b35fa1dd68b46e752d44bb398c2cbea0e7adc4f2ee","title":"Agent 7 Issue 98","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.829359-07:00","updated_at":"2025-10-21T00:29:10.829359-07:00","source_repo":"."} {"id":"bd-998","content_hash":"1392ced2ea829a7826754d577ef028bec48705e0b57935bf0cdf4657edff4471","title":"Agent 7 Issue 99","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.829853-07:00","updated_at":"2025-10-21T00:29:10.829853-07:00","source_repo":"."} -{"id":"bd-999","content_hash":"fd79070926e2ef392dcb5992a7546e0c5e5b951ba1fd1a0b4c08f89b794f5ff7","title":"Batch Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.944351-07:00","updated_at":"2025-11-20T12:29:30.583248-05:00","closed_at":"2025-11-20T12:29:30.583248-05:00","source_repo":"."} +{"id":"bd-999","content_hash":"390ffb88d879439c35c420bdac8db1fb428303e0b4b26518b2c50454b6baea03","title":"Batch Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.944351-07:00","updated_at":"2025-11-20T12:29:30.583248-05:00","closed_at":"2025-11-20T12:29:30.583248-05:00","source_repo":"."} {"id":"bd-9ae788be","content_hash":"22ad341d54105f9b2e9b7fecbafbca94100ea270b9ff8588e1fea6cf72603968","title":"Implement clone-scoped ID allocation to prevent N-way collisions","description":"## Problem\nCurrent ID allocation uses per-clone atomic counters (issue_counters table) that sync based on local database state. In N-way collision scenarios:\n- Clone B sees {test-1} locally, allocates test-2\n- Clone D sees {test-1, test-2, test-3} locally, allocates test-4\n- When same content gets assigned test-2 and test-4, convergence fails\n\nRoot cause: Each clone independently allocates IDs without global coordination, leading to overlapping assignments for the same content.\n\n## Solution\nAdd clone UUID to ID allocation to make every ID globally unique:\n\n**Current format:** `test-1`, `test-2`, `test-3`\n**New format:** `test-1-a7b3`, `test-2-a7b3`, `test-3-c4d9`\n\nWhere suffix is first 4 chars of clone UUID.\n\n## Implementation\n\n### 1. Add clone_identity table\n```sql\nCREATE TABLE clone_identity (\n clone_uuid TEXT PRIMARY KEY,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n);\n```\n\n### 2. Modify getNextIDForPrefix()\n```go\nfunc (s *SQLiteStorage) getNextIDForPrefix(ctx context.Context, prefix string) (string, error) {\n cloneUUID := s.getOrCreateCloneUUID(ctx)\n shortUUID := cloneUUID[:4]\n \n nextNum := s.getNextCounterForPrefix(ctx, prefix)\n return fmt.Sprintf(\"%s-%d-%s\", prefix, nextNum, shortUUID), nil\n}\n```\n\n### 3. Update ID parsing logic\nAll places that parse IDs (utils.ExtractIssueNumber, etc.) need to handle new format.\n\n### 4. Migration strategy\n- Existing IDs remain unchanged (no suffix)\n- New IDs get clone suffix automatically\n- Display layer can hide suffix in UI: `bd-cb64c226.3-a7b3` → `#42`\n\n## Benefits\n- **Zero collision risk**: Same content in different clones gets different IDs\n- **Maintains readability**: Still sequential numbering within clone\n- **No coordination needed**: Works offline, no central authority\n- **Scales to 100+ clones**: 4-char hex = 65,536 unique clones\n\n## Concerns\n- ID format change may break existing integrations\n- Need migration path for existing databases\n- Display logic needs update to hide/show suffixes appropriately\n\n## Success Criteria\n- 10+ clone collision test passes without failures\n- Existing issues continue to work (backward compatibility)\n- Documentation updated with new ID format\n- Migration guide for v1.x → v2.x\n\n## Timeline\nMedium-term (v1.1-v1.2), 2-3 weeks implementation\n\n## References\n- Related to bd-e6d71828 (immediate fix)\n- See beads_nway_test.go for failing N-way tests","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-29T10:22:52.260524-07:00","updated_at":"2025-11-08T01:49:23.460028-08:00","closed_at":"2025-11-08T00:36:58.134558-08:00","source_repo":"."} {"id":"bd-9b13","content_hash":"9a17da93fb23cdcfcc294d2e7e00239973530ab8c5cc08f110112c9924ca94e1","title":"Backend task","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-03T19:11:59.359262-08:00","updated_at":"2025-11-05T00:25:06.484312-08:00","closed_at":"2025-11-05T00:25:06.484312-08:00","source_repo":".","labels":["backend","week1"]} {"id":"bd-9bsx","content_hash":"f84ca8560b9f09a14af959b4f567647aec050faaa9348775aa08955d913fe9e1","title":"Recurring dirty state after merge conflicts - bd sync keeps failing","description":"## Problem\n\n`bd sync` consistently fails with merge conflicts in `.beads/beads.jsonl`, creating a loop:\n1. User runs `bd sync`\n2. Git merge conflict occurs\n3. User resolves with `git checkout --theirs` (takes remote)\n4. Daemon auto-exports database state (which has local changes)\n5. JSONL becomes dirty again immediately\n6. Repeat\n\nThis has been happening for **weeks** and is extremely frustrating.\n\n## Root Cause\n\nThe recommended conflict resolution (`git checkout --theirs`) throws away local database state (comments, dependencies, closed issues). The daemon then immediately re-exports, creating a dirty state.\n\n## Current Workaround\n\nManual `bd export -o .beads/beads.jsonl \u0026\u0026 git add \u0026\u0026 git commit \u0026\u0026 git push` after every failed sync.\n\n## Example Session\n\n```bash\n$ bd sync\nCONFLICT (content): Merge conflict in .beads/beads.jsonl\n\n$ git checkout --theirs .beads/beads.jsonl \u0026\u0026 bd import \u0026\u0026 git add \u0026\u0026 git commit \u0026\u0026 git push\n# Pushed successfully\n\n$ git status\nmodified: .beads/beads.jsonl # DIRTY AGAIN!\n```\n\n## Lost Data in Recent Session\n\n- bd-ry1u closure (lost in merge)\n- Comments on bd-08fd, bd-23a8, bd-6049, bd-87a0 (lost)\n- Dependencies that existed only in local DB\n\n## Potential Solutions\n\n1. **Use beads-merge tool** - Implement proper 3-way JSONL merge (bd-bzfy)\n2. **Smarter conflict resolution** - Detect when `--theirs` will lose data, warn user\n3. **Sync validation** - Check if JSONL == DB after merge, re-export if needed\n4. **Daemon awareness** - Pause auto-export during merge resolution\n5. **Transaction log** - Replay local changes after merge instead of losing them\n\n## Related Issues\n\n- bd-bzfy (beads-merge integration)\n- Possibly related to daemon auto-export behavior","notes":"## Solution Implemented\n\nFixed the recurring dirty state after merge conflicts by adding **sync validation** before re-exporting.\n\n### Root Cause\nLines 217-237 in `sync.go` unconditionally re-exported DB to JSONL after every import, even when they were already in sync. This created an infinite loop:\n1. User runs `bd sync` which pulls and imports remote JSONL\n2. Sync unconditionally re-exports DB (which has local changes)\n3. JSONL becomes dirty immediately\n4. Repeat\n\n### Fix\nAdded `dbNeedsExport()` function in `integrity.go` that checks:\n- If JSONL exists\n- If DB modification time is newer than JSONL\n- If DB and JSONL issue counts match\n\nNow `bd sync` only re-exports if DB actually has changes that differ from JSONL.\n\n### Changes\n- Added `dbNeedsExport()` in `cmd/bd/integrity.go` (lines 228-271)\n- Updated `sync.go` lines 217-251 to check before re-exporting\n- Added comprehensive tests in `cmd/bd/sync_merge_test.go`\n\n### Testing\nAll tests pass including 4 new tests:\n- `TestDBNeedsExport_InSync` - Verifies no export when synced\n- `TestDBNeedsExport_DBNewer` - Detects DB modifications\n- `TestDBNeedsExport_CountMismatch` - Catches divergence\n- `TestDBNeedsExport_NoJSONL` - Handles missing JSONL\n\nThis prevents the weeks-long frustration of merge conflicts causing infinite dirty loops.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-05T17:52:14.776063-08:00","updated_at":"2025-11-05T17:58:35.611942-08:00","closed_at":"2025-11-05T17:58:35.611942-08:00","source_repo":"."} @@ -2724,24 +2715,22 @@ {"id":"bd-9f20","content_hash":"fd9e463ab1b81e62f5ae1441e8c3a661361031a30e6a95502152bb4d7eecf7b2","title":"DetectCycles SQL query has bug preventing cycle detection","description":"The DetectCycles function's SQL query has a bug in the LIKE filter that prevents it from detecting cycles.\n\nCurrent code (line 571):\n```sql\nAND p.path NOT LIKE '%' || d.depends_on_id || '→%'\n```\n\nThis prevents ANY revisit to nodes, including returning to the start node to complete a cycle.\n\nFix:\n```sql\nAND (d.depends_on_id = p.start_id OR p.path NOT LIKE '%' || d.depends_on_id || '→%')\n```\n\nThis allows revisiting the start node (to detect the cycle) while still preventing intermediate node revisits.\n\nImpact: Currently DetectCycles cannot detect any cycles, but this hasn't been noticed because AddDependency prevents cycles from being created. The function would only matter if cycles were manually inserted into the database.","status":"closed","priority":3,"issue_type":"bug","created_at":"2025-11-01T22:50:32.552763-07:00","updated_at":"2025-11-01T22:52:02.247443-07:00","closed_at":"2025-11-01T22:52:02.247443-07:00","source_repo":"."} {"id":"bd-9f4a","content_hash":"f7fc76124f76636ef40af114a47509885fa9e5af9d2fddaf8820a46542086e42","title":"Document external_ref in content hash behavior","description":"The content hash includes external_ref, which has implications that should be documented.\n\nCurrent behavior:\n- external_ref is included in content hash calculation (collision.go:158-160)\n- Changing external_ref changes content hash\n- This means: local issue → add external_ref → different hash\n\nImplications:\n- Local issue + external_ref addition = looks like 'new content'\n- May not match by content hash in some scenarios\n- Generally correct behavior, but subtle\n\nAction items:\n- Document in code comments\n- Add to ARCHITECTURE.md or similar\n- Add test demonstrating this behavior\n- Consider if this is desired long-term\n\nRelated: bd-1022\nFiles: internal/storage/sqlite/collision.go:158-160","status":"closed","priority":4,"issue_type":"task","created_at":"2025-11-02T15:32:47.715458-08:00","updated_at":"2025-11-08T03:54:04.854833-08:00","closed_at":"2025-11-08T02:20:01.004638-08:00","source_repo":"."} {"id":"bd-9li4","content_hash":"7ae7b885e82a2de333584c01f690dbc3ecb924603f18e316f5c91cc44e2256f8","title":"Create Docker image for Agent Mail","description":"Containerize Agent Mail server for easy deployment.\n\nAcceptance Criteria:\n- Dockerfile with Python 3.14\n- Health check endpoint\n- Volume mount for storage\n- Environment variable configuration\n- Multi-arch builds (amd64, arm64)\n\nFile: deployment/agent-mail/Dockerfile","status":"open","priority":3,"issue_type":"task","created_at":"2025-11-07T22:43:43.231964-08:00","updated_at":"2025-11-07T22:43:43.231964-08:00","source_repo":"."} -{"id":"bd-9mnw","content_hash":"942bdfde12b32d268a7643fb64e4f92fa466cb6564434283a38378f1ce44973e","title":"Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-11-07T19:07:16.329643-08:00","updated_at":"2025-11-07T19:07:16.329643-08:00","source_repo":"."} +{"id":"bd-9mnw","content_hash":"942bdfde12b32d268a7643fb64e4f92fa466cb6564434283a38378f1ce44973e","title":"Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:07:16.329643-08:00","updated_at":"2025-11-08T02:06:51.688224-08:00","closed_at":"2025-11-08T02:06:51.688224-08:00","source_repo":"."} {"id":"bd-9msn","content_hash":"69ef2ebc5a847eb407c37e9039391d8ebc761a4cee3b60537de4f5a12011bec3","title":"Add monitoring and alerting","description":"Observability for production Agent Mail server.\n\nAcceptance Criteria:\n- Health check endpoint (/health)\n- Prometheus metrics export\n- Grafana dashboard\n- Alerts for server downtime\n- Alerts for high error rate\n- Log aggregation config\n\nFile: deployment/agent-mail/monitoring/","status":"open","priority":3,"issue_type":"task","created_at":"2025-11-07T22:43:43.354117-08:00","updated_at":"2025-11-07T22:43:43.354117-08:00","source_repo":".","dependencies":[{"issue_id":"bd-9msn","depends_on_id":"bd-z3s3","type":"blocks","created_at":"2025-11-07T23:04:28.050074-08:00","created_by":"daemon"}]} {"id":"bd-9rw1","content_hash":"17ad82d17e34ca2bfab2fa7240517520e3c42953a780282664f50cf038c97688","title":"Support P-prefix priority format (P0-P4) in create and update commands","description":"","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-05T13:56:04.796826-08:00","updated_at":"2025-11-05T13:56:08.157061-08:00","closed_at":"2025-11-05T13:56:08.157061-08:00","source_repo":"."} {"id":"bd-9v7l","content_hash":"10b1c2ca4d67587bdf220cf7ae04253eb01edca8a59756431bc3d453cbb85008","title":"bd status \"Recent Activity\" is misleading - should use git history","description":"## Problem\n\n`bd status` shows \"Recent Activity (last 7 days)\" but the numbers are wrong. It only looks at database timestamps, not git history. Says \"141 issues closed in last 7 days\" when thousands have actually come and go.\n\n## Issues\n\n1. Only queries database timestamps, not git history\n2. 7 days is too long a window\n3. Numbers don't reflect actual activity in JSONL git history\n\n## Proposed Fix\n\nEither:\n- Query git history of `.beads/beads.jsonl` to get actual activity (last 24-48 hours)\n- Remove \"Recent Activity\" section entirely if not useful\n- Make time window configurable and default to 24h\n\n## Example Output (Current)\n```\nRecent Activity (last 7 days):\nIssues Created: 174\nIssues Closed: 141\nIssues Updated: 37\n```\nThis is misleading when thousands of issues have actually cycled through.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-05T01:03:00.234813-08:00","updated_at":"2025-11-06T18:47:42.682987-08:00","closed_at":"2025-11-06T18:47:42.682987-08:00","source_repo":"."} -{"id":"bd-a03d5e36","content_hash":"d23244d54e0a07cad0467f63f103bbf0d9bf04ef804b7d411a196d580f7ae7d3","title":"Improve integration test coverage for stateful features","description":"","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-29T21:53:15.397137-07:00","updated_at":"2025-11-20T12:25:55.957846-05:00","closed_at":"2025-11-08T00:36:59.02371-08:00","source_repo":"."} +{"id":"bd-a03d5e36","content_hash":"d23244d54e0a07cad0467f63f103bbf0d9bf04ef804b7d411a196d580f7ae7d3","title":"Improve integration test coverage for stateful features","description":"","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-29T21:53:15.397137-07:00","updated_at":"2025-11-20T19:27:34.448059-05:00","closed_at":"2025-11-08T00:36:59.02371-08:00","source_repo":"."} {"id":"bd-a101","content_hash":"9c8ac3184d936a5483d307ea72e34fa6308e99416b27c930c1b7b05660173f47","title":"Support separate branch for beads commits","description":"Allow beads to commit to a separate branch (e.g., beads-metadata) using git worktrees to support protected main branch workflows.\n\nSolves GitHub Issue #205 - Users need to protect main branch while maintaining beads workflow.\n\nKey advantages:\n- Works on any git platform\n- Main branch stays protected \n- No disruption to user's working directory\n- Backward compatible (opt-in via config)\n- Minimal disk overhead (sparse checkout)\n\nTotal estimate: 17-24 days (4-6 weeks with parallel work)","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-02T15:21:20.098247-08:00","updated_at":"2025-11-04T12:36:53.772727-08:00","closed_at":"2025-11-04T12:36:53.772727-08:00","external_ref":"GH-205","source_repo":"."} {"id":"bd-a1691807","content_hash":"52a3da17d0db9e7998b77b4962c00eeb866ca1eb3581d362863b68788b162582","title":"Integration test: mutation to export latency","description":"Measure time from bd create to JSONL update. Verify \u003c500ms latency. Test with multiple rapid mutations to verify batching.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T20:49:49.105247-07:00","updated_at":"2025-10-31T12:00:43.198883-07:00","closed_at":"2025-10-31T12:00:43.198883-07:00","source_repo":"."} -{"id":"bd-a40f374f","content_hash":"a9385e9f00bc41e5e2258fdfccd9f2cbd5a702764b5f1d036274e6026f8c3e38","title":"bd validate - Comprehensive health check","description":"Run all validation checks in one command.\n\nChecks:\n- Duplicates\n- Orphaned dependencies\n- Test pollution\n- Git conflicts\n\nSupports --fix-all for auto-repair.\n\nDepends on bd-cbed9619.1, bd-0dcea000, bd-31aab707, bd-9826b69a.\n\nFiles: cmd/bd/validate.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T12:05:34.822639-05:00","updated_at":"2025-11-20T12:05:34.822639-05:00","closed_at":"2025-10-29T20:02:15.318966-07:00","source_repo":"."} +{"id":"bd-a40f374f","content_hash":"a9385e9f00bc41e5e2258fdfccd9f2cbd5a702764b5f1d036274e6026f8c3e38","title":"bd validate - Comprehensive health check","description":"Run all validation checks in one command.\n\nChecks:\n- Duplicates\n- Orphaned dependencies\n- Test pollution\n- Git conflicts\n\nSupports --fix-all for auto-repair.\n\nDepends on bd-cbed9619.1, bd-0dcea000, bd-31aab707, bd-9826b69a.\n\nFiles: cmd/bd/validate.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T07:37:26.092602-08:00","updated_at":"2025-11-20T07:37:26.092602-08:00","closed_at":"2025-10-29T20:02:15.318966-07:00","source_repo":"."} {"id":"bd-a4b5","content_hash":"3966f6f9ab3202fe740f2936c7743f679ea42b75803c99465176ccf69ffd9dd7","title":"Implement git worktree management","description":"Create git worktree lifecycle management for separate beads branch.\n\nTasks:\n- Create internal/git/worktree.go\n- Implement CreateBeadsWorktree(branch, path)\n- Implement RemoveBeadsWorktree(path)\n- Implement CheckWorktreeHealth(path)\n- Configure sparse checkout (only .beads/)\n- Implement SyncJSONLToWorktree()\n- Handle worktree errors gracefully\n- Auto-cleanup on config change\n\nEstimated effort: 3-4 days","acceptance_criteria":"- Worktree created successfully on first use\n- Sparse checkout limits to .beads/ only\n- Health check detects and fixes broken worktrees\n- JSONL synced correctly before commits\n- Cleanup removes worktree completely","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T15:22:35.56423-08:00","updated_at":"2025-11-04T11:10:23.533053-08:00","closed_at":"2025-11-04T11:10:23.533055-08:00","source_repo":".","dependencies":[{"issue_id":"bd-a4b5","depends_on_id":"bd-a101","type":"parent-child","created_at":"2025-11-02T15:22:48.359843-08:00","created_by":"stevey"}]} {"id":"bd-a5251b1a","content_hash":"71a54f24d3d1c9eba8bf185c273ab6624815eb1299a8718aa0199c97f518008c","title":"Test RPC mutation event","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T19:08:03.315443-07:00","updated_at":"2025-10-31T12:00:43.177494-07:00","closed_at":"2025-10-31T12:00:43.177494-07:00","source_repo":"."} -{"id":"bd-a557","content_hash":"35b394c75f08f60e3a8bf4cb5f837fd7644ae1bbc7a050d0f4b78d01c9e7a33e","title":"Issue 1 to reopen","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T19:11:50.951453-05:00","updated_at":"2025-11-20T19:11:50.951453-05:00","closed_at":"2025-11-07T21:57:59.910467-08:00","source_repo":"."} -{"id":"bd-a9699011","content_hash":"d41ab7095cae7a4b3ef956080f77bf0fcf6575039e5369800ec3f1e73b608ea6","title":"GH#146: No color showing in terminal for some users","description":"User reports color not working in macOS (Taho 26.0.1) with iTerm 3.6.4 and Terminal.app, despite color working elsewhere in terminal. Python rich and printf escape codes work.\n\nNeed to investigate:\n- Is NO_COLOR env var set?\n- Terminal type detection?\n- fatih/color library configuration\n- Does bd list show colors? bd ready? bd init?\n- What's the output of: echo $TERM, echo $NO_COLOR","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-24T22:26:36.22163-07:00","updated_at":"2025-11-20T12:25:55.955087-05:00","closed_at":"2025-11-08T00:54:40.47956-08:00","source_repo":"."} +{"id":"bd-a9699011","content_hash":"d41ab7095cae7a4b3ef956080f77bf0fcf6575039e5369800ec3f1e73b608ea6","title":"GH#146: No color showing in terminal for some users","description":"User reports color not working in macOS (Taho 26.0.1) with iTerm 3.6.4 and Terminal.app, despite color working elsewhere in terminal. Python rich and printf escape codes work.\n\nNeed to investigate:\n- Is NO_COLOR env var set?\n- Terminal type detection?\n- fatih/color library configuration\n- Does bd list show colors? bd ready? bd init?\n- What's the output of: echo $TERM, echo $NO_COLOR","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-24T22:26:36.22163-07:00","updated_at":"2025-11-20T19:27:34.448363-05:00","closed_at":"2025-11-08T00:54:40.47956-08:00","source_repo":"."} {"id":"bd-ad5e","content_hash":"67fdba1ba5b838384b16b82ff45e200cb5fd4960795bb5ae29d6fdec549170ca","title":"Add AI planning docs management guidance to bd onboard (GH-196)","description":"Enhanced bd onboard command to provide guidance for managing AI-generated planning documents (Claude slop).\n\nAddresses GitHub issue #196: https://github.com/steveyegge/beads/issues/196\n\nChanges:\n- Added Managing AI-Generated Planning Documents section to bd onboard\n- Recommends using history/ directory for ephemeral planning files\n- Updated AGENTS.md to demonstrate the pattern\n- Added comprehensive tests\n\nCommit: d46177d","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-02T17:11:33.183636-08:00","updated_at":"2025-11-02T17:12:05.599633-08:00","closed_at":"2025-11-02T17:12:05.599633-08:00","source_repo":"."} -{"id":"bd-aec5439f","content_hash":"1b42289a0cb1da0626a69c6f004bf62fc9ba6e3a0f8eb70159c5f1446497020b","title":"Update LINTING.md with current baseline","description":"After cleanup, document the remaining acceptable baseline in LINTING.md so we can track regression.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T18:53:10.38679-07:00","updated_at":"2025-11-06T20:06:49.218701-08:00","closed_at":"2025-11-06T19:41:08.661851-08:00","source_repo":"."} +{"id":"bd-aec5439f","content_hash":"9ad0242285e9ef9b326468b9be34f533f27cbbaa0c698607cca0cd6228016d2c","title":"Update LINTING.md with current baseline","description":"After cleanup, document the remaining acceptable baseline in LINTING.md so we can track regression.","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-27T18:53:10.38679-07:00","updated_at":"2025-10-30T17:12:58.194901-07:00","source_repo":"."} {"id":"bd-aewm","content_hash":"b9f0ebb0c99a35c39c918250a1220f74bfcd77905b85c66715b36d1df9c5ec4b","title":"bd-hv01: Missing cleanup of .merged temp file on failure","description":"Problem: deletion_tracking.go:49 creates tmpMerged file but does not clean up on failure, causing disk space leak and potential interference with subsequent syncs.\n\nFix: Add defer os.Remove(tmpMerged) after creating temp file path.\n\nFiles: cmd/bd/deletion_tracking.go:38-89","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-06T18:16:24.326719-08:00","updated_at":"2025-11-06T18:46:55.924379-08:00","closed_at":"2025-11-06T18:46:55.924379-08:00","source_repo":".","dependencies":[{"issue_id":"bd-aewm","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T18:19:15.061462-08:00","created_by":"daemon"}]} -{"id":"bd-auf1","content_hash":"0e60a1a40065ce53b0adcbd9863b45694a94ccc455ce7020154ce10b2c5d4b03","title":"Clean up snapshot files after successful merge","description":"After a successful 3-way merge and import during 'bd sync', the snapshot files (beads.base.jsonl, beads.left.jsonl, and their .meta.json files) are left in the .beads/ directory indefinitely.\n\nThese files are only needed temporarily during the merge process:\n- beads.base.jsonl: snapshot from last successful import\n- beads.left.jsonl: snapshot before git pull\n\nOnce the merge succeeds and the new JSONL is imported, these files serve no purpose and should be cleaned up.\n\nCurrent behavior:\n- sync.go:269 calls updateBaseSnapshot() after successful import\n- UpdateBase() updates beads.base.jsonl to the new state\n- beads.left.jsonl is never removed\n- Both files accumulate in .beads/ directory\n\nExpected behavior:\n- After successful merge and import, clean up both snapshot files\n- Only retain snapshots between sync operations (create on export, use during merge, clean up after import)\n\nThe cleanup logic exists (SnapshotManager.Cleanup()) but is only called on validation failures (deletion_tracking.go:48), not on success.\n\nDiscovered in vc project where stale snapshot files from Nov 8 merge were still present.","acceptance_criteria":"- Snapshot files are removed after successful merge and import\n- Files are created fresh on next 'bd sync' export step\n- Validation failure path still cleans up (existing behavior)\n- Tests verify cleanup happens in success path","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-08T22:39:56.460778-08:00","updated_at":"2025-11-08T22:47:51.96296-08:00","closed_at":"2025-11-08T22:47:51.96296-08:00","source_repo":"."} +{"id":"bd-auf1","content_hash":"ea41d9f0d51e0f06236b87c73175e63004ebb8d099c269312b8443eab2a33326","title":"Clean up snapshot files after successful merge","description":"After a successful 3-way merge and import during 'bd sync', the snapshot files (beads.base.jsonl, beads.left.jsonl, and their .meta.json files) are left in the .beads/ directory indefinitely.\n\nThese files are only needed temporarily during the merge process:\n- beads.base.jsonl: snapshot from last successful import\n- beads.left.jsonl: snapshot before git pull\n\nOnce the merge succeeds and the new JSONL is imported, these files serve no purpose and should be cleaned up.\n\nCurrent behavior:\n- sync.go:269 calls updateBaseSnapshot() after successful import\n- UpdateBase() updates beads.base.jsonl to the new state\n- beads.left.jsonl is never removed\n- Both files accumulate in .beads/ directory\n\nExpected behavior:\n- After successful merge and import, clean up both snapshot files\n- Only retain snapshots between sync operations (create on export, use during merge, clean up after import)\n\nThe cleanup logic exists (SnapshotManager.Cleanup()) but is only called on validation failures (deletion_tracking.go:48), not on success.\n\nDiscovered in vc project where stale snapshot files from Nov 8 merge were still present.","acceptance_criteria":"- Snapshot files are removed after successful merge and import\n- Files are created fresh on next 'bd sync' export step\n- Validation failure path still cleans up (existing behavior)\n- Tests verify cleanup happens in success path","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-08T22:39:56.460778-08:00","updated_at":"2025-11-08T22:47:51.96296-08:00","closed_at":"2025-11-08T22:47:51.96296-08:00","source_repo":"."} {"id":"bd-aysr","content_hash":"f8ff127568f471cc42391b1287cce69b376fb1b49bbef20a24d3394f57fba066","title":"Test numeric 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T12:58:41.498034-08:00","updated_at":"2025-11-05T12:58:44.73082-08:00","closed_at":"2025-11-05T12:58:44.73082-08:00","source_repo":"."} -{"id":"bd-az0m","content_hash":"91dd58e84b57c84ae065004ef4c15d0b5330935a5fde35eed489a93452feb2e9","title":"Issue 1","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T19:11:50.952127-05:00","updated_at":"2025-11-20T19:11:50.952127-05:00","closed_at":"2025-11-07T21:55:09.42865-08:00","source_repo":".","dependencies":[{"issue_id":"bd-az0m","depends_on_id":"bd-bvo2","type":"related","created_at":"2025-11-07T19:07:21.069031-08:00","created_by":"daemon"}]} {"id":"bd-azqv","content_hash":"b4e68adcec7b19f567ebee47f505ca6b529c17b4c4b885282cfc564e8a874f9f","title":"Ready issue","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:04:22.247039-08:00","updated_at":"2025-11-07T22:07:17.344986-08:00","closed_at":"2025-11-07T21:55:09.429024-08:00","source_repo":"."} {"id":"bd-b121","content_hash":"5d71e793a6de110be977bf87cfd25c3b461f452a1e8e44633452de1f8343a098","title":"Fix :memory: database connection pool issue causing \"no such table\" errors","description":"Critical bug in v0.21.6 where :memory: databases with cache=shared create multiple connections in the pool, causing intermittent \"no such table\" errors. SQLite's shared cache for in-memory databases only works reliably with a single connection.\n\nRoot cause: Missing db.SetMaxOpenConns(1) after sql.Open() for :memory: databases.\n\nImpact: 37 test failures in VC project, affects all consumers using :memory: for testing.","acceptance_criteria":"- Add db.SetMaxOpenConns(1) for :memory: databases only\n- Verify VC test suite passes (37 previously failing tests)\n- Add a test in Beads that reproduces the issue\n- Document the pool limitation in code comments\n- Release as Beads v0.21.7","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-04T00:52:56.318619-08:00","updated_at":"2025-11-05T11:31:27.50439-08:00","closed_at":"2025-11-05T00:50:00.558124-08:00","source_repo":"."} {"id":"bd-b134","content_hash":"455202a74224066aca5a1e300d045ae99e5c4ba5c306c043fd4c4c70c4aea058","title":"Add tests for Integration Layer Implementation","description":"While implementing bd-wfmw, noticed missing tests","notes":"Reviewed existing coverage:\n- Basic test coverage exists in lib/test_beads_mail_adapter.py\n- Integration tests cover failure scenarios in tests/integration/test_mail_failures.py\n- Good coverage of: enabled/disabled modes, graceful degradation, 409 conflicts, HTTP errors, config\n- Missing: authorization headers detail, request body structure validation, concurrent reservation timing, TTL edge cases","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-08T00:20:30.804172-08:00","updated_at":"2025-11-08T02:20:46.950501-08:00","closed_at":"2025-11-08T02:17:04.046571-08:00","source_repo":".","dependencies":[{"issue_id":"bd-b134","depends_on_id":"bd-wfmw","type":"discovered-from","created_at":"2025-11-08T00:20:30.850776-08:00","created_by":"daemon"}]} @@ -2750,23 +2739,21 @@ {"id":"bd-b4b0","content_hash":"ab3833b7a2cd79e39cbf6e41e35da88c8c45581dff3862bad2b8476b37c3b494","title":"Implement fs bridge layer for WASM (Go syscall/js to Node.js fs)","description":"Go's os package in WASM returns 'not implemented on js' for mkdir and other file operations. Need to create a bridge layer that:\n\n1. Detects WASM environment (GOOS=js)\n2. Uses syscall/js to call Node.js fs module functions\n3. Implements wrappers for:\n - os.MkdirAll\n - os.ReadFile / os.WriteFile\n - os.Open / os.Create\n - os.Stat / os.Lstat\n - filepath operations\n \nApproach:\n- Create internal/wasm/fs_bridge.go with //go:build js \u0026\u0026 wasm\n- Export Node.js fs functions to Go using global.readFileSync, global.writeFileSync, etc.\n- Wrap in Go API that matches os package signatures\n- Update beads.go and storage layer to use bridge when in WASM\n\nThis unblocks bd-4462 (basic WASM testing) and [deleted:bd-5bbf] (feature parity testing).","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T22:22:42.796412-08:00","updated_at":"2025-11-03T22:16:38.855334-08:00","closed_at":"2025-11-02T22:47:49.586218-08:00","source_repo":".","dependencies":[{"issue_id":"bd-b4b0","depends_on_id":"bd-44d0","type":"parent-child","created_at":"2025-11-02T22:23:49.585675-08:00","created_by":"stevey"}]} {"id":"bd-b501fcc1","content_hash":"4cb17f88a8299c0a297b42946c4eaab91fb3f364ba8cd83fe2ee9ff11cb87822","title":"Unit tests for Debouncer","description":"Test debouncer batches multiple triggers into single action. Test timer reset on subsequent triggers. Test cancel during wait. Test thread safety.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T19:42:29.86146-07:00","updated_at":"2025-10-31T17:54:06.880513-07:00","closed_at":"2025-10-31T17:54:06.880513-07:00","source_repo":"."} {"id":"bd-b54c","content_hash":"1e4750bb1f7a113f3b9b1586927bf1552c60902c8e87243b4958a98e2e6fe43a","title":"Document Claude Code for Web SessionStart hook","description":"Create documentation for using bd in Claude Code for Web:\n\n## Documentation locations\n- README.md - Add Claude Code for Web section\n- Create docs/CLAUDE_CODE_WEB.md with detailed instructions\n\n## SessionStart hook example\n```json\n{\n \"sessionStart\": {\n \"script\": \"npm install -g @beads/bd \u0026\u0026 bd init --quiet --prefix bd || true\"\n }\n}\n```\n\n## Documentation should cover\n- How to configure SessionStart hook in .claude/settings.json\n- Verification: Check bd is installed (bd --version)\n- Basic workflow in Claude Code for Web\n- Troubleshooting common issues\n- Note about network restrictions and why npm approach works\n\n## Examples\n- Creating issues in web sandbox\n- Syncing with git in web environment\n- Using MCP server (if applicable)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-02T23:40:15.362379-08:00","updated_at":"2025-11-03T10:31:45.382915-08:00","closed_at":"2025-11-03T10:31:45.382915-08:00","source_repo":".","dependencies":[{"issue_id":"bd-b54c","depends_on_id":"bd-febc","type":"parent-child","created_at":"2025-11-02T23:40:32.991889-08:00","created_by":"daemon"}]} -{"id":"bd-b55e2ac2","content_hash":"44122b61b1dcd06407ecf36f57577ea72c5df6dc8cc2a8c1b173b37d16a10267","title":"Fix autoimport tests for content-hash collision scoring","description":"## Overview\nThree autoimport tests are failing after bd-cbed9619.4 because they expect behavior based on the old reference-counting collision resolution, but the system now uses deterministic content-hash scoring.\n\n## Failing Tests\n1. `TestAutoImportMultipleCollisionsRemapped` - expects local versions preserved\n2. `TestAutoImportAllCollisionsRemapped` - expects local versions preserved \n3. `TestAutoImportCollisionRemapMultipleFields` - expects specific collision resolution behavior\n\n## Root Cause\nThese tests were written when ScoreCollisions used reference counting to determine which version to keep. Now it uses content-hash comparison (introduced in commit 2e87329), which produces different but deterministic results.\n\n## Example\nOld behavior: Issue with more references would be kept\nNew behavior: Issue with lexicographically lower content hash is kept\n\n## Solution\nUpdate each test to:\n1. Verify the new content-hash based behavior is correct\n2. Check that the remapped issue (not necessarily local/remote) has the expected content\n3. Ensure dependencies are preserved on the correct remapped issue\n\n## Acceptance Criteria\n- All three autoimport tests pass\n- Tests verify content-hash determinism (same collision always resolves the same way)\n- Tests check dependency preservation on remapped issues\n- Test documentation explains content-hash scoring expectations\n\n## Files to Modify\n- `cmd/bd/autoimport_collision_test.go`\n\n## Testing\nRun: `go test ./cmd/bd -run \"TestAutoImport.*Collision\" -v`","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-28T19:17:28.358028-07:00","updated_at":"2025-10-30T17:12:58.179059-07:00","source_repo":"."} +{"id":"bd-b55e2ac2","content_hash":"44122b61b1dcd06407ecf36f57577ea72c5df6dc8cc2a8c1b173b37d16a10267","title":"Fix autoimport tests for content-hash collision scoring","description":"## Overview\nThree autoimport tests are failing after bd-cbed9619.4 because they expect behavior based on the old reference-counting collision resolution, but the system now uses deterministic content-hash scoring.\n\n## Failing Tests\n1. `TestAutoImportMultipleCollisionsRemapped` - expects local versions preserved\n2. `TestAutoImportAllCollisionsRemapped` - expects local versions preserved \n3. `TestAutoImportCollisionRemapMultipleFields` - expects specific collision resolution behavior\n\n## Root Cause\nThese tests were written when ScoreCollisions used reference counting to determine which version to keep. Now it uses content-hash comparison (introduced in commit 2e87329), which produces different but deterministic results.\n\n## Example\nOld behavior: Issue with more references would be kept\nNew behavior: Issue with lexicographically lower content hash is kept\n\n## Solution\nUpdate each test to:\n1. Verify the new content-hash based behavior is correct\n2. Check that the remapped issue (not necessarily local/remote) has the expected content\n3. Ensure dependencies are preserved on the correct remapped issue\n\n## Acceptance Criteria\n- All three autoimport tests pass\n- Tests verify content-hash determinism (same collision always resolves the same way)\n- Tests check dependency preservation on remapped issues\n- Test documentation explains content-hash scoring expectations\n\n## Files to Modify\n- `cmd/bd/autoimport_collision_test.go`\n\n## Testing\nRun: `go test ./cmd/bd -run \"TestAutoImport.*Collision\" -v`","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-28T19:17:28.358028-07:00","updated_at":"2025-11-08T15:58:44.909873-08:00","closed_at":"2025-11-08T15:58:44.909873-08:00","source_repo":"."} {"id":"bd-b5a3","content_hash":"d58f635721d24b7761782f83df452a67f794080d2c41cb4f6fad2f27ef2cf0b6","title":"Extract Daemon struct and config into internal/daemonrunner","description":"Create internal/daemonrunner with Config struct and Daemon struct. Move daemon runtime logic from cmd/bd/daemon.go Run function into Daemon.Start/Stop methods.","notes":"Refactoring complete! Created internal/daemonrunner package with:\n- Config struct (config.go)\n- Daemon struct with Start/Stop methods (daemon.go)\n- RPC server lifecycle (rpc.go)\n- Sync loop implementation (sync.go)\n- Git operations (git.go)\n- Process management (process.go, flock_*.go)\n- Logger setup (logger.go)\n- Platform-specific signal handling (signals_*.go)\n- Database fingerprint validation (fingerprint.go)\n\nBuild succeeds and most daemon tests pass. Import functionality still delegated to cmd/bd (marked with TODO(bd-b5a3)).","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T11:41:14.843103-07:00","updated_at":"2025-11-01T20:23:46.475885-07:00","closed_at":"2025-11-01T20:23:46.475888-07:00","source_repo":"."} {"id":"bd-b6b2","content_hash":"6d2b2f1bbec6b9aa956e5e84c6b78da699a72a487d2317c6533215d574d2209f","title":"Feature with design","description":"This is a description","design":"Use MVC pattern","acceptance_criteria":"All tests pass","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-31T21:40:34.612465-07:00","updated_at":"2025-11-04T11:10:23.533636-08:00","closed_at":"2025-11-04T11:10:23.533638-08:00","source_repo":"."} {"id":"bd-b7d2","content_hash":"cd78e03d80898095a2f7f56c7f000b50e9e3be7b2416797d11f4640e5a0e583a","title":"Add sync.branch configuration","description":"Add configuration layer to support sync.branch setting via config file, environment variable, or CLI flag.\n\nTasks:\n- Add sync.branch field to config schema\n- Add BEADS_SYNC_BRANCH environment variable\n- Add --branch flag to bd init\n- Add bd config get/set sync.branch commands\n- Validation (branch name format, conflicts)\n- Config migration for existing users\n\nEstimated effort: 1-2 days","acceptance_criteria":"- Can set sync.branch via config file, env var, or CLI\n- bd config get sync.branch returns configured value\n- Invalid branch names rejected with clear error\n- Backward compatible (empty = current branch)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T15:22:35.560141-08:00","updated_at":"2025-11-04T11:10:23.533911-08:00","closed_at":"2025-11-04T11:10:23.533913-08:00","source_repo":".","dependencies":[{"issue_id":"bd-b7d2","depends_on_id":"bd-a101","type":"parent-child","created_at":"2025-11-02T15:22:48.356847-08:00","created_by":"stevey"}]} {"id":"bd-b92a","content_hash":"01d8b852f1d9936835a253f6b9576c401cbd143772302b25ac859db79b6be76a","title":"Wire config to import pipeline","description":"Connect import.orphan_handling config to importer.go and sqlite validation functions. Pass mode flag through call chain. Implement all four modes (strict/resurrect/skip/allow) with proper error messages and logging.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T12:32:08.612142-08:00","updated_at":"2025-11-05T00:44:27.949021-08:00","closed_at":"2025-11-05T00:44:27.949024-08:00","source_repo":"."} {"id":"bd-bb08","content_hash":"df5b8f359f459b9fc8a24e089878e65222f4b7ba541e829ebb1d34e5beb3a9fc","title":"Add ON DELETE CASCADE to child_counters schema","description":"Update schema.go child_counters table foreign key with ON DELETE CASCADE. When parent deleted, child counter should also be deleted. If parent is resurrected, counter gets recreated from scratch. Add migration for existing databases.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T12:32:30.681452-08:00","updated_at":"2025-11-05T11:31:27.505024-08:00","closed_at":"2025-11-05T00:55:12.427194-08:00","source_repo":"."} {"id":"bd-bc2c6191","content_hash":"46ab7e965823421a1cc06fdbb3a1faa8ef31f0c46487cd05a4cec8127af8e480","title":"Audit Current Cache Usage","description":"Understand exactly what code depends on the storage cache","acceptance_criteria":"- Document showing all cache dependencies\n- Confirmation that removing cache won't break MCP\n- List of tests that need updating\n\nFiles to examine:\n- internal/rpc/server_cache_storage.go (cache implementation)\n- internal/rpc/client.go (how req.Cwd is set)\n- internal/rpc/server_*.go (all getStorageForRequest calls)\n- integrations/beads-mcp/ (MCP multi-repo logic)\n\nTasks:\n- Document all callers of getStorageForRequest()\n- Verify req.Cwd is only set by RPC client for database discovery\n- Confirm MCP server doesn't rely on multi-repo cache behavior\n- Check if any tests assume multi-repo routing\n- Review environment variables: BEADS_DAEMON_MAX_CACHE_SIZE, BEADS_DAEMON_CACHE_TTL, BEADS_DAEMON_MEMORY_THRESHOLD_MB","notes":"Audit complete. See CACHE_AUDIT.md for full findings.\n\nSummary:\n- Cache was already removed in commit 322ab63 (2025-10-28)\n- server_cache_storage.go deleted (~286 lines)\n- All getStorageForRequest calls replaced with s.storage\n- All environment variables removed\n- MCP multi-repo works via per-project daemon architecture\n- All tests updated and passing\n- Only stale comment in server.go needed fixing","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-27T23:02:43.506373-07:00","updated_at":"2025-11-06T20:06:49.218998-08:00","closed_at":"2025-11-06T19:48:30.520616-08:00","source_repo":"."} -{"id":"bd-bc7l","content_hash":"bc091a6fed46130e6cb791c4d58c777b904e22f92cc6921d231053abf48c3c4b","title":"Issue 2 to reopen","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T19:11:50.952868-05:00","updated_at":"2025-11-20T19:11:50.952868-05:00","closed_at":"2025-11-07T21:57:59.91095-08:00","source_repo":"."} {"id":"bd-bdaf24d5","content_hash":"64067e38421a77f1b54fca73e6b98923d15aca0933463a1fa6862270c3102566","title":"Final validation test","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T18:27:28.310533-07:00","updated_at":"2025-10-31T12:00:43.184995-07:00","closed_at":"2025-10-31T12:00:43.184995-07:00","source_repo":"."} {"id":"bd-bdhn","content_hash":"ddbc003327e0492285b53fd765e90a816b9cea1e4cf9fc8797e8a465a1e834bd","title":"bd message: Add input validation for --importance flag","description":"The --importance flag accepts any string without validation, leading to confusing server errors.\n\n**Location:** cmd/bd/message.go:256-258\n\n**Fix:**\n- Add flag validation for: low, normal, high, urgent\n- Add shell completion support\n- Validate in runMessageSend before sending\n\n**Impact:** Better UX, prevents confusing errors","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T12:54:26.43027-08:00","updated_at":"2025-11-08T12:57:59.65367-08:00","closed_at":"2025-11-08T12:57:59.65367-08:00","source_repo":".","dependencies":[{"issue_id":"bd-bdhn","depends_on_id":"bd-6uix","type":"parent-child","created_at":"2025-11-08T12:55:54.910841-08:00","created_by":"daemon"}]} {"id":"bd-be7a","content_hash":"d9043a7a49f8e42dc88c3c01aaa178c1560b67c1637c3373b39c387272e8b725","title":"Create npm package structure with package.json","description":"Set up initial npm package structure for @beads/bd:\n\n## Files to create\n- npm/package.json - Package metadata, dependencies, scripts\n- npm/bin/bd - CLI wrapper script that invokes native binary\n- npm/.gitignore - Ignore downloaded binaries\n- npm/README.md - Installation and usage instructions\n\n## package.json structure\n- Name: @beads/bd (scoped package)\n- Main: index.js (exports binary path)\n- Bin: bin/bd (CLI entry point)\n- Scripts: postinstall (download binary)\n- Keywords: issue-tracker, cli, beads, bd\n- License: MIT\n\n## Bin wrapper\nSimple Node.js script that:\n- Spawns native binary with child_process.spawn\n- Passes through all arguments and stdio\n- Exits with binary's exit code","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T23:39:47.416779-08:00","updated_at":"2025-11-03T10:31:45.381258-08:00","closed_at":"2025-11-03T10:31:45.381258-08:00","source_repo":".","dependencies":[{"issue_id":"bd-be7a","depends_on_id":"bd-febc","type":"parent-child","created_at":"2025-11-02T23:40:32.923859-08:00","created_by":"daemon"}]} {"id":"bd-bgca","content_hash":"c617d03baef137f2425cea14eb5346012e556b35e9048f0601fe8d719b5b705f","title":"Latency test manual","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-08T00:04:25.028223-08:00","updated_at":"2025-11-08T00:06:46.169654-08:00","closed_at":"2025-11-08T00:06:46.169654-08:00","source_repo":"."} -{"id":"bd-biwp","content_hash":"0e10fbd7c9acb4a476010f29f0669b76613acb8b05302657e894f9a255aa3cc7","title":"Support local-only git repos without remote origin","description":"Daemon crashes when working with local git repos that don't have origin remote configured. Should gracefully degrade to local-only mode: skip git pull/push operations but maintain daemon features (RPC server, auto-flush, JSONL export).","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-09T16:09:50.677769-08:00","updated_at":"2025-11-09T16:16:56.588548-08:00","closed_at":"2025-11-09T16:16:56.588548-08:00","external_ref":"gh#279","source_repo":"."} +{"id":"bd-biwp","content_hash":"ece37e742d401489872e2735084fc94510f9308c3acff2659b233ab19440ebb4","title":"Support local-only git repos without remote origin","description":"Daemon crashes when working with local git repos that don't have origin remote configured. Should gracefully degrade to local-only mode: skip git pull/push operations but maintain daemon features (RPC server, auto-flush, JSONL export).","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-09T16:09:50.677769-08:00","updated_at":"2025-11-09T16:16:56.588548-08:00","closed_at":"2025-11-09T16:16:56.588548-08:00","external_ref":"gh#279","source_repo":"."} {"id":"bd-br8","content_hash":"3f7413965cebb0a08803c601413ce62ea82af565c63b1747da623ca42a791316","title":"Implement `bd setup claude` command for Claude Code integration","description":"Create a `bd setup claude` command that installs Claude Code integration files (slash commands and hooks). This is idempotent and safe to run multiple times.","design":"## Implementation\n\nCreate `cmd/bd/setup.go` with subcommand `claude` that installs hooks via **JSON configuration** (Claude Code's native hook system).\n\n### Command Interface\n```bash\nbd setup claude # Install globally (default)\nbd setup claude --project # Install for this project only\nbd setup claude --check # Verify installation\nbd setup claude --remove # Remove bd hooks\n```\n\n### Claude Code Hook Architecture\n\n**Claude Code uses JSON configuration, NOT file discovery:**\n- Hooks defined in `settings.json` as arrays\n- Multiple tools coexist natively (parallel execution)\n- Configuration-based, not directory-based\n\n**Configuration files:**\n- Global: `~/.claude/settings.json`\n- Project: `./.claude/settings.json` or `./.claude/settings.local.json`\n\n### What Gets Installed\n\n**settings.json configuration only** (no script files needed):\n```json\n{\n \"hooks\": {\n \"SessionStart\": [\n {\n \"matcher\": \"\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"bd prime\"\n }\n ]\n }\n ],\n \"PreCompact\": [\n {\n \"matcher\": \"\",\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"bd prime\"\n }\n ]\n }\n ]\n }\n}\n```\n\n**Why no script files:**\n- `bd prime` is cross-platform (no shell syntax needed)\n- `bd prime` always exits 0 (no `|| true` needed)\n- `bd prime` never writes to stderr (no `2\u003e/dev/null` needed)\n- Simpler: one file to manage (settings.json), not two\n- More portable: no file permissions, no path dependencies\n\n### Installation Logic\n\n```go\nfunc setupClaude(global bool) error {\n var settingsPath string\n \n if global {\n home, _ := os.UserHomeDir()\n settingsPath = filepath.Join(home, \".claude/settings.json\")\n } else {\n settingsPath = \".claude/settings.local.json\"\n }\n \n // Update settings.json (merge with existing)\n return updateSettingsJSON(settingsPath, addBeadsHooks)\n}\n\nfunc updateSettingsJSON(path string, updateFn func(map[string]interface{})) error {\n // Create parent directory if needed\n os.MkdirAll(filepath.Dir(path), 0755)\n \n // Read existing settings (or create empty)\n var settings map[string]interface{}\n if data, err := os.ReadFile(path); err == nil {\n json.Unmarshal(data, \u0026settings)\n } else {\n settings = make(map[string]interface{})\n }\n \n // Apply updates\n updateFn(settings)\n \n // Write back atomically\n data, _ := json.MarshalIndent(settings, \"\", \" \")\n return atomicWriteFile(path, data, 0644)\n}\n\nfunc addBeadsHooks(settings map[string]interface{}) {\n hooks, _ := settings[\"hooks\"].(map[string]interface{})\n if hooks == nil {\n hooks = make(map[string]interface{})\n settings[\"hooks\"] = hooks\n }\n \n // Add SessionStart hook if not present\n addHookCommand(hooks, \"SessionStart\", \"bd prime\")\n \n // Add PreCompact hook if not present\n addHookCommand(hooks, \"PreCompact\", \"bd prime\")\n}\n\nfunc addHookCommand(hooks map[string]interface{}, event, command string) {\n // Get or create event array\n eventHooks, _ := hooks[event].([]interface{})\n if eventHooks == nil {\n eventHooks = []interface{}{}\n }\n \n // Check if bd hook already registered\n for _, hook := range eventHooks {\n hookMap, _ := hook.(map[string]interface{})\n commands, _ := hookMap[\"hooks\"].([]interface{})\n for _, cmd := range commands {\n cmdMap, _ := cmd.(map[string]interface{})\n if cmdMap[\"command\"] == command {\n fmt.Println(\"✓ Hook already registered:\", event)\n return // Already present\n }\n }\n }\n \n // Add bd hook to array\n newHook := map[string]interface{}{\n \"matcher\": \"\",\n \"hooks\": []interface{}{\n map[string]interface{}{\n \"type\": \"command\",\n \"command\": command,\n },\n },\n }\n \n eventHooks = append(eventHooks, newHook)\n hooks[event] = eventHooks\n fmt.Println(\"✓ Registered hook:\", event)\n}\n```\n\n### Slash Command (Optional)\n\n**`.claude/commands/prime_beads.md`:**\n```markdown\n---\ndescription: Load Beads workflow context\n---\n\nRun `bd prime` to refresh bd workflow understanding.\n```\n\n### Integration with `bd init`\n\nAfter git hooks:\n```go\nif isClaudeDetected() \u0026\u0026 !quietMode {\n fmt.Println(\"\\nClaude Code Integration:\")\n fmt.Println(\" Install hooks to prevent agent from forgetting bd workflow?\")\n fmt.Println(\" (Works with MCP server or CLI approach)\")\n \n choice := promptYesNo(\"Install Claude hooks globally?\")\n if choice {\n setupClaude(true) // global=true\n }\n}\n```\n\n### Safe Multi-Tool Coexistence\n\n**Why this approach is safe:**\n- JSON arrays support multiple tools natively\n- Each tool gets its own array entry\n- Parallel execution (no conflicts)\n- Removal only touches bd entries\n- No file overwriting needed\n\n### Removal\n\n```go\nfunc removeBeadsHooks(settings map[string]interface{}) {\n hooks, _ := settings[\"hooks\"].(map[string]interface{})\n if hooks == nil {\n return\n }\n \n // Remove bd prime hooks from each event\n for _, event := range []string{\"SessionStart\", \"PreCompact\"} {\n removeHookCommand(hooks, event, \"bd prime\")\n }\n}\n\nfunc removeHookCommand(hooks map[string]interface{}, event, command string) {\n eventHooks, _ := hooks[event].([]interface{})\n if eventHooks == nil {\n return\n }\n \n // Filter out bd prime hooks\n var filtered []interface{}\n for _, hook := range eventHooks {\n hookMap, _ := hook.(map[string]interface{})\n commands, _ := hookMap[\"hooks\"].([]interface{})\n \n keepHook := true\n for _, cmd := range commands {\n cmdMap, _ := cmd.(map[string]interface{})\n if cmdMap[\"command\"] == command {\n keepHook = false\n break\n }\n }\n \n if keepHook {\n filtered = append(filtered, hook)\n }\n }\n \n hooks[event] = filtered\n}\n```\n\n### Files to Create\n- `cmd/bd/setup.go` - Setup command with JSON merging logic\n- `cmd/bd/setup_test.go` - Tests for JSON manipulation\n- No hook script files needed (bd prime is self-contained)","acceptance_criteria":"- `bd setup claude` installs .claude/ files\n- Idempotent (can run multiple times safely)\n- Backs up existing files\n- `bd setup claude --check` verifies installation\n- Works when .claude/ doesn't exist (skip with message)\n- Unit tests cover installation logic","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-11T23:28:59.374019-08:00","updated_at":"2025-11-12T08:51:23.281292-08:00","closed_at":"2025-11-12T08:51:23.281292-08:00","source_repo":".","dependencies":[{"issue_id":"bd-br8","depends_on_id":"bd-rpn","type":"blocks","created_at":"2025-11-11T23:28:59.375616-08:00","created_by":"daemon"},{"issue_id":"bd-br8","depends_on_id":"bd-90v","type":"parent-child","created_at":"2025-11-11T23:31:23.762685-08:00","created_by":"daemon"}]} {"id":"bd-bt6y","content_hash":"462f08aa379cf2f196b4c0ca096271fa47ab5e1a18c5663c28d2d86fd02115cf","title":"Improve compact/daemon/merge documentation and UX","description":"Multiple documentation and UX issues encountered:\n1. \"bd compact --analyze\" fails with misleading \"requires SQLite storage\" error when daemon is running. Needs --no-daemon or better error.\n2. \"bd merge\" help text is outdated (refers to 3-way merge instead of issue merging).\n3. Daemon mode purpose isn't clear to local-only users.\n4. Compact/cleanup commands are hard to discover.\n\nProposed fixes:\n- Fix compact+daemon interaction or error message.\n- Update \"bd merge\" help text.\n- Add \"when to use daemon\" section to docs.\n- Add maintenance section to quickstart.\n","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-20T18:55:43.637047-05:00","updated_at":"2025-11-20T18:55:43.637047-05:00","source_repo":"."} {"id":"bd-buol","content_hash":"020dc9dbbd7f3e2b40c35f01bf8a65cf32ab419c188081493ea4e541bad1442e","title":"Invert control for compact: provide tools for agent-driven compaction","description":"Currently compact requires Anthropic API key because bd calls the AI directly. This is backwards - we should provide tools (like all other bd commands) that let an AI agent perform the compaction. The agent decides what to keep/merge, not bd. Related to GH #243 complaint about API key requirement.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-07T00:27:28.498069-08:00","updated_at":"2025-11-08T01:49:23.46152-08:00","closed_at":"2025-11-07T23:08:51.67473-08:00","source_repo":"."} -{"id":"bd-bvo2","content_hash":"66fd2d53d97eb8dcb3231e82702ca7eb0f1887dc9b3ee2b2865e0d5158ca7311","title":"Issue 2","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T19:11:50.953574-05:00","updated_at":"2025-11-20T19:11:50.953574-05:00","closed_at":"2025-11-07T21:55:09.429328-08:00","source_repo":"."} {"id":"bd-bwk2","content_hash":"b69758a5dd9ce7605a61dc6e1fe3e753b87dfc6824c248d6ad56e038d47e77e7","title":"Centralize error handling patterns in storage layer","description":"80+ instances of inconsistent error handling across sqlite.go with mix of %w, %v, and no wrapping.\n\nLocation: internal/storage/sqlite/sqlite.go (throughout)\n\nProblem:\n- Some use fmt.Errorf(\"op failed: %w\", err) - correct wrapping\n- Some use fmt.Errorf(\"op failed: %v\", err) - loses error chain\n- Some return err directly - no context\n- Hard to debug production issues\n- Can't distinguish error types\n\nSolution: Create internal/storage/sqlite/errors.go:\n- Define sentinel errors (ErrNotFound, ErrInvalidID, etc.)\n- Create wrapDBError(op string, err error) helper\n- Convert sql.ErrNoRows to ErrNotFound\n- Always wrap with operation context\n\nImpact: Lost error context; inconsistent messages; hard to debug\n\nEffort: 5-7 hours","status":"open","priority":1,"issue_type":"task","created_at":"2025-11-16T14:51:54.974909-08:00","updated_at":"2025-11-16T14:51:54.974909-08:00","source_repo":"."} {"id":"bd-by3x","content_hash":"80149be1ddf4ef26d5d56c444895be01ec8b59492c258c2365fa1c2619061bbd","title":"Windows binaries lack SQLite support (GH #253)","description":"Windows users installing via install.ps1 get \"sql: unknown driver sqlite\" error. Root cause: GoReleaser was building with CGO_ENABLED=0, which excludes SQLite driver.\n\nFixed by:\n1. Enabling CGO in .goreleaser.yml\n2. Installing MinGW cross-compiler in release workflow\n3. Splitting builds per platform to set correct CC for Windows\n\nNeeds new release to fix for users.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-07T15:54:13.134815-08:00","updated_at":"2025-11-07T15:55:07.024156-08:00","closed_at":"2025-11-07T15:55:07.024156-08:00","source_repo":"."} {"id":"bd-bzfy","content_hash":"90bbde4d90d68728a9377d5d966682dc836740f1be43a0cf80d3cc69002a560b","title":"Integrate beads-merge tool by @neongreen","description":"**Context**: @neongreen built a production-ready 3-way merge tool for JSONL files that works with both Git and Jujutsu. This is superior to our planned bd resolve-conflicts because it prevents conflicts proactively instead of resolving them after the fact.\n\n**Tool**: https://github.com/neongreen/mono/tree/main/beads-merge\n\n**What it does**:\n- 3-way merge of JSONL files (base, left, right)\n- Field-level merging (titles, status, priority, etc.)\n- Smart dependency merging (union + dedup)\n- Conflict markers for unresolvable conflicts\n- Exit code 1 for conflicts (standard)\n\n**Integration options**:\n\n1. **Recommend (minimal effort)** - Document in AGENTS.md + TROUBLESHOOTING.md\n2. **Bundle binary** - Include in releases (cross-platform builds)\n3. **Port to Go** - Reimplement in bd codebase\n4. **Auto-install hook** - During bd init, offer to install merge driver\n\n**Recommendation**: Start with option 1 (document), then option 2 (bundle) once proven.\n\n**Related**: bd-5f483051 (bd resolve-conflicts - can close as superseded)","notes":"Created GitHub issue to discuss integration approach with @neongreen: https://github.com/neongreen/mono/issues/240\n\nAwaiting their preference on:\n1. Vendor with attribution (fastest)\n2. Extract as importable module (best long-term)\n3. Keep as separate tool (current state)\n\nNext: Wait for response before proceeding with integration.\n\nUPDATE 2025-11-06: @neongreen gave permission to vendor! Quote: \"I switched from beads to my own thing (tk) so I'm very happy to give beads-merge away — feel free to move it into the beads repo and I will point mono's readme to beads\"\n\nNext: Vendor beads-merge with full attribution","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-05T11:31:44.906652-08:00","updated_at":"2025-11-06T18:19:16.233387-08:00","closed_at":"2025-11-06T15:38:37.052274-08:00","source_repo":"."} @@ -2799,10 +2786,11 @@ {"id":"bd-cdf7","content_hash":"50ba3c5bc3a0f06ebd20dd9b373086e0ecd218eea56a9edbef321f4e042115a4","title":"Add tests for DetectCycles to improve coverage from 29.6%","description":"DetectCycles currently has 29.6% coverage. Need comprehensive tests for:\n- Simple cycles (A-\u003eB-\u003eA)\n- Complex multi-node cycles\n- Acyclic graphs (should not detect cycles)\n- Self-loops\n- Multiple independent cycles\n- Edge cases (empty graph, single node)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-01T22:40:58.977156-07:00","updated_at":"2025-11-01T22:52:02.243223-07:00","closed_at":"2025-11-01T22:52:02.243223-07:00","source_repo":"."} {"id":"bd-ce37850f","content_hash":"c31f96602e91797883758c5a5b778a148257959256605fca6378bbbc22c54ccc","title":"Add embedding generation for duplicate detection","description":"Use embeddings for scalable duplicate detection.\n\nModel: text-embedding-3-small (OpenAI) or all-MiniLM-L6-v2 (local)\nStorage: SQLite vector extension or in-memory\nCost: ~/bin/bash.0002 per 100 issues\n\nMuch cheaper than LLM comparisons for large databases.\n\nFiles: internal/embeddings/ (new package)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-28T14:48:29.072913-07:00","updated_at":"2025-11-06T19:36:13.972562-08:00","closed_at":"2025-11-06T19:27:25.234801-08:00","source_repo":"."} {"id":"bd-ce75","content_hash":"025d43c12e9cc08c6d1db0b4a97f7a086a1a9f24f07769d48a7e2666d04ea217","title":"Test parent issue","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-07T16:08:24.952167-08:00","updated_at":"2025-11-07T22:07:17.343848-08:00","closed_at":"2025-11-07T22:07:17.34385-08:00","source_repo":"."} +{"id":"bd-cf349eb3","content_hash":"1b42289a0cb1da0626a69c6f004bf62fc9ba6e3a0f8eb70159c5f1446497020b","title":"Update LINTING.md with current baseline","description":"After cleanup, document the remaining acceptable baseline in LINTING.md so we can track regression.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-20T19:00:15.571009-05:00","updated_at":"2025-11-20T19:00:15.571009-05:00","closed_at":"2025-11-07T10:55:55.985273-08:00","source_repo":"."} {"id":"bd-chsc","content_hash":"ea167029efad3c506e42dfc20748a6ada0914aa93cb04caa14a48ca223386365","title":"Test lowercase p0","description":"","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-05T12:58:41.457875-08:00","updated_at":"2025-11-05T12:58:44.721486-08:00","closed_at":"2025-11-05T12:58:44.721486-08:00","source_repo":"."} {"id":"bd-cif2h","content_hash":"e761aecd96a49a0827c637f92591e2b6f6df3e89bb1e33bd327469ceb33b45b3","title":"TestRoutingIntegration failing: maintainer_with_SSH_remote","description":"TestRoutingIntegration/maintainer_with_SSH_remote fails with:\nrouting_integration_test.go:69: expected role maintainer, got contributor\nrouting_integration_test.go:84: expected target repo \".\", got \"~/.beads-planning\"\n\nThis needs investigation as it might indicate a regression in routing logic or test flakiness.","status":"open","priority":0,"issue_type":"bug","created_at":"2025-11-20T12:45:38.773442-05:00","updated_at":"2025-11-20T12:45:38.773442-05:00","source_repo":"."} {"id":"bd-cjxp","content_hash":"2a2c0aa49be01be64c5e0a6bd24ebd7b762846d31a06fd8e9360672fb476b879","title":"Bug P0","description":"","status":"closed","priority":0,"issue_type":"bug","assignee":"alice","created_at":"2025-11-07T19:00:22.536449-08:00","updated_at":"2025-11-07T22:07:17.345535-08:00","closed_at":"2025-11-07T21:55:09.429643-08:00","source_repo":"."} -{"id":"bd-ckvw","content_hash":"a4b27c0e21e3ae0a1e8fb9f64913c286164ff6746c657d70bb7cbbdbf2e365c9","title":"Add schema compatibility probe to prevent silent migration failures","description":"Issue #262 revealed a serious bug: migrations may fail silently, causing UNIQUE constraint errors later.\n\nRoot cause:\n- sqlite.New() runs migrations once on open\n- checkVersionMismatch() prints 'database will be upgraded automatically' but only updates metadata\n- If migrations fail or daemon runs older version, queries expecting new columns fail with 'no such column'\n- Import logic misinterprets this as 'not found' and tries INSERT on existing ID\n- Result: UNIQUE constraint failed: issues.id\n\nFix strategy (minimal):\n1. Add schema probe in sqlite.New() after RunMigrations\n - SELECT all expected columns from all tables with LIMIT 0\n - If fails, retry RunMigrations and probe again\n - If still fails, return fatal error with clear message\n2. Fix checkVersionMismatch to not claim 'will upgrade' unless probe passes\n3. Only update bd_version after successful migration probe\n4. Add schema verification before import operations\n5. Map 'no such column' errors to clear actionable message\n\nRelated: #262","design":"Minimal path (now includes daemon gating):\n\n1. Schema probe in sqlite.New()\n - After RunMigrations, verify all expected columns exist\n - SELECT id, title, description, created_at, updated_at, closed_at, content_hash, external_ref, source_repo, compacted_at, compacted_at_commit FROM issues LIMIT 0\n - Also probe: dependencies, labels, events, dirty_issues, export_hashes, snapshots, child_counters\n - If probe fails: retry RunMigrations once, probe again\n - If still fails: return fatal error with missing columns/tables\n\n2. Fix checkVersionMismatch()\n - Don't claim 'will be upgraded automatically' unless probe verified\n - Only update bd_version after successful probe\n\n3. Better error surfacing\n - Wrap storage errors: if 'no such column/table', return ErrSchemaIncompatible\n - Actionable message: 'Database schema is incompatible. Run bd doctor to diagnose.'\n\n4. Add 'bd doctor' command\n - Runs migrations + probe\n - Reports missing columns/tables\n - Suggests fixes (upgrade daemon, run migrations manually, etc.)\n - Exit 1 if incompatible\n\n5. Daemon version gating (REQUIRED - prevents future schema bugs)\n - On RPC connect, client/daemon exchange semver\n - If client.minor \u003e daemon.minor: refuse RPC, print 'Client vX.Y requires daemon upgrade. Run: bd daemons killall'\n - Forces users to restart daemon when bd binary is upgraded\n - Prevents stale daemon serving requests with old schema assumptions\n - Already documented best practice, now enforced\n\nEstimated effort: M-L (3-5h with daemon gating + bd doctor)","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-08T13:23:26.934246-08:00","updated_at":"2025-11-08T13:53:29.219542-08:00","closed_at":"2025-11-08T13:53:29.219542-08:00","source_repo":"."} +{"id":"bd-ckvw","content_hash":"ca02c9be5b672a144fd2348f5b18b1ea6082e74a8de0349809785e05f9a91144","title":"Add schema compatibility probe to prevent silent migration failures","description":"Issue #262 revealed a serious bug: migrations may fail silently, causing UNIQUE constraint errors later.\n\nRoot cause:\n- sqlite.New() runs migrations once on open\n- checkVersionMismatch() prints 'database will be upgraded automatically' but only updates metadata\n- If migrations fail or daemon runs older version, queries expecting new columns fail with 'no such column'\n- Import logic misinterprets this as 'not found' and tries INSERT on existing ID\n- Result: UNIQUE constraint failed: issues.id\n\nFix strategy (minimal):\n1. Add schema probe in sqlite.New() after RunMigrations\n - SELECT all expected columns from all tables with LIMIT 0\n - If fails, retry RunMigrations and probe again\n - If still fails, return fatal error with clear message\n2. Fix checkVersionMismatch to not claim 'will upgrade' unless probe passes\n3. Only update bd_version after successful migration probe\n4. Add schema verification before import operations\n5. Map 'no such column' errors to clear actionable message\n\nRelated: #262","design":"Minimal path (now includes daemon gating):\n\n1. Schema probe in sqlite.New()\n - After RunMigrations, verify all expected columns exist\n - SELECT id, title, description, created_at, updated_at, closed_at, content_hash, external_ref, source_repo, compacted_at, compacted_at_commit FROM issues LIMIT 0\n - Also probe: dependencies, labels, events, dirty_issues, export_hashes, snapshots, child_counters\n - If probe fails: retry RunMigrations once, probe again\n - If still fails: return fatal error with missing columns/tables\n\n2. Fix checkVersionMismatch()\n - Don't claim 'will be upgraded automatically' unless probe verified\n - Only update bd_version after successful probe\n\n3. Better error surfacing\n - Wrap storage errors: if 'no such column/table', return ErrSchemaIncompatible\n - Actionable message: 'Database schema is incompatible. Run bd doctor to diagnose.'\n\n4. Add 'bd doctor' command\n - Runs migrations + probe\n - Reports missing columns/tables\n - Suggests fixes (upgrade daemon, run migrations manually, etc.)\n - Exit 1 if incompatible\n\n5. Daemon version gating (REQUIRED - prevents future schema bugs)\n - On RPC connect, client/daemon exchange semver\n - If client.minor \u003e daemon.minor: refuse RPC, print 'Client vX.Y requires daemon upgrade. Run: bd daemons killall'\n - Forces users to restart daemon when bd binary is upgraded\n - Prevents stale daemon serving requests with old schema assumptions\n - Already documented best practice, now enforced\n\nEstimated effort: M-L (3-5h with daemon gating + bd doctor)","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-08T13:23:26.934246-08:00","updated_at":"2025-11-08T13:53:29.219542-08:00","closed_at":"2025-11-08T13:53:29.219542-08:00","source_repo":"."} {"id":"bd-csvy","content_hash":"88e2ed15c2fe9d9622b16daa530907af7069ef69e621c74dc2a2fafa1da4ac8c","title":"Add tests for merge driver auto-config in bd init","description":"Add comprehensive tests for the merge driver auto-configuration functionality in `bd init`.\n\n**Test cases needed:**\n- Auto-install in quiet mode\n- Skip with --skip-merge-driver flag\n- Detect already-installed merge driver\n- Append to existing .gitattributes\n- Interactive prompt behavior (if feasible)\n\n**File:** `cmd/bd/init_test.go`","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T19:27:04.133078-08:00","updated_at":"2025-11-06T18:19:16.233673-08:00","closed_at":"2025-11-06T15:56:36.014814-08:00","source_repo":".","dependencies":[{"issue_id":"bd-csvy","depends_on_id":"bd-32nm","type":"discovered-from","created_at":"2025-11-05T19:27:04.134299-08:00","created_by":"daemon"}]} {"id":"bd-d19a","content_hash":"5ff9ba5e70c3e3eeaff40887421797e30dfb75e56e97fcaaf3f3d32332f22aa2","title":"Fix import failure on missing parent issues","description":"Import process fails atomically when JSONL references deleted parent issues. Implement hybrid solution: topological sorting + parent resurrection to handle deleted parents gracefully while maintaining referential integrity. See docs/import-bug-analysis-bd-3xq.md for full analysis.","status":"closed","priority":0,"issue_type":"epic","created_at":"2025-11-04T12:31:30.994759-08:00","updated_at":"2025-11-05T00:08:42.814239-08:00","closed_at":"2025-11-05T00:08:42.814243-08:00","source_repo":"."} {"id":"bd-d33c","content_hash":"d0820d5dd6ea4ab198e013861d3d7d01da701daa8ab8ec59ad5ef855e6f83b2b","title":"Separate process/lock/PID concerns into process.go","description":"Create internal/daemonrunner/process.go with: acquireDaemonLock, PID file read/write, stopDaemon, isDaemonRunning, getPIDFilePath, socket path helpers, version check.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T11:41:14.871122-07:00","updated_at":"2025-11-01T23:43:55.66159-07:00","closed_at":"2025-11-01T23:43:55.66159-07:00","source_repo":"."} @@ -2815,14 +2803,14 @@ {"id":"bd-d6aq","content_hash":"45a169a72749bb3bc93190bb3e5891950409f264baeac4394cd1a3ad5a75c0f2","title":"Test reservation expiration and renewal","description":"Verify TTL-based reservation expiration works correctly.\n\nAcceptance Criteria:\n- Reserve with short TTL (30s)\n- Verify other agents can't claim\n- Wait for expiration\n- Verify reservation auto-released\n- Other agent can now claim\n- Test renewal/heartbeat mechanism\n\nFile: tests/integration/test_reservation_ttl.py","notes":"Implemented comprehensive TTL/expiration test suite in tests/integration/test_reservation_ttl.py\n\nTest Coverage:\n✅ Short TTL reservations (30s) - verifies TTL is properly set\n✅ Reservation blocking - confirms agent2 cannot claim while agent1 holds reservation\n✅ Auto-release after expiration - validates expired reservations are auto-cleaned and become available\n✅ Renewal/heartbeat - tests that re-reserving extends expiration time\n\nAll 4 tests passing in 56.9s total (including 30s+ wait time for expiration tests).\n\nMock server implements full TTL management:\n- Reservation class with expiration tracking\n- Auto-cleanup of expired reservations on each request\n- Renewal support (same agent re-reserving)\n- 409 conflict for cross-agent reservation attempts","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-07T22:43:21.547821-08:00","updated_at":"2025-11-08T03:54:04.855132-08:00","closed_at":"2025-11-08T02:24:30.296982-08:00","source_repo":".","dependencies":[{"issue_id":"bd-d6aq","depends_on_id":"bd-m9th","type":"blocks","created_at":"2025-11-07T22:43:21.548731-08:00","created_by":"daemon"}]} {"id":"bd-d76d","content_hash":"b65da5fe9f89a98f1e6fad6ee32d463126ef72785fec4d6dfa5a4774c6a8a393","title":"Modify EnsureIDs to support parent resurrection","description":"Update internal/storage/sqlite/ids.go:189-202 to call TryResurrectParent before failing on missing parent. Add resurrection mode flag, log resurrected parents for transparency. Maintain backwards compatibility with strict validation mode.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-04T12:31:59.659507-08:00","updated_at":"2025-11-05T00:08:42.814463-08:00","closed_at":"2025-11-05T00:08:42.814466-08:00","source_repo":"."} {"id":"bd-d7e88238","content_hash":"ff14f04a04bf89f52bda3d584933df6b09b554cce8665f47f429f1ac52dafb94","title":"Rapid 3","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-29T19:11:57.459655-07:00","updated_at":"2025-11-08T01:49:23.462353-08:00","closed_at":"2025-11-07T23:18:52.333825-08:00","source_repo":"."} -{"id":"bd-d84j","content_hash":"72866210b9be677fae063d331cfffcdfe6a1243fd069c80b72c34b719aba7361","title":"Fix PR #319: Performance Improvements - CI failures and lint errors","description":"PR #319 (Performance Improvements) has excellent performance optimizations but is blocked by CI failures.\n\n## The PR\n- URL: https://github.com/steveyegge/beads/pull/319\n- Author: @rsnodgrass (Ryan)\n- Claimed improvements: bd ready 20.5x faster (752ms → 36.6ms), startup 10.5x faster\n\n## CI Failures\n\n### Lint Errors (8 total)\n1. cmd/bd/deletion_tracking.go:57 - unchecked os.Remove\n2. cmd/bd/import.go:548 - unchecked os.RemoveAll\n3. cmd/bd/message.go:205 - unchecked resp.Body.Close\n4. cmd/bd/migrate_issues.go:633 - unchecked fmt.Scanln\n5. cmd/bd/migrate_issues.go:701 - unchecked MarkFlagRequired\n6. cmd/bd/migrate_issues.go:702 - unchecked MarkFlagRequired\n7. cmd/bd/show.go:610 - gosec G104 unhandled error\n8. cmd/bd/show.go:614 - gosec G104 unhandled error\n\n### Test Failures\nAll syncbranch_test.go tests failing with:\n\"migration external_ref_column failed: failed to create index on external_ref: sqlite3: SQL logic error: no such table: main.issues\"\n\nThis suggests the PR branch needs rebasing on current main.\n\n## Required Work\n\n### 1. Fix Lint Errors\nAdd proper error handling for all 8 flagged locations. Most can use _ = or log warnings.\n\n### 2. Rebase on Current Main\nThe migration test failures indicate the branch is out of sync. Need to:\n- git fetch upstream\n- git rebase upstream/main\n- Resolve any conflicts\n- Verify tests pass locally\n\n### 3. Verify CI Passes\n- All lint checks green\n- All tests pass (Linux, Windows, Nix)\n\n## Optional Improvements\n- Consider splitting into smaller PRs (core index, WASM cache, testing infra)\n- Add documentation for benchmark usage\n- Extract helper functions in doctor/perf.go for better testability\n\n## Value\nThis PR delivers real performance improvements. The index optimization alone is worth merging quickly once CI is fixed.","design":"Workflow:\n1. Checkout PR branch locally\n2. Rebase on current main\n3. Fix all 8 lint errors\n4. Run full test suite locally\n5. Push updated branch\n6. Verify CI passes\n7. Request re-review from maintainers","acceptance_criteria":"- All lint errors fixed\n- All tests passing on all platforms\n- PR rebased on current main\n- CI checks all green","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-15T12:24:34.50322-08:00","updated_at":"2025-11-15T12:43:11.49933-08:00","closed_at":"2025-11-15T12:43:11.49933-08:00","source_repo":"."} +{"id":"bd-d84j","content_hash":"d007e5a786a932117a1a4f7a875eb1449424eaaf44f7595d2d4ac01330068d57","title":"Fix PR #319: Performance Improvements - CI failures and lint errors","description":"PR #319 (Performance Improvements) has excellent performance optimizations but is blocked by CI failures.\n\n## The PR\n- URL: https://github.com/steveyegge/beads/pull/319\n- Author: @rsnodgrass (Ryan)\n- Claimed improvements: bd ready 20.5x faster (752ms → 36.6ms), startup 10.5x faster\n\n## CI Failures\n\n### Lint Errors (8 total)\n1. cmd/bd/deletion_tracking.go:57 - unchecked os.Remove\n2. cmd/bd/import.go:548 - unchecked os.RemoveAll\n3. cmd/bd/message.go:205 - unchecked resp.Body.Close\n4. cmd/bd/migrate_issues.go:633 - unchecked fmt.Scanln\n5. cmd/bd/migrate_issues.go:701 - unchecked MarkFlagRequired\n6. cmd/bd/migrate_issues.go:702 - unchecked MarkFlagRequired\n7. cmd/bd/show.go:610 - gosec G104 unhandled error\n8. cmd/bd/show.go:614 - gosec G104 unhandled error\n\n### Test Failures\nAll syncbranch_test.go tests failing with:\n\"migration external_ref_column failed: failed to create index on external_ref: sqlite3: SQL logic error: no such table: main.issues\"\n\nThis suggests the PR branch needs rebasing on current main.\n\n## Required Work\n\n### 1. Fix Lint Errors\nAdd proper error handling for all 8 flagged locations. Most can use _ = or log warnings.\n\n### 2. Rebase on Current Main\nThe migration test failures indicate the branch is out of sync. Need to:\n- git fetch upstream\n- git rebase upstream/main\n- Resolve any conflicts\n- Verify tests pass locally\n\n### 3. Verify CI Passes\n- All lint checks green\n- All tests pass (Linux, Windows, Nix)\n\n## Optional Improvements\n- Consider splitting into smaller PRs (core index, WASM cache, testing infra)\n- Add documentation for benchmark usage\n- Extract helper functions in doctor/perf.go for better testability\n\n## Value\nThis PR delivers real performance improvements. The index optimization alone is worth merging quickly once CI is fixed.","design":"Workflow:\n1. Checkout PR branch locally\n2. Rebase on current main\n3. Fix all 8 lint errors\n4. Run full test suite locally\n5. Push updated branch\n6. Verify CI passes\n7. Request re-review from maintainers","acceptance_criteria":"- All lint errors fixed\n- All tests passing on all platforms\n- PR rebased on current main\n- CI checks all green","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-15T12:24:34.50322-08:00","updated_at":"2025-11-15T12:43:11.49933-08:00","closed_at":"2025-11-15T12:43:11.49933-08:00","source_repo":"."} {"id":"bd-d9e0","content_hash":"de4e01414f8863b63cb693a709048b85c3f4417f03e7d7b2528560076be0e1f7","title":"Extract validation functions to validators.go","description":"Move validatePriority, validateStatus, validateIssueType, validateTitle, validateEstimatedMinutes, validateFieldUpdate to validators.go","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T19:28:54.915909-07:00","updated_at":"2025-11-02T12:32:00.159298-08:00","closed_at":"2025-11-02T12:32:00.1593-08:00","source_repo":"."} {"id":"bd-dcd6f14b","content_hash":"c07a4b8a39e6e81513278ee335fe14aa767cbcba72e3b511cfd95705053483b1","title":"Batch test 4","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T15:29:02.053523-07:00","updated_at":"2025-10-31T12:00:43.182861-07:00","closed_at":"2025-10-31T12:00:43.182861-07:00","source_repo":"."} -{"id":"bd-dd6f6d26","content_hash":"dbcecb8b95f9f2939d97c61bd8cbe331bea866f47600bded213d3122e311c356","title":"Fix autoimport tests for content-hash collision scoring","description":"## Overview\nThree autoimport tests are failing after bd-cbed9619.4 because they expect behavior based on the old reference-counting collision resolution, but the system now uses deterministic content-hash scoring.\n\n## Failing Tests\n1. `TestAutoImportMultipleCollisionsRemapped` - expects local versions preserved\n2. `TestAutoImportAllCollisionsRemapped` - expects local versions preserved \n3. `TestAutoImportCollisionRemapMultipleFields` - expects specific collision resolution behavior\n\n## Root Cause\nThese tests were written when ScoreCollisions used reference counting to determine which version to keep. Now it uses content-hash comparison (introduced in commit 2e87329), which produces different but deterministic results.\n\n## Example\nOld behavior: Issue with more references would be kept\nNew behavior: Issue with lexicographically lower content hash is kept\n\n## Solution\nUpdate each test to:\n1. Verify the new content-hash based behavior is correct\n2. Check that the remapped issue (not necessarily local/remote) has the expected content\n3. Ensure dependencies are preserved on the correct remapped issue\n\n## Acceptance Criteria\n- All three autoimport tests pass\n- Tests verify content-hash determinism (same collision always resolves the same way)\n- Tests check dependency preservation on remapped issues\n- Test documentation explains content-hash scoring expectations\n\n## Files to Modify\n- `cmd/bd/autoimport_collision_test.go`\n\n## Testing\nRun: `go test ./cmd/bd -run \"TestAutoImport.*Collision\" -v`","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-20T12:17:55.846346-05:00","updated_at":"2025-11-20T12:17:55.846346-05:00","closed_at":"2025-11-08T22:42:08.862831-08:00","source_repo":".","dependencies":[{"issue_id":"bd-dd6f6d26","depends_on_id":"bd-cbed9619.4","type":"discovered-from","created_at":"2025-10-28T19:12:56.345276-07:00","created_by":"daemon"}]} +{"id":"bd-dd6f6d26","content_hash":"1ac634b2515cb7f7738f06bc3ad083d02025bc915aca7eae690c9dcc1a552878","title":"Fix autoimport tests for content-hash collision scoring","description":"## Overview\nThree autoimport tests are failing after [deleted:bd-cbed9619.4] because they expect behavior based on the old reference-counting collision resolution, but the system now uses deterministic content-hash scoring.\n\n## Failing Tests\n1. `TestAutoImportMultipleCollisionsRemapped` - expects local versions preserved\n2. `TestAutoImportAllCollisionsRemapped` - expects local versions preserved \n3. `TestAutoImportCollisionRemapMultipleFields` - expects specific collision resolution behavior\n\n## Root Cause\nThese tests were written when ScoreCollisions used reference counting to determine which version to keep. Now it uses content-hash comparison (introduced in commit 2e87329), which produces different but deterministic results.\n\n## Example\nOld behavior: Issue with more references would be kept\nNew behavior: Issue with lexicographically lower content hash is kept\n\n## Solution\nUpdate each test to:\n1. Verify the new content-hash based behavior is correct\n2. Check that the remapped issue (not necessarily local/remote) has the expected content\n3. Ensure dependencies are preserved on the correct remapped issue\n\n## Acceptance Criteria\n- All three autoimport tests pass\n- Tests verify content-hash determinism (same collision always resolves the same way)\n- Tests check dependency preservation on remapped issues\n- Test documentation explains content-hash scoring expectations\n\n## Files to Modify\n- `cmd/bd/autoimport_collision_test.go`\n\n## Testing\nRun: `go test ./cmd/bd -run \"TestAutoImport.*Collision\" -v`","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-08T02:47:57.197927-08:00","updated_at":"2025-11-20T19:00:15.571481-05:00","closed_at":"2025-11-08T02:28:35.317704-08:00","source_repo":".","dependencies":[{"issue_id":"bd-dd6f6d26","depends_on_id":"bd-cbed9619.4","type":"discovered-from","created_at":"2025-10-28T19:12:56.345276-07:00","created_by":"daemon"}]} {"id":"bd-de0h","content_hash":"8b8b43683607e73012cf8bd7cf8631c6ae34498d0c93ca5b77d3f68944c8088d","title":"bd message: Add HTTP client timeout to prevent hangs","description":"HTTP client in `sendAgentMailRequest` uses default http.Post with no timeout.\n\n**Location:** cmd/bd/message.go:181\n\n**Problem:**\n- Can hang indefinitely if server is unresponsive\n- No way to cancel stuck requests\n- Poor UX in flaky networks\n\n**Fix:**\n```go\nclient := \u0026http.Client{Timeout: 30 * time.Second}\nresp, err := client.Post(url, \"application/json\", bytes.NewReader(reqBody))\n```\n\n**Impact:** Production reliability and security issue","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-08T12:54:24.942645-08:00","updated_at":"2025-11-08T12:56:59.948929-08:00","closed_at":"2025-11-08T12:56:59.948929-08:00","source_repo":".","dependencies":[{"issue_id":"bd-de0h","depends_on_id":"bd-6uix","type":"parent-child","created_at":"2025-11-08T12:55:54.860847-08:00","created_by":"daemon"}]} {"id":"bd-df11","content_hash":"9d688c3fe5f4994ab29ed22c8c4ae467f2069c4cbb676a2168303b2ffcba48c4","title":"Add import metrics for external_ref matching statistics","description":"Add observability for external_ref matching behavior during imports to help debug and optimize import operations.\n\nMetrics to track:\n- Number of issues matched by external_ref\n- Number of issues matched by ID\n- Number of issues matched by content hash\n- Number of external_ref updates vs creates\n- Average import time with vs without external_ref\n\nOutput format:\n- Add to ImportResult struct\n- Include in import command output\n- Consider structured logging\n\nUse cases:\n- Debugging slow imports\n- Understanding match distribution\n- Optimizing import performance\n\nRelated: bd-1022","status":"closed","priority":4,"issue_type":"chore","created_at":"2025-11-02T15:32:46.157899-08:00","updated_at":"2025-11-08T03:54:04.856564-08:00","closed_at":"2025-11-08T02:20:01.01371-08:00","source_repo":"."} {"id":"bd-df190564","content_hash":"4966d22faf43b7de1b27315f85365d7ed896741e4e589ed01ee16f4c2f600a24","title":"bd repair-deps - Orphaned dependency cleaner","description":"Find and fix orphaned dependency references.\n\nImplementation:\n- Scan all issues for dependencies pointing to non-existent issues\n- Report orphaned refs\n- Auto-fix with --fix flag\n- Interactive mode with --interactive\n\nFiles: cmd/bd/repair_deps.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T19:42:29.852745-07:00","updated_at":"2025-10-31T18:24:19.418221-07:00","closed_at":"2025-10-31T18:24:19.418221-07:00","source_repo":"."} -{"id":"bd-dxdn","content_hash":"1ad5838334d77403d884787d2b5c99b88c6fa28fb08a16014246c8db0f9f4020","title":"bd ready taking 5 seconds with 132 issues (89 closed)","description":"User reports bd ready is annoyingly slow on M2 Mac - 5 seconds for 132 issues (89 closed). Started noticing after hash-based IDs update. Need to investigate performance regression. Reported in GH #243.","notes":"Root cause identified: Not a query performance issue, but stale daemon locks causing 5s timeout delays.\n\nFixed in bd-ndyz (closed) via 5 sub-issues:\n- bd-expt: Fast-fail socket checks (200ms timeout)\n- bd-wgu4: Lock probe before RPC attempts\n- bd-1mzt: Self-heal stale artifacts\n- bd-vcg5: Panic recovery + socket cleanup\n- bd-j7e2: RPC diagnostics (BD_RPC_DEBUG)\n\nAll fixes merged. Ready for v0.22.2 release.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T00:26:30.359512-08:00","updated_at":"2025-11-08T02:35:47.956638-08:00","closed_at":"2025-11-08T02:35:47.956638-08:00","source_repo":"."} +{"id":"bd-dxdn","content_hash":"1165b0e3355b571db2b55d49d543b81c314d46988cb0905b0214e00baf8b4de3","title":"bd ready taking 5 seconds with 132 issues (89 closed)","description":"User reports bd ready is annoyingly slow on M2 Mac - 5 seconds for 132 issues (89 closed). Started noticing after hash-based IDs update. Need to investigate performance regression. Reported in GH #243.","notes":"Root cause identified: Not a query performance issue, but stale daemon locks causing 5s timeout delays.\n\nFixed in bd-ndyz (closed) via 5 sub-issues:\n- bd-expt: Fast-fail socket checks (200ms timeout)\n- bd-wgu4: Lock probe before RPC attempts\n- bd-1mzt: Self-heal stale artifacts\n- bd-vcg5: Panic recovery + socket cleanup\n- bd-j7e2: RPC diagnostics (BD_RPC_DEBUG)\n\nAll fixes merged. Ready for v0.22.2 release.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T00:26:30.359512-08:00","updated_at":"2025-11-08T02:35:47.956638-08:00","closed_at":"2025-11-08T02:35:47.956638-08:00","source_repo":"."} {"id":"bd-e044","content_hash":"8393c18d7f6edfed3d3e360a32a3075a9e0d9caa6f02d704774482aa1d9b0a7f","title":"Add mermaid output format for bd dep tree","description":"Add visual dependency graph output using Mermaid format for better visualization of issue relationships.\n\nExample usage:\n bd dep tree --format mermaid \u003cissue-id\u003e\n bd dep tree --format mermaid bd-42 \u003e graph.md\n\nThis would output Mermaid syntax that can be rendered in GitHub, documentation sites, or Mermaid live editor.\n\nImplementation notes:\n- Add --format flag to dep tree command\n- Support 'text' (default) and 'mermaid' formats\n- Mermaid graph should show issue IDs, titles, and dependency types\n- Consider using flowchart LR or graph TD syntax","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-03T18:10:18.978383-08:00","updated_at":"2025-11-03T20:55:06.696363-08:00","closed_at":"2025-11-03T20:55:06.69637-08:00","source_repo":"."} {"id":"bd-e05d","content_hash":"c2f4d60f5bd679d9bf609c35efc9c15e8dd52130fb9b68eacfe47bdda910ecd7","title":"Investigate and optimize test suite performance","description":"Test suite is taking very long to run (\u003e45s for cmd/bd tests, full suite timing unknown but was cancelled).\n\nThis impacts development velocity and CI/CD performance.\n\nInvestigation needed:\n- Profile which tests are slowest\n- Identify bottlenecks (disk I/O, network, excessive setup/teardown?)\n- Consider parallelization opportunities\n- Look for redundant test cases\n- Check if integration tests can be optimized","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-02T15:37:44.529955-08:00","updated_at":"2025-11-02T16:35:38.093133-08:00","closed_at":"2025-11-02T16:35:38.093137-08:00","source_repo":"."} {"id":"bd-e1085716","content_hash":"6b1f867ab07cbed86eae8ab342995691aac5b2bfe8fa6cdb869209e81f157d4e","title":"bd validate - Comprehensive health check","description":"Run all validation checks in one command.\n\nChecks:\n- Duplicates\n- Orphaned dependencies\n- Test pollution\n- Git conflicts\n\nSupports --fix-all for auto-repair.\n\nDepends on bd-cbed9619.1, bd-0dcea000, bd-31aab707, bd-9826b69a.\n\nFiles: cmd/bd/validate.go (new)","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-29T23:05:13.980679-07:00","updated_at":"2025-10-30T17:12:58.19736-07:00","source_repo":"."} @@ -2841,9 +2829,8 @@ {"id":"bd-ef85","content_hash":"56b7e0c048938940053b127e4f9ed578e797b99dc93d010138ec823efbe7842c","title":"Add --json flags to all bd commands for agent-friendly output","description":"","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-31T22:39:45.312496-07:00","updated_at":"2025-10-31T22:39:50.157022-07:00","closed_at":"2025-10-31T22:39:50.157022-07:00","source_repo":"."} {"id":"bd-eimz","content_hash":"03d818a0c6277838251b1bd67f3e88c1aedad81fa458291f27469a807a69fc13","title":"Add Agent Mail to QUICKSTART.md","description":"Mention Agent Mail as optional advanced feature in quickstart guide.\n\nFile: docs/QUICKSTART.md","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-07T22:42:51.357009-08:00","updated_at":"2025-11-08T01:51:40.35021-08:00","closed_at":"2025-11-08T01:07:11.598558-08:00","source_repo":".","dependencies":[{"issue_id":"bd-eimz","depends_on_id":"bd-xzrv","type":"blocks","created_at":"2025-11-07T23:04:09.841956-08:00","created_by":"daemon"}]} {"id":"bd-eiz9","content_hash":"0f1722abb1f24d08d2c643d9cd4109935325eb3ea994166ff88202d0a457b003","title":"Help agents understand version changes with bd info --whats-new","description":"**Problem** (from GH Discussion #239 by @maphew):\nWeekly major versions mean agents need to adapt workflows, but currently there's no efficient way to communicate \"what changed that affects you.\"\n\n**Proposed solutions:**\n\n1. **bd info --whats-new** - Show agent-actionable changes since last version\n ```\n Since v0.20.1:\n • Hash IDs eliminate collisions - remove ID coordination workarounds\n • Event-driven daemon (opt-in) - add BEADS_DAEMON_MODE=events\n • Merge driver auto-configured - conflicts rarer\n ```\n\n2. **Version-aware bd onboard** - Detect version changes and show diff of agent-relevant changes\n\n3. **AGENTS.md top section** - \"🆕 Recent Changes (Last 3 Versions)\" with workflow impacts\n\n**Why agents need this:**\n- Raw CHANGELOG is token-heavy and buried in release details\n- Full bd onboard re-run wasteful if only 2-3 things changed\n- Currently requires user to manually explain updates\n\n**Related:** https://github.com/steveyegge/beads/discussions/239","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-06T21:03:30.057576-08:00","updated_at":"2025-11-08T02:42:56.733731-08:00","closed_at":"2025-11-08T02:25:55.509249-08:00","source_repo":"."} -{"id":"bd-epvx","content_hash":"f0acf2bcec5857c61c542764f62c5f5a66cfa74cdafa941c1754db40dd173efc","title":"Create Go adapter library (optional)","description":"For agents written in Go, provide native adapter library instead of shelling out to curl.\n\nAcceptance Criteria:\n- agentmail.Client struct\n- HTTP client with timeout/retry logic\n- Same API as Python adapter\n- Example usage in examples/go-agent/\n- Unit tests\n\nFile: pkg/agentmail/client.go\n\nNote: Lower priority - can shell out to curl initially","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-11-07T22:42:28.781577-08:00","updated_at":"2025-11-08T15:48:57.83973-08:00","closed_at":"2025-11-08T15:48:57.83973-08:00","source_repo":".","dependencies":[{"issue_id":"bd-epvx","depends_on_id":"bd-m9th","type":"blocks","created_at":"2025-11-07T23:04:01.47471-08:00","created_by":"daemon"}]} +{"id":"bd-epvx","content_hash":"abf5a06864cfb4ca280f269b00cffffa859b610eb630001e084b5c9f336831ec","title":"Create Go adapter library (optional)","description":"For agents written in Go, provide native adapter library instead of shelling out to curl.\n\nAcceptance Criteria:\n- agentmail.Client struct\n- HTTP client with timeout/retry logic\n- Same API as Python adapter\n- Example usage in examples/go-agent/\n- Unit tests\n\nFile: pkg/agentmail/client.go\n\nNote: Lower priority - can shell out to curl initially","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-11-07T22:42:28.781577-08:00","updated_at":"2025-11-08T15:48:57.83973-08:00","closed_at":"2025-11-08T15:48:57.83973-08:00","source_repo":".","dependencies":[{"issue_id":"bd-epvx","depends_on_id":"bd-m9th","type":"blocks","created_at":"2025-11-07T23:04:01.47471-08:00","created_by":"daemon"}]} {"id":"bd-eqjc","content_hash":"8acc3d91ca9f9bef36d19358cb7f24eac247583a0e6701036aaff92607474c21","title":"bd init creates nested .beads directories","description":"bd init sometimes creates .beads/.beads/ nested directories, which should never happen. This occurs fairly often and can cause confusion about which .beads directory is active. Need to add validation to detect if already inside a .beads directory and either error or use the parent .beads location.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-06T22:21:22.948727-08:00","updated_at":"2025-11-06T22:22:41.04958-08:00","closed_at":"2025-11-06T22:22:41.04958-08:00","source_repo":"."} -{"id":"bd-es19","content_hash":"5c5951971ed466f30fa12e1d7f73457ecc430464726516f069e6659f762687e6","title":"BG's issue to reopen","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-20T19:11:50.954286-05:00","updated_at":"2025-11-20T19:11:50.954286-05:00","closed_at":"2025-11-07T21:57:59.90981-08:00","source_repo":"."} {"id":"bd-expt","content_hash":"6e14db64fb24882e4cf544ec24eaa994aba970fd0ae31c72dda2d8ea88560753","title":"RPC fast-fail: stat socket before dial, cap timeouts to 200ms","description":"Eliminate 5s delay when daemon socket is missing by:\n1. Add os.Stat(socketPath) check before dialing in TryConnect\n2. Return (nil, nil) immediately if socket doesn't exist\n3. Set default dial timeout to 200ms in TryConnect\n4. Keep TryConnectWithTimeout for explicit health/status checks (1-2s)\n\nThis prevents clients from waiting through full timeout when no daemon is running.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-07T16:42:12.688526-08:00","updated_at":"2025-11-07T22:07:17.345918-08:00","closed_at":"2025-11-07T21:04:21.671436-08:00","source_repo":".","dependencies":[{"issue_id":"bd-expt","depends_on_id":"bd-ndyz","type":"discovered-from","created_at":"2025-11-07T16:42:12.689284-08:00","created_by":"daemon"}]} {"id":"bd-f0d9bcf2","content_hash":"00e0c7b440024e6257d1bac9c1d5af10f8a12ee1726478e4b5bab06e34bfb586","title":"Batch test 1","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T15:29:01.795728-07:00","updated_at":"2025-10-31T12:00:43.184078-07:00","closed_at":"2025-10-31T12:00:43.184078-07:00","source_repo":"."} {"id":"bd-f282","content_hash":"90043e5e39cbb062ce0ff6a323ce2d0a16465783742d06ac9da1df66d837e025","title":"Test npm package installation locally","description":"Verify npm package works before publishing:\n\n## Local testing\n- Run npm pack in npm/ directory\n- Install tarball globally: npm install -g beads-bd-0.21.5.tgz\n- Test basic commands:\n - bd --version\n - bd init --quiet --prefix test\n - bd create \"Test issue\" -p 1 --json\n - bd list --json\n - bd sync\n\n## Test environments\n- macOS (darwin-arm64 and darwin-amd64)\n- Linux (ubuntu docker container for linux-amd64)\n- Windows (optional, if available)\n\n## Validation\n- Binary downloads during postinstall\n- All bd commands work identically to native\n- No permission issues\n- Proper error messages on failure","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T23:40:05.71835-08:00","updated_at":"2025-11-03T10:31:45.382577-08:00","closed_at":"2025-11-03T10:31:45.382577-08:00","source_repo":".","dependencies":[{"issue_id":"bd-f282","depends_on_id":"bd-febc","type":"parent-child","created_at":"2025-11-02T23:40:32.968748-08:00","created_by":"daemon"}]} @@ -2862,17 +2849,19 @@ {"id":"bd-f8b764c9.8","content_hash":"9acb99b9ef8844849c6b684db012f966db5766e0a7e452f9768d8611d90ad9b8","title":"Update JSONL format to use hash IDs","description":"Update JSONL import/export to use hash IDs, store aliases separately.\n\n## Current JSONL Format\n```jsonl\n{\"id\":\"bd-1c63eb84\",\"title\":\"Fix bug\",\"status\":\"open\",...}\n{\"id\":\"bd-9063acda\",\"title\":\"Add test\",\"status\":\"open\",...}\n```\n\n## New JSONL Format (Option A: Include Alias)\n```jsonl\n{\"id\":\"bd-af78e9a2\",\"alias\":1,\"title\":\"Fix bug\",\"status\":\"open\",...}\n{\"id\":\"bd-e5f6a7b8\",\"alias\":2,\"title\":\"Add test\",\"status\":\"open\",...}\n```\n\n## New JSONL Format (Option B: Hash ID Only)\n```jsonl\n{\"id\":\"bd-af78e9a2\",\"title\":\"Fix bug\",\"status\":\"open\",...}\n{\"id\":\"bd-e5f6a7b8\",\"title\":\"Add test\",\"status\":\"open\",...}\n```\n\nStore aliases in separate .beads/aliases.jsonl (local only, git-ignored):\n```jsonl\n{\"hash\":\"bd-af78e9a2\",\"alias\":1}\n{\"hash\":\"bd-e5f6a7b8\",\"alias\":2}\n```\n\n**Recommendation**: Option B (hash only in main JSONL)\n- Cleaner git diffs (no alias conflicts)\n- Aliases are workspace-local preference\n- Main JSONL is canonical, portable\n\n## Export Changes\nFile: cmd/bd/export.go\n```go\n// Export issues with hash IDs\nfor _, issue := range issues {\n json := marshalIssue(issue) // Uses issue.ID (hash)\n // Don't include alias in JSONL\n}\n\n// Separately export aliases to .beads/aliases.jsonl\nexportAliases(issues)\n```\n\n## Import Changes \nFile: cmd/bd/import.go, internal/importer/importer.go\n```go\n// Import issues by hash ID\nissue := unmarshalIssue(line)\n// Assign new alias on import (don't use incoming alias)\nissue.Alias = getNextAlias()\n\n// No collision detection needed! Hash IDs are globally unique\n```\n\n## Dependency Reference Format\nNo change needed - already uses issue IDs:\n```json\n{\"depends_on_id\":\"bd-af78e9a2\",\"type\":\"blocks\"}\n```\n\n## Files to Modify\n- cmd/bd/export.go (use hash IDs)\n- cmd/bd/import.go (import hash IDs, assign aliases)\n- internal/importer/importer.go (remove collision detection!)\n- .gitignore (add .beads/aliases.jsonl)\n\n## Testing\n- Test export produces hash IDs\n- Test import assigns new aliases\n- Test dependencies preserved with hash IDs\n- Test no collision detection triggered","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T21:24:47.408106-07:00","updated_at":"2025-10-31T12:32:32.609925-07:00","closed_at":"2025-10-31T12:32:32.609925-07:00","source_repo":".","dependencies":[{"issue_id":"bd-f8b764c9.8","depends_on_id":"bd-f8b764c9","type":"parent-child","created_at":"2025-10-29T21:24:47.409489-07:00","created_by":"stevey"},{"issue_id":"bd-f8b764c9.8","depends_on_id":"bd-f8b764c9.9","type":"blocks","created_at":"2025-10-29T21:24:47.409977-07:00","created_by":"stevey"},{"issue_id":"bd-f8b764c9.8","depends_on_id":"bd-f8b764c9.10","type":"blocks","created_at":"2025-10-29T21:29:45.975499-07:00","created_by":"stevey"}]} {"id":"bd-f8b764c9.9","content_hash":"f248cddca9cd0cbad13c74ee8537251e73d429d863a272259fdef786a97f53d1","title":"Implement hash ID generation in CreateIssue","description":"Replace sequential ID generation with hash-based IDs in CreateIssue function.\n\n## Current Behavior (internal/storage/sqlite/sqlite.go)\n```go\nfunc (s *SQLiteStorage) CreateIssue(ctx context.Context, issue *types.Issue) error {\n // ID comes from auto-increment counter\n // Collisions possible across clones\n}\n```\n\n## New Behavior\n```go\nfunc (s *SQLiteStorage) CreateIssue(ctx context.Context, issue *types.Issue) error {\n // Generate hash ID if not provided\n if issue.ID == \"\" {\n issue.ID = idgen.GenerateHashID(\n issue.Title,\n issue.Description,\n time.Now(),\n s.workspaceID,\n )\n }\n \n // Assign next alias\n issue.Alias = s.getNextAlias()\n \n // Insert with hash ID + alias\n // ...\n}\n```\n\n## Workspace ID Generation\nAdd to database initialization:\n```go\n// Generate stable workspace ID (persisted in .beads/workspace_id)\nworkspaceID := getOrCreateWorkspaceID()\n```\n\nOptions for workspace ID:\n1. Hostname + random suffix\n2. UUID (random)\n3. Git remote URL hash (deterministic per repo)\n\nRecommended: Option 3 (git remote hash) for reproducibility\n\n## Hash Collision Detection\n```go\n// On insert, check for collision (unlikely but possible)\nexisting, err := s.GetIssue(ctx, issue.ID)\nif err == nil {\n // Hash collision! Add random suffix and retry\n issue.ID = issue.ID + \"-\" + randomSuffix(4)\n}\n```\n\n## Files to Create/Modify\n- internal/types/id_generator.go (new)\n- internal/storage/sqlite/sqlite.go (CreateIssue)\n- internal/storage/sqlite/workspace.go (new - workspace ID management)\n- .beads/workspace_id (new file, git-ignored)\n\n## Testing\n- Test hash ID generation is deterministic\n- Test collision detection and retry\n- Test workspace ID persistence\n- Benchmark: hash generation performance (\u003c1μs)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T21:24:29.412237-07:00","updated_at":"2025-10-31T12:32:32.610403-07:00","closed_at":"2025-10-31T12:32:32.610403-07:00","source_repo":".","dependencies":[{"issue_id":"bd-f8b764c9.9","depends_on_id":"bd-f8b764c9","type":"parent-child","created_at":"2025-10-29T21:24:29.413417-07:00","created_by":"stevey"},{"issue_id":"bd-f8b764c9.9","depends_on_id":"bd-f8b764c9.11","type":"blocks","created_at":"2025-10-29T21:24:29.413823-07:00","created_by":"stevey"}]} {"id":"bd-f9a1","content_hash":"97f9387b20f741a9f71ee43b0671b5d970bd594098db299dc871d0b3074c5384","title":"Add index usage verification test for external_ref lookups","description":"Currently we test that idx_issues_external_ref index exists, but we don't verify that it's actually being used by the query planner.\n\nProposed solution:\n- Add test using EXPLAIN QUERY PLAN\n- Verify that 'SEARCH TABLE issues USING INDEX idx_issues_external_ref' appears in plan\n- Ensures O(1) lookup performance is maintained\n\nRelated: bd-1022\nFiles: internal/storage/sqlite/external_ref_test.go:260","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-02T15:32:09.85419-08:00","updated_at":"2025-11-02T16:04:47.221064-08:00","closed_at":"2025-11-02T16:04:47.221064-08:00","source_repo":"."} -{"id":"bd-fasa","content_hash":"bc2c647cac7355a66fa4aefd116c82e01f536da4b4404e922b3307505413210f","title":"Prefix detection treats embedded hyphens as prefix delimiters","description":"The prefix detection logic in bd import incorrectly identifies issues like 'vc-baseline-test' and 'vc-92cl-gate-test' as having different prefixes ('vc-baseline-' and 'vc-92cl-gate-') instead of recognizing them as having the standard 'vc-' prefix with hyphenated suffixes.\n\nThis breaks import with error: 'prefix mismatch detected: database uses vc- but found issues with prefixes: [vc-92cl-gate- (1 issues) vc-baseline- (1 issues)]'\n\nThe prefix should be determined by the pattern: prefix is everything up to and including the first hyphen. The suffix can contain hyphens without being treated as part of the prefix.\n\nExample problematic IDs:\n- vc-baseline-test (detected as prefix: vc-baseline-)\n- vc-92cl-gate-test (detected as prefix: vc-92cl-gate-)\n- vc-test (correctly detected as prefix: vc-)\n\nImpact: Users cannot use descriptive multi-part IDs without triggering false prefix mismatch errors.","acceptance_criteria":"- Prefix detection only considers the first hyphen as prefix delimiter\n- IDs like 'vc-baseline-test' correctly identified as having prefix 'vc-'\n- Import succeeds without --rename-on-import for hyphenated suffixes\n- Tests added for multi-part ID suffix handling","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-09T14:27:19.046489-08:00","updated_at":"2025-11-09T14:53:53.22312-08:00","closed_at":"2025-11-09T14:53:53.22312-08:00","source_repo":"."} +{"id":"bd-fasa","content_hash":"668768c33b8abf8ec18295863bfad545b352e504736438ce87e4a630bb78d694","title":"Prefix detection treats embedded hyphens as prefix delimiters","description":"The prefix detection logic in bd import incorrectly identifies issues like 'vc-baseline-test' and 'vc-92cl-gate-test' as having different prefixes ('vc-baseline-' and 'vc-92cl-gate-') instead of recognizing them as having the standard 'vc-' prefix with hyphenated suffixes.\n\nThis breaks import with error: 'prefix mismatch detected: database uses vc- but found issues with prefixes: [vc-92cl-gate- (1 issues) vc-baseline- (1 issues)]'\n\nThe prefix should be determined by the pattern: prefix is everything up to and including the first hyphen. The suffix can contain hyphens without being treated as part of the prefix.\n\nExample problematic IDs:\n- vc-baseline-test (detected as prefix: vc-baseline-)\n- vc-92cl-gate-test (detected as prefix: vc-92cl-gate-)\n- vc-test (correctly detected as prefix: vc-)\n\nImpact: Users cannot use descriptive multi-part IDs without triggering false prefix mismatch errors.","acceptance_criteria":"- Prefix detection only considers the first hyphen as prefix delimiter\n- IDs like 'vc-baseline-test' correctly identified as having prefix 'vc-'\n- Import succeeds without --rename-on-import for hyphenated suffixes\n- Tests added for multi-part ID suffix handling","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-09T14:27:19.046489-08:00","updated_at":"2025-11-09T14:53:53.22312-08:00","closed_at":"2025-11-09T14:53:53.22312-08:00","source_repo":"."} {"id":"bd-fb05","content_hash":"1d99061e4ac1564982acc5e141674adf3bb7db789d546c12deb9108435af6450","title":"Refactor sqlite.go into focused modules","description":"Split sqlite.go (2,298 lines) into focused modules: migrations.go, ids.go, issues.go, events.go, dirty.go, db.go. This will improve maintainability and reduce cognitive load.","design":"Files to create:\n- migrations.go: Migration registry + runner\n- ids.go: ID generation/validation \n- issues.go: CRUD helpers\n- events.go: Event helpers\n- dirty.go: dirty_issues helpers\n- db.go: New/open, DSN construction\n- tx.go: Transaction helper","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-01T11:41:14.805895-07:00","updated_at":"2025-11-01T22:30:09.833675-07:00","closed_at":"2025-11-01T22:30:09.833675-07:00","source_repo":"."} -{"id":"bd-fb95094c","content_hash":"6ed1829c3120d5469de6ca758ca40322d78de477d67892a51a77aedb26fffa0c","title":"Code Health \u0026 Technical Debt Cleanup","description":"Comprehensive codebase cleanup to remove dead code, refactor monolithic files, deduplicate utilities, and improve maintainability. Based on ultrathink code health analysis conducted 2025-10-27.\n\nGoals:\n- Remove ~1,500 LOC of dead/unreachable code\n- Split 2 monolithic files (server.go 2,273 LOC, sqlite.go 2,136 LOC) into focused modules\n- Deduplicate scattered utility functions (normalizeLabels, BD_DEBUG checks)\n- Consolidate test coverage (2,019 LOC of collision tests)\n- Improve code navigation and reduce merge conflicts\n\nImpact: Reduces codebase by ~6-8%, improves maintainability, faster CI/CD\n\nEstimated Effort: 11 days across 4 phases","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-27T20:39:22.22227-07:00","updated_at":"2025-11-20T12:25:55.956705-05:00","closed_at":"2025-11-08T18:15:59.971899-08:00","source_repo":".","labels":["cleanup","epic"]} +{"id":"bd-fb95094c","content_hash":"6ed1829c3120d5469de6ca758ca40322d78de477d67892a51a77aedb26fffa0c","title":"Code Health \u0026 Technical Debt Cleanup","description":"Comprehensive codebase cleanup to remove dead code, refactor monolithic files, deduplicate utilities, and improve maintainability. Based on ultrathink code health analysis conducted 2025-10-27.\n\nGoals:\n- Remove ~1,500 LOC of dead/unreachable code\n- Split 2 monolithic files (server.go 2,273 LOC, sqlite.go 2,136 LOC) into focused modules\n- Deduplicate scattered utility functions (normalizeLabels, BD_DEBUG checks)\n- Consolidate test coverage (2,019 LOC of collision tests)\n- Improve code navigation and reduce merge conflicts\n\nImpact: Reduces codebase by ~6-8%, improves maintainability, faster CI/CD\n\nEstimated Effort: 11 days across 4 phases","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-27T20:39:22.22227-07:00","updated_at":"2025-11-20T19:27:34.448737-05:00","closed_at":"2025-11-08T18:15:59.971899-08:00","source_repo":".","labels":["cleanup","epic"]} {"id":"bd-fb95094c.1","content_hash":"8f7533da448dea49a01aa747892eab9f855127343ced4fbd6e17cb80d56419af","title":"Run final validation and cleanup checks","description":"Final validation pass to ensure all cleanup objectives met and no regressions introduced.\n\nValidation checklist:\n1. Dead code verification: `go run golang.org/x/tools/cmd/deadcode@latest -test ./...`\n2. Test coverage: `go test -cover ./...`\n3. Build verification: `go build ./cmd/bd/`\n4. Linting: `golangci-lint run`\n5. Integration tests\n6. Metrics verification\n7. Git clean check\n\nFinal metrics to report:\n- LOC removed: ~____\n- Files deleted: ____\n- Files created: ____\n- Test coverage: ____%\n- Build time: ____ (before/after)\n- Test run time: ____ (before/after)\n\nImpact: Confirms all cleanup objectives achieved successfully","acceptance_criteria":"- Zero unreachable functions per deadcode analyzer\n- All tests pass: `go test ./...`\n- Test coverage maintained or improved\n- Builds cleanly: `go build ./...`\n- Linting shows improvements\n- Integration tests all pass\n- LOC reduction target achieved (~2,500 LOC)\n- No unintended behavior changes\n- Git commit messages document all changes","notes":"Validation completed:\n- LOC: 52,372 lines total\n- Dead code: 4 functions in import_shared.go (tracked in bd-6fe4622f)\n- Build: ✓ Successful\n- Test coverage: ~20-82% across packages\n- Test failure: TestTwoCloneCollision (timeout issue)\n- Linting: errcheck warnings present (defer close, fmt errors)\n- Test time: ~20s\n\nIssues found:\n1. bd-6fe4622f: Remove unreachable import functions (renameImportedIssuePrefixes, etc)\n2. TestTwoCloneCollision: Daemon killall timeout causing test failure\n3. Linting: errcheck violations need fixing","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-27T20:32:00.14166-07:00","updated_at":"2025-10-30T17:12:58.209988-07:00","closed_at":"2025-10-28T14:11:25.218801-07:00","source_repo":".","labels":["phase-4","validation"],"dependencies":[{"issue_id":"bd-fb95094c.1","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:32:00.144113-07:00","created_by":"daemon"}]} -{"id":"bd-fb95094c.10","content_hash":"61c66c65457e40c96e8d4192ae8f18c8145a516ef81f656f0535a4418d2dfeb5","title":"Consider central serialization package for JSON handling","description":"Multiple parts of the codebase handle JSON serialization of issues with slightly different approaches. Consider creating a centralized serialization package to ensure consistency.\n\nCurrent serialization locations:\n- `cmd/bd/export.go` - JSONL export (issues to file)\n- `cmd/bd/import.go` - JSONL import (file to issues)\n- `internal/rpc/protocol.go` - RPC JSON marshaling\n- `internal/storage/memory/memory.go` - In-memory marshaling\n\nPotential benefits:\n- Single source of truth for JSON format\n- Consistent field naming\n- Easier to add new fields\n- Centralized validation\n\nNote: This is marked **optional** because:\n- Current serialization mostly works\n- May not provide enough benefit to justify refactor\n- Risk of breaking compatibility\n\nDecision point: Evaluate if benefits outweigh refactoring cost\n\nImpact: TBD based on investigation - may defer to future work","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-27T20:31:19.090608-07:00","updated_at":"2025-11-20T12:25:55.958673-05:00","closed_at":"2025-11-08T18:15:54.319047-08:00","source_repo":".","labels":["deduplication","optional","phase-3","refactor","serialization"],"dependencies":[{"issue_id":"bd-fb95094c.10","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:31:19.092328-07:00","created_by":"daemon"}]} +{"id":"bd-fb95094c.10","content_hash":"61c66c65457e40c96e8d4192ae8f18c8145a516ef81f656f0535a4418d2dfeb5","title":"Consider central serialization package for JSON handling","description":"Multiple parts of the codebase handle JSON serialization of issues with slightly different approaches. Consider creating a centralized serialization package to ensure consistency.\n\nCurrent serialization locations:\n- `cmd/bd/export.go` - JSONL export (issues to file)\n- `cmd/bd/import.go` - JSONL import (file to issues)\n- `internal/rpc/protocol.go` - RPC JSON marshaling\n- `internal/storage/memory/memory.go` - In-memory marshaling\n\nPotential benefits:\n- Single source of truth for JSON format\n- Consistent field naming\n- Easier to add new fields\n- Centralized validation\n\nNote: This is marked **optional** because:\n- Current serialization mostly works\n- May not provide enough benefit to justify refactor\n- Risk of breaking compatibility\n\nDecision point: Evaluate if benefits outweigh refactoring cost\n\nImpact: TBD based on investigation - may defer to future work","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-27T20:31:19.090608-07:00","updated_at":"2025-11-20T19:27:34.449-05:00","closed_at":"2025-11-08T18:15:54.319047-08:00","source_repo":".","labels":["deduplication","optional","phase-3","refactor","serialization"],"dependencies":[{"issue_id":"bd-fb95094c.10","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:31:19.092328-07:00","created_by":"daemon"}]} {"id":"bd-fb95094c.2","content_hash":"685c91a6de8e1610feb5dbda18412f3eee178a37064d9ddf55511fb693dec9ba","title":"Delete skipped tests for \"old buggy behavior\"","description":"Three test functions are permanently skipped with comments indicating they test behavior that was fixed in GH#120. These tests will never run again and should be deleted.\n\nTest functions to remove:\n\n1. `cmd/bd/import_collision_test.go:228`\n ```go\n t.Skip(\"Test expects old buggy behavior - needs rewrite for GH#120 fix\")\n ```\n\n2. `cmd/bd/import_collision_test.go:505`\n ```go\n t.Skip(\"Test expects old buggy behavior - needs rewrite for GH#120 fix\")\n ```\n\n3. `internal/storage/sqlite/collision_test.go:919`\n ```go\n t.Skip(\"Test expects old buggy behavior - needs rewrite for GH#120 fix\")\n ```\n\nImpact: Removes ~150 LOC of permanently skipped tests","acceptance_criteria":"- Delete the 3 test functions entirely (~150 LOC total)\n- Update test file comments to reference GH#120 fix if needed\n- All remaining tests pass: `go test ./...`\n- No reduction in meaningful test coverage (these test fixed bugs)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-27T20:30:19.961185-07:00","updated_at":"2025-10-30T17:12:58.196387-07:00","closed_at":"2025-10-28T14:09:21.642632-07:00","source_repo":".","labels":["cleanup","dead-code","phase-1","test-cleanup"],"dependencies":[{"issue_id":"bd-fb95094c.2","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:30:19.962815-07:00","created_by":"daemon"}]} -{"id":"bd-fb95094c.3","content_hash":"8288e825cb58ac818cc18c0b6a06addd1621a458d68431e4b1747953493f2cad","title":"Update documentation after code health cleanup","description":"Update all documentation to reflect code structure changes after cleanup phases complete.\n\nDocumentation to update:\n1. **AGENTS.md** - Update file structure references\n2. **CONTRIBUTING.md** (if exists) - Update build/test instructions\n3. **Code comments** - Update any outdated references\n4. **Package documentation** - Update godoc for reorganized packages\n\nNew documentation to add:\n1. **internal/util/README.md** - Document shared utilities\n2. **internal/debug/README.md** - Document debug logging\n3. **internal/rpc/README.md** - Document new file organization\n4. **internal/storage/sqlite/migrations/README.md** - Migration system docs\n\nImpact: Keeps documentation in sync with code","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:32:00.141028-07:00","updated_at":"2025-11-20T12:25:55.958206-05:00","closed_at":"2025-11-08T18:15:48.644285-08:00","source_repo":".","labels":["documentation","phase-4"],"dependencies":[{"issue_id":"bd-fb95094c.3","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:32:00.1423-07:00","created_by":"daemon"}]} -{"id":"bd-fb95094c.4","content_hash":"e4ce4e814325dad9a93c2a090e30a04d62033e51ec45f0aba471bcd6bb420305","title":"Audit and consolidate collision test coverage","description":"The codebase has 2,019 LOC of collision detection tests across 3 files. Run coverage analysis to identify redundant test cases and consolidate.\n\nTest files:\n- `cmd/bd/import_collision_test.go` - 974 LOC\n- `cmd/bd/autoimport_collision_test.go` - 750 LOC\n- `cmd/bd/import_collision_regression_test.go` - 295 LOC\n\nTotal: 2,019 LOC of collision tests\n\nAnalysis steps:\n1. Run coverage analysis\n2. Identify redundant tests\n3. Document findings\n\nConsolidation strategy:\n- Keep regression tests for critical bugs\n- Merge overlapping table-driven tests\n- Remove redundant edge case tests covered elsewhere\n- Ensure all collision scenarios still tested\n\nExpected outcome: Reduce to ~1,200 LOC (save ~800 lines) while maintaining coverage\n\nImpact: Faster test runs, easier maintenance, clearer test intent","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:32:00.130855-07:00","updated_at":"2025-11-20T12:25:55.957439-05:00","closed_at":"2025-11-07T23:27:41.970013-08:00","source_repo":".","labels":["phase-4","test-cleanup"],"dependencies":[{"issue_id":"bd-fb95094c.4","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:32:00.132251-07:00","created_by":"daemon"}]} +{"id":"bd-fb95094c.3","content_hash":"8288e825cb58ac818cc18c0b6a06addd1621a458d68431e4b1747953493f2cad","title":"Update documentation after code health cleanup","description":"Update all documentation to reflect code structure changes after cleanup phases complete.\n\nDocumentation to update:\n1. **AGENTS.md** - Update file structure references\n2. **CONTRIBUTING.md** (if exists) - Update build/test instructions\n3. **Code comments** - Update any outdated references\n4. **Package documentation** - Update godoc for reorganized packages\n\nNew documentation to add:\n1. **internal/util/README.md** - Document shared utilities\n2. **internal/debug/README.md** - Document debug logging\n3. **internal/rpc/README.md** - Document new file organization\n4. **internal/storage/sqlite/migrations/README.md** - Migration system docs\n\nImpact: Keeps documentation in sync with code","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:32:00.141028-07:00","updated_at":"2025-11-20T19:27:34.449298-05:00","closed_at":"2025-11-08T18:15:48.644285-08:00","source_repo":".","labels":["documentation","phase-4"],"dependencies":[{"issue_id":"bd-fb95094c.3","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:32:00.1423-07:00","created_by":"daemon"}]} +{"id":"bd-fb95094c.4","content_hash":"e4ce4e814325dad9a93c2a090e30a04d62033e51ec45f0aba471bcd6bb420305","title":"Audit and consolidate collision test coverage","description":"The codebase has 2,019 LOC of collision detection tests across 3 files. Run coverage analysis to identify redundant test cases and consolidate.\n\nTest files:\n- `cmd/bd/import_collision_test.go` - 974 LOC\n- `cmd/bd/autoimport_collision_test.go` - 750 LOC\n- `cmd/bd/import_collision_regression_test.go` - 295 LOC\n\nTotal: 2,019 LOC of collision tests\n\nAnalysis steps:\n1. Run coverage analysis\n2. Identify redundant tests\n3. Document findings\n\nConsolidation strategy:\n- Keep regression tests for critical bugs\n- Merge overlapping table-driven tests\n- Remove redundant edge case tests covered elsewhere\n- Ensure all collision scenarios still tested\n\nExpected outcome: Reduce to ~1,200 LOC (save ~800 lines) while maintaining coverage\n\nImpact: Faster test runs, easier maintenance, clearer test intent","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:32:00.130855-07:00","updated_at":"2025-11-20T19:27:34.449565-05:00","closed_at":"2025-11-07T23:27:41.970013-08:00","source_repo":".","labels":["phase-4","test-cleanup"],"dependencies":[{"issue_id":"bd-fb95094c.4","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:32:00.132251-07:00","created_by":"daemon"}]} {"id":"bd-fb95094c.5","content_hash":"11521fe159f640e2cefd3d138fbbbc3b8d2b4fda48c6542f39761d5a124d6154","title":"Centralize BD_DEBUG logging into debug package","description":"The codebase has 43 scattered instances of `if os.Getenv(\"BD_DEBUG\") != \"\"` debug checks across 6 files. Centralize into a debug logging package.\n\nCurrent locations:\n- `cmd/bd/main.go` - 15 checks\n- `cmd/bd/autoflush.go` - 6 checks\n- `cmd/bd/nodb.go` - 4 checks\n- `internal/rpc/server.go` - 2 checks\n- `internal/rpc/client.go` - 5 checks\n- `cmd/bd/daemon_autostart.go` - 11 checks\n\nTarget structure:\n```\ninternal/debug/\n└── debug.go\n```\n\nBenefits:\n- Centralized debug logging\n- Easier to add structured logging later\n- Testable (can mock debug output)\n- Consistent debug message format\n\nImpact: Removes 43 scattered checks, improves code clarity","acceptance_criteria":"- Create `internal/debug/debug.go` with `Enabled`, `Logf`, `Printf`\n- Add unit tests in `internal/debug/debug_test.go` (test with/without BD_DEBUG)\n- Replace all 43 instances of `os.Getenv(\"BD_DEBUG\")` checks with `debug.Logf()`\n- Verify debug output works: run with `BD_DEBUG=1 bd status`\n- All tests pass: `go test ./...`\n- No behavior change (output identical to before)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:31:19.089078-07:00","updated_at":"2025-11-07T00:28:01.781121-08:00","closed_at":"2025-11-06T20:13:09.412212-08:00","source_repo":".","labels":["deduplication","logging","phase-3","refactor"],"dependencies":[{"issue_id":"bd-fb95094c.5","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T21:48:41.542395-07:00","created_by":"stevey"}]} {"id":"bd-fb95094c.6","content_hash":"a8fe5793d281df23eb2a4856cbc4fa3fecc0a12762e75f7b80601af7d76d06da","title":"Extract normalizeLabels to shared utility package","description":"The `normalizeLabels` function appears in multiple locations with identical implementation. Extract to a shared utility package.\n\nCurrent locations:\n- `internal/rpc/server.go:37` (53 lines) - full implementation\n- `cmd/bd/list.go:50-52` - uses the server version (needs to use new shared version)\n\nFunction purpose:\n- Trims whitespace from labels\n- Removes empty strings\n- Deduplicates labels\n- Preserves order\n\nTarget structure:\n```\ninternal/util/\n├── strings.go # String utilities\n └── NormalizeLabels([]string) []string\n```\n\nImpact: DRY principle, single source of truth, easier to test","acceptance_criteria":"- Create `internal/util/strings.go` with `NormalizeLabels`\n- Add comprehensive unit tests in `internal/util/strings_test.go`\n- Update `internal/rpc/server.go` to import and use `util.NormalizeLabels`\n- Update `cmd/bd/list.go` to import and use `util.NormalizeLabels`\n- Remove duplicate implementations\n- All tests pass: `go test ./...`\n- Verify label normalization works: test `bd list --label` commands","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:31:19.078622-07:00","updated_at":"2025-11-06T20:06:49.219555-08:00","closed_at":"2025-11-06T19:58:59.467567-08:00","source_repo":".","labels":["deduplication","phase-3","refactor"],"dependencies":[{"issue_id":"bd-fb95094c.6","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:31:19.08015-07:00","created_by":"daemon"}]} {"id":"bd-fb95094c.7","content_hash":"6b0e7ce36c1680778cf79aaa9881688001818f2e2081f8c8a240fa0257f08e10","title":"Extract SQLite migrations into separate files","description":"The file `internal/storage/sqlite/sqlite.go` is 2,136 lines and contains 11 sequential migrations alongside core storage logic. Extract migrations into a versioned system.\n\nCurrent issues:\n- 11 migration functions mixed with core logic\n- Hard to see migration history\n- Sequential migrations slow database open\n- No clear migration versioning\n\nMigration functions to extract:\n- `migrateDirtyIssuesTable()`\n- `migrateIssueCountersTable()`\n- `migrateExternalRefColumn()`\n- `migrateCompositeIndexes()`\n- `migrateClosedAtConstraint()`\n- `migrateCompactionColumns()`\n- `migrateSnapshotsTable()`\n- `migrateCompactionConfig()`\n- `migrateCompactedAtCommitColumn()`\n- `migrateExportHashesTable()`\n- Plus 1 more (11 total)\n\nTarget structure:\n```\ninternal/storage/sqlite/\n├── sqlite.go # Core storage (~800 lines)\n├── schema.go # Table definitions (~200 lines)\n├── migrations.go # Migration orchestration (~200 lines)\n└── migrations/ # Individual migrations\n ├── 001_initial_schema.go\n ├── 002_dirty_issues.go\n ├── 003_issue_counters.go\n [... through 011_export_hashes.go]\n```\n\nBenefits:\n- Clear migration history\n- Each migration self-contained\n- Easier to review migration changes in PRs\n- Future migrations easier to add","acceptance_criteria":"- All 11 migrations extracted to separate files\n- Migration version tracking in database\n- Migrations run in order on fresh database\n- Existing databases upgrade correctly\n- All tests pass: `go test ./internal/storage/sqlite/...`\n- Database initialization time unchanged or improved\n- Add migration rollback capability (optional, nice-to-have)","status":"closed","priority":2,"issue_type":"task","assignee":"amp","created_at":"2025-10-27T20:30:47.870671-07:00","updated_at":"2025-11-06T20:05:05.01308-08:00","closed_at":"2025-11-06T20:05:05.01308-08:00","source_repo":".","labels":["database","phase-2","refactor"],"dependencies":[{"issue_id":"bd-fb95094c.7","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:30:47.875564-07:00","created_by":"daemon"}]} +{"id":"bd-fb95094c.8","content_hash":"8a8df680150f73fef6ac9cede6a1b2b0033406b35553a8a3795b13a542cd62f1","title":"Remove unreachable utility functions","description":"Several small utility functions are unreachable:\n\nFiles to clean:\n1. `internal/storage/sqlite/hash.go` - `computeIssueContentHash` (line 17)\n - Check if entire file can be deleted if only contains this function\n\n2. `internal/config/config.go` - `FileUsed` (line 151)\n - Delete unused config helper\n\n3. `cmd/bd/git_sync_test.go` - `verifyIssueOpen` (line 300)\n - Delete dead test helper\n\n4. `internal/compact/haiku.go` - `HaikuClient.SummarizeTier2` (line 81)\n - Tier 2 summarization not implemented\n - Options: implement feature OR delete method\n\nImpact: Removes 50-100 LOC depending on decisions","acceptance_criteria":"- Remove unreachable functions\n- If entire files can be deleted (like hash.go), delete them\n- For SummarizeTier2: decide to implement or delete, document decision\n- All tests pass: `go test ./...`\n- Verify no callers exist for each function","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-20T19:00:15.572097-05:00","updated_at":"2025-11-20T19:00:15.572097-05:00","closed_at":"2025-11-07T10:55:55.982696-08:00","source_repo":".","labels":["cleanup","dead-code","phase-1"],"dependencies":[{"issue_id":"bd-fb95094c.8","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:30:19.968126-07:00","created_by":"daemon"}]} +{"id":"bd-fb95094c.9","content_hash":"404b82a19dde2fdece7eb6bb3b816db7906e81a03a5a05341ed631af7a2a8e87","title":"Remove unreachable RPC methods","description":"Several RPC server and client methods are unreachable and should be removed:\n\nServer methods (internal/rpc/server.go):\n- `Server.GetLastImportTime` (line 2116)\n- `Server.SetLastImportTime` (line 2123)\n- `Server.findJSONLPath` (line 2255)\n\nClient methods (internal/rpc/client.go):\n- `Client.Import` (line 311) - RPC import not used (daemon uses autoimport)\n\nEvidence:\n```bash\ngo run golang.org/x/tools/cmd/deadcode@latest -test ./...\n```\n\nImpact: Removes ~80 LOC of unused RPC code","acceptance_criteria":"- Remove the 4 unreachable methods (~80 LOC total)\n- Verify no callers: `grep -r \"GetLastImportTime\\|SetLastImportTime\\|findJSONLPath\" .`\n- All tests pass: `go test ./internal/rpc/...`\n- Daemon functionality works: test daemon start/stop/operations","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-20T19:00:15.572691-05:00","updated_at":"2025-11-20T19:00:15.572691-05:00","closed_at":"2025-11-07T10:55:55.984293-08:00","source_repo":".","labels":["cleanup","dead-code","phase-1","rpc"],"dependencies":[{"issue_id":"bd-fb95094c.9","depends_on_id":"bd-fb95094c","type":"parent-child","created_at":"2025-10-27T20:30:19.965239-07:00","created_by":"daemon"}]} {"id":"bd-fc2d","content_hash":"02e7f133acdef2eb52454fe9f5275575e3c237cdf665e57601c1cd09790106d7","title":"Refactor sqlite.go (2298 lines)","description":"Break down internal/storage/sqlite/sqlite.go into smaller, more focused modules. The file is currently 2298 lines and should be split into logical components.","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-01T19:28:40.899111-07:00","updated_at":"2025-11-01T22:21:01.729379-07:00","closed_at":"2025-11-01T22:21:01.729379-07:00","source_repo":"."} {"id":"bd-fd56","content_hash":"50437cea170f5b8a962661711d2ba639f9c7d1494a55115408afe3cbc9bebc86","title":"Wrap git operations in GitClient interface","description":"Create internal/daemonrunner/git.go with GitClient interface (HasUpstream, HasChanges, Commit, Push, Pull). Default implementation using os/exec. Use in Syncer and Run loop for testability.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T11:41:14.88734-07:00","updated_at":"2025-11-02T12:32:00.159595-08:00","closed_at":"2025-11-02T12:32:00.159597-08:00","source_repo":"."} {"id":"bd-fd8753d9","content_hash":"faea57d583689933e7a173d18595095125b5fd79689cbb3c41039608ba4b335b","title":"Document bd edit command and verify MCP exclusion","description":"Follow-up from PR #152:\n1. Add \"bd edit\" to AGENTS.md with \"Humans only\" note\n2. Verify MCP server doesn't expose bd edit command\n3. Consider adding test for command registration","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-26T13:23:47.982295-07:00","updated_at":"2025-11-06T20:06:49.219828-08:00","closed_at":"2025-11-06T19:41:08.675575-08:00","source_repo":"."} @@ -2881,9 +2870,9 @@ {"id":"bd-fme8","content_hash":"4f59ed7c49b3375b9584f2f629b5fe5a3c1a5cff08ac7b778b291bc369b7ef98","title":"Fix CI failures (Coverage, Windows, Nix)","description":"CI is failing, apparently on files not touched in the PRs - #327 , #305 .\n\nDiagnosis summary:\n1. Coverage gate in .github/workflows/ci.yml fails if total statements \u003c50%; current PR run shows 46.9%.\n2. The new hook plumbing in TestInstallHooks() asserts POSIX executable bits, which fails on Windows.\n3. SQLite resurrection tests keep connections open, preventing TempDir cleanup on Windows.\n4. The nix run step launches bd without creating .beads, causing failure.\n","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-20T18:55:34.257906-05:00","updated_at":"2025-11-20T19:04:42.221262-05:00","closed_at":"2025-11-20T19:04:42.221262-05:00","source_repo":"."} {"id":"bd-fsb1","content_hash":"a519fdd6d0ca6f70a177c2cb9441994b28d4bc2fe51a663532d4067caf126049","title":"Test issue","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T11:21:51.383077-08:00","updated_at":"2025-11-05T11:21:56.888913-08:00","closed_at":"2025-11-05T11:21:56.888913-08:00","source_repo":".","labels":["test","urgent"]} {"id":"bd-fzbg","content_hash":"4bf5f57a0a66a94d76882e337c25d49e807ec79257a0aeb636fb81d963493860","title":"Update python-agent example with Agent Mail integration","description":"Modify examples/python-agent/agent.py to use Agent Mail adapter at 4 integration points.\n\nAcceptance Criteria:\n- Import and initialize adapter\n- Check inbox before find_ready_work()\n- Reserve issue before claim_task()\n- Notify on status changes\n- Release reservation on complete_task()\n- Works identically when Agent Mail disabled\n- No changes required to core Beads CLI\n\nFile: examples/python-agent/agent.py","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-07T22:42:28.661337-08:00","updated_at":"2025-11-08T01:51:40.350671-08:00","closed_at":"2025-11-08T00:20:35.213902-08:00","source_repo":".","dependencies":[{"issue_id":"bd-fzbg","depends_on_id":"bd-m9th","type":"blocks","created_at":"2025-11-07T23:04:01.315332-08:00","created_by":"daemon"}]} -{"id":"bd-g3ey","content_hash":"e59ecb28d0ceade96c076688de71f5d0022a9b0c0676f3abb1e4e06d90f8f559","title":"bd sync --import-only doesn't update DB mtime causing bd doctor false warning","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T15:18:16.761052+01:00","updated_at":"2025-11-08T13:12:01.718252-08:00","closed_at":"2025-11-08T13:12:01.718252-08:00","source_repo":"."} -{"id":"bd-g5p7","content_hash":"0c38e8846e9fabd6660713b805e3ce08c521738c3732556b8398e7431615221d","title":"Extract duplicated validation logic from CLI commands","description":"~150 lines of identical validation logic duplicated between cmd_create.go and cmd_update.go\n\nDuplication found:\n- validateBeadFields(): 2 identical copies (50+ lines each) \n- parseTimeWithDefault(): 2 identical copies (30 lines each)\n- Flag definitions: 15+ duplicate registrations\n\nSolution: Extract to shared packages:\n- internal/validation/bead.go - Centralized validation\n- internal/utils/time.go - Consolidate time parsing (already exists)\n- cmd/bd/flags.go - Shared flag registration\n\nImpact: Changes require touching 2+ files; high risk of inconsistency; steep learning curve\n\nEffort: 4-6 hours","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-16T14:51:10.159953-08:00","updated_at":"2025-11-20T19:09:26.721215-05:00","closed_at":"2025-11-20T19:09:26.721215-05:00","source_repo":"."} -{"id":"bd-g9eu","content_hash":"79fe2f96d06e3f0750b55f323bc104b02de6ab8a745e0bd36cf3425e125af89c","title":"Investigate TestRoutingIntegration failure","description":"TestRoutingIntegration/maintainer_with_SSH_remote failed during pre-commit check with \"expected role maintainer, got contributor\".\nThis occurred while running `go test -short ./...` on darwin/arm64.\nThe failure appears unrelated to storage/sqlite changes.\nNeed to investigate if this is a flaky test or environmental issue.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-20T15:55:19.337094-08:00","updated_at":"2025-11-20T19:22:24.28502-05:00","closed_at":"2025-11-20T19:22:24.28502-05:00","source_repo":"."} +{"id":"bd-g3ey","content_hash":"3697da150785d4c99e125485efcf50dad02ccf01f93d3cc1a2944f652048f7ae","title":"bd sync --import-only doesn't update DB mtime causing bd doctor false warning","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T15:18:16.761052+01:00","updated_at":"2025-11-08T13:12:01.718252-08:00","closed_at":"2025-11-08T13:12:01.718252-08:00","source_repo":"."} +{"id":"bd-g5p7","content_hash":"6ef3578afcab8a96c6018ec27f64d36df05b32fe867ad50b5309cdefe6b7f486","title":"Extract duplicated validation logic from CLI commands","description":"~150 lines of identical validation logic duplicated between cmd_create.go and cmd_update.go\n\nDuplication found:\n- validateBeadFields(): 2 identical copies (50+ lines each) \n- parseTimeWithDefault(): 2 identical copies (30 lines each)\n- Flag definitions: 15+ duplicate registrations\n\nSolution: Extract to shared packages:\n- internal/validation/bead.go - Centralized validation\n- internal/utils/time.go - Consolidate time parsing (already exists)\n- cmd/bd/flags.go - Shared flag registration\n\nImpact: Changes require touching 2+ files; high risk of inconsistency; steep learning curve\n\nEffort: 4-6 hours","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-16T14:51:10.159953-08:00","updated_at":"2025-11-20T19:27:34.449829-05:00","closed_at":"2025-11-20T19:09:26.721215-05:00","source_repo":"."} +{"id":"bd-g9eu","content_hash":"4c5542fdd6422092607cca0f8d5f82a41bd366c348a97a604299d6dc75970b3a","title":"Investigate TestRoutingIntegration failure","description":"TestRoutingIntegration/maintainer_with_SSH_remote failed during pre-commit check with \"expected role maintainer, got contributor\".\nThis occurred while running `go test -short ./...` on darwin/arm64.\nThe failure appears unrelated to storage/sqlite changes.\nNeed to investigate if this is a flaky test or environmental issue.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-20T15:55:19.337094-08:00","updated_at":"2025-11-20T19:22:24.28502-05:00","closed_at":"2025-11-20T19:22:24.28502-05:00","source_repo":"."} {"id":"bd-gart","content_hash":"c4b3d68ec7d85a26e9c23ef529e4479b4741eade511d17f8f3602d412b0b3f0a","title":"Debug test 2","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-08T00:04:35.317835-08:00","updated_at":"2025-11-08T00:06:46.18875-08:00","closed_at":"2025-11-08T00:06:46.18875-08:00","source_repo":"."} {"id":"bd-gdzd","content_hash":"54a68b8b4c63fd88b33dbf8239de070a3c95f97d4a0aa5f64e694ff1384199b3","title":"Import fails on same-content-different-ID instead of treating as update","description":"## Problem\n\nThe importer still has rename detection (importer.go:482-500) that triggers when same content hash has different IDs. With hash IDs, this shouldn't happen, but when it does (test data, bugs, legacy data), the import fails:\n\n```\nfailed to handle rename bd-ce75 -\u003e bd-5a90: rename collision handling removed - should not occur with hash IDs\n```\n\n## Current Behavior\n\n1. Importer finds same content hash with different IDs\n2. Calls handleRename() (line 490)\n3. handleRename() errors out (line 294): \"rename collision handling removed\"\n4. Import fails\n\n## Expected Behavior\n\nSame content hash + different IDs should be treated as an **update**, not a rename:\n- Keep existing ID (already in database)\n- Update fields if incoming has newer timestamp\n- Discard incoming ID (it's wrong - hash should have generated same ID)\n\n## Impact\n\n- Import fails on legitimate edge cases (test data, data corruption)\n- Cryptic error message\n- Blocks sync operations\n\n## Fix\n\nIn handleRename() or import loop, instead of erroring:\n```go\n// Same content, different ID - treat as update\nif incoming.UpdatedAt.After(existing.UpdatedAt) {\n existing.Status = incoming.Status\n // ... copy other fields\n s.UpdateIssue(ctx, existing)\n}\nresult.Updated++\n```\n\n## Files\n- internal/importer/importer.go:271-294 (handleRename)\n- internal/importer/importer.go:482-500 (rename detection)\n\n## Repro\nImport JSONL with bd-ce75 and bd-5a90 (both \"Test parent issue\" but different content hashes).","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-05T00:27:51.150233-08:00","updated_at":"2025-11-05T01:02:54.469971-08:00","closed_at":"2025-11-05T01:02:54.469979-08:00","source_repo":"."} {"id":"bd-ggbc","content_hash":"bfb238f72474f25fcf132603ae45e6c97c7c1e60ad865062bff75f32f54a9135","title":"Update documentation for merge driver auto-config","description":"Update documentation to reflect the new merge driver auto-configuration during `bd init`.\n\n**Files to update:**\n- README.md - Mention merge driver setup in initialization section\n- AGENTS.md - Update onboarding section about merge driver\n- Possibly QUICKSTART.md\n\n**Content:**\n- Explain what the merge driver does\n- Show --skip-merge-driver flag usage\n- Manual installation steps for post-init setup","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T19:27:04.155662-08:00","updated_at":"2025-11-05T19:29:55.188122-08:00","closed_at":"2025-11-05T19:29:55.188122-08:00","source_repo":".","dependencies":[{"issue_id":"bd-ggbc","depends_on_id":"bd-32nm","type":"discovered-from","created_at":"2025-11-05T19:27:04.156491-08:00","created_by":"daemon"}]} @@ -2903,15 +2892,16 @@ {"id":"bd-irq6","content_hash":"67746afe139a143851078f4240fa40379c7b7d8559c906bca56acb2cdab537cc","title":"Remove unused global daemon infrastructure (internal/daemonrunner/)","description":"The internal/daemonrunner/ package (1,468 LOC) contains the old global daemon implementation that is no longer used. We now use per-workspace daemons.\n\nDeadcode analysis shows all these functions are unreachable:\n- Daemon.Start, runGlobalDaemon, setupLock\n- validateSingleDatabase, validateSchemaVersion\n- registerDaemon, unregisterDaemon\n- validateDatabaseFingerprint\n- Full git client implementation (NewGitClient, HasUpstream, HasChanges, Commit, Push, Pull)\n- Helper functions: isGitRepo, gitHasUpstream, gitHasChanges, gitCommit\n\nThe entire package appears unused since switching to per-workspace daemon architecture.\n\nFiles to remove:\n- daemon.go (9,436 bytes)\n- git.go (3,510 bytes) \n- sync.go (6,401 bytes)\n- fingerprint.go (2,076 bytes)\n- process.go (3,332 bytes)\n- rpc.go (994 bytes)\n- config.go (486 bytes)\n- logger.go (1,579 bytes)\n- flock_*.go (platform-specific file locking)\n- signals_*.go (platform-specific signal handling)\n- All test files\n\nTotal cleanup: ~1,500 LOC","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-06T19:30:50.936943-08:00","updated_at":"2025-11-06T19:35:10.646498-08:00","closed_at":"2025-11-06T19:35:10.646498-08:00","source_repo":"."} {"id":"bd-it3x","content_hash":"f31a3aae4297794bd42d7a8a8688ab5cdb4fa6c70f0ed88ffa93be93d76a2128","title":"Issue with labels","description":"","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-07T19:07:18.388873-08:00","updated_at":"2025-11-07T22:07:17.346541-08:00","closed_at":"2025-11-07T21:55:09.429989-08:00","source_repo":".","labels":["backend","urgent"]} {"id":"bd-iye7","content_hash":"1554b026ccacde081eb05d3889943d95ae9c75a21d3f06c346c57cbe2391dc46","title":"Add path normalization to getMultiRepoJSONLPaths()","description":"From bd-xo6b code review: getMultiRepoJSONLPaths() does not handle non-standard paths correctly.\n\nProblems:\n- No tilde expansion: ~/repos/foo treated as literal path\n- No absolute path conversion: ../other-repo breaks if working directory changes\n- No duplicate detection: If Primary=. and Additional=[.], same JSONL processed twice\n- No empty string handling: Empty paths create invalid /.beads/issues.jsonl\n\nImpact:\nConfig with tilde or relative paths will fail\n\nFix needed:\n1. Use filepath.Abs() for all paths\n2. Add tilde expansion via os.UserHomeDir()\n3. Deduplicate paths (use map to track seen paths)\n4. Filter out empty strings\n5. Validate paths exist and are readable\n\nFiles:\n- cmd/bd/deletion_tracking.go:333-358 (getMultiRepoJSONLPaths function)","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-06T19:31:51.882743-08:00","updated_at":"2025-11-06T19:35:41.246311-08:00","closed_at":"2025-11-06T19:35:41.246311-08:00","source_repo":".","dependencies":[{"issue_id":"bd-iye7","depends_on_id":"bd-xo6b","type":"discovered-from","created_at":"2025-11-06T19:32:12.267906-08:00","created_by":"daemon"}]} +{"id":"bd-j3zt","content_hash":"531ad51101f41375a93d66b8d22105ce7c4913261db78b662bb759e802bc01e2","title":"Fix mypy errors in beads-mcp","description":"Running `mypy .` in `integrations/beads-mcp` reports 287 errors. These should be addressed to improve type safety and code quality.","status":"open","priority":3,"issue_type":"task","created_at":"2025-11-20T18:53:28.557708-05:00","updated_at":"2025-11-20T18:53:28.557708-05:00","source_repo":"."} {"id":"bd-j7e2","content_hash":"aeb3aec5ebb3b7554949f7161f58408c445983c993aaa5b31e4df93b083cf19c","title":"RPC diagnostics: BD_RPC_DEBUG timing logs","description":"Add lightweight diagnostic logging for RPC connection attempts:\n- BD_RPC_DEBUG=1 prints to stderr:\n - Socket path being dialed\n - Socket exists check result \n - Dial start/stop time\n - Connection outcome\n- Improve bd daemon --status messaging when lock not held\n\nThis helps field triage of connection issues without verbose daemon logs.","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-07T16:42:12.772364-08:00","updated_at":"2025-11-07T22:07:17.346817-08:00","closed_at":"2025-11-07T21:29:32.243458-08:00","source_repo":".","dependencies":[{"issue_id":"bd-j7e2","depends_on_id":"bd-ndyz","type":"discovered-from","created_at":"2025-11-07T16:42:12.773714-08:00","created_by":"daemon"}]} -{"id":"bd-jijf","content_hash":"9ecadb3d67b00337d8822ace5378edfe9b3baaa4e64a9e7edc5a2b43d82d9caf","title":"Fix: --parent flag doesn't create parent-child dependency","description":"When using `bd create --parent \u003cid\u003e`, the code generates a hierarchical child ID (e.g., bd-123.1) but never creates a parent-child dependency. This causes `bd epic status` to show zero children even though child issues exist.\n\nRoot cause: create.go generates child ID using store.GetNextChildID() but never calls store.AddDependency() with type parent-child.\n\nFix: After creating the issue when parentID is set, automatically add a parent-child dependency linking child -\u003e parent.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-15T13:15:22.138854-08:00","updated_at":"2025-11-15T13:18:29.301788-08:00","closed_at":"2025-11-15T13:18:29.301788-08:00","source_repo":"."} -{"id":"bd-jjua","content_hash":"40e73380589198a2e43bc484c7d55dd1d3bef620dbc1529ddaf54ca9282284e4","title":"Auto-invoke 3-way merge for JSONL conflicts","description":"Currently when git pull encounters merge conflicts in .beads/issues.jsonl, the post-merge hook fails with an error message pointing users to manual resolution or the beads-merge tool.\n\nThis is a poor user experience - the conflict detection is working, but we should automatically invoke the advanced 3-way merging instead of just telling users about it.\n\n**Current behavior:**\n- Detect conflict markers in JSONL\n- Display error with manual resolution options\n- Exit with failure\n\n**Desired behavior:**\n- Detect conflict markers in JSONL\n- Automatically invoke beads-merge 3-way merge\n- Only fail if automatic merge cannot resolve the conflicts\n\n**Reference:**\n- beads-merge tool: https://github.com/neongreen/mono/tree/main/beads-merge\n- Error occurs in post-merge hook during bd sync after git pull","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-08T03:09:18.258708-08:00","updated_at":"2025-11-08T03:15:55.529652-08:00","closed_at":"2025-11-08T03:15:55.529652-08:00","source_repo":"."} +{"id":"bd-jijf","content_hash":"e339d9cafb122fc2725cd7dc0a768a1fdb6f1bc38d532ca5af5f2048152c8cd0","title":"Fix: --parent flag doesn't create parent-child dependency","description":"When using `bd create --parent \u003cid\u003e`, the code generates a hierarchical child ID (e.g., bd-123.1) but never creates a parent-child dependency. This causes `bd epic status` to show zero children even though child issues exist.\n\nRoot cause: create.go generates child ID using store.GetNextChildID() but never calls store.AddDependency() with type parent-child.\n\nFix: After creating the issue when parentID is set, automatically add a parent-child dependency linking child -\u003e parent.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-15T13:15:22.138854-08:00","updated_at":"2025-11-15T13:18:29.301788-08:00","closed_at":"2025-11-15T13:18:29.301788-08:00","source_repo":"."} +{"id":"bd-jjua","content_hash":"1f03e105aa89285214bad40695c14bf4b5f63e85caae26c8dd326cf592002d57","title":"Auto-invoke 3-way merge for JSONL conflicts","description":"Currently when git pull encounters merge conflicts in .beads/issues.jsonl, the post-merge hook fails with an error message pointing users to manual resolution or the beads-merge tool.\n\nThis is a poor user experience - the conflict detection is working, but we should automatically invoke the advanced 3-way merging instead of just telling users about it.\n\n**Current behavior:**\n- Detect conflict markers in JSONL\n- Display error with manual resolution options\n- Exit with failure\n\n**Desired behavior:**\n- Detect conflict markers in JSONL\n- Automatically invoke beads-merge 3-way merge\n- Only fail if automatic merge cannot resolve the conflicts\n\n**Reference:**\n- beads-merge tool: https://github.com/neongreen/mono/tree/main/beads-merge\n- Error occurs in post-merge hook during bd sync after git pull","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-08T03:09:18.258708-08:00","updated_at":"2025-11-08T03:15:55.529652-08:00","closed_at":"2025-11-08T03:15:55.529652-08:00","source_repo":".","comments":[{"id":6,"issue_id":"bd-jjua","author":"stevey","text":"Implemented automatic 3-way merge resolution for JSONL conflicts.\n\n**Changes Made:**\n\n1. **Modified conflict detection in cmd/bd/import.go (lines 105-152)**\n - When git conflict markers are detected, instead of immediately failing, the system now attempts automatic resolution\n - Calls new `attemptAutoMerge()` function to invoke bd merge tool\n - If auto-merge succeeds, restarts import with the merged JSONL\n - If auto-merge fails, falls back to displaying manual resolution instructions\n\n2. **Added attemptAutoMerge() function (lines 469-585)**\n - Extracts the three git conflict stages: base (:1), ours/left (:2), theirs/right (:3)\n - Creates temporary files for each version\n - Invokes `bd merge` command to perform intelligent 3-way merge\n - Writes merged result back to original file\n - Auto-stages the resolved file with git add\n\n**How it works:**\n- When git pull creates conflicts in .beads/issues.jsonl\n- The post-merge hook runs `bd sync --import-only`\n- Import detects conflict markers on line scan\n- Automatically extracts conflict versions from git\n- Runs bd merge tool with field-level merge intelligence\n- If successful, continues import seamlessly\n- Only fails if conflicts cannot be auto-resolved\n\n**Benefits:**\n- Zero user intervention for most JSONL conflicts\n- Leverages existing bd merge 3-way merge logic\n- Maintains data integrity with field-level merging\n- Graceful fallback to manual resolution when needed\n\n**Testing:**\n- Code builds successfully\n- Ready for real-world testing on next git pull conflict\n\nThe solution transforms the error into an automatic resolution step, significantly improving user experience.","created_at":"2025-11-08T11:11:06Z"},{"id":7,"issue_id":"bd-jjua","author":"stevey","text":"**Discovery: Git merge driver was already configured but not being triggered**\n\nThe 3-way merge tool was properly vendored and `bd init` does configure the git merge driver:\n- `git config merge.beads.driver \"bd merge %A %O %L %R\"`\n- `.gitattributes` entry for `.beads/beads.jsonl merge=beads`\n\nThis should have prevented conflicts entirely by auto-invoking `bd merge` during git merge operations.\n\n**Root Cause:**\nHowever, the automatic merge driver doesn't help when conflicts reach the import stage, which happens in the post-merge hook flow:\n1. Git pull encounters conflicts\n2. Post-merge hook runs `bd sync --import-only`\n3. Import reads the JSONL file and detects conflict markers\n4. Previous behavior: fail with error message\n\nThe merge driver prevents conflicts during git operations, but if conflicts somehow make it through (or if the merge driver itself produces conflicts that it can't resolve), the import process needed fallback handling.\n\n**Our Solution:**\nAdded automatic 3-way merge invocation at the import stage as a safety net. This provides defense-in-depth:\n- Primary: git merge driver prevents most conflicts\n- Fallback: import auto-merge handles any that slip through\n\n**Bonus Discovery:**\nFound that `.beads/issues.jsonl` is a zombie file that keeps reappearing despite multiple removal attempts in git history. Renamed it to `.beads/issues.jsonl.zombie-do-not-use` with a warning message. The canonical file is `.beads/beads.jsonl`.","created_at":"2025-11-08T11:14:35Z"}]} {"id":"bd-jo38","content_hash":"05e0df789df0a8056258cc1594c3f695d77bb735f2b2ae694d8fbb7c14c51bc9","title":"Add WaitGroup tracking to FileWatcher goroutines","description":"FileWatcher spawns goroutines without WaitGroup tracking, causing race condition on shutdown.\n\nLocation: cmd/bd/daemon_watcher.go:123-182, 215-291\n\nProblem:\n- Goroutines spawned without sync.WaitGroup\n- Close() cancels context but doesn't wait for goroutines to exit\n- Race condition: goroutine may access fw.debouncer during Close() cleanup\n- No guarantee goroutine stopped before fw.watcher.Close() is called\n\nSolution:\n- Add sync.WaitGroup field to FileWatcher\n- Track goroutines with wg.Add(1) and defer wg.Done()\n- Call wg.Wait() in Close() before cleanup\n\nImpact: Race condition on daemon shutdown; potential panic\n\nEffort: 2 hours","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-16T14:51:38.591371-08:00","updated_at":"2025-11-16T15:04:00.466334-08:00","closed_at":"2025-11-16T15:04:00.466334-08:00","source_repo":"."} {"id":"bd-jx90","content_hash":"3dfa306c43d7febfbd072d4bb5c1b6018f8a7301380bb128f53abb0eca5deb65","title":"Add simple cleanup command to delete closed issues","description":"Users want a simple command to delete all closed issues without requiring Anthropic API key (unlike compact). Requested in GH #243.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-07T00:26:30.372137-08:00","updated_at":"2025-11-07T22:07:17.347122-08:00","closed_at":"2025-11-07T22:05:16.325863-08:00","source_repo":"."} {"id":"bd-k0j9","content_hash":"52d1e6f87bd7655018bd89dbbbaf8da66bdcba45de6138fd237810365a04606a","title":"Test dependency parent","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T11:23:02.505901-08:00","updated_at":"2025-11-05T11:23:20.91305-08:00","closed_at":"2025-11-05T11:23:20.91305-08:00","source_repo":"."} {"id":"bd-k58","content_hash":"cc90fb20e7bd178b52133d4d0f8781dce2debb46519674ae6356291d597fc13d","title":"Proposal workflow (propose/withdraw/accept)","description":"Implement commands and state machine for moving issues between personal planning repos and canonical upstream repos, enabling contributors to propose work without polluting PRs.","design":"Commands:\n- bd propose \u003cid\u003e [--target \u003crepo\u003e] - Move issue to target repo\n- bd withdraw \u003cid\u003e - Un-propose (move back)\n- bd accept \u003cid\u003e - Maintainer accepts proposal\n\nVisibility states:\n- local: Personal planning only\n- proposed: Staged for upstream PR\n- canonical: Accepted by upstream (default for existing)\n\nOptional visibility field (backward compatible, defaults to canonical)","acceptance_criteria":"1. bd propose moves issue from planning to primary repo\n2. bd withdraw reverses proposal\n3. bd accept (maintainer) finalizes acceptance\n4. Visibility field tracks state (local/proposed/canonical)\n5. Backward compatible - existing issues default to canonical\n6. State transitions are atomic and git-tracked","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-04T11:21:41.113647-08:00","updated_at":"2025-11-05T00:08:42.814698-08:00","closed_at":"2025-11-05T00:08:42.814699-08:00","source_repo":".","dependencies":[{"issue_id":"bd-k58","depends_on_id":"bd-4ms","type":"parent-child","created_at":"2025-11-04T11:22:21.811261-08:00","created_by":"daemon"}]} {"id":"bd-kazt","content_hash":"83b14f6b183318f85ae852db1caa593d5f6592a00b168ae057bb31238701d4fa","title":"Add tests for 3-way merge scenarios","description":"Comprehensive test coverage for merge logic.\n\n**Test cases**:\n- Simple field updates (left vs right)\n- Dependency merging (union + dedup)\n- Timestamp handling (max wins)\n- Deletion detection (deleted in one, modified in other)\n- Conflict generation (incompatible changes)\n- Issue resurrection prevention (bd-hv01 regression test)\n\n**Files**:\n- `internal/merge/merge_test.go`\n- `cmd/bd/merge_test.go`","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T18:42:20.472275-08:00","updated_at":"2025-11-06T15:52:41.863426-08:00","closed_at":"2025-11-06T15:52:41.863426-08:00","source_repo":".","dependencies":[{"issue_id":"bd-kazt","depends_on_id":"bd-qqvw","type":"parent-child","created_at":"2025-11-05T18:42:28.740517-08:00","created_by":"daemon"},{"issue_id":"bd-kazt","depends_on_id":"bd-oif6","type":"blocks","created_at":"2025-11-05T18:42:35.469582-08:00","created_by":"daemon"}]} -{"id":"bd-kb4g","content_hash":"75a41b221c5eb8b13dcf8ebae4f58ef698c4375c55046a6beb5677f5911e835d","title":"TestHooksCheckGitHooks failing - version mismatch (0.23.0 vs 0.23.1)","description":"The test is checking embedded hook versions and expecting 0.23.1, but got 0.23.0. This appears to be a version consistency issue that needs investigation.\n\nTest output:\n```\nHook pre-commit version mismatch: got 0.23.0, want 0.23.1\nHook post-merge version mismatch: got 0.23.0, want 0.23.1\nHook pre-push version mismatch: got 0.23.0, want 0.23.1\n```\n\nThis is blocking the landing of GH #274 fix.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-09T14:13:14.138537-08:00","updated_at":"2025-11-20T12:34:57.760462-05:00","closed_at":"2025-11-20T12:34:57.760462-05:00","source_repo":"."} +{"id":"bd-kb4g","content_hash":"e68405211ed698918001dc1354242971a604bc140a026580f24e2a472747ff8c","title":"TestHooksCheckGitHooks failing - version mismatch (0.23.0 vs 0.23.1)","description":"The test is checking embedded hook versions and expecting 0.23.1, but got 0.23.0. This appears to be a version consistency issue that needs investigation.\n\nTest output:\n```\nHook pre-commit version mismatch: got 0.23.0, want 0.23.1\nHook post-merge version mismatch: got 0.23.0, want 0.23.1\nHook pre-push version mismatch: got 0.23.0, want 0.23.1\n```\n\nThis is blocking the landing of GH #274 fix.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-09T14:13:14.138537-08:00","updated_at":"2025-11-20T18:54:09.980667-05:00","closed_at":"2025-11-10T10:46:09.94181-08:00","source_repo":"."} {"id":"bd-kdoh","content_hash":"e017424d5478bc870b37142dba22ab2a4a863819d5d399b9224cc8992a0411b4","title":"Add tests for getMultiRepoJSONLPaths() edge cases","description":"From bd-xo6b code review: Missing test coverage for getMultiRepoJSONLPaths() edge cases.\n\nCurrent test gaps:\n- No tests for empty paths in config\n- No tests for duplicate paths\n- No tests for tilde expansion\n- No tests for relative paths\n- No tests for symlinks\n- No tests for paths with spaces\n- No tests for invalid/non-existent paths\n\nTest cases needed:\n\n1. Empty path handling:\n Primary = empty, Additional = [empty]\n Expected: Should either use . as default or error gracefully\n\n2. Duplicate detection:\n Primary = ., Additional = [., ./]\n Expected: Should return unique paths only\n\n3. Path normalization:\n Primary = ~/repos/main, Additional = [../other, ./foo/../bar]\n Expected: Should expand to absolute canonical paths\n\n4. Partial failure scenarios:\n What if snapshot capture succeeds for repos 1-2 but fails on repo 3?\n Test that system does not end up in inconsistent state\n\nFiles:\n- cmd/bd/deletion_tracking_test.go (add new tests)\n\nDependencies:\nDepends on fixing getMultiRepoJSONLPaths() path normalization first.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-06T19:31:52.921241-08:00","updated_at":"2025-11-06T20:06:49.220334-08:00","closed_at":"2025-11-06T19:53:34.515411-08:00","source_repo":".","dependencies":[{"issue_id":"bd-kdoh","depends_on_id":"bd-xo6b","type":"discovered-from","created_at":"2025-11-06T19:32:12.353459-08:00","created_by":"daemon"},{"issue_id":"bd-kdoh","depends_on_id":"bd-iye7","type":"blocks","created_at":"2025-11-06T19:32:13.688686-08:00","created_by":"daemon"}]} {"id":"bd-kla1","content_hash":"825b411d37b412a1ee19e3ebc246b6725aca0f32b83e65c8b4680fa4ef2193ff","title":"Add bd init --contributor wizard","description":"Interactive wizard for OSS contributor setup. Guides user through: fork workflow setup, separate planning repo configuration, auto-detection of fork relationships, examples of common OSS workflows.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T18:04:29.958409-08:00","updated_at":"2025-11-05T19:27:33.07529-08:00","closed_at":"2025-11-05T18:53:51.267625-08:00","source_repo":".","dependencies":[{"issue_id":"bd-kla1","depends_on_id":"bd-8rd","type":"parent-child","created_at":"2025-11-05T18:04:39.120064-08:00","created_by":"daemon"}]} {"id":"bd-ktng","content_hash":"0a09f3e1549a70817f23aa57444811aaf18683ff9336944ff6e8c277ac5684b4","title":"Optimize CLI test suite - eliminate redundant git init calls","description":"Current: Each of 13 CLI tests calls git init (31s total). Solution: Use single test binary built once in init(), skip git operations where possible, or use mock filesystem.","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-04T11:23:13.660276-08:00","updated_at":"2025-11-04T11:23:13.660276-08:00","source_repo":".","dependencies":[{"issue_id":"bd-ktng","depends_on_id":"bd-l5gq","type":"discovered-from","created_at":"2025-11-04T11:23:13.662102-08:00","created_by":"daemon"}]} @@ -2919,7 +2909,6 @@ {"id":"bd-l4b6","content_hash":"62f76d6f751783139b97ee4b08e1134f6154d0eb5696e0f78ce258f841c9738e","title":"Add tests for bd init --team wizard","description":"Write integration tests for the team wizard:\n- Test branch detection\n- Test sync branch creation\n- Test protected branch workflow\n- Test auto-sync configuration","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T18:58:18.192425-08:00","updated_at":"2025-11-06T20:06:49.22056-08:00","closed_at":"2025-11-06T19:55:39.687439-08:00","source_repo":"."} {"id":"bd-l5gq","content_hash":"9c6f895c8e0066874073474fded02d3b1b10a008c3448f1e650e2ff39b5e8e02","title":"Optimize test suite performance - cut runtime by 50%+","description":"## Problem\nTest suite takes ~20.8 seconds, with 95% of time spent in just 2 tests:\n- TestHashIDs_MultiCloneConverge: 11.08s (53%)\n- TestHashIDs_IdenticalContentDedup: 8.78s (42%)\n\nBoth tests in beads_hash_multiclone_test.go perform extensive Git operations (bare repos, multiple clones, sync rounds).\n\n## Goal\nCut total test time by at least 50% (to ~10 seconds or less).\n\n## Analysis\nTests already have some optimizations:\n- --shared --depth=1 --no-tags for fast cloning\n- Disabled hooks, gc, fsync\n- Support -short flag\n\n## Impact\n- Faster development feedback loop\n- Reduced CI costs and time\n- Better developer experience","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-11-04T01:23:14.410648-08:00","updated_at":"2025-11-04T11:23:13.683213-08:00","closed_at":"2025-11-04T11:23:13.683213-08:00","source_repo":"."} {"id":"bd-l954","content_hash":"263dd2111cf0353b307f2e47489aa42ecf607e49b1316b54a6497cad9d3722b0","title":"Performance Testing Framework","description":"Add comprehensive performance testing for beads focusing on optimization guidance and validating 10K+ database scale. Uses standard Go tooling, follows existing patterns, minimal complexity.\n\nComponents:\n- Benchmark suite for critical operations at 10K-20K scale\n- Fixture generator for realistic test data (epic hierarchies, cross-links)\n- User diagnostics via bd doctor --perf\n- Always-on profiling integration\n\nGoals:\n- Identify bottlenecks for optimization work\n- Validate performance at 10K+ issue scale\n- Enable users to collect diagnostics for bug reports\n- Support both SQLite and JSONL import paths","status":"open","priority":2,"issue_type":"epic","created_at":"2025-11-13T22:22:11.203467-08:00","updated_at":"2025-11-13T22:22:11.203467-08:00","source_repo":"."} -{"id":"bd-la9d","content_hash":"298e5922cb0e6460d1cf14d2b7230c63403e72fcb511fb31d3fe2e2f241fd18a","title":"Blocking issue","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-20T19:11:50.954966-05:00","updated_at":"2025-11-20T19:11:50.954966-05:00","closed_at":"2025-11-07T21:55:09.43148-08:00","source_repo":"."} {"id":"bd-lm2q","content_hash":"b098ab750578221bdbc099aeb93f1275650c3636a6b93badbcb093a411a82d8d","title":"Fix `bd sync` failure due to daemon auto-export timestamp skew","description":"`bd sync` fails with false-positive \"JSONL is newer than database\" after daemon auto-export.\nRoot Cause: Daemon exports local changes to JSONL, updating its timestamp. `bd sync` sees JSONL.mtime \u003e DB.mtime and assumes external changes, blocking export.\nProposed Fixes:\n1. `bd sync` auto-imports if timestamp matches but content differs (or just auto-imports).\n2. Content-based comparison instead of timestamp only.\n","status":"open","priority":1,"issue_type":"bug","created_at":"2025-11-20T18:56:16.876685-05:00","updated_at":"2025-11-20T18:56:16.876685-05:00","source_repo":"."} {"id":"bd-lwnt","content_hash":"ddfa247870eb3734ffa7a4d0da6fcd4a359d2b48e02d70aad8560ec4bc13afdc","title":"Test P1 priority","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T12:58:38.074112-08:00","updated_at":"2025-11-05T12:58:44.711763-08:00","closed_at":"2025-11-05T12:58:44.711763-08:00","source_repo":"."} {"id":"bd-m62x","content_hash":"45ec0b71d12d639a662267e71bc8febd4c90c6abce22de4795ea949fb6d204ae","title":"Benchmark Suite for Critical Operations","description":"Extend existing benchmark suite with comprehensive benchmarks for critical operations at 10K-20K scale.\n\nExisting benchmarks (keep these):\n- cycle_bench_test.go - Cycle detection up to 5K issues (linear, tree, dense graphs)\n- compact_bench_test.go - Compaction candidate queries (100 issues)\n- internal/rpc/bench_test.go - Daemon vs direct mode comparison\n\nNew benchmarks to add in sqlite_bench_test.go (~10-12 total):\n1. GetReadyWork - Simple, deep hierarchies, cross-linked (CRITICAL - not currently benchmarked)\n2. SearchIssues - No filters, complex filters (CRITICAL - not currently benchmarked)\n3. CreateIssue - Single issue creation\n4. UpdateIssue - Status/priority/assignee changes\n5. AddDependency - Extend to 10K/20K scale (currently only up to 5K)\n6. JSONL Export - Full export performance\n7. JSONL Import - Import performance\n\nScale levels:\n- Large: 10K issues (5K open, 5K closed)\n- XLarge: 20K issues (10K open, 10K closed)\n\nImplementation:\n- NEW FILE: internal/storage/sqlite/sqlite_bench_test.go\n- Keep existing cycle_bench_test.go and compact_bench_test.go unchanged\n- Build tag: //go:build bench\n- Standard testing.B benchmarks\n- b.ReportAllocs() for memory tracking\n- Test both SQLite and JSONL-imported databases\n\nAlways generates CPU and memory profiles for analysis.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-13T22:22:43.770787-08:00","updated_at":"2025-11-13T23:15:33.781023-08:00","closed_at":"2025-11-13T23:15:33.781023-08:00","source_repo":".","dependencies":[{"issue_id":"bd-m62x","depends_on_id":"bd-q13h","type":"blocks","created_at":"2025-11-13T22:24:02.668091-08:00","created_by":"daemon"},{"issue_id":"bd-m62x","depends_on_id":"bd-zj8e","type":"blocks","created_at":"2025-11-13T22:24:06.30131-08:00","created_by":"daemon"}]} @@ -2975,13 +2964,13 @@ {"id":"bd-tmdx","content_hash":"0976d6529458902f06108d5d316fda3bf6ed299eaa684501aada481d9e4b10a5","title":"Investigate database pollution - unexpected issue count increases","description":"Two repositories showing unexpected issue counts:\n- ~/src/beads: 280 issues (expected ~209-220)\n- ~/src/dave/beads: 895 issues (675 open, 149 closed)\n\nThis suggests database pollution - issues from one repository leaking into another. Need to investigate:\n1. Run bd detect-pollution on both repos\n2. Check for cross-repo contamination\n3. Identify source of pollution (daemon? multi-repo config? import issues?)\n4. Clean up polluted databases\n5. Prevent future pollution","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-06T22:50:16.957689-08:00","updated_at":"2025-11-07T00:05:38.994405-08:00","closed_at":"2025-11-07T00:05:38.994405-08:00","source_repo":"."} {"id":"bd-tne","content_hash":"2a6596980450714800bddc88e106026743a1a131e96f09198eb7dc2a16d75ca4","title":"Add Claude setup tip with dynamic priority","description":"Add a predefined tip that suggests running `bd setup claude` when Claude Code is detected but not configured. This tip should have higher priority (shown more frequently) until the setup is complete.","design":"## Implementation\n\nAdd to tip registry in `cmd/bd/tips.go`:\n\n```go\n{\n ID: \"claude_setup\",\n Condition: func() bool {\n return isClaudeDetected() \u0026\u0026 !isClaudeSetupComplete()\n },\n Message: \"Run 'bd setup claude' to enable automatic context recovery in Claude Code\",\n Frequency: 24 * time.Hour, // Daily minimum gap\n Priority: 100, // Highest priority\n Probability: 0.6, // 60% chance when eligible\n}\n```\n\n## Detection Logic\n\n```go\nfunc isClaudeDetected() bool {\n // Check environment variables\n if os.Getenv(\"CLAUDE_CODE\") != \"\" || os.Getenv(\"ANTHROPIC_CLI\") != \"\" {\n return true\n }\n // Check if .claude/ directory exists\n if _, err := os.Stat(filepath.Join(os.Getenv(\"HOME\"), \".claude\")); err == nil {\n return true\n }\n return false\n}\n\nfunc isClaudeSetupComplete() bool {\n // Check for global installation\n home, err := os.UserHomeDir()\n if err == nil {\n _, err1 := os.Stat(filepath.Join(home, \".claude/commands/prime_beads.md\"))\n _, err2 := os.Stat(filepath.Join(home, \".claude/hooks/sessionstart\"))\n if err1 == nil \u0026\u0026 err2 == nil {\n return true // Global hooks installed\n }\n }\n \n // Check for project installation\n _, err1 := os.Stat(\".claude/commands/prime_beads.md\")\n _, err2 := os.Stat(\".claude/hooks/sessionstart\")\n return err1 == nil \u0026\u0026 err2 == nil\n}\n```\n\n## Priority and Probability Behavior\n\n**Why 60% probability?**\n- Important message (priority 100) but not critical\n- Daily frequency + 60% = shows ~4 times per week\n- Avoids spam while staying visible\n- Balances persistence with user experience\n\n**Comparison with other probabilities:**\n- 100% probability: Shows EVERY day (annoying)\n- 80% probability: Shows ~6 days per week (too frequent)\n- 60% probability: Shows ~4 days per week (balanced)\n- 40% probability: Shows ~3 days per week (might be missed)\n\n**Auto-stops when setup complete:**\n- Condition becomes false after `bd setup claude`\n- No manual dismissal needed\n- Tip naturally disappears from rotation","acceptance_criteria":"- Claude setup tip added to registry\n- isClaudeDetected() checks environment and filesystem\n- isClaudeSetupComplete() verifies hook installation\n- Tip shows daily until setup complete\n- Tip stops showing after setup\n- Unit tests for detection functions","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-11T23:29:29.871324-08:00","updated_at":"2025-11-11T23:50:29.756454-08:00","source_repo":".","dependencies":[{"issue_id":"bd-tne","depends_on_id":"bd-d4i","type":"blocks","created_at":"2025-11-11T23:29:29.872081-08:00","created_by":"daemon"},{"issue_id":"bd-tne","depends_on_id":"bd-br8","type":"blocks","created_at":"2025-11-11T23:29:29.87252-08:00","created_by":"daemon"}]} {"id":"bd-tru","content_hash":"0de12031088519a3dcd27968d6bf17eb3a92d1853264e5a0dceef3310b3a2b04","title":"Update documentation for bd prime and Claude integration","description":"Update AGENTS.md, README.md, and QUICKSTART.md to document the new `bd prime` command, `bd setup claude` command, and tip system.","design":"## Documentation Updates\n\n### AGENTS.md\nAdd new section \"Context Recovery\":\n```markdown\n## Context Recovery\n\n### The Problem\nAfter context compaction or clearing conversation, AI agents may forget to use Beads and revert to markdown TODOs. Claude Code hooks solve this.\n\n### bd prime Command\nThe `bd prime` command outputs essential Beads workflow context in AI-optimized markdown format (~1-2k tokens).\n\n**When to use:**\n- After context compaction\n- After clearing conversation\n- Starting new session\n- When agent seems to forget bd workflow\n- Manual context refresh\n\n**Usage:**\n```bash\nbd prime # Output workflow context\n```\n\n### Automatic Integration (Recommended)\n\nRun `bd setup claude` to install hooks that auto-refresh bd context:\n- **SessionStart hook**: Loads context in new sessions\n- **PreCompact hook**: Refreshes context before compaction (survives better)\n- **Works with MCP**: Hooks complement MCP server (not replace)\n- **Works without MCP**: bd prime provides workflow via CLI\n\n**Why hooks matter even with MCP:**\n- MCP provides native tools, but agent may forget to use them\n- Hooks keep \"use bd, not markdown\" fresh in context\n- PreCompact refreshes workflow before compaction\n\n### MCP Server vs bd prime\n\n**Not an either/or choice** - they solve different problems:\n\n| Aspect | MCP Server | bd prime | Both |\n|--------|-----------|----------|------|\n| **Purpose** | Native bd tools | Workflow context | Best of both |\n| **Tokens** | 10.5k always loaded | ~1-2k when called | 10.5k + ~2k |\n| **Tool access** | Function calls | CLI via Bash | Function calls |\n| **Context memory** | Can fade after compaction | Hooks keep fresh | Hooks + tools |\n| **Recommended** | Heavy usage | Token optimization | Best experience |\n\n**Setup options:**\n```bash\nbd setup claude # Install hooks (works with or without MCP)\nbd setup claude --local # Per-project only\nbd setup claude --remove # Remove hooks\n```\n```\n\n### README.md\nAdd to \"Getting Started\" section:\n```markdown\n### AI Agent Integration\n\n**Claude Code users:** Run `bd setup claude` to install automatic context recovery hooks.\n\nHooks work with both MCP server and CLI approaches, preventing agents from forgetting bd workflow after compaction.\n\n**MCP vs bd prime:**\n- **With MCP server**: Hooks keep agent using bd tools (prevents markdown TODO reversion)\n- **Without MCP server**: Hooks provide workflow context via `bd prime` (~1-2k tokens)\n```\n\n### QUICKSTART.md\nAdd section on agent integration:\n```markdown\n## For AI Agents\n\n**Context loading:**\n```bash\nbd prime # Load workflow context (~1-2k tokens)\n```\n\n**Automatic setup (Claude Code):**\n```bash\nbd setup claude # Install hooks for automatic context recovery\n```\n\nHooks prevent agents from forgetting bd workflow after compaction.\n```","acceptance_criteria":"- AGENTS.md has Context Recovery section\n- README.md mentions bd setup claude\n- QUICKSTART.md mentions bd prime\n- Examples show when to use bd prime vs MCP\n- Clear comparison of trade-offs","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-11T23:30:22.77349-08:00","updated_at":"2025-11-11T23:45:23.242658-08:00","source_repo":".","dependencies":[{"issue_id":"bd-tru","depends_on_id":"bd-rpn","type":"blocks","created_at":"2025-11-11T23:30:22.774216-08:00","created_by":"daemon"},{"issue_id":"bd-tru","depends_on_id":"bd-br8","type":"blocks","created_at":"2025-11-11T23:30:22.774622-08:00","created_by":"daemon"},{"issue_id":"bd-tru","depends_on_id":"bd-90v","type":"parent-child","created_at":"2025-11-11T23:31:35.277819-08:00","created_by":"daemon"}]} -{"id":"bd-ts0c","content_hash":"802acdef71cd9252f7b94db3c21e4c5a4903d04306080b007f395e3fc1ee8bbd","title":"Merge PR #300: gitignore upgrade feature","description":"PR #300 is ready to merge but has rebase conflicts with main.\n\n**Context:**\n- PR implements 3 mechanisms for .beads/.gitignore upgrade (bd doctor --fix, daemon auto-upgrade, bd init idempotent)\n- Conflicts resolved locally but diverged branches make push difficult\n- All fixes applied: removed merge artifact, applied new gitignore template\n- Clean scope: only 6 files changed (+194/-42)\n\n**Next steps:**\n1. Option A: Merge via GitHub UI (resolve conflicts in web interface)\n2. Option B: Fresh rebase on main and force push\n3. Verify CI passes\n4. Squash and merge\n\nPR URL: https://github.com/steveyegge/beads/pull/300\nFixes: #274","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-12T11:56:22.778982-08:00","updated_at":"2025-11-12T12:46:36.550488-08:00","closed_at":"2025-11-12T12:46:36.550488-08:00","source_repo":"."} +{"id":"bd-ts0c","content_hash":"46989179f15aa0faaeb9b0d839e71c6ea5002d6d850a8015dfaa5ea6e8308b0b","title":"Merge PR #300: gitignore upgrade feature","description":"PR #300 is ready to merge but has rebase conflicts with main.\n\n**Context:**\n- PR implements 3 mechanisms for .beads/.gitignore upgrade (bd doctor --fix, daemon auto-upgrade, bd init idempotent)\n- Conflicts resolved locally but diverged branches make push difficult\n- All fixes applied: removed merge artifact, applied new gitignore template\n- Clean scope: only 6 files changed (+194/-42)\n\n**Next steps:**\n1. Option A: Merge via GitHub UI (resolve conflicts in web interface)\n2. Option B: Fresh rebase on main and force push\n3. Verify CI passes\n4. Squash and merge\n\nPR URL: https://github.com/steveyegge/beads/pull/300\nFixes: #274","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-12T11:56:22.778982-08:00","updated_at":"2025-11-12T12:46:36.550488-08:00","closed_at":"2025-11-12T12:46:36.550488-08:00","source_repo":"."} {"id":"bd-tuqd","content_hash":"06ac95944f03d871a6f58d2cd63796828873e92ef7c9b897eb639d28860a458e","title":"bd init overwrites existing git hooks without detection or chaining","description":"GH #254: bd init silently overwrites existing git hooks (like pre-commit framework) without detecting them, backing them up, or offering to chain. This breaks workflows and can result in committed code with failing tests.\n\nFix: Detect existing hooks, prompt user with options to chain/overwrite/skip.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-07T15:51:17.582882-08:00","updated_at":"2025-11-07T15:55:01.330531-08:00","closed_at":"2025-11-07T15:55:01.330531-08:00","source_repo":"."} {"id":"bd-twlr","content_hash":"e0fe5d5f0cac3bb24ae6c12bdcac79ba0dac61f2e85568e9def8b809b7d038b6","title":"Add bd init --team wizard","description":"Interactive wizard for team workflow setup. Guides user through: branch workflow configuration, shared repo setup, team member onboarding, examples of team collaboration patterns.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T18:04:30.013645-08:00","updated_at":"2025-11-05T19:27:33.075826-08:00","closed_at":"2025-11-05T18:56:03.004161-08:00","source_repo":".","dependencies":[{"issue_id":"bd-twlr","depends_on_id":"bd-8rd","type":"parent-child","created_at":"2025-11-05T18:04:39.164445-08:00","created_by":"daemon"}]} {"id":"bd-u4f5","content_hash":"89c6ae8745a842541c9a2025222c2c2e67e17b4fc33e0e56e58a37f0c5935939","title":"bd import silently succeeds when database matches working tree but not git HEAD","description":"**Critical**: bd import reports '0 created, 0 updated' when database matches working tree JSONL, even when working tree is ahead of git HEAD. This gives false confidence that everything is synced with the source of truth.\n\n## Reproduction\n\n1. Start with database synced to working tree .beads/issues.jsonl (376 issues)\n2. Git HEAD has older version of .beads/issues.jsonl (354 issues)\n3. Run: bd import .beads/issues.jsonl\n4. Output: 'Import complete: 0 created, 0 updated'\n\n## Problem\n\nUser expects 'bd import' after 'git pull' to sync database with committed state, but:\n- Command silently succeeds because DB already matches working tree\n- No warning that working tree has uncommitted changes\n- User falsely believes everything is synced with git\n- Violates 'JSONL in git is source of truth' principle\n\n## Expected Behavior\n\nWhen .beads/issues.jsonl differs from git HEAD, bd import should:\n1. Detect uncommitted changes: git diff --quiet HEAD .beads/issues.jsonl\n2. Warn user: 'Warning: .beads/issues.jsonl has uncommitted changes (376 lines vs 354 in HEAD)'\n3. Clarify status: 'Import complete: 0 created, 0 updated (already synced with working tree)'\n4. Recommend: 'Run git diff .beads/issues.jsonl to review uncommitted work'\n\n## Impact\n\n- Users can't trust 'bd import' status messages\n- Silent data loss risk if user assumes synced and runs git checkout\n- Breaks mental model of 'JSONL in git = source of truth'\n- Critical for VC's landing-the-plane workflow","acceptance_criteria":"1. bd import detects when working tree differs from git HEAD\n2. Warning emitted if JSONL has uncommitted changes \n3. Status message clarifies 'synced with working tree' vs 'synced with git'\n4. Optional flag to suppress warning (e.g., --working-tree mode)\n5. Documentation updated to explain import behavior with uncommitted changes\n6. Test case: import with dirty working tree shows warning","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-07T23:51:28.536822-08:00","updated_at":"2025-11-07T23:58:34.482313-08:00","closed_at":"2025-11-07T23:58:34.482313-08:00","source_repo":".","labels":["data-integrity"]} {"id":"bd-u8j","content_hash":"91f39bbd4f2394592407c77917682b2c7c3a0b6415a3572eb75a49b0486a17fe","title":"Clarify exclusive lock protocol compatibility with multi-repo","description":"The contributor-workflow-analysis.md proposes per-repo file locking (Decision #7) using flock on JSONL files. However, VC (a downstream library consumer) uses an exclusive lock protocol (vc-195, requires Beads v0.17.3+) that allows bd daemon and VC executor to coexist.\n\nNeed to clarify:\n- Does the proposed per-repo file locking work with VC's existing exclusive lock protocol?\n- Do library consumers like VC need to adapt their locking logic?\n- Can multiple repos be locked atomically for cross-repo operations?\n\nContext: contributor-workflow-analysis.md lines 662-681","acceptance_criteria":"- Documentation explicitly states compatibility or incompatibility with existing lock protocols\n- If incompatible, migration path is documented for library consumers\n- If compatible, example showing coexistence is provided","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-03T20:24:08.257493-08:00","updated_at":"2025-11-05T14:15:01.506885-08:00","closed_at":"2025-11-05T14:15:01.506885-08:00","source_repo":"."} {"id":"bd-uiae","content_hash":"5c184901daaa674a0f1224a29ab789019b53da6d5b5b4d6ac943e7d5d4846b3e","title":"Update documentation for beads-merge integration","description":"Document the integrated merge functionality.\n\n**Updates needed**:\n- AGENTS.md: Replace \"use external beads-merge\" with \"bd merge\"\n- README.md: Add git merge driver section\n- TROUBLESHOOTING.md: Update merge conflict resolution\n- ADVANCED.md: Document 3-way merge algorithm\n- Create CREDITS.md or ATTRIBUTION.md for @neongreen\n\n**Highlight**: Deletion sync fix (bd-hv01)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T18:42:20.488998-08:00","updated_at":"2025-11-06T18:19:16.234758-08:00","closed_at":"2025-11-06T15:40:27.830475-08:00","source_repo":".","dependencies":[{"issue_id":"bd-uiae","depends_on_id":"bd-qqvw","type":"parent-child","created_at":"2025-11-05T18:42:28.752447-08:00","created_by":"daemon"}]} -{"id":"bd-urob","content_hash":"fc0e79260f5f6860fa8884859c4b33b18f9cc2dad361c1c1abb9bdeb412479b5","title":"bd-hv01: Refactor snapshot management into dedicated module","description":"Problem: Snapshot logic is scattered across deletion_tracking.go. Would benefit from abstraction with SnapshotManager type.\n\nBenefits: cleaner separation of concerns, easier to test in isolation, better encapsulation, could add observability/metrics.\n\nSuggested improvements: add magic constants, track merge statistics, better error messages.\n\nFiles: cmd/bd/deletion_tracking.go (refactor into new snapshot_manager.go)","status":"closed","priority":3,"issue_type":"chore","created_at":"2025-11-06T18:16:27.943666-08:00","updated_at":"2025-11-08T02:19:14.152412-08:00","closed_at":"2025-11-08T02:19:14.152412-08:00","source_repo":".","dependencies":[{"issue_id":"bd-urob","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T18:19:15.192447-08:00","created_by":"daemon"}]} +{"id":"bd-urob","content_hash":"de6cf45a2ad9d6b7f5e02a197196834b091f5b2f19ed9a8f4af367d9a319e1f2","title":"bd-hv01: Refactor snapshot management into dedicated module","description":"Problem: Snapshot logic is scattered across deletion_tracking.go. Would benefit from abstraction with SnapshotManager type.\n\nBenefits: cleaner separation of concerns, easier to test in isolation, better encapsulation, could add observability/metrics.\n\nSuggested improvements: add magic constants, track merge statistics, better error messages.\n\nFiles: cmd/bd/deletion_tracking.go (refactor into new snapshot_manager.go)","status":"closed","priority":3,"issue_type":"chore","created_at":"2025-11-06T18:16:27.943666-08:00","updated_at":"2025-11-08T02:19:14.152412-08:00","closed_at":"2025-11-08T02:19:14.152412-08:00","source_repo":".","dependencies":[{"issue_id":"bd-urob","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T18:19:15.192447-08:00","created_by":"daemon"}]} {"id":"bd-vavh","content_hash":"c4683032c24f356aa799a87390c2f95a280bb6ce1cd94d26bb5d4b0d8ea16829","title":"Fix row iterator resource leak in recursive dependency queries","description":"Critical resource leak in findAllDependentsRecursive() where rows.Close() is called AFTER early return on error, never executing.\n\nLocation: internal/storage/sqlite/sqlite.go:1131-1136\n\nProblem: \n- rows.Close() placed after return statement\n- On scan error, iterator never closed\n- Can exhaust SQLite connections under moderate load\n\nFix: Move defer rows.Close() to execute on all code paths\n\nImpact: Connection exhaustion during dependency traversal","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-16T14:50:55.881698-08:00","updated_at":"2025-11-16T15:03:55.009607-08:00","closed_at":"2025-11-16T15:03:55.009607-08:00","source_repo":"."} {"id":"bd-vcg5","content_hash":"82933ce7e0add2ee5b5830b343785c3585151453c5c06243af2b1f2b934e72b2","title":"Daemon crash recovery: panic handler + socket cleanup","description":"Improve daemon cleanup on unexpected exit:\n1. Add top-level recover() in runDaemonLoop to capture panics\n2. Write daemon-error file with stack trace on panic\n3. Prefer return over os.Exit where possible (so defers run)\n4. In stopDaemon forced-kill path, also remove stale socket if present\n\nThis ensures better diagnostics and cleaner state after crashes.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-07T16:42:12.733219-08:00","updated_at":"2025-11-07T22:07:17.347728-08:00","closed_at":"2025-11-07T21:17:15.94117-08:00","source_repo":".","dependencies":[{"issue_id":"bd-vcg5","depends_on_id":"bd-ndyz","type":"discovered-from","created_at":"2025-11-07T16:42:12.733889-08:00","created_by":"daemon"}]} {"id":"bd-vxdr","content_hash":"d188358987c7a7d444f9144a4a6cc5164eccd35b16325edba51dad104ab2a7f2","title":"Investigate database pollution - issue count anomalies","description":"Multiple repos showing inflated issue counts suggesting cross-repo pollution:\n- ~/src/dave/beads: 895 issues (675 open) - clearly polluted\n- ~/src/stevey/src/beads: 280 issues (expected ~209-220) - possibly polluted\n\nNeed to investigate:\n1. Source of pollution (multi-repo sync issues?)\n2. How many duplicate/foreign issues exist\n3. Whether recent sync operations caused cross-contamination\n4. How to clean up and prevent future pollution","notes":"Investigation findings:\n\n**Root cause identified:**\n- NOT cross-repo contamination\n- NOT automated test leakage (tests properly use t.TempDir())\n- Manual testing during template feature development (Nov 2-4)\n- Commit ba325a2: \"test issues were accidentally committed during template feature development\"\n\n**Database growth timeline:**\n- Nov 3: 19 issues (baseline)\n- Nov 2-5: +244 issues (massive development spike)\n- Nov 6-7: +40 issues (continued growth)\n- Current: 291 issues → 270 after cleanup\n\n**Test pollution breakdown:**\n- 21 issues matching \"Test \" prefix pattern\n- Most created Nov 2-5 during feature development\n- Pollution from manual `./bd create \"Test issue\"` commands in production workspace\n- All automated tests properly isolated with t.TempDir()\n\n**Cleanup completed:**\n- Ran scripts/cleanup-test-pollution.sh successfully\n- Removed 21 test issues\n- Database reduced from 291 → 270 issues (7.2% cleanup)\n- JSONL synced to git\n\n**Prevention strategy:**\n- Filed follow-up issue for prevention mechanisms\n- Script can be deleted once prevention is in place\n- Tests are already properly isolated - no code changes needed there","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-06T22:34:40.137483-08:00","updated_at":"2025-11-07T16:07:28.274136-08:00","closed_at":"2025-11-07T16:04:02.199807-08:00","source_repo":"."} @@ -2998,7 +2987,7 @@ {"id":"bd-yek6","content_hash":"f155913af8c58c0a7ea3da6a7d9e232e8cb29c3825f2d6f272a5417a449692a9","title":"CLI tests (cli_fast_test.go) are slow and should be integration tests","description":"The TestCLI_* tests in cmd/bd/cli_fast_test.go are taking 4-5 seconds each (40+ seconds total), making them the slowest part of the fast test suite.\n\nCurrent timings:\n- TestCLI_Import: 4.73s\n- TestCLI_Blocked: 4.33s \n- TestCLI_DepTree: 4.15s\n- TestCLI_Close: 3.59s\n- TestCLI_DepAdd: 3.50s\n- etc.\n\nThese tests compile the bd binary once in init(), but then execute it multiple times per test with filesystem operations. Despite being named \"fast\", they're actually end-to-end CLI integration tests.\n\nOptions:\n1. Tag with //go:build integration (move to integration suite)\n2. Optimize: Use in-memory databases, reduce exec calls, better parallelization\n3. Keep as-is but understand they're the baseline for \"fast\" tests\n\nTotal test suite currently: 13.8s (cmd/bd alone is 12.8s, and most of that is these CLI tests)","notes":"Fixed by reusing existing bd binary from repo root instead of rebuilding.\n\nBefore: 15+ minutes (rebuilding binary for every test package)\nAfter: ~12 seconds (reuses pre-built binary)\n\nThe init() function now checks for ../../bd first before falling back to building. This means `go build \u0026\u0026 go test` is now fast.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T20:19:12.822543-08:00","updated_at":"2025-11-05T20:31:19.321787-08:00","closed_at":"2025-11-05T20:31:19.321787-08:00","source_repo":"."} {"id":"bd-ykd9","content_hash":"f1446ecf58b117dae936c32d30370b5a42a2c081ffae6ce749d87300a893fa72","title":"Add bd doctor --fix flag to automatically repair issues","description":"Implement a --fix flag for bd doctor that can automatically repair detected issues.\n\nRequirements:\n- Add --fix flag to bd doctor command\n- Show all fixable issues and prompt for confirmation before applying fixes\n- Organize fix implementations under doctor/fix/\u003ctype_of_fix\u003e.go\n- Each fix type should have its own file (e.g., doctor/fix/hooks.go, doctor/fix/sync.go)\n- Display what will be fixed and ask user to confirm (Y/n) before proceeding\n- Support fixing issues like:\n - Missing or broken git hooks\n - Sync problems with remote\n - File permission issues\n - Any other auto-repairable issues doctor detects\n\nImplementation notes:\n- Maintain separation between detection (existing doctor code) and repair (new fix code)\n- Each fix should be idempotent and safe to run multiple times\n- Provide clear output about what was fixed\n- Log any fixes that fail with actionable error messages","status":"open","priority":2,"issue_type":"feature","created_at":"2025-11-14T18:17:48.411264-08:00","updated_at":"2025-11-14T18:17:58.88609-08:00","source_repo":"."} {"id":"bd-yuf7","content_hash":"97e18d89914d698df5ec673d40ff980a87a29e1435a887ec2b5dd77d7d412a79","title":"bd config set succeeds but doesn't persist to config.toml","description":"Commands like `bd config set daemon.auto_push true` return \"Set daemon.auto_push = true\" but the config file is never created and `bd info --json | jq '.config'` returns null.\n\n**Steps to reproduce:**\n1. Run `bd config set daemon.auto_push true`\n2. See success message: \"Set daemon.auto_push = true\"\n3. Check `cat .beads/config.toml` → file doesn't exist\n4. Check `bd info --json | jq '.config'` → returns null\n\n**Expected:**\n- .beads/config.toml should be created with the setting\n- bd info should show the config value\n\n**Impact:**\nUsers can't enable auto-push/auto-commit via CLI as documented in AGENTS.md","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T01:14:58.726198-08:00","updated_at":"2025-11-08T01:17:41.377912-08:00","closed_at":"2025-11-08T01:17:41.377912-08:00","source_repo":"."} -{"id":"bd-yvlc","content_hash":"7447f9c24de76b56a3e753619c20571c3ca4ec0fb69a12b917def9d9580b1854","title":"URGENT: main branch has failing tests (syncbranch migration error)","description":"The main branch has failing tests that are blocking CI for all PRs.\n\n## Problem\nAll syncbranch_test.go tests failing with:\n\"migration external_ref_column failed: failed to create index on external_ref: sqlite3: SQL logic error: no such table: main.issues\"\n\n## Evidence\n- Last 5 CI runs on main: ALL FAILED\n- Tests fail locally on current main (bd6dca5)\n- Affects: TestGet, TestSet, TestUnset in internal/syncbranch\n\n## Impact\n- Blocking all PR merges\n- CI shows red for all branches\n- Can't trust test results\n\n## Root Cause\nMigration order issue - trying to create index on external_ref column before the issues table exists, or before the external_ref column is added to the issues table.\n\n## Quick Fix Needed\nNeed to investigate migration order in internal/storage/sqlite/migrations.go and ensure:\n1. issues table is created first\n2. external_ref column is added to issues table\n3. THEN index on external_ref is created\n\nThis is CRITICAL - main should never have breaking tests.","design":"Investigation steps:\n1. Check internal/storage/sqlite/migrations.go\n2. Verify migration order and dependencies\n3. Look at external_ref_column migration specifically\n4. Ensure proper table/column creation before index\n5. Test fix locally with fresh database\n6. Push fix to main\n7. Verify CI passes","acceptance_criteria":"- All tests pass on main branch\n- CI is green\n- syncbranch_test.go tests all passing","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-15T12:25:31.51688-08:00","updated_at":"2025-11-15T12:43:11.489612-08:00","closed_at":"2025-11-15T12:43:11.489612-08:00","source_repo":"."} +{"id":"bd-yvlc","content_hash":"f121c6b2674a550c12f99331eb6a45a4817bd4161ea377104c212f56c0589af5","title":"URGENT: main branch has failing tests (syncbranch migration error)","description":"The main branch has failing tests that are blocking CI for all PRs.\n\n## Problem\nAll syncbranch_test.go tests failing with:\n\"migration external_ref_column failed: failed to create index on external_ref: sqlite3: SQL logic error: no such table: main.issues\"\n\n## Evidence\n- Last 5 CI runs on main: ALL FAILED\n- Tests fail locally on current main (bd6dca5)\n- Affects: TestGet, TestSet, TestUnset in internal/syncbranch\n\n## Impact\n- Blocking all PR merges\n- CI shows red for all branches\n- Can't trust test results\n\n## Root Cause\nMigration order issue - trying to create index on external_ref column before the issues table exists, or before the external_ref column is added to the issues table.\n\n## Quick Fix Needed\nNeed to investigate migration order in internal/storage/sqlite/migrations.go and ensure:\n1. issues table is created first\n2. external_ref column is added to issues table\n3. THEN index on external_ref is created\n\nThis is CRITICAL - main should never have breaking tests.","design":"Investigation steps:\n1. Check internal/storage/sqlite/migrations.go\n2. Verify migration order and dependencies\n3. Look at external_ref_column migration specifically\n4. Ensure proper table/column creation before index\n5. Test fix locally with fresh database\n6. Push fix to main\n7. Verify CI passes","acceptance_criteria":"- All tests pass on main branch\n- CI is green\n- syncbranch_test.go tests all passing","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-15T12:25:31.51688-08:00","updated_at":"2025-11-15T12:43:11.489612-08:00","closed_at":"2025-11-15T12:43:11.489612-08:00","source_repo":"."} {"id":"bd-z0yn","content_hash":"1bb2f4940363e921d71f45e202cbadc1d90c4985ce5a048bb97d352f0a3ad9d0","title":"Channel isolation test - beads","description":"","status":"in_progress","priority":2,"issue_type":"task","created_at":"2025-11-08T04:21:17.327983-08:00","updated_at":"2025-11-08T04:21:17.365854-08:00","source_repo":"."} {"id":"bd-z3s3","content_hash":"24d99dc1a9a5f35af962137f5709d4b0f1b6a9ec91511c30a2517d790640cce8","title":"Create deployment scripts for GCP","description":"Automated provisioning scripts for GCP Compute Engine deployment.\n\nAcceptance Criteria:\n- Terraform/gcloud scripts\n- Static IP allocation\n- Firewall rules\n- NGINX reverse proxy config\n- TLS setup (Let's Encrypt)\n- Systemd service file\n\nFile: deployment/agent-mail/gcp/","status":"open","priority":3,"issue_type":"task","created_at":"2025-11-07T22:43:43.294839-08:00","updated_at":"2025-11-07T22:43:43.294839-08:00","source_repo":".","dependencies":[{"issue_id":"bd-z3s3","depends_on_id":"bd-9li4","type":"blocks","created_at":"2025-11-07T23:04:27.982336-08:00","created_by":"daemon"}]} {"id":"bd-z528","content_hash":"3f332e9997d2b7eb0af23885820df5f607fe08671a2615cadec941bbe7d36f68","title":"Prevent test pollution in production database","description":"The bd-vxdr cleanup revealed test issues were created during manual testing in the production workspace (Nov 2-4, template feature development).\n\n**Root cause:** Manual testing with `./bd create \"Test issue\"` pollutes the production .beads database.\n\n**Prevention strategies:**\n1. Use TEST_DB environment variable for manual testing\n2. Add warning when creating issues with \"Test\" prefix\n3. Improve developer docs about testing workflow\n4. Consider adding `bd test-mode` command for isolated testing","notes":"**Implementation completed:**\n\n1. ✅ Added warning when creating issues with \"Test\" prefix in production database\n - Shows yellow warning with ⚠ symbol\n - Suggests using BEADS_DB for isolated testing\n - Warning appears in create.go after title validation\n\n2. ✅ Documented BEADS_DB testing workflow in AGENTS.md\n - Added \"Testing Workflow\" section in Development Guidelines\n - Includes manual testing examples with BEADS_DB\n - Includes automated testing examples with t.TempDir()\n - Clear warning about not polluting production database\n\n3. ⚠️ Decided against bd test-mode command\n - BEADS_DB already provides simple, flexible isolation\n - Additional command would add complexity without much benefit\n - Current approach follows Unix philosophy (env vars for config)\n\n**Files modified:**\n- cmd/bd/create.go - Added Test prefix warning\n- AGENTS.md - Added Testing Workflow section\n\n**Testing:**\n- Verified warning appears when creating \"Test\" prefix issues\n- Verified BEADS_DB isolation works correctly\n- Built successfully with `go build`","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-07T16:07:28.255289-08:00","updated_at":"2025-11-08T01:49:23.463399-08:00","closed_at":"2025-11-07T22:43:28.669908-08:00","source_repo":"."}