From c1542e9f93fd86841af40dd935c7fef05648c3f3 Mon Sep 17 00:00:00 2001 From: Steve Yegge Date: Thu, 20 Nov 2025 12:45:44 -0500 Subject: [PATCH] bd sync: 2025-11-20 12:45:44 --- .beads/beads.jsonl | 1050 ++++++++++++++++++++++++++------------------ 1 file changed, 630 insertions(+), 420 deletions(-) diff --git a/.beads/beads.jsonl b/.beads/beads.jsonl index 89b24008..90020ad4 100644 --- a/.beads/beads.jsonl +++ b/.beads/beads.jsonl @@ -1,6 +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-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":"."} @@ -11,6 +12,7 @@ {"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":"36ff43c769f6b0d227c892b20c3af9b1092b38e06cc0f31c0d7c313528be716e","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":"open","priority":0,"issue_type":"task","created_at":"2025-11-16T14:51:16.520465-08:00","updated_at":"2025-11-16T14:51:16.520465-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"}]} @@ -19,410 +21,458 @@ {"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"}]} {"id":"bd-0fvq","content_hash":"6fb6e394efe3010fd5d9213669417e5f6376017de4187988d5a6fd0d36c80b40","title":"bd doctor should recommend bd prime migration for existing repos","description":"bd doctor should detect old beads integration patterns and recommend migrating to bd prime approach.\n\n## Current behavior\n- bd doctor checks if Claude hooks are installed globally\n- Doesn't check project-level integration (AGENTS.md, CLAUDE.md)\n- Doesn't recommend migration for repos using old patterns\n\n## Desired behavior\nbd doctor should detect and suggest:\n\n1. **Old slash command pattern detected**\n - Check for /beads:* references in AGENTS.md, CLAUDE.md\n - Suggest: These slash commands are deprecated, use bd prime hooks instead\n \n2. **No agent documentation**\n - Check if AGENTS.md or CLAUDE.md exists\n - Suggest: Run 'bd onboard' or 'bd setup claude' to document workflow\n \n3. **Old MCP-only pattern**\n - Check for instructions to use MCP tools but no bd prime hooks\n - Suggest: Add bd prime hooks for better token efficiency\n\n4. **Migration path**\n - Show: 'Run bd setup claude to add SessionStart/PreCompact hooks'\n - Show: 'Update AGENTS.md to reference bd prime instead of slash commands'\n\n## Example output\n\n⚠ Warning: Old beads integration detected in CLAUDE.md\n Found: /beads:* slash command references (deprecated)\n Recommend: Migrate to bd prime hooks for better token efficiency\n Fix: Run 'bd setup claude' and update CLAUDE.md\n\n💡 Tip: bd prime + hooks reduces token usage by 80-99% vs slash commands\n MCP mode: ~50 tokens vs ~10.5k for full MCP scan\n CLI mode: ~1-2k tokens with automatic context recovery\n\n## Benefits\n- Helps existing repos adopt new best practices\n- Clear migration path for users\n- Better token efficiency messaging","status":"open","priority":2,"issue_type":"feature","created_at":"2025-11-12T03:20:25.567748-08:00","updated_at":"2025-11-12T03:20:25.567748-08:00","source_repo":"."} {"id":"bd-0kz8","content_hash":"b641c9c097cdeaa44b090d632eac2f89d89a5c3579f0ea58c8b02320b0fa49f7","title":"Fix default .beads/.gitignore to ignore merge artifacts (GH #274)","description":"Updated the default .gitignore template created by `bd init` to properly ignore merge artifacts and fix overly broad patterns.\n\nChanges:\n- Added `*.db?*` pattern for database files with query strings\n- Added explicit patterns for merge artifacts: beads.{base,left,right}.{jsonl,meta.json}\n- Changed `!*.jsonl` to `!issues.jsonl` to avoid including merge artifact JSONL files\n\nThis fixes GitHub issue #274 reported by rscorer.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-09T11:23:25.595551-08:00","updated_at":"2025-11-09T11:23:28.780095-08:00","closed_at":"2025-11-09T11:23:28.780095-08:00","source_repo":"."} +{"id":"bd-0qeg","content_hash":"50f35dcc442b133e766668f3201f5e4820a66dd05cfac1c5d30595d11806f98e","title":"Fix bd doctor hash ID detection for short all-numeric hashes","description":"bd doctor incorrectly flags hash-based IDs as sequential when they are short (3-4 chars) and all-numeric (e.g., pf-158).\n\nRoot cause: isHashID() in cmd/bd/migrate_hash_ids.go:328-358 uses faulty heuristic:\n- For IDs \u003c 5 chars, only returns true if contains letters\n- But base36 hash IDs can be 3+ chars and all-numeric (MinLength: 3)\n- Example: pf-158 is valid hash ID but flagged as sequential\n\nFix: Check multiple IDs (10-20 samples) instead of single-ID pattern matching:\n- Sample IDs across database \n- Check majority pattern (sequential vs hash format)\n- Sequential: 1-4 digits (bd-1, bd-2...)\n- Hash: 3-8 chars base36 (pf-158, pf-3s9...)\n\nImpact: False positive warnings in bd doctor output","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-16T13:45:20.733761-08:00","updated_at":"2025-11-16T14:27:48.143485-08:00","closed_at":"2025-11-16T14:27:48.143485-08:00","source_repo":"."} {"id":"bd-0vfe","content_hash":"e142bd97d91f70e50e8fea0681d8cdcffb17f17fdbd4c106d56607e243005d21","title":"Blocked issue","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T19:07:17.105974-08:00","updated_at":"2025-11-07T22:07:17.342098-08:00","closed_at":"2025-11-07T21:55:09.425545-08:00","source_repo":"."} -{"id":"bd-1000","content_hash":"5a6291718890e0140312420a35c98927faa6a6589677e3c40c941ddc1dee100e","title":"Batch Issue 2","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.945004-07:00","updated_at":"2025-10-21T00:29:10.945004-07:00","source_repo":"."} -{"id":"bd-1001","content_hash":"d2fbfa683edacdf95f7b42613d5b8750cbde285730ec029e3f0cdf171c5bfae9","title":"Agent 1 Batch 0 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.946615-07:00","updated_at":"2025-10-21T00:29:10.946615-07:00","source_repo":"."} -{"id":"bd-1002","content_hash":"a1c78e4228ce685e7b8991c665011717b094095b5c7d24621606563d589d421a","title":"Agent 1 Batch 0 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.947259-07:00","updated_at":"2025-10-21T00:29:10.947259-07:00","source_repo":"."} -{"id":"bd-1003","content_hash":"758c2eb6e06e9196df2a9dcbc44d8fb152486c383d98f5cb27956ff6776a8ca9","title":"Agent 1 Batch 1 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947894-07:00","updated_at":"2025-10-21T00:29:10.947894-07:00","source_repo":"."} -{"id":"bd-1004","content_hash":"1e9a487f1dce842ca3e92131e9622eb384a66c544b6e1b417a6096591f044d6d","title":"Agent 1 Batch 1 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.948422-07:00","updated_at":"2025-10-21T00:29:10.948422-07:00","source_repo":"."} -{"id":"bd-1005","content_hash":"940ca435801193d7094da076d033845a7842dc4b23bc7b1de5e3b4ca1c841470","title":"Agent 1 Batch 2 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.94894-07:00","updated_at":"2025-10-21T00:29:10.94894-07:00","source_repo":"."} -{"id":"bd-1006","content_hash":"495aac0d3671c12897c6276702c196023a403cb184171cd775f1a373f9d308b7","title":"Agent 1 Batch 2 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.949463-07:00","updated_at":"2025-10-21T00:29:10.949463-07:00","source_repo":"."} -{"id":"bd-1007","content_hash":"629aa3a775a81ef8b9d48fdb437161a2a68c005b0a6ee923daa838117db73c5e","title":"Agent 1 Batch 3 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.950053-07:00","updated_at":"2025-10-21T00:29:10.950053-07:00","source_repo":"."} -{"id":"bd-1008","content_hash":"df5224fcbda20388a9f34edeec709061ba9ffd63b59574410255945aa863476f","title":"Agent 1 Batch 3 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.950579-07:00","updated_at":"2025-10-21T00:29:10.950579-07:00","source_repo":"."} -{"id":"bd-1009","content_hash":"c16a43ed5ae1f9800d4512dc2d21252e0e6560e4aa38ee05333cf9b9b20786d3","title":"Agent 1 Batch 4 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.951355-07:00","updated_at":"2025-10-21T00:29:10.951355-07:00","source_repo":"."} -{"id":"bd-1010","content_hash":"c7e9298d063a59f9fb9f26fdfc931cc0d0c86e848633f2e41aeba34b5e92df59","title":"Agent 1 Batch 4 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.951871-07:00","updated_at":"2025-10-21T00:29:10.951871-07:00","source_repo":"."} -{"id":"bd-1011","content_hash":"445c37cd1685ac4893f8e7e2325bc9c5516670abad7ea74e3f8417455f0dc1c5","title":"Agent 1 Batch 5 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.952394-07:00","updated_at":"2025-10-21T00:29:10.952394-07:00","source_repo":"."} -{"id":"bd-1012","content_hash":"328ae1d9901c6c9fe892c92c80ad4fb2c5f6e5c69d3b6a251fa59f9c49db7577","title":"Agent 1 Batch 5 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.952916-07:00","updated_at":"2025-10-21T00:29:10.952916-07:00","source_repo":"."} -{"id":"bd-1013","content_hash":"9a848691fd4d120253989bc3feff0478d405985efd6e5143b1b3b65a1ca03181","title":"Agent 1 Batch 6 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.953422-07:00","updated_at":"2025-10-21T00:29:10.953422-07:00","source_repo":"."} -{"id":"bd-1014","content_hash":"2037133bfb06dc5229e3ea51c1dcc1fe8251898ab2fc7ebd46c814bf5f22e608","title":"Agent 1 Batch 6 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.953906-07:00","updated_at":"2025-10-21T00:29:10.953906-07:00","source_repo":"."} -{"id":"bd-1015","content_hash":"f8c279ac0bd10c2760eea69890c4a38260e8a54713b64e587f9d832993c1f39f","title":"Agent 1 Batch 7 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.95442-07:00","updated_at":"2025-10-21T00:29:10.95442-07:00","source_repo":"."} -{"id":"bd-1016","content_hash":"b98723e1d2cbacb22a5d9d491ae552db9ff52748d5623ef3df289d550b1c4275","title":"Agent 1 Batch 7 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.954912-07:00","updated_at":"2025-10-21T00:29:10.954912-07:00","source_repo":"."} -{"id":"bd-1017","content_hash":"6e6568e9988e4a7137d37e082fe7c3e9ba185d6bfc5d3a661048ac2e7e3e3a3d","title":"Agent 1 Batch 8 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.955421-07:00","updated_at":"2025-10-21T00:29:10.955421-07:00","source_repo":"."} -{"id":"bd-1018","content_hash":"e77100a08a5f3eb226fd0688d2dafd3e9223f7458288984a5d2e221eaf4b5d44","title":"Agent 1 Batch 8 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.955904-07:00","updated_at":"2025-10-21T00:29:10.955904-07:00","source_repo":"."} -{"id":"bd-1019","content_hash":"ac91af57a51fdf0eacf66f91ad83b0558313f5bb06aa24057ee6db96fabea51a","title":"Agent 1 Batch 9 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.956409-07:00","updated_at":"2025-10-21T00:29:10.956409-07:00","source_repo":"."} -{"id":"bd-1020","content_hash":"a6f8781ae92af038c757aeb0b47dfb57ce2a4ee83bbecd0fbb52e2265a551a25","title":"Agent 1 Batch 9 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.956919-07:00","updated_at":"2025-10-21T00:29:10.956919-07:00","source_repo":"."} -{"id":"bd-1021","content_hash":"f1ec76f89adb778985bb8fac083997d75c549d3595f7785f5e2a1935f926bbf7","title":"Agent 1 Batch 10 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.957421-07:00","updated_at":"2025-10-21T00:29:10.957421-07:00","source_repo":"."} +{"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-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-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":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.958477-07:00","updated_at":"2025-10-21T00:29:10.958477-07:00","source_repo":"."} -{"id":"bd-1024","content_hash":"4d2ee8fc15478bff994fef598e75b51e42fe041d5fab857a32897369777e1fd3","title":"Agent 1 Batch 11 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.959027-07:00","updated_at":"2025-10-21T00:29:10.959027-07:00","source_repo":"."} -{"id":"bd-1025","content_hash":"d6719cf565dc04132f536063ac6c8e26bfc5e409b8ee9d3ca77a9626cf5f6e4e","title":"Agent 1 Batch 12 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.959546-07:00","updated_at":"2025-10-21T00:29:10.959546-07:00","source_repo":"."} -{"id":"bd-1026","content_hash":"8edc526aa8682713fbb199d55d359922ca091b7a7f7855c0322c5d4c33e39ae2","title":"Agent 1 Batch 12 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.960084-07:00","updated_at":"2025-10-21T00:29:10.960084-07:00","source_repo":"."} -{"id":"bd-1027","content_hash":"0bd73bfb479ed2271e52b7e092f935e3e466e9267ca1a679a3daf652f82b4b83","title":"Agent 1 Batch 13 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.960662-07:00","updated_at":"2025-10-21T00:29:10.960662-07:00","source_repo":"."} -{"id":"bd-1028","content_hash":"0a5d91b2bc9ade000d587ece88aba19caee32bb1c698c9089da020edeed8ac11","title":"Agent 1 Batch 13 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.961806-07:00","updated_at":"2025-10-21T00:29:10.961806-07:00","source_repo":"."} -{"id":"bd-1029","content_hash":"ff19468bd42e32e36380ae0e4f5ad941cb6d3c2068fef6a44e5df982bd1c1f69","title":"Agent 1 Batch 14 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.962571-07:00","updated_at":"2025-10-21T00:29:10.962571-07:00","source_repo":"."} -{"id":"bd-1030","content_hash":"8ac001f178be9f0c94fa1a34d375372e18f396b72de9b3713c6324759a46258f","title":"Agent 1 Batch 14 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.963245-07:00","updated_at":"2025-10-21T00:29:10.963245-07:00","source_repo":"."} -{"id":"bd-1031","content_hash":"d2a6c387b648be68eb088d912e07674bca3bb1c878f4a89ca874b80b4a835633","title":"Agent 1 Batch 15 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.964384-07:00","updated_at":"2025-10-21T00:29:10.964384-07:00","source_repo":"."} -{"id":"bd-1032","content_hash":"0eaeb60a4f075bef6d41574c896bd783a401b14a7e66797f246ebc3c42ec3a22","title":"Agent 1 Batch 15 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.965279-07:00","updated_at":"2025-10-21T00:29:10.965279-07:00","source_repo":"."} -{"id":"bd-1033","content_hash":"52e7d8243c336605a28ac69a6df23fbc8a6a399247988727bb8cd7979ff11dd2","title":"Agent 1 Batch 16 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.965925-07:00","updated_at":"2025-10-21T00:29:10.965925-07:00","source_repo":"."} -{"id":"bd-1034","content_hash":"13df64b2084cc2c2b84d4069463bccd86abeadda950572e107037bab0a7a26c3","title":"Agent 1 Batch 16 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.966573-07:00","updated_at":"2025-10-21T00:29:10.966573-07:00","source_repo":"."} -{"id":"bd-1035","content_hash":"a3de39b969c8a2264cf675f78453e65df30101aa760584740d451d72b60acf6d","title":"Agent 1 Batch 17 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.967208-07:00","updated_at":"2025-10-21T00:29:10.967208-07:00","source_repo":"."} -{"id":"bd-1036","content_hash":"dc13ae398c1145776ca5b2605ecf321d272d95028d52357915753466fe2d7d46","title":"Agent 1 Batch 17 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.967804-07:00","updated_at":"2025-10-21T00:29:10.967804-07:00","source_repo":"."} -{"id":"bd-1037","content_hash":"556495382b607b56b1307c9c8b2ed646140af47ebd23b194bcef06cd1c504ce1","title":"Agent 1 Batch 18 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.968447-07:00","updated_at":"2025-10-21T00:29:10.968447-07:00","source_repo":"."} -{"id":"bd-1038","content_hash":"7eb32dcbb5c682212d05b3c27d1e5de77a077669ab3b1a5dacfb320145dd380d","title":"Agent 1 Batch 18 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.969047-07:00","updated_at":"2025-10-21T00:29:10.969047-07:00","source_repo":"."} -{"id":"bd-1039","content_hash":"9ad38280ddf41e22893c346c0d14093ed3c81bca8681787747455e936c703ab2","title":"Agent 1 Batch 19 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.969693-07:00","updated_at":"2025-10-21T00:29:10.969693-07:00","source_repo":"."} -{"id":"bd-1040","content_hash":"67d03c480e720452d977429a5640ea7a2195e0444d4b7690a8eab901206f4559","title":"Agent 1 Batch 19 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.970303-07:00","updated_at":"2025-10-21T00:29:10.970303-07:00","source_repo":"."} -{"id":"bd-1041","content_hash":"0a008295d7d3c6c4b46c40e10b6eadbd08ea674d391c9c3714912ba0253313e9","title":"Agent 1 Batch 20 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.970941-07:00","updated_at":"2025-10-21T00:29:10.970941-07:00","source_repo":"."} -{"id":"bd-1042","content_hash":"41f9a43621582fefd135000ce9e85a5a5f9211b707b19d903afe28676c1a5dc1","title":"Agent 1 Batch 20 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.97165-07:00","updated_at":"2025-10-21T00:29:10.97165-07:00","source_repo":"."} -{"id":"bd-1043","content_hash":"1ee2b12103192432bcd33cc0198ff9509a67625d070110155507a597e7d3f25a","title":"Agent 1 Batch 21 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.972284-07:00","updated_at":"2025-10-21T00:29:10.972284-07:00","source_repo":"."} -{"id":"bd-1044","content_hash":"df64d795dd9d069b8eccc4ad683cf18c114381ea40cdd45816b36bc9339ab8e1","title":"Agent 1 Batch 21 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.972854-07:00","updated_at":"2025-10-21T00:29:10.972854-07:00","source_repo":"."} -{"id":"bd-1045","content_hash":"62587242caf68a4d002f7e7e6bc750f9043ba7f955514b3bb0c30c7dc5972b64","title":"Agent 0 Batch 0 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947563-07:00","updated_at":"2025-10-21T00:29:10.947563-07:00","source_repo":"."} -{"id":"bd-1046","content_hash":"a7bce8c2abf87751cdee9e396ace2a1e0e569144ebd3197a07dbb312e2171333","title":"Agent 0 Batch 0 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.974431-07:00","updated_at":"2025-10-21T00:29:10.974431-07:00","source_repo":"."} -{"id":"bd-1047","content_hash":"7ffd7ca7bcf89c8c1893d7506bea014678af91b2d257367903b886ce5e2699a9","title":"Agent 0 Batch 1 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.975076-07:00","updated_at":"2025-10-21T00:29:10.975076-07: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-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-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":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.976188-07:00","updated_at":"2025-10-21T00:29:10.976188-07:00","source_repo":"."} -{"id":"bd-1050","content_hash":"1c6ca381a2f4f492380653264e269b8d9ee0b60290f1d77f289836c6d5894aac","title":"Agent 0 Batch 2 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.976721-07:00","updated_at":"2025-10-21T00:29:10.976721-07:00","source_repo":"."} -{"id":"bd-1051","content_hash":"c5ab9c96692915bdb48ce4731ffdc97d97cb3c418bfd6313974a411c23a03a0d","title":"Agent 0 Batch 3 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.977243-07:00","updated_at":"2025-10-21T00:29:10.977243-07:00","source_repo":"."} -{"id":"bd-1052","content_hash":"009741fd86f2f159f31dd23c7128b90dc08c96b138cfab101d5adefa254f0474","title":"Agent 0 Batch 3 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.977746-07:00","updated_at":"2025-10-21T00:29:10.977746-07:00","source_repo":"."} -{"id":"bd-1053","content_hash":"064586394b862e2d0a4fc436858549d3cd2c9324f74a589c4f52bd7e401e37a4","title":"Agent 0 Batch 4 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.978288-07:00","updated_at":"2025-10-21T00:29:10.978288-07:00","source_repo":"."} -{"id":"bd-1054","content_hash":"17c6dda558aa2ac346aa7eb7bbab2838aa980155cea4de617468df2c9c2e00b3","title":"Agent 0 Batch 4 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.978933-07:00","updated_at":"2025-10-21T00:29:10.978933-07:00","source_repo":"."} -{"id":"bd-1055","content_hash":"0efadb1d8ed8812bb5eaaeaf09b02514cf4e9fbdff43abd026dd9b0925c1d601","title":"Agent 0 Batch 5 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.97963-07:00","updated_at":"2025-10-21T00:29:10.97963-07:00","source_repo":"."} -{"id":"bd-1056","content_hash":"da5b6a3c750e0ec8ecfff4c959c273661449a3dd43847ab8a69fc6623609adaa","title":"Agent 0 Batch 5 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.980196-07:00","updated_at":"2025-10-21T00:29:10.980196-07:00","source_repo":"."} -{"id":"bd-1057","content_hash":"55e7467bf2a68dbb6b5c435babc33c0e6c1e1316b5aae0aa8f963871e586aa43","title":"Agent 3 Batch 0 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947273-07:00","updated_at":"2025-10-21T00:29:10.947273-07:00","source_repo":"."} -{"id":"bd-1058","content_hash":"514a476a6ee8b60775a377bbbb93ed61afaae5c7b1ff96fe1c431332f11971e9","title":"Agent 3 Batch 0 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.981378-07:00","updated_at":"2025-10-21T00:29:10.981378-07:00","source_repo":"."} -{"id":"bd-1059","content_hash":"3ce32d2d2dfab8411fc5f6a362e41382cece11d9fe83dc4ac985859e3f378e49","title":"Agent 0 Batch 6 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.980807-07:00","updated_at":"2025-10-21T00:29:10.980807-07:00","source_repo":"."} -{"id":"bd-1060","content_hash":"a77ede76bc79fe52ffb5b345cab79f572e9f6a758b88f1dd7f611368d8a12166","title":"Agent 0 Batch 6 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.982512-07:00","updated_at":"2025-10-21T00:29:10.982512-07:00","source_repo":"."} -{"id":"bd-1061","content_hash":"e3033646f3c0982392928c6aec80a1d4adf9143cb40e16a873c1737ffea687df","title":"Agent 3 Batch 1 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.981979-07:00","updated_at":"2025-10-21T00:29:10.981979-07:00","source_repo":"."} -{"id":"bd-1062","content_hash":"df2781f5a841e518dd5e29ecd21e468ee1a3f68de5829e1cb89b059a052919d8","title":"Agent 3 Batch 1 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.983712-07:00","updated_at":"2025-10-21T00:29:10.983712-07:00","source_repo":"."} -{"id":"bd-1063","content_hash":"38084d13dc0389fa4e1b385bd92035d9b6b6a20b7fc51cc2d8368df48d964949","title":"Agent 3 Batch 2 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.984373-07:00","updated_at":"2025-10-21T00:29:10.984373-07:00","source_repo":"."} -{"id":"bd-1064","content_hash":"e6a2d6d2bc26439891416acdfeb53658441cf053ade17b3bbbe8b4a3e08846a3","title":"Agent 3 Batch 2 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.984965-07:00","updated_at":"2025-10-21T00:29:10.984965-07:00","source_repo":"."} -{"id":"bd-1065","content_hash":"4e640fcfc86d40e7b05456d2a84ac2a4e2e66b4feba9c5767cf039b98fe74425","title":"Agent 3 Batch 3 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.985593-07:00","updated_at":"2025-10-21T00:29:10.985593-07:00","source_repo":"."} -{"id":"bd-1066","content_hash":"c48478d6f788d7bc43344c4e8fe6b0e22c018363a2c22c2091161687bdb89271","title":"Agent 3 Batch 3 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.986144-07:00","updated_at":"2025-10-21T00:29:10.986144-07:00","source_repo":"."} -{"id":"bd-1067","content_hash":"43db2648d01feb94081cfa6918e728312d3f4ea3868dcd52c75daa27645c8f08","title":"Agent 3 Batch 4 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.986729-07:00","updated_at":"2025-10-21T00:29:10.986729-07:00","source_repo":"."} -{"id":"bd-1068","content_hash":"4ce9ece84ba646d5d2c2c45170502f6a6b1c3dcecfae6c5391ee259e5a49312c","title":"Agent 3 Batch 4 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.987275-07:00","updated_at":"2025-10-21T00:29:10.987275-07:00","source_repo":"."} -{"id":"bd-1069","content_hash":"8ffc28fe08af345597a87d4e01367a5b4aeea8dd5be82fd9f74d22bbfabaabf9","title":"Agent 3 Batch 5 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.987833-07:00","updated_at":"2025-10-21T00:29:10.987833-07:00","source_repo":"."} -{"id":"bd-1070","content_hash":"609f236ece5609670b3a3798fbeb443d4ee3dd186cb7f78e6608ef3472ea3c5b","title":"Agent 3 Batch 5 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.98839-07:00","updated_at":"2025-10-21T00:29:10.98839-07:00","source_repo":"."} -{"id":"bd-1071","content_hash":"7809f8d2e5c511609b7a595d3374a556e808610d5269183516cf2b5cace94f7a","title":"Agent 3 Batch 6 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.988942-07:00","updated_at":"2025-10-21T00:29:10.988942-07:00","source_repo":"."} -{"id":"bd-1072","content_hash":"afb546bd2598c0630fb4e1ca246c6361bfd6048d3de64cc44783809bb1390482","title":"Agent 3 Batch 6 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.989753-07:00","updated_at":"2025-10-21T00:29:10.989753-07:00","source_repo":"."} -{"id":"bd-1073","content_hash":"5b4e130cddae609296f6634c81ecdf743d876fff40ee13ca04d0b211957d1872","title":"Agent 3 Batch 7 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.990357-07:00","updated_at":"2025-10-21T00:29:10.990357-07:00","source_repo":"."} -{"id":"bd-1074","content_hash":"606c23643eb74255e1f92712d47b788f47b2356acf12bca97d41cbbd9d77e52b","title":"Agent 3 Batch 7 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.990877-07:00","updated_at":"2025-10-21T00:29:10.990877-07:00","source_repo":"."} -{"id":"bd-1075","content_hash":"d5fd86dbd0fc9d20c1fd597647ea2cb1873a60d6e61d274f91df8e0a110bda0f","title":"Agent 3 Batch 8 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.991431-07:00","updated_at":"2025-10-21T00:29:10.991431-07:00","source_repo":"."} -{"id":"bd-1076","content_hash":"3e70b3e84928c6dbf86eda667700affa76487a5c09361c98339f6fa14ad1036a","title":"Agent 3 Batch 8 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.991966-07:00","updated_at":"2025-10-21T00:29:10.991966-07:00","source_repo":"."} -{"id":"bd-1077","content_hash":"70ea2f9a48b5c13b551d9fda0e0996ad9440738384ce952a2639e1ef44644271","title":"Agent 3 Batch 9 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.992559-07:00","updated_at":"2025-10-21T00:29:10.992559-07:00","source_repo":"."} -{"id":"bd-1078","content_hash":"315bd4b14bc7fae4b8e97e15c93e327cd494edb169010408a4fd06336b81d91b","title":"Agent 3 Batch 9 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.993099-07:00","updated_at":"2025-10-21T00:29:10.993099-07:00","source_repo":"."} -{"id":"bd-1079","content_hash":"65eff842361a7cb3456ac3176ac125ed976787f1dce32fe1aac7fd9de2dea1dd","title":"Agent 3 Batch 10 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.993679-07:00","updated_at":"2025-10-21T00:29:10.993679-07:00","source_repo":"."} -{"id":"bd-1080","content_hash":"accc987871f549bda8efbebb3fb00d4fa9558c1f479213720c98ab4789c90ba5","title":"Agent 3 Batch 10 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.99419-07:00","updated_at":"2025-10-21T00:29:10.99419-07:00","source_repo":"."} -{"id":"bd-1081","content_hash":"a210f1f515c114bc47948e223cef02260f06f4b83e7fb1058a9af5ef0b9ffb86","title":"Agent 1 Batch 22 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.97363-07:00","updated_at":"2025-10-21T00:29:10.97363-07:00","source_repo":"."} -{"id":"bd-1082","content_hash":"a49bcc7c41442ed3fda356ac1cdc639aa8eecb3c0dff111a36b45bbff0bbcf98","title":"Agent 1 Batch 22 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.995302-07:00","updated_at":"2025-10-21T00:29:10.995302-07:00","source_repo":"."} -{"id":"bd-1083","content_hash":"3392214c4f6ba3d89fcb0bd12e8fba6550a68c31c0ce9c12104d4a88b658a6f0","title":"Agent 3 Batch 11 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.994767-07:00","updated_at":"2025-10-21T00:29:10.994767-07:00","source_repo":"."} -{"id":"bd-1084","content_hash":"c008a6de3100c4fb7e5c46251fcc81a349b6d59bea43e47271df60bc414f0f93","title":"Agent 3 Batch 11 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.996359-07:00","updated_at":"2025-10-21T00:29:10.996359-07:00","source_repo":"."} -{"id":"bd-1085","content_hash":"7a5b2213c0b25976cf7dfd0785dadef00c430a76d8fb2672a546c9aa26905dd4","title":"Agent 1 Batch 23 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.995869-07:00","updated_at":"2025-10-21T00:29:10.995869-07:00","source_repo":"."} -{"id":"bd-1086","content_hash":"d57eab54d4cbe71dda4888d4574bb19e8b26cd121564fc6558f6d77de6f10677","title":"Agent 1 Batch 23 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.997449-07:00","updated_at":"2025-10-21T00:29:10.997449-07:00","source_repo":"."} -{"id":"bd-1087","content_hash":"dac90e0f63f5a353a23d99b315aac308bd46e85eee8ab204b958ea94d191796e","title":"Agent 3 Batch 12 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.996933-07:00","updated_at":"2025-10-21T00:29:10.996933-07:00","source_repo":"."} -{"id":"bd-1088","content_hash":"be1d9a4aba457be4f91ad707d76fbe0aa64f9275202700876bc4935671159519","title":"Agent 3 Batch 12 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.998552-07:00","updated_at":"2025-10-21T00:29:10.998552-07:00","source_repo":"."} -{"id":"bd-1089","content_hash":"73d155a6d6feef453654e728445f596e70030543b9434bd762ba3ce68e4ed942","title":"Agent 1 Batch 24 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.998034-07:00","updated_at":"2025-10-21T00:29:10.998034-07:00","source_repo":"."} -{"id":"bd-1090","content_hash":"f49df0ac0e7734de92f6c3017ed1eb1d69374f4cddc68f0684d8c51aec42aad5","title":"Agent 1 Batch 24 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:10.999617-07:00","updated_at":"2025-10-21T00:29:10.999617-07:00","source_repo":"."} -{"id":"bd-1091","content_hash":"437347a8c1ef594f17a3430037222013b0dd02a9a23ba7a264b2ffcaaa540351","title":"Agent 3 Batch 13 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.999095-07:00","updated_at":"2025-10-21T00:29:10.999095-07:00","source_repo":"."} -{"id":"bd-1092","content_hash":"090c46a01870d53889a376a152435072a215e4ab978a1bc9c3195cb28ff3d260","title":"Agent 3 Batch 13 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.000772-07:00","updated_at":"2025-10-21T00:29:11.000772-07:00","source_repo":"."} -{"id":"bd-1093","content_hash":"88ef818a7ab1ee11432aebb0e7767f24cab7f350c40f05799329241c88b4d80f","title":"Agent 1 Batch 25 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.000196-07:00","updated_at":"2025-10-21T00:29:11.000196-07:00","source_repo":"."} -{"id":"bd-1094","content_hash":"6b83466ce7f7b7b2379942776d709f597d460f8e4d0e5d553d235bd840add746","title":"Agent 1 Batch 25 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.001974-07:00","updated_at":"2025-10-21T00:29:11.001974-07:00","source_repo":"."} -{"id":"bd-1095","content_hash":"648d30a66ec6ec93b956e2ab578631d1042f5a42995945c1f1857b69e9cf9dd8","title":"Agent 3 Batch 14 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.001408-07:00","updated_at":"2025-10-21T00:29:11.001408-07:00","source_repo":"."} -{"id":"bd-1096","content_hash":"8becd264589d57b61be3a60e0bc5827c417c6063a3ad31d2b52b060ea58a06c0","title":"Agent 3 Batch 14 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.003108-07:00","updated_at":"2025-10-21T00:29:11.003108-07:00","source_repo":"."} -{"id":"bd-1097","content_hash":"7724f951cab1771ccf1b77a4e6a7e95e813e23a2eac4e6ff8c5e23cfdc58cae2","title":"Agent 1 Batch 26 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.002558-07:00","updated_at":"2025-10-21T00:29:11.002558-07:00","source_repo":"."} -{"id":"bd-1098","content_hash":"a6c2a1aa593b134557f2559550fb7b197cd97f2c2aa29c22efab7900a6884d17","title":"Agent 1 Batch 26 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.004273-07:00","updated_at":"2025-10-21T00:29:11.004273-07:00","source_repo":"."} -{"id":"bd-1099","content_hash":"e23426870a9e7c09982a80213116b130f998da02fd9600ded63e745d5387103b","title":"Agent 3 Batch 15 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.00372-07:00","updated_at":"2025-10-21T00:29:11.00372-07:00","source_repo":"."} -{"id":"bd-1100","content_hash":"03e73cb792a3f88fe543162c5ebe958707f6c447691089cf2d7673a5fccc707c","title":"Agent 3 Batch 15 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.005382-07:00","updated_at":"2025-10-21T00:29:11.005382-07:00","source_repo":"."} -{"id":"bd-1101","content_hash":"518045850c9a88690e9fd0adb88a0961f2b67a34ded5a629f3f80f676cc6c863","title":"Agent 1 Batch 27 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.004838-07:00","updated_at":"2025-10-21T00:29:11.004838-07:00","source_repo":"."} -{"id":"bd-1102","content_hash":"0804e9b7bb22a2540d0fdce1d2c11eb4ff430f667ece2a12199c411d6c887174","title":"Agent 1 Batch 27 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.006478-07:00","updated_at":"2025-10-21T00:29:11.006478-07:00","source_repo":"."} -{"id":"bd-1103","content_hash":"56b62439e20e78fbeacfb1d4a08f7bf608273367551713d91c4621bc85250fda","title":"Agent 3 Batch 16 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.005956-07:00","updated_at":"2025-10-21T00:29:11.005956-07:00","source_repo":"."} -{"id":"bd-1104","content_hash":"c3e0a5739f2e968efa0b7b5630c47a5460589654883b4359a2e3f575c422427f","title":"Agent 3 Batch 16 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.007655-07:00","updated_at":"2025-10-21T00:29:11.007655-07:00","source_repo":"."} -{"id":"bd-1105","content_hash":"f4d16246e650767649bc6425c90a8468b20978404f3d9e9b723fb2bb2bd7347f","title":"Agent 1 Batch 28 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.007077-07:00","updated_at":"2025-10-21T00:29:11.007077-07:00","source_repo":"."} -{"id":"bd-1106","content_hash":"e98f9c793ab5562feda85e19a49f53f98c459490ff7e2faf1b7c286898484d36","title":"Agent 1 Batch 28 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.008732-07:00","updated_at":"2025-10-21T00:29:11.008732-07:00","source_repo":"."} -{"id":"bd-1107","content_hash":"5726f883699d48bf379e9f280d4e7d5e61441709805efa26c7dfa6ae65dcd479","title":"Agent 3 Batch 17 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.008228-07:00","updated_at":"2025-10-21T00:29:11.008228-07:00","source_repo":"."} -{"id":"bd-1108","content_hash":"3f8bb1471752c41e45f6e5b30b6e7dda4b05079f4c4ba8e8bfeb86ffa35fff05","title":"Agent 3 Batch 17 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.009835-07:00","updated_at":"2025-10-21T00:29:11.009835-07:00","source_repo":"."} -{"id":"bd-1109","content_hash":"60c83bc9458ab654fc5ed35f6e4253d40a950c684b79390ba6200fc398337cb3","title":"Agent 1 Batch 29 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.009312-07:00","updated_at":"2025-10-21T00:29:11.009312-07:00","source_repo":"."} -{"id":"bd-1110","content_hash":"4a6460d450df90479d852d115b78498a5965547f598a262d88b58fb98041bb66","title":"Agent 1 Batch 29 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.010902-07:00","updated_at":"2025-10-21T00:29:11.010902-07:00","source_repo":"."} -{"id":"bd-1111","content_hash":"5ed4242cc2d79c42f6e3de0201c42c78b54049847affa1d61bbddb9ad1c14b50","title":"Agent 3 Batch 18 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.010391-07:00","updated_at":"2025-10-21T00:29:11.010391-07:00","source_repo":"."} -{"id":"bd-1112","content_hash":"f17eb00556e6068698d4c52b967255e609f7295723dec66d0310c9ef4ee96473","title":"Agent 3 Batch 18 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.012001-07:00","updated_at":"2025-10-21T00:29:11.012001-07:00","source_repo":"."} -{"id":"bd-1113","content_hash":"707b33b6293bfeb11c4972cc591556899d9dd2c499412e209922eaab7b131d66","title":"Agent 1 Batch 30 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.011463-07:00","updated_at":"2025-10-21T00:29:11.011463-07:00","source_repo":"."} -{"id":"bd-1114","content_hash":"f49372856de2383c13504b1af9b4446ddcfd53617eba2599e5cbe1138496262b","title":"Agent 1 Batch 30 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.013073-07:00","updated_at":"2025-10-21T00:29:11.013073-07:00","source_repo":"."} -{"id":"bd-1115","content_hash":"e59f7faf36a0c1160e5a08ddddaeceaa6057b6695547f2c084527b4c386ae9ff","title":"Agent 3 Batch 19 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.012556-07:00","updated_at":"2025-10-21T00:29:11.012556-07:00","source_repo":"."} -{"id":"bd-1116","content_hash":"e145aafe5ffe3fcb597ad78cf518a8f9510197a845e88e101df7d7586eab6c35","title":"Agent 3 Batch 19 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.014186-07:00","updated_at":"2025-10-21T00:29:11.014186-07:00","source_repo":"."} -{"id":"bd-1117","content_hash":"2bb5cbc6bddd6ea39e2c4f41b7656f9ef244d1b382b221e6ae391c336ddc0155","title":"Agent 1 Batch 31 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.01365-07:00","updated_at":"2025-10-21T00:29:11.01365-07:00","source_repo":"."} -{"id":"bd-1118","content_hash":"1953d90c5a10d47c4cd2b0e4e2f1e235f424737f9843048b785fcc6a0ddb5df2","title":"Agent 1 Batch 31 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.01529-07:00","updated_at":"2025-10-21T00:29:11.01529-07:00","source_repo":"."} -{"id":"bd-1119","content_hash":"f9299204e28b926ec951c36bf2e101769e4ba546893c149c59c6e1137b40e6d5","title":"Agent 3 Batch 20 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.014746-07:00","updated_at":"2025-10-21T00:29:11.014746-07:00","source_repo":"."} -{"id":"bd-1120","content_hash":"a73025a0bd54dfb65ecd927f493fc5ecb44cedfb85fb5f3f86ba3fc8b5a66082","title":"Agent 3 Batch 20 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.016401-07:00","updated_at":"2025-10-21T00:29:11.016401-07:00","source_repo":"."} -{"id":"bd-1121","content_hash":"3be11367982ca379681e1ace1eb8dce5e1b470878a6d78f62b033ace5297988e","title":"Agent 1 Batch 32 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.015873-07:00","updated_at":"2025-10-21T00:29:11.015873-07:00","source_repo":"."} -{"id":"bd-1122","content_hash":"67798eedd97af039e8b6dd8e65377a411d63b512acd9d448675da01e11468924","title":"Agent 1 Batch 32 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.0175-07:00","updated_at":"2025-10-21T00:29:11.0175-07:00","source_repo":"."} -{"id":"bd-1123","content_hash":"746edc8c6ab4ccb89bc3ccb80680d25070d5dfe89deeaf8eecac87ad2fd0d496","title":"Agent 3 Batch 21 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.016974-07:00","updated_at":"2025-10-21T00:29:11.016974-07:00","source_repo":"."} -{"id":"bd-1124","content_hash":"ed2839ff06ae45afabbf36237fc6ded1bd31244432d003bebbb34a3c5182eee6","title":"Agent 3 Batch 21 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.018592-07:00","updated_at":"2025-10-21T00:29:11.018592-07:00","source_repo":"."} -{"id":"bd-1125","content_hash":"69f35941988fa90ededb24b39152d2d302a7390709fd1b2d2842201b41deb703","title":"Agent 1 Batch 33 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.018077-07:00","updated_at":"2025-10-21T00:29:11.018077-07:00","source_repo":"."} -{"id":"bd-1126","content_hash":"9d258747f468f76df6f4eac2a98d09d2117b2f461f2d70f5330f0453dcecf06f","title":"Agent 1 Batch 33 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.019683-07:00","updated_at":"2025-10-21T00:29:11.019683-07:00","source_repo":"."} -{"id":"bd-1127","content_hash":"b9d9b0742dbeef970130e90d2f37b580108d30cbd31cf868aa56243a634b50b6","title":"Agent 3 Batch 22 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.019139-07:00","updated_at":"2025-10-21T00:29:11.019139-07:00","source_repo":"."} -{"id":"bd-1128","content_hash":"511ed4a3fc32c609494f53f8e29f21c3a09ceab6d087e34cc778856b882e89ea","title":"Agent 3 Batch 22 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.020797-07:00","updated_at":"2025-10-21T00:29:11.020797-07:00","source_repo":"."} -{"id":"bd-1129","content_hash":"b8f2499e78bb15377a0734006b010a6c7678ded5ec1b10b9a29e2e51b471fad4","title":"Agent 1 Batch 34 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.020257-07:00","updated_at":"2025-10-21T00:29:11.020257-07:00","source_repo":"."} -{"id":"bd-1130","content_hash":"4242c95bbdf9b60067e083c4d3c7fdc3d767b0ee89605173fc19389aa065fd0a","title":"Agent 1 Batch 34 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.021922-07:00","updated_at":"2025-10-21T00:29:11.021922-07:00","source_repo":"."} -{"id":"bd-1131","content_hash":"e34c9b458f871a99e7dd383678e02c330fcb885848de8101123321caf6940c1d","title":"Agent 3 Batch 23 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.021377-07:00","updated_at":"2025-10-21T00:29:11.021377-07:00","source_repo":"."} -{"id":"bd-1132","content_hash":"ffdcd39ec9c9334f4588905486d6176b8c9a9fc94e32cd311c0a8fd20dbbca06","title":"Agent 3 Batch 23 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.023036-07:00","updated_at":"2025-10-21T00:29:11.023036-07:00","source_repo":"."} -{"id":"bd-1133","content_hash":"281d0790d9d2790f4aa501623ab0d949afbcac865853fd1dfd25afc14a9f03d0","title":"Agent 1 Batch 35 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.022488-07:00","updated_at":"2025-10-21T00:29:11.022488-07:00","source_repo":"."} -{"id":"bd-1134","content_hash":"8249d1f3865cb5114eeb8d095695fcaf76899bd852ae2147dc127780340863b6","title":"Agent 1 Batch 35 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.024169-07:00","updated_at":"2025-10-21T00:29:11.024169-07:00","source_repo":"."} -{"id":"bd-1135","content_hash":"5b07072d122673d82524a337ac4e7db22cd9b75a8dcc33277c364656a088bac4","title":"Agent 3 Batch 24 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.023619-07:00","updated_at":"2025-10-21T00:29:11.023619-07:00","source_repo":"."} -{"id":"bd-1136","content_hash":"65f9e9fba02225cc797294120b1580bbcd07e8a178c0da7b8b94194d3e4922cf","title":"Agent 3 Batch 24 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.026074-07:00","updated_at":"2025-10-21T00:29:11.026074-07:00","source_repo":"."} -{"id":"bd-1137","content_hash":"947c42fef21b32c0caa916209f1d5c063dc45c95ba9be6b1546b9ba86ba811c2","title":"Agent 3 Batch 25 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.026821-07:00","updated_at":"2025-10-21T00:29:11.026821-07:00","source_repo":"."} -{"id":"bd-1138","content_hash":"5ec464fe73e6d1e5f45960b8f90206d7dca4e3fea5a0b3165d8c9d0840f6793d","title":"Agent 3 Batch 25 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.027405-07:00","updated_at":"2025-10-21T00:29:11.027405-07:00","source_repo":"."} -{"id":"bd-1139","content_hash":"9ae3ad911390bdee216e1c18d4ad151ec5e5a0801492c17e4c44455fd7313662","title":"Agent 3 Batch 26 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.02801-07:00","updated_at":"2025-10-21T00:29:11.02801-07:00","source_repo":"."} -{"id":"bd-1140","content_hash":"df83e11107202d188a7b5334df17cd7b312a166915c992d2d7c536147993ff17","title":"Agent 3 Batch 26 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.028551-07:00","updated_at":"2025-10-21T00:29:11.028551-07:00","source_repo":"."} -{"id":"bd-1141","content_hash":"d8ad571a040cf3f32f65edf2e0184ab82c22ae9f769ed1bdfa203162ab984f17","title":"Agent 3 Batch 27 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.029101-07:00","updated_at":"2025-10-21T00:29:11.029101-07:00","source_repo":"."} -{"id":"bd-1142","content_hash":"30abeddcfa8273c5bd42336e5b43e53ed6644bd2526e69d9ac781c1b07b119d3","title":"Agent 3 Batch 27 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.029658-07:00","updated_at":"2025-10-21T00:29:11.029658-07:00","source_repo":"."} -{"id":"bd-1143","content_hash":"e714ace70ae389f8e78bc8daecc59b68543ce7a1a96afc215a17308a72273197","title":"Agent 3 Batch 28 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.030246-07:00","updated_at":"2025-10-21T00:29:11.030246-07:00","source_repo":"."} -{"id":"bd-1144","content_hash":"31fa95ad588c962259af293b205ca64ae44c39f9bbabb7a00795ab4cd75c0398","title":"Agent 3 Batch 28 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.030807-07:00","updated_at":"2025-10-21T00:29:11.030807-07:00","source_repo":"."} -{"id":"bd-1145","content_hash":"babbf5e4a619a63afabc69e7814db0855a9227b398d015915b31bb78eae1a5a7","title":"Agent 3 Batch 29 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.031347-07:00","updated_at":"2025-10-21T00:29:11.031347-07:00","source_repo":"."} -{"id":"bd-1146","content_hash":"c8873c7ccb1ebf15d5ff7c532346d0fe0b711df30da6adb2787629bb1e199d1b","title":"Agent 3 Batch 29 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.03187-07:00","updated_at":"2025-10-21T00:29:11.03187-07:00","source_repo":"."} -{"id":"bd-1147","content_hash":"dbe3cfbf570fca5aec5cbbb2641f858fb3df96095a51fb3b84178b00d3326d3e","title":"Agent 3 Batch 30 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.03244-07:00","updated_at":"2025-10-21T00:29:11.03244-07:00","source_repo":"."} -{"id":"bd-1148","content_hash":"d5b2dfc00a4871ada1572b40c5737b8bd665d5986068504243fa262de01d346b","title":"Agent 3 Batch 30 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.032958-07:00","updated_at":"2025-10-21T00:29:11.032958-07:00","source_repo":"."} -{"id":"bd-1149","content_hash":"810fa5c49f47e238cc7180ebf3e30d13478ea28a9d2a54e93bbb8acad623b7d3","title":"Agent 3 Batch 31 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.033521-07:00","updated_at":"2025-10-21T00:29:11.033521-07:00","source_repo":"."} -{"id":"bd-1150","content_hash":"debc373371095924de97c2ea2b0ecfb7f980eac9c6b429bf1d144654f8f41892","title":"Agent 3 Batch 31 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.034064-07:00","updated_at":"2025-10-21T00:29:11.034064-07:00","source_repo":"."} -{"id":"bd-1151","content_hash":"918d32ab4db03d6906b908ff04c4eb9949764da6529988080bb534a76dd1f251","title":"Agent 3 Batch 32 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.034628-07:00","updated_at":"2025-10-21T00:29:11.034628-07:00","source_repo":"."} -{"id":"bd-1152","content_hash":"04d54e654e210dcbcc9b356fad1fa6e572e9208f567af7722223256a6766cf46","title":"Agent 3 Batch 32 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.035178-07:00","updated_at":"2025-10-21T00:29:11.035178-07:00","source_repo":"."} -{"id":"bd-1153","content_hash":"89e108a0ab9537920c834b78f1837cfa338aa843634ace04db919fbc545cfd48","title":"Agent 3 Batch 33 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.035741-07:00","updated_at":"2025-10-21T00:29:11.035741-07:00","source_repo":"."} -{"id":"bd-1154","content_hash":"6640bac41492ae70220a985aaceb95b4ae2478b1ad3767e8b5a76ea7c772fa32","title":"Agent 3 Batch 33 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.036297-07:00","updated_at":"2025-10-21T00:29:11.036297-07:00","source_repo":"."} -{"id":"bd-1155","content_hash":"64ecd1dd2b578126e1a0d8a150c1eb87f88759c981c7d6e2157f38a4133b0070","title":"Agent 3 Batch 34 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.036875-07:00","updated_at":"2025-10-21T00:29:11.036875-07:00","source_repo":"."} -{"id":"bd-1156","content_hash":"bc26433a2ea376817da9f210648c5d5a78c75e7ef35686638337c3a1530ab3f7","title":"Agent 3 Batch 34 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.037409-07:00","updated_at":"2025-10-21T00:29:11.037409-07:00","source_repo":"."} -{"id":"bd-1157","content_hash":"719196d210c85b726077cac1dc81756f558720fb6721a7b022167fdb6f86ae74","title":"Agent 3 Batch 35 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.037984-07:00","updated_at":"2025-10-21T00:29:11.037984-07:00","source_repo":"."} -{"id":"bd-1158","content_hash":"b9e11b8b4548a9a13990ca1d784fc78880e42db35f939b687d9aab35e8ebe8dc","title":"Agent 3 Batch 35 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.038514-07:00","updated_at":"2025-10-21T00:29:11.038514-07:00","source_repo":"."} -{"id":"bd-1159","content_hash":"22de5825456f8f6c183897b61248e58151e7ee34505cacf564436d5110c58d50","title":"Agent 3 Batch 36 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.039091-07:00","updated_at":"2025-10-21T00:29:11.039091-07:00","source_repo":"."} -{"id":"bd-1160","content_hash":"a25367fa7f9fda393404eebd7349826952a82a34e5213e204fc894c813f04996","title":"Agent 3 Batch 36 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.039658-07:00","updated_at":"2025-10-21T00:29:11.039658-07:00","source_repo":"."} -{"id":"bd-1161","content_hash":"5c0876c0ab15e4b2104fa896d5d4e58cd0f1a9d483f9318dee9117d9dd3482a3","title":"Agent 3 Batch 37 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.040299-07:00","updated_at":"2025-10-21T00:29:11.040299-07:00","source_repo":"."} -{"id":"bd-1162","content_hash":"578a6cad3072b90c4472e7f976fbdf880ca3d7831850da0259fd67152104d5f3","title":"Agent 3 Batch 37 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.040896-07:00","updated_at":"2025-10-21T00:29:11.040896-07:00","source_repo":"."} -{"id":"bd-1163","content_hash":"6e4b4e274706f5dba8412ea156218eec474794864383bcd65118e8733d11f21b","title":"Agent 3 Batch 38 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.041543-07:00","updated_at":"2025-10-21T00:29:11.041543-07:00","source_repo":"."} -{"id":"bd-1164","content_hash":"9b1fc9e9d35949cc62192bdaa83558794039d646a42fb7c5e46b842b5e099820","title":"Agent 3 Batch 38 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.042095-07:00","updated_at":"2025-10-21T00:29:11.042095-07:00","source_repo":"."} -{"id":"bd-1165","content_hash":"2a7b05049d056f95dc0539d35ec2d85356594ab60072ce0cfffa844b23f39cdd","title":"Agent 3 Batch 39 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.042699-07:00","updated_at":"2025-10-21T00:29:11.042699-07:00","source_repo":"."} -{"id":"bd-1166","content_hash":"784dc189f0d598730cc8f7a290f2b5ead28ec4cdbf84c4bd62fa4dfb6445bdff","title":"Agent 3 Batch 39 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.043264-07:00","updated_at":"2025-10-21T00:29:11.043264-07:00","source_repo":"."} -{"id":"bd-1167","content_hash":"45d1e0b9591ee0347e5905dbde86001dbc7575e4044407b1efef030c8e93f882","title":"Agent 3 Batch 40 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.043828-07:00","updated_at":"2025-10-21T00:29:11.043828-07:00","source_repo":"."} -{"id":"bd-1168","content_hash":"2d38c79d66dbd9407150f35c843cc73e19607441d16df2296b63791d45e393aa","title":"Agent 3 Batch 40 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.044364-07:00","updated_at":"2025-10-21T00:29:11.044364-07:00","source_repo":"."} -{"id":"bd-1169","content_hash":"f09ae9e32a502c69bf1768e38fde8f3c52ed7baeae398f4ea008ccac441e3cb8","title":"Agent 3 Batch 41 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.044926-07:00","updated_at":"2025-10-21T00:29:11.044926-07:00","source_repo":"."} -{"id":"bd-1170","content_hash":"d213773790aca5d6874504cbcb75d75b894dcb2343a3df398cddf89559dee4b9","title":"Agent 3 Batch 41 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.045464-07:00","updated_at":"2025-10-21T00:29:11.045464-07:00","source_repo":"."} -{"id":"bd-1171","content_hash":"4b2069f9042ab8f477ba229b419b5650e361cde9142a451f4243486781d58ede","title":"Agent 3 Batch 42 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.046012-07:00","updated_at":"2025-10-21T00:29:11.046012-07:00","source_repo":"."} -{"id":"bd-1172","content_hash":"f63fc0d0f1270c1ac20723ad0ce8cd8a27fd42fb38bfd3caad7dcdbc154fe2ed","title":"Agent 3 Batch 42 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.046583-07:00","updated_at":"2025-10-21T00:29:11.046583-07:00","source_repo":"."} -{"id":"bd-1173","content_hash":"37ed8ae36f8bfae2a4c6b301e3e1b55a23bafcf26fecee892791b37457db7e41","title":"Agent 3 Batch 43 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.047155-07:00","updated_at":"2025-10-21T00:29:11.047155-07:00","source_repo":"."} -{"id":"bd-1174","content_hash":"a16ac388116c52106011ddf376aa3358bce2bdf833a337e8c293a55f54dbef4e","title":"Agent 3 Batch 43 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.047698-07:00","updated_at":"2025-10-21T00:29:11.047698-07:00","source_repo":"."} -{"id":"bd-1175","content_hash":"4b3a68b8eda7f201ae8712dc65cbdf34287f9ad6600149128385df6a60ca3aae","title":"Agent 3 Batch 44 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.048265-07:00","updated_at":"2025-10-21T00:29:11.048265-07:00","source_repo":"."} -{"id":"bd-1176","content_hash":"e74fd4bddfe4c35b6aa1048c95e870f15be9aea4c6d024ee80553b79b1e26f85","title":"Agent 3 Batch 44 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.048833-07:00","updated_at":"2025-10-21T00:29:11.048833-07:00","source_repo":"."} -{"id":"bd-1177","content_hash":"7868387c4e8cd6cbe352348655b1937371854477f1c0c3e4696ec60a509540bc","title":"Agent 3 Batch 45 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.049401-07:00","updated_at":"2025-10-21T00:29:11.049401-07:00","source_repo":"."} -{"id":"bd-1178","content_hash":"aa95a0a01d139736d04ccd42cb94c0609721f1e669e5b125ba9f2838d6933410","title":"Agent 3 Batch 45 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.049984-07:00","updated_at":"2025-10-21T00:29:11.049984-07:00","source_repo":"."} -{"id":"bd-1179","content_hash":"eaa2f0c469ee245716e5b689e8dce6b30b05603d0795d96375ad9fd13a8e264d","title":"Agent 3 Batch 46 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.050549-07:00","updated_at":"2025-10-21T00:29:11.050549-07:00","source_repo":"."} -{"id":"bd-1180","content_hash":"ff3d90f6e3758071b7c45b9323ee1c8bc857f70afe5371d4496b5eefcad8e9a6","title":"Agent 3 Batch 46 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.051111-07:00","updated_at":"2025-10-21T00:29:11.051111-07:00","source_repo":"."} -{"id":"bd-1181","content_hash":"05baba668eb181d1731d87c26053dd993009ed18a4611e2e927483360203a7b7","title":"Agent 3 Batch 47 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.051672-07:00","updated_at":"2025-10-21T00:29:11.051672-07:00","source_repo":"."} -{"id":"bd-1182","content_hash":"b1bd296ae29bf5ada4d4b3b7dfb859f3913458f8978c6d857900a6f65732f947","title":"Agent 3 Batch 47 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.052234-07:00","updated_at":"2025-10-21T00:29:11.052234-07:00","source_repo":"."} -{"id":"bd-1183","content_hash":"2079a806239054e58aa7c2d8ae1deb889f52d6279c509d9887d4981e620c6db6","title":"Agent 3 Batch 48 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.052818-07:00","updated_at":"2025-10-21T00:29:11.052818-07:00","source_repo":"."} -{"id":"bd-1184","content_hash":"b0470de62580af6ec6329c45aa8793ef9b0c4090a93cd3d0c27a7ddf657b7ea6","title":"Agent 3 Batch 48 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.053383-07:00","updated_at":"2025-10-21T00:29:11.053383-07:00","source_repo":"."} -{"id":"bd-1185","content_hash":"3554e7bb574c6dfefe6ae2d078645742fadb2f4f024c59f1e8548b1d618e9b3a","title":"Agent 3 Batch 49 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.053999-07:00","updated_at":"2025-10-21T00:29:11.053999-07:00","source_repo":"."} -{"id":"bd-1186","content_hash":"18b93ecbf0a7c26774f6d3e7ecef02b4a3df745d25b115a4f63aa285b06829c5","title":"Agent 3 Batch 49 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.054573-07:00","updated_at":"2025-10-21T00:29:11.054573-07:00","source_repo":"."} -{"id":"bd-1187","content_hash":"994d2924de9868e79aea847cde7050d56a358b07a5084581783373354d07b5a6","title":"Agent 1 Batch 36 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.025327-07:00","updated_at":"2025-10-21T00:29:11.025327-07:00","source_repo":"."} -{"id":"bd-1188","content_hash":"70de457f2be99fb2a685162c6ca14775e205265f682c8f038f241679aafafae1","title":"Agent 1 Batch 36 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.055845-07:00","updated_at":"2025-10-21T00:29:11.055845-07:00","source_repo":"."} -{"id":"bd-1189","content_hash":"0edbe94694a529a1b53360d65bf84c687b703907cc9b45a7c5df6bd2431b6cfa","title":"Agent 1 Batch 37 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.056448-07:00","updated_at":"2025-10-21T00:29:11.056448-07:00","source_repo":"."} -{"id":"bd-1190","content_hash":"9b6585c3df7f1d1cd4503d702febd6780d63e906a1268a8e4ea8035570c755b9","title":"Agent 1 Batch 37 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.057012-07:00","updated_at":"2025-10-21T00:29:11.057012-07:00","source_repo":"."} -{"id":"bd-1191","content_hash":"4c4d7eb5d40297a974d7c31525b65d5949fefe10281dee03e12abd03a9a63c10","title":"Agent 1 Batch 38 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.057595-07:00","updated_at":"2025-10-21T00:29:11.057595-07:00","source_repo":"."} -{"id":"bd-1192","content_hash":"d57cfba188c208ff698de29ead08d9316530549c909e1dda044e5d40717d1401","title":"Agent 1 Batch 38 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.058164-07:00","updated_at":"2025-10-21T00:29:11.058164-07:00","source_repo":"."} -{"id":"bd-1193","content_hash":"53267a5538f706889c19c5bfd02117e8c37f4ac37d326e2d70b6d05534d1d5ba","title":"Agent 1 Batch 39 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.058757-07:00","updated_at":"2025-10-21T00:29:11.058757-07:00","source_repo":"."} -{"id":"bd-1194","content_hash":"cde8e07e086b6877732f5ef276a2e9fe00594baac19ac1be129f92dacc41e3a5","title":"Agent 1 Batch 39 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.059339-07:00","updated_at":"2025-10-21T00:29:11.059339-07:00","source_repo":"."} -{"id":"bd-1195","content_hash":"1c75b43764e421bd5ba66e43db9bdb5c49dc9c7debac703903d5e0c650a014a3","title":"Agent 1 Batch 40 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.059921-07:00","updated_at":"2025-10-21T00:29:11.059921-07:00","source_repo":"."} -{"id":"bd-1196","content_hash":"96df85f4d6bf48acd3c91c146e301beee1218b6b811a1862847acb277d248319","title":"Agent 1 Batch 40 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.060469-07:00","updated_at":"2025-10-21T00:29:11.060469-07:00","source_repo":"."} -{"id":"bd-1197","content_hash":"de6a61b4bb052ffbae71825f480187ac31df8204f1d09c0f7f6ae72bc213df52","title":"Agent 1 Batch 41 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.061107-07:00","updated_at":"2025-10-21T00:29:11.061107-07:00","source_repo":"."} -{"id":"bd-1198","content_hash":"06851503b01428023a872e2e7b68f92440d373f8a5ef2bad1d8410473fdc833e","title":"Agent 1 Batch 41 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.061653-07:00","updated_at":"2025-10-21T00:29:11.061653-07:00","source_repo":"."} -{"id":"bd-1199","content_hash":"84462da6c9dd4ed411638bbcfc8ac21a96c560cd966c83cad07a8ba93e75e1f0","title":"Agent 1 Batch 42 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.062252-07:00","updated_at":"2025-10-21T00:29:11.062252-07: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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-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-1200","content_hash":"45d631d4e4891bd5e1143a1054a71f2c714e443a9e93080a7d0c8c35f9902604","title":"Agent 1 Batch 42 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.06282-07:00","updated_at":"2025-10-21T00:29:11.06282-07:00","source_repo":"."} -{"id":"bd-1201","content_hash":"ab5f98822cf9ad14af7c04fddbfb4eba7aebcabe0c239609f7c52a2181864c9d","title":"Agent 1 Batch 43 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.063722-07:00","updated_at":"2025-10-21T00:29:11.063722-07:00","source_repo":"."} -{"id":"bd-1202","content_hash":"1e771ed4b4e4cf9e4865b268b9165071a7e08c297fe73aab333c0a816fa6348f","title":"Agent 1 Batch 43 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.064349-07:00","updated_at":"2025-10-21T00:29:11.064349-07:00","source_repo":"."} -{"id":"bd-1203","content_hash":"6f8bafb95aa5b9487d176bb469dbc51b8ff4977cb9e4dc6326c06b08c724b076","title":"Agent 1 Batch 44 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.064979-07:00","updated_at":"2025-10-21T00:29:11.064979-07:00","source_repo":"."} -{"id":"bd-1204","content_hash":"39af4a8ddbcfbae3fe3edb2e288e808debd7670ebc7ccf9f916031396adfa5d4","title":"Agent 1 Batch 44 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.065589-07:00","updated_at":"2025-10-21T00:29:11.065589-07:00","source_repo":"."} -{"id":"bd-1205","content_hash":"4fa097ebf5f819eec67a63af901d099b7aaba6f041ddcb4dee02dfe48788a2e0","title":"Agent 1 Batch 45 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.066209-07:00","updated_at":"2025-10-21T00:29:11.066209-07:00","source_repo":"."} -{"id":"bd-1206","content_hash":"a09258673ba43c7ad031d9872ab53ecced7ca3a44048e03815203977abec6eae","title":"Agent 1 Batch 45 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.066788-07:00","updated_at":"2025-10-21T00:29:11.066788-07:00","source_repo":"."} -{"id":"bd-1207","content_hash":"4e0078126583b6ff3d819d4fac4518f9b229b471c646f65f3038261dc2349227","title":"Agent 1 Batch 46 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.067378-07:00","updated_at":"2025-10-21T00:29:11.067378-07:00","source_repo":"."} -{"id":"bd-1208","content_hash":"d8530832719f6da149b6b767df12041baf1d3596a8e64c99511b4c65beca5942","title":"Agent 1 Batch 46 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.067942-07:00","updated_at":"2025-10-21T00:29:11.067942-07:00","source_repo":"."} -{"id":"bd-1209","content_hash":"7c8977bf83ae22d3533202532c8a6faa39a8d1dc0cba3dacc3e4cd271dc83e50","title":"Agent 1 Batch 47 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.068555-07:00","updated_at":"2025-10-21T00:29:11.068555-07:00","source_repo":"."} -{"id":"bd-1210","content_hash":"e494e8752c710f1a266c8238b7223fd3e1edfaa6beb819f22f64d32aec39d943","title":"Agent 1 Batch 47 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.069141-07:00","updated_at":"2025-10-21T00:29:11.069141-07:00","source_repo":"."} -{"id":"bd-1211","content_hash":"5af35e2579dcd8a7b75ce49edd98dc74886a1a3cb4eec122814400b8773d9320","title":"Agent 1 Batch 48 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.069761-07:00","updated_at":"2025-10-21T00:29:11.069761-07:00","source_repo":"."} -{"id":"bd-1212","content_hash":"4de9726220937546cd77ae64d58913a793cc5f7753763a4013f8427b38d887cc","title":"Agent 1 Batch 48 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.070369-07:00","updated_at":"2025-10-21T00:29:11.070369-07:00","source_repo":"."} -{"id":"bd-1213","content_hash":"b6fd11892fce28a1518b5cad51568ae65c8c1e6f7a45f0873bec89c44459aae6","title":"Agent 1 Batch 49 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.070981-07:00","updated_at":"2025-10-21T00:29:11.070981-07:00","source_repo":"."} -{"id":"bd-1214","content_hash":"095f138bbfcb5f08286b5e2159676ceffa7e315d38b3bad6b0a844b8cdbf5142","title":"Agent 1 Batch 49 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.071572-07:00","updated_at":"2025-10-21T00:29:11.071572-07:00","source_repo":"."} -{"id":"bd-1215","content_hash":"c3ff424696d9162fe38f3de8b2107323adc0ede9038f07028c972fe188a2c65b","title":"Agent 0 Batch 7 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.983166-07:00","updated_at":"2025-10-21T00:29:10.983166-07:00","source_repo":"."} -{"id":"bd-1216","content_hash":"d3278a4db269bee1096bbc2273caa6065500b7ad6a136619ded256e03aefc02f","title":"Agent 0 Batch 7 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.082056-07:00","updated_at":"2025-10-21T00:29:11.082056-07:00","source_repo":"."} -{"id":"bd-1217","content_hash":"2536b428638f0f9a1a565c5a9fed0a3b9beef96f2fef810e8f186784614908ae","title":"Agent 0 Batch 8 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.082801-07:00","updated_at":"2025-10-21T00:29:11.082801-07:00","source_repo":"."} -{"id":"bd-1218","content_hash":"bfb66e3bf64b03753e1b48a3b8c7b75ed71ae2266b595a1a981a6dcf3eb29426","title":"Agent 0 Batch 8 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.083463-07:00","updated_at":"2025-10-21T00:29:11.083463-07:00","source_repo":"."} -{"id":"bd-1219","content_hash":"e74ca4edeef2299d2a3af61d5de350905e2998abd11588168ec625cb3e746ef9","title":"Agent 0 Batch 9 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.084092-07:00","updated_at":"2025-10-21T00:29:11.084092-07:00","source_repo":"."} -{"id":"bd-1220","content_hash":"e6fea9dbabd3f4bb95e1955dca59f94f19e0092b4488b3b8902f56f9c51ccd47","title":"Agent 0 Batch 9 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.084715-07:00","updated_at":"2025-10-21T00:29:11.084715-07:00","source_repo":"."} -{"id":"bd-1221","content_hash":"56ded42357c0456bafe7d5a03ef9acd132ffd0a3f0791eb719d324785ee5f216","title":"Agent 0 Batch 10 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.085356-07:00","updated_at":"2025-10-21T00:29:11.085356-07:00","source_repo":"."} -{"id":"bd-1222","content_hash":"8b4fe20dfe1d931a5ed00a4ea28c9ca38c2ca0b68f39088903c86832f03eaaa5","title":"Agent 0 Batch 10 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.085961-07:00","updated_at":"2025-10-21T00:29:11.085961-07:00","source_repo":"."} -{"id":"bd-1223","content_hash":"f940cf7d45f141e5fdad46467a664f271aecebd4c1dd0e4502a667142997f397","title":"Agent 0 Batch 11 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.0866-07:00","updated_at":"2025-10-21T00:29:11.0866-07:00","source_repo":"."} -{"id":"bd-1224","content_hash":"5a4bddb735d0097d7e8b8091a017b68206c7462dee35c1a5488a5ff8e47e14a3","title":"Agent 0 Batch 11 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.087193-07:00","updated_at":"2025-10-21T00:29:11.087193-07:00","source_repo":"."} -{"id":"bd-1225","content_hash":"835cd70a45073e859c670d9136e172f9f6d564304d8507fb843509a01e606a7f","title":"Agent 0 Batch 12 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.087799-07:00","updated_at":"2025-10-21T00:29:11.087799-07:00","source_repo":"."} -{"id":"bd-1226","content_hash":"39fef426d5887ab2d0b5950b0853057fc0454ee8fdc7b1b81515bbfcd0f11b8f","title":"Agent 0 Batch 12 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.088401-07:00","updated_at":"2025-10-21T00:29:11.088401-07:00","source_repo":"."} -{"id":"bd-1227","content_hash":"4d0a4afaa979ce3969815ac3610b70fd859f557c4cf6dcce3031bbf940573217","title":"Agent 0 Batch 13 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.089075-07:00","updated_at":"2025-10-21T00:29:11.089075-07:00","source_repo":"."} -{"id":"bd-1228","content_hash":"10e56e9756c09c81a1ab06744a111af740808afef20008f5d4f2f25b7c525627","title":"Agent 0 Batch 13 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.089653-07:00","updated_at":"2025-10-21T00:29:11.089653-07:00","source_repo":"."} -{"id":"bd-1229","content_hash":"9374aa37050d352e1045167c327cba5f2b1e866cc562743be327e67564aff411","title":"Agent 0 Batch 14 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.090246-07:00","updated_at":"2025-10-21T00:29:11.090246-07:00","source_repo":"."} -{"id":"bd-1230","content_hash":"72dd81a0dfd83474482c9d5a52a30c9968c86808489176c21a0be67a4d9d475c","title":"Agent 0 Batch 14 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.090842-07:00","updated_at":"2025-10-21T00:29:11.090842-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-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-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-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":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.091993-07:00","updated_at":"2025-10-21T00:29:11.091993-07:00","source_repo":"."} -{"id":"bd-1233","content_hash":"edb5bb722fcba70a0c0c2164c064c827ee1abd2e8a227ea2471967b662e2c583","title":"Agent 0 Batch 16 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.092573-07:00","updated_at":"2025-10-21T00:29:11.092573-07:00","source_repo":"."} -{"id":"bd-1234","content_hash":"7e09c3b91df57087ecf7545c56bff283a64e380a06c8f655dfdf676840a7d1ac","title":"Agent 0 Batch 16 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.093138-07:00","updated_at":"2025-10-21T00:29:11.093138-07:00","source_repo":"."} -{"id":"bd-1235","content_hash":"e2e7f1cb04ec5c941dbd7b2d05e5a2e8098af98b73384c36cc45bbc1ff672596","title":"Agent 0 Batch 17 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.093753-07:00","updated_at":"2025-10-21T00:29:11.093753-07:00","source_repo":"."} -{"id":"bd-1236","content_hash":"b4e6cd7d42d1f1fbf8bab58e7479fb6f7e7357c8130eab03b8086bdde400a228","title":"Agent 0 Batch 17 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.094313-07:00","updated_at":"2025-10-21T00:29:11.094313-07:00","source_repo":"."} -{"id":"bd-1237","content_hash":"9e5b4ec549ae374651a08d270f35fd52eba0e7865027fdbf01bb620b00940ed9","title":"Agent 0 Batch 18 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.094915-07:00","updated_at":"2025-10-21T00:29:11.094915-07:00","source_repo":"."} -{"id":"bd-1238","content_hash":"c58310ff76081065272d7e90ed6c871707215c6197e0e5d2d8df4bd5736ed73b","title":"Agent 0 Batch 18 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.095484-07:00","updated_at":"2025-10-21T00:29:11.095484-07:00","source_repo":"."} -{"id":"bd-1239","content_hash":"177316f26ff0f711c7dbe32f05a01d8b085cf3304d8ec2992d842627b0d5c61c","title":"Agent 0 Batch 19 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.096075-07:00","updated_at":"2025-10-21T00:29:11.096075-07:00","source_repo":"."} -{"id":"bd-1240","content_hash":"7ee6f72a3b117bcff0c533450d8f3df7ea6cf45e99bc5099cb61070eebae6610","title":"Agent 0 Batch 19 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.096651-07:00","updated_at":"2025-10-21T00:29:11.096651-07:00","source_repo":"."} -{"id":"bd-1241","content_hash":"b1ec58c029365ef3238c65dd80af9061066c3d688095350c6f113e775bbc5794","title":"Agent 0 Batch 20 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.097262-07:00","updated_at":"2025-10-21T00:29:11.097262-07:00","source_repo":"."} -{"id":"bd-1242","content_hash":"f50a37d2a8734e4baaeb2283b4d55eb3023a9be84f3b2464fffcd70d5a45729d","title":"Agent 0 Batch 20 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.097847-07:00","updated_at":"2025-10-21T00:29:11.097847-07:00","source_repo":"."} -{"id":"bd-1243","content_hash":"cd5e5b31768f6470fa69c99991b38dd9ccf5c545b4d8014d3e83e567e5b31b07","title":"Agent 0 Batch 21 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.098445-07:00","updated_at":"2025-10-21T00:29:11.098445-07:00","source_repo":"."} -{"id":"bd-1244","content_hash":"b85db0d53c5031b12ea9489c02995e344c2e27edfc35fb506c017087061a2767","title":"Agent 0 Batch 21 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.099037-07:00","updated_at":"2025-10-21T00:29:11.099037-07:00","source_repo":"."} -{"id":"bd-1245","content_hash":"4809bbe18b6d5f5e50cc09c0c27a56593973ffa7bbf1e6117e4918daceb1bc61","title":"Agent 0 Batch 22 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.099613-07:00","updated_at":"2025-10-21T00:29:11.099613-07:00","source_repo":"."} -{"id":"bd-1246","content_hash":"f0fe56903b654773131ca76c665fe1d737019d78e0600459fbc17c8f86568360","title":"Agent 0 Batch 22 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.100201-07:00","updated_at":"2025-10-21T00:29:11.100201-07:00","source_repo":"."} -{"id":"bd-1247","content_hash":"5193ab7ef9d4857c964fc343c4f5c3ae276243cf2f29c2ef661ca0806889947d","title":"Agent 0 Batch 23 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.100822-07:00","updated_at":"2025-10-21T00:29:11.100822-07:00","source_repo":"."} -{"id":"bd-1248","content_hash":"52d585658a602d76d339c45daac356c3ccf2f355e0ca3c74a8fbf41d227dc557","title":"Agent 0 Batch 23 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.101422-07:00","updated_at":"2025-10-21T00:29:11.101422-07:00","source_repo":"."} -{"id":"bd-1249","content_hash":"a4e24ff45ff100704ec32b184b6a2c74cebb3aac9e6c09db4c67c06c1fdb3565","title":"Agent 0 Batch 24 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.102008-07:00","updated_at":"2025-10-21T00:29:11.102008-07:00","source_repo":"."} -{"id":"bd-1250","content_hash":"973a6104163b0395a035c9c9ba95eda2fd9f927ed1da8871e3708d95ccbb74c1","title":"Agent 0 Batch 24 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.102584-07:00","updated_at":"2025-10-21T00:29:11.102584-07:00","source_repo":"."} -{"id":"bd-1251","content_hash":"ef134252d718481b279be28ac08ec476ada84a1253616a3b79659418c73e885a","title":"Agent 0 Batch 25 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.103186-07:00","updated_at":"2025-10-21T00:29:11.103186-07:00","source_repo":"."} -{"id":"bd-1252","content_hash":"1e70aaa1610a796b561b0fbf4a461eaaf97907ec6e37086b6664d0ee10cfe82a","title":"Agent 0 Batch 25 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.10376-07:00","updated_at":"2025-10-21T00:29:11.10376-07:00","source_repo":"."} -{"id":"bd-1253","content_hash":"a5cddf1c6da049531ca1613cfee5eff8361341df2fbfbd69aabff2353fdacc8e","title":"Agent 0 Batch 26 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.104359-07:00","updated_at":"2025-10-21T00:29:11.104359-07:00","source_repo":"."} -{"id":"bd-1254","content_hash":"af7c27a32ccf3f9176582645a5ed4a39d4251fe1f1914a669fe94a413ffd7d66","title":"Agent 0 Batch 26 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.10496-07:00","updated_at":"2025-10-21T00:29:11.10496-07:00","source_repo":"."} -{"id":"bd-1255","content_hash":"d3ad1447d783ac448a72c3251426402374b6188c5a44b68086f2cfebd14e50aa","title":"Agent 0 Batch 27 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.105578-07:00","updated_at":"2025-10-21T00:29:11.105578-07:00","source_repo":"."} -{"id":"bd-1256","content_hash":"21f0ffba2fb3268d6a7879736ae88cfb0bbd04d0fa1dcdd6010b56ef52886e3f","title":"Agent 0 Batch 27 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.106174-07:00","updated_at":"2025-10-21T00:29:11.106174-07:00","source_repo":"."} -{"id":"bd-1257","content_hash":"f31f3b48fc2d269d6ae492104ec56526736ac3e8e370e84063f081acc3b28a00","title":"Agent 0 Batch 28 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.106765-07:00","updated_at":"2025-10-21T00:29:11.106765-07:00","source_repo":"."} -{"id":"bd-1258","content_hash":"5dcbe080d38a27c05a21e0191f2f6cf38e528430c2018b021acb299a8673d3bc","title":"Agent 0 Batch 28 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.107375-07:00","updated_at":"2025-10-21T00:29:11.107375-07:00","source_repo":"."} -{"id":"bd-1259","content_hash":"7401baf75097ad3e5c65a9c0c6fa0859e5eccb6f9206fedfa583eaf021f36819","title":"Agent 0 Batch 29 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.107967-07:00","updated_at":"2025-10-21T00:29:11.107967-07:00","source_repo":"."} -{"id":"bd-1260","content_hash":"30b4f302a9587b1023ef2f875351a8d24bd34a999b3ac279064385dc792655f7","title":"Agent 0 Batch 29 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.108556-07:00","updated_at":"2025-10-21T00:29:11.108556-07:00","source_repo":"."} -{"id":"bd-1261","content_hash":"5dcd8f1c883e3542367d3508e4818b5d31bb399eab3b8cd757d5a15bd412275e","title":"Agent 0 Batch 30 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.109145-07:00","updated_at":"2025-10-21T00:29:11.109145-07:00","source_repo":"."} -{"id":"bd-1262","content_hash":"a06b83e2b8e60ed58758d9f5f9ccd7683bd709c34bdb14b1c3d84b8172970d21","title":"Agent 0 Batch 30 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.109735-07:00","updated_at":"2025-10-21T00:29:11.109735-07:00","source_repo":"."} -{"id":"bd-1263","content_hash":"cecbe298c377a86734027269a5fd29b7b2c6f5f5dacc9aebc8416e6930b43a22","title":"Agent 0 Batch 31 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.110351-07:00","updated_at":"2025-10-21T00:29:11.110351-07:00","source_repo":"."} -{"id":"bd-1264","content_hash":"6a313495bd74ce5e27973c0d68fd09d7343566b883912d09901247d9ac15cb1d","title":"Agent 0 Batch 31 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.110925-07:00","updated_at":"2025-10-21T00:29:11.110925-07:00","source_repo":"."} -{"id":"bd-1265","content_hash":"bc54369c086d4c422822ef47b49d31bc2e12fcdc9be554444adc0d52ba84b5c5","title":"Agent 0 Batch 32 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.111809-07:00","updated_at":"2025-10-21T00:29:11.111809-07:00","source_repo":"."} -{"id":"bd-1266","content_hash":"19f86c1df39f2cabe8aa0138798076d6e8d26574caf8c86262ca5344531239f2","title":"Agent 2 Batch 0 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.947517-07:00","updated_at":"2025-10-21T00:29:10.947517-07:00","source_repo":"."} -{"id":"bd-1267","content_hash":"0c1d58a61dafea42e1997a8368b1ef3be3de62c649a811c74151deaac585a5db","title":"Agent 2 Batch 0 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.11335-07:00","updated_at":"2025-10-21T00:29:11.11335-07:00","source_repo":"."} -{"id":"bd-1268","content_hash":"4be8afa32dcfcabed3647fae97f344f949b6ed85422374aa767a2a3dcd549ea4","title":"Agent 2 Batch 1 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.113984-07:00","updated_at":"2025-10-21T00:29:11.113984-07:00","source_repo":"."} -{"id":"bd-1269","content_hash":"3f44dc3303444ab7f604792b0286ef25a786af379493dfb714cb176545c6adad","title":"Agent 2 Batch 1 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.114603-07:00","updated_at":"2025-10-21T00:29:11.114603-07:00","source_repo":"."} -{"id":"bd-1270","content_hash":"4b717433314fe90cbc3a62de7a5c53144f4b943eb6dc6e5f9d2d1fa4919dc09b","title":"Agent 2 Batch 2 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.115256-07:00","updated_at":"2025-10-21T00:29:11.115256-07:00","source_repo":"."} -{"id":"bd-1271","content_hash":"24964937436a1b2cec72080a8886e9f1927f15c53dea56a510335d70a9715636","title":"Agent 2 Batch 2 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.115869-07:00","updated_at":"2025-10-21T00:29:11.115869-07:00","source_repo":"."} -{"id":"bd-1272","content_hash":"566640bb2e8511f555688b74e84276e3ca6eb509b17031395226d53f9318f4ca","title":"Agent 2 Batch 3 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.116502-07:00","updated_at":"2025-10-21T00:29:11.116502-07:00","source_repo":"."} -{"id":"bd-1273","content_hash":"85e61842ce41b01d2c5809cd21955e0b4f28096bb5d640cf30deb2481539ba66","title":"Agent 2 Batch 3 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.117111-07:00","updated_at":"2025-10-21T00:29:11.117111-07:00","source_repo":"."} -{"id":"bd-1274","content_hash":"9c3b051aeebd2e1fd87291c5807de26913d9719bdc6a584ecf508fff94444da8","title":"Agent 2 Batch 4 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.117769-07:00","updated_at":"2025-10-21T00:29:11.117769-07:00","source_repo":"."} -{"id":"bd-1275","content_hash":"15ac1bac7c9307b135348972b040ceb2222ce386bf2175bc4c4617b54fa3da55","title":"Agent 2 Batch 4 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.118363-07:00","updated_at":"2025-10-21T00:29:11.118363-07:00","source_repo":"."} -{"id":"bd-1276","content_hash":"9bd30897e17e9dd890cc7211715b4f7e71425d019d713f8a50b27ac88473a39e","title":"Agent 2 Batch 5 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.118999-07:00","updated_at":"2025-10-21T00:29:11.118999-07:00","source_repo":"."} -{"id":"bd-1277","content_hash":"80a5012b13796314ddc95cd85529f7dd621fd403189babc51f2aa6ee5edaa7cc","title":"Agent 2 Batch 5 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.119583-07:00","updated_at":"2025-10-21T00:29:11.119583-07:00","source_repo":"."} -{"id":"bd-1278","content_hash":"8372524501e9ba507a52a65a22229c09c90fc76e3a89a5cafad37f011b2dbe18","title":"Agent 2 Batch 6 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.120184-07:00","updated_at":"2025-10-21T00:29:11.120184-07:00","source_repo":"."} -{"id":"bd-1279","content_hash":"569a0a8da0adb0a767d1d865541b49607c8f3ac8af7784cafeb8b0888b74a7f5","title":"Agent 2 Batch 6 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.120769-07:00","updated_at":"2025-10-21T00:29:11.120769-07:00","source_repo":"."} -{"id":"bd-1280","content_hash":"cb2e609787c58515be99d34f15ed367f2afc9d6b8be70f1348e02dfecd676755","title":"Agent 2 Batch 7 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.121362-07:00","updated_at":"2025-10-21T00:29:11.121362-07:00","source_repo":"."} -{"id":"bd-1281","content_hash":"f9015f1484835540e92317ce08c17dd287b45fd9718ccaab7b03b460db7c9244","title":"Agent 2 Batch 7 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.121959-07:00","updated_at":"2025-10-21T00:29:11.121959-07:00","source_repo":"."} -{"id":"bd-1282","content_hash":"daa6952cfcb08498fbea9ebd65d626cf3c2b779a8d3208468999ef7ce37462a6","title":"Agent 2 Batch 8 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.122558-07:00","updated_at":"2025-10-21T00:29:11.122558-07:00","source_repo":"."} -{"id":"bd-1283","content_hash":"6b14256a8f61225bbc546e983d78998acf3dd7e3a38eeb094a15bc9f4fa5d9d2","title":"Agent 2 Batch 8 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.123152-07:00","updated_at":"2025-10-21T00:29:11.123152-07:00","source_repo":"."} -{"id":"bd-1284","content_hash":"111bdee53150e3d76f78d653525586609ad51b8878609499578239ac2daa9881","title":"Agent 2 Batch 9 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.123741-07:00","updated_at":"2025-10-21T00:29:11.123741-07:00","source_repo":"."} -{"id":"bd-1285","content_hash":"f3dee2d11eabac9cc5d617ced5364d376c7ebee5f7f731b2c34be99633f66171","title":"Agent 2 Batch 9 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.124361-07:00","updated_at":"2025-10-21T00:29:11.124361-07:00","source_repo":"."} -{"id":"bd-1286","content_hash":"11d723cf217a40e1ecfb65f330da5dff484ae84aa1349a791c41f922299c9e8a","title":"Agent 2 Batch 10 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.124967-07:00","updated_at":"2025-10-21T00:29:11.124967-07:00","source_repo":"."} -{"id":"bd-1287","content_hash":"426f6bfdc0fc3c8557b1baf8eaf8b242aee12f4c49d1f29bcf89705c2fad982d","title":"Agent 2 Batch 10 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.125558-07:00","updated_at":"2025-10-21T00:29:11.125558-07:00","source_repo":"."} -{"id":"bd-1288","content_hash":"e165a721996e95f8762968f7525b872a928dfab2f68bf9d3b8593f4c868f317e","title":"Agent 2 Batch 11 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.126166-07:00","updated_at":"2025-10-21T00:29:11.126166-07:00","source_repo":"."} -{"id":"bd-1289","content_hash":"20177d0ee81cbc1ba5ef6b7522b88dc96c59a832984f120b0120f76848bef19e","title":"Agent 2 Batch 11 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.12675-07:00","updated_at":"2025-10-21T00:29:11.12675-07:00","source_repo":"."} -{"id":"bd-1290","content_hash":"87bd1ecfc5f1d3418932965c92bae8174e6500460179f5f9c1baf5ade06531c8","title":"Agent 2 Batch 12 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.127364-07:00","updated_at":"2025-10-21T00:29:11.127364-07:00","source_repo":"."} -{"id":"bd-1291","content_hash":"afffb17801302a89cea0b26a84814fc390fa84e47d4878dfe6f31e6fbb714b4c","title":"Agent 2 Batch 12 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.127962-07:00","updated_at":"2025-10-21T00:29:11.127962-07:00","source_repo":"."} -{"id":"bd-1292","content_hash":"d94fbcb1af0e707da527803bf588c4ddee6871dd5503cc9ad2c1d773ab79b40e","title":"Agent 2 Batch 13 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.128564-07:00","updated_at":"2025-10-21T00:29:11.128564-07:00","source_repo":"."} -{"id":"bd-1293","content_hash":"8753117fb463dabf0e0fa3f9e56327435e92005a0e83cb8ad27e6702be7b003c","title":"Agent 2 Batch 13 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.129143-07:00","updated_at":"2025-10-21T00:29:11.129143-07:00","source_repo":"."} -{"id":"bd-1294","content_hash":"bfd77851baa319f6ff625712a3b97c9a3335e69412096dce7ce4c51df6c29f4f","title":"Agent 2 Batch 14 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.129739-07:00","updated_at":"2025-10-21T00:29:11.129739-07:00","source_repo":"."} -{"id":"bd-1295","content_hash":"3bf988b2264de5a5895190bb95933e08a2b65f5f8a4b13bd54df8e1b0e6d48d8","title":"Agent 2 Batch 14 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.130362-07:00","updated_at":"2025-10-21T00:29:11.130362-07:00","source_repo":"."} -{"id":"bd-1296","content_hash":"bcd74701dc49c9e3b421fb06f4adfabfb8ce053602513ddf78dfa2d1b2308989","title":"Agent 2 Batch 15 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.130951-07:00","updated_at":"2025-10-21T00:29:11.130951-07:00","source_repo":"."} -{"id":"bd-1297","content_hash":"1e1968ef8a63750a7a198976556ee66db40b9e21ff326740581836f208ec1e67","title":"Agent 2 Batch 15 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.131531-07:00","updated_at":"2025-10-21T00:29:11.131531-07:00","source_repo":"."} -{"id":"bd-1298","content_hash":"5e66e78d7703943e6546962947bbd1e11663e36a7bd2c9e4c801709a7c3da6f2","title":"Agent 2 Batch 16 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.132138-07:00","updated_at":"2025-10-21T00:29:11.132138-07:00","source_repo":"."} -{"id":"bd-1299","content_hash":"369fc6556b2d789f9aade3461edecc29ade6908a06216758a9c6443e3dd5ece0","title":"Agent 2 Batch 16 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.132799-07:00","updated_at":"2025-10-21T00:29:11.132799-07:00","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-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-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-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-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-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-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-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-1300","content_hash":"b189e608720511d4b8092160d2c6638078b205e9ede2894ab844d7adce32e1b2","title":"Agent 2 Batch 17 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.133392-07:00","updated_at":"2025-10-21T00:29:11.133392-07:00","source_repo":"."} -{"id":"bd-1301","content_hash":"35d2f81abde37704a339cdec5173ffc2ddab5ce45690ae0cb7cefd70b616c9ee","title":"Agent 2 Batch 17 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.133994-07:00","updated_at":"2025-10-21T00:29:11.133994-07:00","source_repo":"."} -{"id":"bd-1302","content_hash":"ea0ed209dfca245cf2603dc71e9569c74fe807b07919d9de8ba7f048b7918c95","title":"Agent 2 Batch 18 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.134599-07:00","updated_at":"2025-10-21T00:29:11.134599-07:00","source_repo":"."} -{"id":"bd-1303","content_hash":"d1bf173f9885dd2c8e7759536329ee19294ed80c05f477dd757061aaee40f57b","title":"Agent 2 Batch 18 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.13523-07:00","updated_at":"2025-10-21T00:29:11.13523-07:00","source_repo":"."} -{"id":"bd-1304","content_hash":"4729209856ae466009ceaa8c524c990503cf98959430ca9ad063fab778bbed94","title":"Agent 2 Batch 19 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.135859-07:00","updated_at":"2025-10-21T00:29:11.135859-07:00","source_repo":"."} -{"id":"bd-1305","content_hash":"177e6fd3694641178b52e4bccac554f02f57cc2f23a73d20d53e8f5d1e1f2f6d","title":"Agent 2 Batch 19 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.136476-07:00","updated_at":"2025-10-21T00:29:11.136476-07:00","source_repo":"."} -{"id":"bd-1306","content_hash":"292175c9515a515f5ca81430d845fecaccac64f9e44712703ec83478c85be8b3","title":"Agent 2 Batch 20 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.137124-07:00","updated_at":"2025-10-21T00:29:11.137124-07:00","source_repo":"."} -{"id":"bd-1307","content_hash":"baaf4295e1a36cdac795a2d9e2e66ef9b6ee23fb190ec64d32aae29e8d7e531b","title":"Agent 2 Batch 20 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.137763-07:00","updated_at":"2025-10-21T00:29:11.137763-07:00","source_repo":"."} -{"id":"bd-1308","content_hash":"8cd4037d4b79174443bcaa35b11b44ae9ddb1e41ca6aac07a53f5511a2c4082e","title":"Agent 2 Batch 21 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.138442-07:00","updated_at":"2025-10-21T00:29:11.138442-07:00","source_repo":"."} -{"id":"bd-1309","content_hash":"8bc023ef71c27f553d0b818cc27aca55e223572a371efd6c2fc90c0003b6cad1","title":"Agent 2 Batch 21 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.13908-07:00","updated_at":"2025-10-21T00:29:11.13908-07:00","source_repo":"."} -{"id":"bd-1310","content_hash":"796a708b412bc48a49f23860654d306a4a865b58c37cdf8554e2de9e8738e875","title":"Agent 2 Batch 22 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.139799-07:00","updated_at":"2025-10-21T00:29:11.139799-07:00","source_repo":"."} -{"id":"bd-1311","content_hash":"de238953e6206ee3ecda0861b1866d0471c3e05c373a61468e0d9466e3167042","title":"Agent 2 Batch 22 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.140417-07:00","updated_at":"2025-10-21T00:29:11.140417-07:00","source_repo":"."} -{"id":"bd-1312","content_hash":"d49e75f7a22366b15c09b298af5cfe4cd78a40bbb123161ac0dadb12e3871809","title":"Agent 2 Batch 23 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.141054-07:00","updated_at":"2025-10-21T00:29:11.141054-07:00","source_repo":"."} -{"id":"bd-1313","content_hash":"64ff3afe853c77ce20246a7ad798bbb612ae32dc5c5735ae662ee29d017c699f","title":"Agent 2 Batch 23 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.141664-07:00","updated_at":"2025-10-21T00:29:11.141664-07:00","source_repo":"."} -{"id":"bd-1314","content_hash":"ea3657434beccd755e6d573f0ab89f46d2c208e6293ade356795206af43523b6","title":"Agent 2 Batch 24 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.142278-07:00","updated_at":"2025-10-21T00:29:11.142278-07:00","source_repo":"."} -{"id":"bd-1315","content_hash":"d38d74899f02136b913d9a285cea81433ac1e1512baef2d7550d5c4e7c4e6ac1","title":"Agent 2 Batch 24 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.142869-07:00","updated_at":"2025-10-21T00:29:11.142869-07:00","source_repo":"."} -{"id":"bd-1316","content_hash":"7c4710f771cb6339351ae3678bdc19159eb22ee467d5b06e0b263419c4e0d3d5","title":"Agent 2 Batch 25 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.143502-07:00","updated_at":"2025-10-21T00:29:11.143502-07:00","source_repo":"."} -{"id":"bd-1317","content_hash":"d75cf5e8b3f543eebc9e8c3c5d0fd96537817b915f459ae7e2088e46642a717b","title":"Agent 2 Batch 25 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.14412-07:00","updated_at":"2025-10-21T00:29:11.14412-07:00","source_repo":"."} -{"id":"bd-1318","content_hash":"bc4e15f0d583d5a1d648801fbc2171d984c707706edd99174707eb517d5ac4ea","title":"Agent 2 Batch 26 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.144758-07:00","updated_at":"2025-10-21T00:29:11.144758-07:00","source_repo":"."} -{"id":"bd-1319","content_hash":"b00e1c5d28812a060492cfa9181cb43ed1c69dfafc0879cd8f22e9d5b21297ff","title":"Agent 2 Batch 26 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.145358-07:00","updated_at":"2025-10-21T00:29:11.145358-07:00","source_repo":"."} -{"id":"bd-1320","content_hash":"1f1656bd047c0ef6532b61fe8b611d4207c291efdc31487db2bc3fe7bbc89375","title":"Agent 2 Batch 27 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.145972-07:00","updated_at":"2025-10-21T00:29:11.145972-07:00","source_repo":"."} -{"id":"bd-1321","content_hash":"35aa437f721b1af193a8fcc5196018af6a8f2ef082eb7f43391274c67c79010e","title":"Agent 2 Batch 27 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.146626-07:00","updated_at":"2025-10-21T00:29:11.146626-07:00","source_repo":"."} -{"id":"bd-1322","content_hash":"74e5270053e4d7a44b9fa1c1e5e46c13535290b887556cfbb3daa8e777b7388f","title":"Agent 2 Batch 28 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.147278-07:00","updated_at":"2025-10-21T00:29:11.147278-07:00","source_repo":"."} -{"id":"bd-1323","content_hash":"43c7bf7289984c94cdc4ef4c5c04d3bae3955ef01a16253d1741810af3e6df58","title":"Agent 2 Batch 28 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.147893-07:00","updated_at":"2025-10-21T00:29:11.147893-07:00","source_repo":"."} -{"id":"bd-1324","content_hash":"1863640a07d3e38902f114ad308fa6b66051502745c0878676d3ec45a5d3c42a","title":"Agent 2 Batch 29 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.148537-07:00","updated_at":"2025-10-21T00:29:11.148537-07:00","source_repo":"."} -{"id":"bd-1325","content_hash":"a7d18a48c08dfbcd5bd458bcc3808e14f433358c01624daa9b72496fabc091fc","title":"Agent 2 Batch 29 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.149184-07:00","updated_at":"2025-10-21T00:29:11.149184-07:00","source_repo":"."} -{"id":"bd-1326","content_hash":"79a4d6788ad4ea987556573d5ede956def7b2f18a0cff20855ccad3c62dbe6d1","title":"Agent 2 Batch 30 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.149813-07:00","updated_at":"2025-10-21T00:29:11.149813-07:00","source_repo":"."} -{"id":"bd-1327","content_hash":"e485b84f60dc38e4cbdc761e62db76e35b1aefda84c3db12cd3a7624c8c51c1f","title":"Agent 2 Batch 30 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.15071-07:00","updated_at":"2025-10-21T00:29:11.15071-07:00","source_repo":"."} -{"id":"bd-1328","content_hash":"335d3e89ca2a5d3439dea1594946fd1354bac64efcd3c5a25e5ec6b99af1d466","title":"Agent 2 Batch 31 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.151354-07:00","updated_at":"2025-10-21T00:29:11.151354-07:00","source_repo":"."} -{"id":"bd-1329","content_hash":"ea9fec61ab8fb36319378093d64334401bc40d177302852864b51a6dfe6f9db8","title":"Agent 2 Batch 31 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.151954-07:00","updated_at":"2025-10-21T00:29:11.151954-07:00","source_repo":"."} -{"id":"bd-1330","content_hash":"3d23fd67ee160b6218be9fc66aa7a6b2d5e260135f7268c494249ef7993a0435","title":"Agent 2 Batch 32 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.152568-07:00","updated_at":"2025-10-21T00:29:11.152568-07:00","source_repo":"."} -{"id":"bd-1331","content_hash":"2bc9616d72e966c6560259245631c65a85c6f6e6b2ac29afed08954c8685241a","title":"Agent 2 Batch 32 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.153154-07:00","updated_at":"2025-10-21T00:29:11.153154-07:00","source_repo":"."} -{"id":"bd-1332","content_hash":"9bf319e584656c957f8832b00c3db3c0a2fdc7525ecf09a702d455b48e51ea30","title":"Agent 2 Batch 33 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.153783-07:00","updated_at":"2025-10-21T00:29:11.153783-07:00","source_repo":"."} -{"id":"bd-1333","content_hash":"b34318e7b7e2fe11b5ca3eeac8d5df02dda868c909e963f517681ffb893cf8d7","title":"Agent 2 Batch 33 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.154366-07:00","updated_at":"2025-10-21T00:29:11.154366-07:00","source_repo":"."} -{"id":"bd-1334","content_hash":"7f0f6c3981f939aae7ac2ebf13b1b05105627448cfdde99620f2391fbc233cde","title":"Agent 2 Batch 34 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.155028-07:00","updated_at":"2025-10-21T00:29:11.155028-07:00","source_repo":"."} -{"id":"bd-1335","content_hash":"f3abf99fc598f8e9059a78b80f265bd7c9ef8a7b303b0b7e6381c8527b401b17","title":"Agent 2 Batch 34 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.155651-07:00","updated_at":"2025-10-21T00:29:11.155651-07:00","source_repo":"."} -{"id":"bd-1336","content_hash":"00f0d2067f16a5af6b9d5095eadba9702021e56f0a2004369a279f4094bbbc46","title":"Agent 2 Batch 35 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.156299-07:00","updated_at":"2025-10-21T00:29:11.156299-07:00","source_repo":"."} -{"id":"bd-1337","content_hash":"19ef16c3a0806733f652e5b44dbdcac2cf0dcb777aa7b99f8c0e380b79bab242","title":"Agent 2 Batch 35 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.156927-07:00","updated_at":"2025-10-21T00:29:11.156927-07:00","source_repo":"."} -{"id":"bd-1338","content_hash":"1c9338c4c5cfe53d729a6368570073e486937a6ded434193a2428e6910ee6afd","title":"Agent 2 Batch 36 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.157569-07:00","updated_at":"2025-10-21T00:29:11.157569-07:00","source_repo":"."} -{"id":"bd-1339","content_hash":"643b36480aab41ed26cf565bcc734f0396745f536fdf16b8dce4cdf630627e70","title":"Agent 2 Batch 36 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.158158-07:00","updated_at":"2025-10-21T00:29:11.158158-07:00","source_repo":"."} -{"id":"bd-1340","content_hash":"bc044d940a12fad6759a1b7421fcf55d7ed5c430badb51998fb8d935604cf0a1","title":"Agent 2 Batch 37 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.158803-07:00","updated_at":"2025-10-21T00:29:11.158803-07:00","source_repo":"."} -{"id":"bd-1341","content_hash":"c77940b0ef7743dffd155e4e59bf61456503bdce53964e18d372589015632f0b","title":"Agent 2 Batch 37 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.159441-07:00","updated_at":"2025-10-21T00:29:11.159441-07:00","source_repo":"."} -{"id":"bd-1342","content_hash":"e6565bea44649775a39a79bb7850c640d94e076d6cfd3a80459116c1a6c63193","title":"Agent 2 Batch 38 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.160069-07:00","updated_at":"2025-10-21T00:29:11.160069-07:00","source_repo":"."} -{"id":"bd-1343","content_hash":"2c3ae8300e88c6a7b248a33c4e0e4f2caee346a36a38f690b756264a2fbd7a86","title":"Agent 2 Batch 38 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.160714-07:00","updated_at":"2025-10-21T00:29:11.160714-07:00","source_repo":"."} -{"id":"bd-1344","content_hash":"0151bee26e5b9588a32af834b93eddae7081a6cd9cb59ce3dfc7bbf7e8d1ae21","title":"Agent 2 Batch 39 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.161374-07:00","updated_at":"2025-10-21T00:29:11.161374-07:00","source_repo":"."} -{"id":"bd-1345","content_hash":"5298145f0daccb24df95f1924902df917a6c47365cf2415b2b438eda74c0cf92","title":"Agent 2 Batch 39 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.161955-07:00","updated_at":"2025-10-21T00:29:11.161955-07:00","source_repo":"."} -{"id":"bd-1346","content_hash":"df57eb9d0da058789d8b7469c6a1a67cf5c2f3d5bbddf7a476aed7d257346955","title":"Agent 2 Batch 40 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.162581-07:00","updated_at":"2025-10-21T00:29:11.162581-07:00","source_repo":"."} -{"id":"bd-1347","content_hash":"d92558dbb60b36fb3878ca91a8597fb20669d718ccc2d2d87e1885b63ef549d9","title":"Agent 2 Batch 40 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.163176-07:00","updated_at":"2025-10-21T00:29:11.163176-07:00","source_repo":"."} -{"id":"bd-1348","content_hash":"2a11e8848fb3f46e5ac4a9f3e59c9d2cfe7ce6d896c97e7802761d36c08c1ab6","title":"Agent 2 Batch 41 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.163794-07:00","updated_at":"2025-10-21T00:29:11.163794-07:00","source_repo":"."} -{"id":"bd-1349","content_hash":"3a168a8583352f4dd5b8698eb7a919aacaedaeefda605e4ecf32388a0d4bed99","title":"Agent 2 Batch 41 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.164537-07:00","updated_at":"2025-10-21T00:29:11.164537-07:00","source_repo":"."} -{"id":"bd-1350","content_hash":"b6c37bb83367336c2f4e0874737211440af0fa3f29bcc85713ed40822becba09","title":"Agent 2 Batch 42 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.16529-07:00","updated_at":"2025-10-21T00:29:11.16529-07:00","source_repo":"."} -{"id":"bd-1351","content_hash":"0f9a8511a3e9920cb67f0e44796da001285ba10b2de66f266000058856e4da3b","title":"Agent 2 Batch 42 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.165932-07:00","updated_at":"2025-10-21T00:29:11.165932-07:00","source_repo":"."} -{"id":"bd-1352","content_hash":"c241b7d28a86de8ca33cbb61e2fcf22239f5d266e38b214c6dbe3c7ef9ffec6a","title":"Agent 2 Batch 43 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.166561-07:00","updated_at":"2025-10-21T00:29:11.166561-07:00","source_repo":"."} -{"id":"bd-1353","content_hash":"b5d6e0275709327cbed25092cff0bea2458f8ce1516bc207003f417ce214a149","title":"Agent 2 Batch 43 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.167184-07:00","updated_at":"2025-10-21T00:29:11.167184-07:00","source_repo":"."} -{"id":"bd-1354","content_hash":"095181bd920f3afaf31628a1cb1b7322993caaceb1036149cca4aad5500924ee","title":"Agent 2 Batch 44 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.167821-07:00","updated_at":"2025-10-21T00:29:11.167821-07:00","source_repo":"."} -{"id":"bd-1355","content_hash":"2e594c9cc55d1ac908657f7018d57b207ed171d7a96f18bcc17742c2354007e4","title":"Agent 2 Batch 44 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.168391-07:00","updated_at":"2025-10-21T00:29:11.168391-07:00","source_repo":"."} -{"id":"bd-1356","content_hash":"9bad5f855af76f659cd57dcfa7f3cc86f85431fde7c58e7718608d58a710d93e","title":"Agent 2 Batch 45 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.168988-07:00","updated_at":"2025-10-21T00:29:11.168988-07:00","source_repo":"."} -{"id":"bd-1357","content_hash":"291af6b18507bbb644de2704e269199b6b0c558f7fe14d1f7232ea92904db4e0","title":"Agent 2 Batch 45 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.169636-07:00","updated_at":"2025-10-21T00:29:11.169636-07:00","source_repo":"."} -{"id":"bd-1358","content_hash":"c8ab95ee18d751ced9fea8ab727879efcc2d0f22b249a1a3d828c63019835b2b","title":"Agent 2 Batch 46 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.170265-07:00","updated_at":"2025-10-21T00:29:11.170265-07:00","source_repo":"."} -{"id":"bd-1359","content_hash":"10de3d6ecc3fced3187e351b9715b038cee98c155327f99f81b4d8380afd7b40","title":"Agent 2 Batch 46 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.17087-07:00","updated_at":"2025-10-21T00:29:11.17087-07:00","source_repo":"."} -{"id":"bd-1360","content_hash":"3176126c83780b34193212802a02eb97e2ca929ab926ef3c11af062b134fbb9e","title":"Agent 2 Batch 47 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.1715-07:00","updated_at":"2025-10-21T00:29:11.1715-07:00","source_repo":"."} -{"id":"bd-1361","content_hash":"c87b34b7dc9c64d589c9b9bf42840eacffad553139f1af177f55cca73ab87182","title":"Agent 2 Batch 47 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.172158-07:00","updated_at":"2025-10-21T00:29:11.172158-07:00","source_repo":"."} -{"id":"bd-1362","content_hash":"f038d03969376ad3704d65176f4ccc33b9f3fcb9288f00a71f31ac0cd503b7fc","title":"Agent 2 Batch 48 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.172811-07:00","updated_at":"2025-10-21T00:29:11.172811-07:00","source_repo":"."} -{"id":"bd-1363","content_hash":"eebf46b883b9e0814ca9e4bd183e3532f74ba1d86dd1e92e5480350a569ddacf","title":"Agent 2 Batch 48 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.173454-07:00","updated_at":"2025-10-21T00:29:11.173454-07:00","source_repo":"."} -{"id":"bd-1364","content_hash":"e12fdbaf43ccc494fb7660f25752313273a33b4e06349be04de98b2bd7592d7b","title":"Agent 2 Batch 49 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.17412-07:00","updated_at":"2025-10-21T00:29:11.17412-07:00","source_repo":"."} -{"id":"bd-1365","content_hash":"835fcb9d7a57b89404bd39459db4b518b850571a9682322ad4d7ce893b54656f","title":"Agent 2 Batch 49 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.174766-07:00","updated_at":"2025-10-21T00:29:11.174766-07:00","source_repo":"."} -{"id":"bd-1366","content_hash":"51fe6cd8b4841fcc88a12811b74295caf26c92be7d164caf2b9dfac73e6991b8","title":"Agent 0 Batch 32 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.112529-07:00","updated_at":"2025-10-21T00:29:11.112529-07:00","source_repo":"."} -{"id":"bd-1367","content_hash":"cceeb95824bd7958a71456a761f892e3d8b585d5032931d6cfd560446b7030d0","title":"Agent 0 Batch 33 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.176258-07:00","updated_at":"2025-10-21T00:29:11.176258-07:00","source_repo":"."} -{"id":"bd-1368","content_hash":"6702706e58c1850efbe74895c3208695980e63ddcce8a0ab3f95610c04f85e2e","title":"Agent 0 Batch 33 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.17699-07:00","updated_at":"2025-10-21T00:29:11.17699-07:00","source_repo":"."} -{"id":"bd-1369","content_hash":"8234308f6b7cd1590ac10997f54d9f6a6fa156c7cb5fd2f74de24ba955fb7cbf","title":"Agent 0 Batch 34 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.177699-07:00","updated_at":"2025-10-21T00:29:11.177699-07:00","source_repo":"."} -{"id":"bd-1370","content_hash":"80171157d625af8b25cdbed5aafc4100059578e486040e51b0d3f59af21b1d85","title":"Agent 0 Batch 34 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.178434-07:00","updated_at":"2025-10-21T00:29:11.178434-07:00","source_repo":"."} -{"id":"bd-1371","content_hash":"baa3c227785c02f096be571565113cff27588ff7fa1bb34b28954925f1907d27","title":"Agent 0 Batch 35 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.179117-07:00","updated_at":"2025-10-21T00:29:11.179117-07:00","source_repo":"."} -{"id":"bd-1372","content_hash":"c1137e24e5c0e79fbe2ae10cc3ede5549a495deb53fb0bc821d38187bc65eef8","title":"Agent 0 Batch 35 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.179816-07:00","updated_at":"2025-10-21T00:29:11.179816-07:00","source_repo":"."} -{"id":"bd-1373","content_hash":"e58d2b2fc3a1427932809f39b0573377e5fdc1bebe1ec154275c6a2eadcf931e","title":"Agent 0 Batch 36 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.180552-07:00","updated_at":"2025-10-21T00:29:11.180552-07:00","source_repo":"."} -{"id":"bd-1374","content_hash":"ead4f9ce9b12fdb4fd2f168cc5ab6424979f292eeded111591f273e1113b8ce1","title":"Agent 0 Batch 36 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.181238-07:00","updated_at":"2025-10-21T00:29:11.181238-07:00","source_repo":"."} -{"id":"bd-1375","content_hash":"c51ea0141605e7a042ce9e52050f761973e7263d12ea3acd4774f755a3cd7a61","title":"Agent 0 Batch 37 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.181973-07:00","updated_at":"2025-10-21T00:29:11.181973-07:00","source_repo":"."} -{"id":"bd-1376","content_hash":"3330addb5705f3a9d90ae7f706cd2acedc1d2becc2fae472e2bbff11e259eb6e","title":"Agent 0 Batch 37 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.182661-07:00","updated_at":"2025-10-21T00:29:11.182661-07:00","source_repo":"."} -{"id":"bd-1377","content_hash":"ce58735293902cab1c8c1c3eb65ca9822da650e43ecb686ec1b299052f5d09a3","title":"Agent 0 Batch 38 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.183406-07:00","updated_at":"2025-10-21T00:29:11.183406-07:00","source_repo":"."} -{"id":"bd-1378","content_hash":"0b9e8180f9259ab6e1c63dca2ccc158ed3591617babc661c85d59c5308e5c8ef","title":"Agent 0 Batch 38 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.184082-07:00","updated_at":"2025-10-21T00:29:11.184082-07:00","source_repo":"."} -{"id":"bd-1379","content_hash":"7e55cc9d523957a931122711707202916e947052c12f32167a1082f09f5520be","title":"Agent 0 Batch 39 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.184919-07:00","updated_at":"2025-10-21T00:29:11.184919-07:00","source_repo":"."} -{"id":"bd-1380","content_hash":"da643b7bcd75f067c3ac917879320faf72c783ad6d00dd336e7dbd4a020015e0","title":"Agent 0 Batch 39 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.185613-07:00","updated_at":"2025-10-21T00:29:11.185613-07:00","source_repo":"."} -{"id":"bd-1381","content_hash":"49ccd97eec466a4352645e237be90a5c2a01fcab5b872eb61e9b9ea1f965c270","title":"Agent 0 Batch 40 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.186383-07:00","updated_at":"2025-10-21T00:29:11.186383-07:00","source_repo":"."} -{"id":"bd-1382","content_hash":"f6ef15f00ee3e6c07fda35cf7c08bac8595c8324efc98f591161f1ee0439ada2","title":"Agent 0 Batch 40 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.187073-07:00","updated_at":"2025-10-21T00:29:11.187073-07:00","source_repo":"."} -{"id":"bd-1383","content_hash":"ed19fb0ab188b4969f7c8f97faf589536198e2797a77344aaa90535454023c19","title":"Agent 0 Batch 41 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.18785-07:00","updated_at":"2025-10-21T00:29:11.18785-07:00","source_repo":"."} -{"id":"bd-1384","content_hash":"d785aceb8ae4469f7f9fcbd477d24fedef3d73b9bdc8a3b9992bbc4348c7639e","title":"Agent 0 Batch 41 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.18857-07:00","updated_at":"2025-10-21T00:29:11.18857-07:00","source_repo":"."} -{"id":"bd-1385","content_hash":"5211bd4447a077005c14231d7099105d9771bb3aa99f1e45ebe507c4c5168721","title":"Agent 0 Batch 42 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.189429-07:00","updated_at":"2025-10-21T00:29:11.189429-07:00","source_repo":"."} -{"id":"bd-1386","content_hash":"cac9f2815fb7f3b4b2bb2f68ded868798ab38bf9408f4c56c7d0eb8dd0d7df5e","title":"Agent 0 Batch 42 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.190206-07:00","updated_at":"2025-10-21T00:29:11.190206-07:00","source_repo":"."} -{"id":"bd-1387","content_hash":"fc2b4c843b9eb6512771276bee84259fea786da493c613bb8b50eba44bd7679f","title":"Agent 0 Batch 43 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.19094-07:00","updated_at":"2025-10-21T00:29:11.19094-07:00","source_repo":"."} -{"id":"bd-1388","content_hash":"616e2776cf9269d93b37b885dcca850c0c423a3718555f6c59700ace30c0fc09","title":"Agent 0 Batch 43 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.191679-07:00","updated_at":"2025-10-21T00:29:11.191679-07:00","source_repo":"."} -{"id":"bd-1389","content_hash":"1bcf674c1cf93257a374192798006bfcdab365ae9bce227a86289082c371f0e9","title":"Agent 0 Batch 44 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.192403-07:00","updated_at":"2025-10-21T00:29:11.192403-07:00","source_repo":"."} -{"id":"bd-1390","content_hash":"b8729ff1d73a6d9576fa6305d9f231c9d5bac7d7d651aff92f7f5d99e4fce761","title":"Agent 0 Batch 44 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.193157-07:00","updated_at":"2025-10-21T00:29:11.193157-07:00","source_repo":"."} -{"id":"bd-1391","content_hash":"f8172a2feead2724dd5e64646b79e7d56ec4ffc6318b6f5e72c8adbbb4afc507","title":"Agent 0 Batch 45 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.193965-07:00","updated_at":"2025-10-21T00:29:11.193965-07:00","source_repo":"."} -{"id":"bd-1392","content_hash":"75e64146aca0e9732ed595b7cecc8defe0eee7e75ff9490831b7dba824a95fb2","title":"Agent 0 Batch 45 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.195197-07:00","updated_at":"2025-10-21T00:29:11.195197-07:00","source_repo":"."} -{"id":"bd-1393","content_hash":"7d75dbf687064368f1abaac336ef4c632a8289e6ee0ace1ea70222c411c30cb9","title":"Agent 0 Batch 46 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.196258-07:00","updated_at":"2025-10-21T00:29:11.196258-07:00","source_repo":"."} -{"id":"bd-1394","content_hash":"10e63fa0c8a79a255d861475486609ed2ac898522af9f2a4943331f50c878d77","title":"Agent 0 Batch 46 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.196996-07:00","updated_at":"2025-10-21T00:29:11.196996-07:00","source_repo":"."} -{"id":"bd-1395","content_hash":"5c645811ac88aa5aa5ea86370329183610645b944ecdecf5e115a9f70ed23c6e","title":"Agent 0 Batch 47 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.199678-07:00","updated_at":"2025-10-21T00:29:11.199678-07:00","source_repo":"."} -{"id":"bd-1396","content_hash":"45749f42a5480a8bbe2095d41eb8f2bea151925e5af6f3f0fe673c7ed99d0147","title":"Agent 0 Batch 47 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.200415-07:00","updated_at":"2025-10-21T00:29:11.200415-07:00","source_repo":"."} -{"id":"bd-1397","content_hash":"b1a94ad95b80942cb2f03cfe51b1e779ad847d0a9fce78d446fe36d14aa99dff","title":"Agent 0 Batch 48 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.201306-07:00","updated_at":"2025-10-21T00:29:11.201306-07:00","source_repo":"."} -{"id":"bd-1398","content_hash":"939f369806e0ae2b3bbe7976c0a4bb690fd79c19b27f06d7d360acaad74e3169","title":"Agent 0 Batch 48 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.202305-07:00","updated_at":"2025-10-21T00:29:11.202305-07:00","source_repo":"."} -{"id":"bd-1399","content_hash":"8fc7528c7602b2ae9b68bf7282c6aa8a64537de7ef6fcf08e990f3d05089c98f","title":"Agent 0 Batch 49 Issue 1","description":"","status":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:11.203114-07:00","updated_at":"2025-10-21T00:29:11.203114-07:00","source_repo":"."} -{"id":"bd-1400","content_hash":"03924728183760fb24d5c97eeee353a85fb5fb9712485b4a82c10d819e9b5a25","title":"Agent 0 Batch 49 Issue 2","description":"","status":"open","priority":0,"issue_type":"bug","created_at":"2025-10-21T00:29:11.204068-07:00","updated_at":"2025-10-21T00:29:11.204068-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-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-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-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-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-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-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-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-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-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-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-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":"."} @@ -432,6 +482,7 @@ {"id":"bd-1407","content_hash":"4955c45825d1dc14377ec0932d6cedafaf8ae9d3b176ad8a04740325290d4798","title":"Updated by agent 4","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.369735-07:00","updated_at":"2025-10-21T00:29:11.663228-07:00","source_repo":"."} {"id":"bd-1408","content_hash":"297496fe92dc479b8eeb9e09ae456d452283c73769d800e64c12683cce023989","title":"Base Issue 7","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.370949-07:00","updated_at":"2025-10-21T00:29:11.370949-07:00","source_repo":"."} {"id":"bd-1409","content_hash":"346bc561da46ee75a324ec5517194e11a8903141389edf8decf9bdb940a7f285","title":"Base Issue 8","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.372153-07:00","updated_at":"2025-10-21T00:29:11.372153-07:00","source_repo":"."} +{"id":"bd-141","content_hash":"87224d35866aa4c8fad66355b2979a8a3d1bb13dbb862a01fab7fc362f9c9383","title":"Add daemon RPC support for comments and label subcommands","description":"The 'bd comments' and 'bd label' subcommands don't work in direct mode because they don't inherit PersistentPreRun from root command. Need to add daemon RPC handlers similar to how show/update/create work.\n\nAffected commands:\n- bd comments \u003cid\u003e\n- bd comments add \u003cid\u003e \"text\"\n- bd label list \u003cid\u003e\n- bd label add \u003cid\u003e \u003clabel\u003e\n- bd label remove \u003cid\u003e \u003clabel\u003e\n\nSolution: Add RPC handlers in daemon.go for these operations and update the CLI commands to use daemon RPC when available (check daemonClient != nil pattern used in other commands).","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-19T16:08:42.16553-07:00","updated_at":"2025-10-21T00:25:40.527753-07:00","closed_at":"2025-10-19T21:14:12.233179-07:00","source_repo":"."} {"id":"bd-1410","content_hash":"b46e07a8531032e55aaaae87260bcd4a754f253a4c1fc47f9a7b0002e4a0ef64","title":"Base Issue 9","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.373009-07:00","updated_at":"2025-10-21T00:29:11.373009-07:00","source_repo":"."} {"id":"bd-1411","content_hash":"41be5a932d09cf2d4cb92f031f58b51a677a84ae2a3ee68222a9cebaf1840830","title":"Agent 5 New Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.375685-07:00","updated_at":"2025-10-21T00:29:11.375685-07:00","source_repo":"."} {"id":"bd-1412","content_hash":"7675c13b1e00aac5cb2fe8ef5458827d869a8c02d9aeb1ef8cc0b33f3c785e87","title":"Agent 2 New Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.377361-07:00","updated_at":"2025-10-21T00:29:11.377361-07:00","source_repo":"."} @@ -442,6 +493,7 @@ {"id":"bd-1417","content_hash":"63805d6ca7863dff6119ebd483ca57b594b03b221c5599c048ca02738347ae56","title":"Agent 3 New Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.384855-07:00","updated_at":"2025-10-21T00:29:11.384855-07:00","source_repo":"."} {"id":"bd-1418","content_hash":"5cbdd4353b658faa05675ac931e6c845ac52a7b932b00b057d9157ce7afcecac","title":"Agent 2 New Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.383868-07:00","updated_at":"2025-10-21T00:29:11.383868-07:00","source_repo":"."} {"id":"bd-1419","content_hash":"28df9bf62a29046411fb7162b3881bfdc611e0df0deb18a1f8110ba98f97d77c","title":"Agent 4 New Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.387888-07:00","updated_at":"2025-10-21T00:29:11.387888-07:00","source_repo":"."} +{"id":"bd-142","content_hash":"6d390f841f96aba456ab10934758bc5e7954be6f7ffd785863613475f9c7af41","title":"MCP server workspace routing broken - using wrong server for workspace","description":"When working in ~/src/beads, AI agent is calling mcp__beads-wyvern__* functions which are configured for ~/wyvern workspace. This causes MCP commands to fail or operate on wrong database.\n\nExpected: Should use correct MCP server based on current workspace\nActual: Using beads-wyvern MCP server when in beads repo\n\nNeed to investigate:\n- How MCP server routing/selection works\n- Why wrong server is being selected\n- How to fix workspace detection","notes":"Root cause: Using multiple MCP servers (beads-adar, beads-wyvern, beads-vc, beads) instead of single MCP server with global daemon. AI randomly selects wrong server for workspace.\n\nFixed:\n1. Started global daemon: bd daemon --global\n2. Simplified config to single MCP server in ~/.config/amp/settings.json\n3. Updated AGENTS.md to emphasize single MCP server as RECOMMENDED approach\n4. Marked legacy multiple-server approach with warning about workspace routing issues\n\nUser needs to restart Amp for config changes to take effect.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-19T18:32:04.513755-07:00","updated_at":"2025-10-21T00:25:40.527933-07:00","closed_at":"2025-10-19T18:35:00.167234-07:00","source_repo":"."} {"id":"bd-1420","content_hash":"ec0083583feef2e15ae2c86368b99110635e0e625dca53d0cc7bcd76d6ba6baf","title":"Agent 0 New Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.3902-07:00","updated_at":"2025-10-21T00:29:11.3902-07:00","source_repo":"."} {"id":"bd-1421","content_hash":"e19b51f7dc774a49a93ca91904d54fb7435d85a1757c27bfe94c30ac116c7855","title":"Agent 5 New Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.383388-07:00","updated_at":"2025-10-21T00:29:11.383388-07:00","source_repo":"."} {"id":"bd-1422","content_hash":"78d86d60afda25502632cb6d44e449c81773f7334e3236940c36f6e6cf38ca09","title":"Agent 4 New Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.394219-07:00","updated_at":"2025-10-21T00:29:11.394219-07:00","source_repo":"."} @@ -452,6 +504,7 @@ {"id":"bd-1427","content_hash":"3ab505c5609fed62014a401ca7a090e0ab7741bcf5c963e705d33954a32fea93","title":"Agent 1 New Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.391893-07:00","updated_at":"2025-10-21T00:29:11.391893-07:00","source_repo":"."} {"id":"bd-1428","content_hash":"59219f4ccb52f74915dbf9bd034060a6dcc31461d774ce9a1b39d709e16aa517","title":"Agent 1 New Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.403507-07:00","updated_at":"2025-10-21T00:29:11.403507-07:00","source_repo":"."} {"id":"bd-1429","content_hash":"027b4d942ded7961c1c45078ffb1b586732c2a0e6a913c530b9cb85126014ee1","title":"Agent 4 New Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.407799-07:00","updated_at":"2025-10-21T00:29:11.407799-07:00","source_repo":"."} +{"id":"bd-143","content_hash":"6bbde1956b775860052d1553717555e86cae260589ffe0c4850e81c2f0c7a43a","title":"Renumber command fails with foreign key constraint error","description":"When running 'bd renumber --force' after deleting issues, the command fails with: 'failed to rename bd-19 to temp ID: failed to update issue ID: constraint failed: FOREIGN KEY constraint failed (787)'. This suggests the renumber implementation doesn't properly handle foreign key constraints during the ID swap process. May need to disable foreign keys temporarily or use a different renumbering strategy.","notes":"Deeper investigation: All child tables (dependencies, labels, events, dirty_issues, issue_snapshots, compaction_snapshots, comments) have FK constraints to issues(id) ON DELETE CASCADE. When renumbering tries to UPDATE issues SET id = temp-uuid WHERE id = bd-49, the FK checks fire immediately despite PRAGMA foreign_keys = OFF being called. Issue might be that Go sql.DB connection pooling means the PRAGMA isn't applied to the actual connection doing the UPDATE. Testing with explicit connection (s.db.Conn()) to ensure PRAGMA sticks.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-19T19:33:20.324768-07:00","updated_at":"2025-10-21T00:25:40.528106-07:00","closed_at":"2025-10-19T19:35:57.175627-07:00","source_repo":"."} {"id":"bd-1430","content_hash":"66bcb256558647fcb6e31c6fbb59f9a27d2a50f499877537eb6e62a90dd5cf7d","title":"Agent 1 New Issue 15","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.409298-07:00","updated_at":"2025-10-21T00:29:11.409298-07:00","source_repo":"."} {"id":"bd-1431","content_hash":"8a9b0870dfd69bf358b1cc6cca63b17948babd67b077f8dd023f7b459034e52b","title":"Agent 2 New Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.412217-07:00","updated_at":"2025-10-21T00:29:11.412217-07:00","source_repo":"."} {"id":"bd-1432","content_hash":"9230eb80b0e12311a3a962263479b1c021d65f5c83153bedc7a70162a07b4f46","title":"Agent 0 New Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.41278-07:00","updated_at":"2025-10-21T00:29:11.41278-07:00","source_repo":"."} @@ -462,6 +515,7 @@ {"id":"bd-1437","content_hash":"52f6c21b56ac14269f2a78476922268dcbca04d68d2f0d047fe1f468c25f6148","title":"Agent 0 New Issue 30","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.427501-07:00","updated_at":"2025-10-21T00:29:11.427501-07:00","source_repo":"."} {"id":"bd-1438","content_hash":"b6d940e2cc7543b4965d41f58099830e08802ed5be3e1679f41b257a47a3b4ef","title":"Agent 4 New Issue 30","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.430441-07:00","updated_at":"2025-10-21T00:29:11.430441-07:00","source_repo":"."} {"id":"bd-1439","content_hash":"aa9a08c4e4555229e617f179736ff37c5e250049edd00c4c5f3b6e15184b0856","title":"Agent 0 New Issue 35","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.432396-07:00","updated_at":"2025-10-21T00:29:11.432396-07:00","source_repo":"."} +{"id":"bd-144","content_hash":"cb1ed853a9fc2efcf1dbcb60f24e40de044a6971d12f70c5b857682f166465f1","title":"Single-user issue","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T19:51:36.918878-07:00","updated_at":"2025-10-21T00:25:40.528284-07:00","closed_at":"2025-10-19T22:46:09.245662-07:00","source_repo":"."} {"id":"bd-1440","content_hash":"ca47778134c3cd1ea7b2b7db68bf4adc4cfb576bcfa3422e80903df5f39c5b22","title":"Agent 4 New Issue 35","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.434187-07:00","updated_at":"2025-10-21T00:29:11.434187-07:00","source_repo":"."} {"id":"bd-1441","content_hash":"52c75dd0ce028ce4ffcd9cf816afa55e793e5a7f3d7bee698e86879a3ae2484a","title":"Agent 0 New Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.436597-07:00","updated_at":"2025-10-21T00:29:11.436597-07:00","source_repo":"."} {"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":"."} @@ -472,6 +526,7 @@ {"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":"."} {"id":"bd-1449","content_hash":"8a20651735ca7e48ae822871329b8d96ce386b70c39b510f111042b96acef73b","title":"Agent 1 New Issue 45","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.45521-07:00","updated_at":"2025-10-21T00:29:11.45521-07:00","source_repo":"."} +{"id":"bd-145","content_hash":"efb0c51be0d226f4cc17b4dcf86ed8a1ef72f6fb269ff82abc6be76e59787517","title":"Direct mode test","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T19:52:19.768858-07:00","updated_at":"2025-10-21T00:25:40.528444-07:00","closed_at":"2025-10-19T22:46:09.246627-07:00","source_repo":"."} {"id":"bd-1450","content_hash":"38d8dc7621fa89cfbdc29f16c428e75991441c27a03ee3ce4a9da23db3100d01","title":"Agent 2 New Issue 15","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.437686-07:00","updated_at":"2025-10-21T00:29:11.437686-07:00","source_repo":"."} {"id":"bd-1451","content_hash":"d7c6105576e6e9edf61435c1903397929dfae4092c0b1ecdc2ce66a0eb8d7767","title":"Agent 2 New Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.463314-07:00","updated_at":"2025-10-21T00:29:11.463314-07:00","source_repo":"."} {"id":"bd-1452","content_hash":"024ca2e30186e584f8da41f7194f4ceb19bb8add044457008783156b25ff6600","title":"Agent 3 New Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.465869-07:00","updated_at":"2025-10-21T00:29:11.465869-07:00","source_repo":"."} @@ -482,6 +537,7 @@ {"id":"bd-1457","content_hash":"41770a8013e120d654827fc83e3113ec6e0abc6a41f1428587d853b3db8687d6","title":"Agent 2 New Issue 35","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.599586-07:00","updated_at":"2025-10-21T00:29:11.599586-07:00","source_repo":"."} {"id":"bd-1458","content_hash":"99f0fecbb9c941b66cc7214b4425da48e07f877bfdfa5d442b9ae9d7952a6695","title":"Agent 2 New Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.603856-07:00","updated_at":"2025-10-21T00:29:11.603856-07:00","source_repo":"."} {"id":"bd-1459","content_hash":"cfaed20ccc9582d1ade1e12b21ac853544c41fb25c26cbff4fc8a4d20b82cf09","title":"Agent 3 New Issue 35","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.607955-07:00","updated_at":"2025-10-21T00:29:11.607955-07:00","source_repo":"."} +{"id":"bd-146","content_hash":"42f178fe6a988e2fe053b1a7e5c7df74b3c97b695a6287d862cffe74f41c0ba9","title":"Direct mode test2","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T19:52:25.87028-07:00","updated_at":"2025-10-21T00:25:40.528608-07:00","closed_at":"2025-10-19T22:46:09.246863-07:00","source_repo":"."} {"id":"bd-1460","content_hash":"2e536c5ab16ada24ba599171765adb2f79e3bf3a309e7b238448f5951b4fe344","title":"Agent 3 New Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.611567-07:00","updated_at":"2025-10-21T00:29:11.611567-07:00","source_repo":"."} {"id":"bd-1461","content_hash":"9a1244dc22cf0d01be3100175bdbaa1472505df3e50ebb55ba1afd708d70f8e2","title":"Agent 2 New Issue 45","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.614478-07:00","updated_at":"2025-10-21T00:29:11.614478-07:00","source_repo":"."} {"id":"bd-1462","content_hash":"fea6a19546654a0ee3e262ca0d0894e02657a4839f117852dc668ffdcb9e9659","title":"Agent 3 New Issue 45","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.615256-07:00","updated_at":"2025-10-21T00:29:11.615256-07:00","source_repo":"."} @@ -492,6 +548,7 @@ {"id":"bd-1467","content_hash":"2bcc43a046b945c39462dd116fc42957f92a947b658cd5d18a9f1d150bf8c578","title":"Agent 5 New Issue 35","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.652288-07:00","updated_at":"2025-10-21T00:29:11.652288-07:00","source_repo":"."} {"id":"bd-1468","content_hash":"49e46808a22cf70e2a5d81298e676b5e9cc840632a0d3eb897ccd1f0da4fcddf","title":"Agent 5 New Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.655801-07:00","updated_at":"2025-10-21T00:29:11.655801-07:00","source_repo":"."} {"id":"bd-1469","content_hash":"4da0f5580863797aa60c18be1288fe456462343fc656e6421186df5a9b5787a8","title":"Agent 5 New Issue 45","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.658905-07:00","updated_at":"2025-10-21T00:29:11.658905-07:00","source_repo":"."} +{"id":"bd-147","content_hash":"b9feab1caf25d324350fe7081ae345e2fa473e24501c27fc05907fd3bbb908dc","title":"Direct mode real test","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T19:52:31.996122-07:00","updated_at":"2025-10-21T00:25:40.528769-07:00","closed_at":"2025-10-19T22:46:09.247155-07:00","source_repo":"."} {"id":"bd-1470","content_hash":"b7f22be45035bba9d835f9f01229ddbaa35f46f77bfd26866c1f40a7a8c8c381","title":"Agent 4 New Issue 45","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.444303-07:00","updated_at":"2025-10-21T00:29:11.444303-07:00","source_repo":"."} {"id":"bd-1471","content_hash":"63f16f8df5e514d88451b0c46327d6cbed776d696b573d1c4e24bbe8d0cb1ada","title":"Timeout Test","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.784174-07:00","updated_at":"2025-10-21T00:29:11.784174-07:00","source_repo":"."} {"id":"bd-1472","content_hash":"0e7a3a4208e2976f988af14bd25389c0a3674dbf5c3dd84b3139754d55319c15","title":"Agent 0 Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.903936-07:00","updated_at":"2025-10-21T00:29:11.903936-07:00","source_repo":"."} @@ -502,6 +559,7 @@ {"id":"bd-1477","content_hash":"22b23604f74b198fe7aff865fb2dd150aaa799e9c40c58dc5527bb5e98fefa5f","title":"Agent 2 Issue 1","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.913453-07:00","updated_at":"2025-10-21T00:29:11.913453-07:00","source_repo":"."} {"id":"bd-1478","content_hash":"71082746a4f6f4d6befa935f1e8a338e6b3a99304df8c3b5b822964edaf6d7a0","title":"Agent 5 Issue 1","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.910583-07:00","updated_at":"2025-10-21T00:29:11.910583-07:00","source_repo":"."} {"id":"bd-1479","content_hash":"542ba7b1be3cec4c49171d6abf97308e3fee11047beb8a8e9a56c46a3967a366","title":"Agent 5 Issue 2","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.915452-07:00","updated_at":"2025-10-21T00:29:11.915452-07:00","source_repo":"."} +{"id":"bd-148","content_hash":"cb9bef4befef4939c22f22b64726f7f12d7a0a12491c31a3a2f32330daa7449a","title":"Direct mode test clean","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T19:52:56.4305-07:00","updated_at":"2025-10-21T00:25:40.528934-07:00","closed_at":"2025-10-19T22:46:09.247418-07:00","source_repo":"."} {"id":"bd-1480","content_hash":"1c6c1a4c1d17836b279091e9f4182589aff871798c40b8583b3127e78a48e478","title":"Agent 5 Issue 3","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.916603-07:00","updated_at":"2025-10-21T00:29:11.916603-07:00","source_repo":"."} {"id":"bd-1481","content_hash":"20841b6a16c222ad8caf28471ce2c71f16bb0692bbda93690e4955b9083c566a","title":"Agent 5 Issue 4","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.917784-07:00","updated_at":"2025-10-21T00:29:11.917784-07:00","source_repo":"."} {"id":"bd-1482","content_hash":"ee47750606be7a397935acb2ae8183a5396f93a44c977e222a6b4d36e6fcedca","title":"Agent 5 Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.918707-07:00","updated_at":"2025-10-21T00:29:11.918707-07:00","source_repo":"."} @@ -523,6 +581,8 @@ {"id":"bd-1497","content_hash":"6c17c3f94c6c23fa9644e9b286c98de5acbac86abbe37f3f72d96337b955a6fb","title":"Agent 5 Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.933479-07:00","updated_at":"2025-10-21T00:29:11.933479-07:00","source_repo":"."} {"id":"bd-1498","content_hash":"4ce30b07a239c677f92d2e786b68a754e96dd7bd31176e7c88c9a5dcf38c89ef","title":"Agent 5 Issue 21","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.934226-07:00","updated_at":"2025-10-21T00:29:11.934226-07:00","source_repo":"."} {"id":"bd-1499","content_hash":"7597f35f59d736aed9b85e3447eac57da6570994a62b364f3894cf2dbad2788f","title":"Agent 5 Issue 22","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.935134-07:00","updated_at":"2025-10-21T00:29:11.935134-07:00","source_repo":"."} +{"id":"bd-15","content_hash":"af6facfb8fda14dc8a4cbeaa74c3b0eccaaabd7646fc26fff5b634c4e48f34e5","title":"Optimize auto-flush to use incremental updates","description":"Every flush exports ALL issues and ALL dependencies, even if only one issue changed. For large projects (1000+ issues), this could be expensive. Current approach guarantees consistency, which is fine for MVP, but future optimization could track which issues changed and use incremental updates. Located in cmd/bd/main.go:255-276.","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.529265-07:00","closed_at":"2025-10-14T02:51:52.200141-07:00","source_repo":"."} +{"id":"bd-150","content_hash":"d41ed2ace5364430a5ab6f06b363f7f83f698d4ebf3a857589b8370bc1a11d03","title":"Daemon stop has race condition with SIGKILL","description":"When stopping daemon, sometimes see 'Warning: daemon did not stop after 5 seconds, sending SIGKILL' followed by 'Error killing process: os: process already finished'. Indicates timing issue where process exits between check and kill.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-19T20:01:18.979589-07:00","updated_at":"2025-10-21T00:25:40.529429-07:00","closed_at":"2025-10-19T21:49:35.916052-07:00","source_repo":"."} {"id":"bd-1500","content_hash":"83d9e128f9d8b6a50f9b76550b273203be5b50e66a2e2a676b01905703fb0062","title":"Agent 1 Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.911355-07:00","updated_at":"2025-10-21T00:29:11.911355-07:00","source_repo":"."} {"id":"bd-1501","content_hash":"4984e7d5cc509f8c2958d0f4ea8447d18c718b0ff55d278bd52043ab86f069a6","title":"Agent 1 Issue 1","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.936873-07:00","updated_at":"2025-10-21T00:29:11.936873-07:00","source_repo":"."} {"id":"bd-1502","content_hash":"de86eca2d1e0a3c242d519a305ca8cc59a45a943c672e91a915ca2e790158ba4","title":"Agent 1 Issue 2","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.93761-07:00","updated_at":"2025-10-21T00:29:11.93761-07:00","source_repo":"."} @@ -533,6 +593,7 @@ {"id":"bd-1507","content_hash":"760e6a8f147407b6f22232cb15ed2b13ba17f91f51821a577c6187db943ca479","title":"Agent 1 Issue 7","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.942169-07:00","updated_at":"2025-10-21T00:29:11.942169-07:00","source_repo":"."} {"id":"bd-1508","content_hash":"da3d314dfdc2e84fe9cc2caa34a3951e4da0c43849ab734ac48197a05c4b6888","title":"Agent 1 Issue 8","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.943249-07:00","updated_at":"2025-10-21T00:29:11.943249-07:00","source_repo":"."} {"id":"bd-1509","content_hash":"9e744a2e7bc0e1a7deaf9048cdef1904607b0ceb0b7396c70af3a74f061fdf97","title":"Agent 1 Issue 9","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.944047-07:00","updated_at":"2025-10-21T00:29:11.944047-07:00","source_repo":"."} +{"id":"bd-151","content_hash":"20db4e5373ac2df72fccff4bd44d4d3cdc5d1661b4624dba5e35d7d21eeafd7e","title":"Implement storage cache eviction and memory limits","description":"Implement LRU cache eviction and memory pressure detection for daemon storage cache to prevent unbounded memory growth.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-19T20:13:59.761129-07:00","updated_at":"2025-10-21T00:25:40.529631-07:00","closed_at":"2025-10-19T20:14:24.888631-07:00","source_repo":"."} {"id":"bd-1510","content_hash":"a0bae51ee3ed6b9b1ba33a361d590d1567cee32ad7525de5c81a0694fe99035f","title":"Agent 1 Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.9448-07:00","updated_at":"2025-10-21T00:29:11.9448-07:00","source_repo":"."} {"id":"bd-1511","content_hash":"9e95b8731901f586175eac3b2964e5c9943e380ee034318133f292bf08e29d27","title":"Agent 1 Issue 11","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.94562-07:00","updated_at":"2025-10-21T00:29:11.94562-07:00","source_repo":"."} {"id":"bd-1512","content_hash":"2b6edacdac9ba336b9a21ddf8a616c3c406e0b4b37d1666f97c0426764a39b21","title":"Agent 1 Issue 12","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.946616-07:00","updated_at":"2025-10-21T00:29:11.946616-07:00","source_repo":"."} @@ -543,6 +604,7 @@ {"id":"bd-1517","content_hash":"2ed48743dab2d829af6d3c67aa1e3b017009480d03f3e9b4ed8ed349ab745524","title":"Agent 1 Issue 17","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.951131-07:00","updated_at":"2025-10-21T00:29:11.951131-07:00","source_repo":"."} {"id":"bd-1518","content_hash":"4e122df07289d2358de2ec185a06abc38914161f7c82f38fc9d62d037cfec642","title":"Agent 1 Issue 18","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.952109-07:00","updated_at":"2025-10-21T00:29:11.952109-07:00","source_repo":"."} {"id":"bd-1519","content_hash":"c8019da28cf61868e5293d215f75edb60d9b2135165103bc84664b6f531562ca","title":"Agent 1 Issue 19","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.952921-07:00","updated_at":"2025-10-21T00:29:11.952921-07:00","source_repo":"."} +{"id":"bd-152","content_hash":"3299710c2188dd809c2e24ce523fba11188eadb36da7cb1e976027eea10969e9","title":"Clean up MCP integration for daemon reliability","description":"Ensure MCP server properly handles daemon lifecycle, connection failures, and recovery scenarios.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-19T20:13:59.764086-07:00","updated_at":"2025-10-21T00:25:40.529802-07:00","closed_at":"2025-10-19T20:15:11.006871-07:00","source_repo":"."} {"id":"bd-1520","content_hash":"3d874c016f04524487e468483260d5d6c51c681724a16965197feb40b883011d","title":"Agent 1 Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.953743-07:00","updated_at":"2025-10-21T00:29:11.953743-07:00","source_repo":"."} {"id":"bd-1521","content_hash":"687bf8f0c51b46f73f2862d5e5c937412f5649c198e038bd4022491beddc3311","title":"Agent 1 Issue 21","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.954586-07:00","updated_at":"2025-10-21T00:29:11.954586-07:00","source_repo":"."} {"id":"bd-1522","content_hash":"a927bf6b27140ab46e658460a3660e34169de8f3ed51aa38dad8cf95fb686440","title":"Agent 1 Issue 22","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.955426-07:00","updated_at":"2025-10-21T00:29:11.955426-07:00","source_repo":"."} @@ -553,6 +615,7 @@ {"id":"bd-1527","content_hash":"f758c7816e2f5672cf67a903b8fd534ee384355521183dc103bc431d8497bff4","title":"Agent 1 Issue 27","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.959872-07:00","updated_at":"2025-10-21T00:29:11.959872-07:00","source_repo":"."} {"id":"bd-1528","content_hash":"c90b22db81c01c709815b1e941e6fff66f2392c1dcad9a7792b4b31f0bb7d09a","title":"Agent 1 Issue 28","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.960723-07:00","updated_at":"2025-10-21T00:29:11.960723-07:00","source_repo":"."} {"id":"bd-1529","content_hash":"410a54443fb3a7aba5a16d83cab62d75333828b1ebaeba04c6ffc655967357a4","title":"Agent 1 Issue 29","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.961761-07:00","updated_at":"2025-10-21T00:29:11.961761-07:00","source_repo":"."} +{"id":"bd-153","content_hash":"d58cd571f10a038865b9a009ea34b41ed3bd45a836288bdf9bfc5f51dd5b04c2","title":"Add daemon health checks and monitoring","description":"Add health check endpoint that validates daemon state, storage connections, and resource usage.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-19T20:13:59.764154-07:00","updated_at":"2025-10-21T00:25:40.529968-07:00","closed_at":"2025-10-19T20:14:38.291678-07:00","source_repo":"."} {"id":"bd-1530","content_hash":"16588cd1c0b997dd90513816c90eaf29fd03ef671a5662f7c20f63619663868f","title":"Agent 1 Issue 30","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.962603-07:00","updated_at":"2025-10-21T00:29:11.962603-07:00","source_repo":"."} {"id":"bd-1531","content_hash":"e48fefaa7ff06191715bea0fa31879dcbbb1021fa403e8874f951867e9c93051","title":"Agent 1 Issue 31","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.963783-07:00","updated_at":"2025-10-21T00:29:11.963783-07:00","source_repo":"."} {"id":"bd-1532","content_hash":"b78fcd489f329825c485d721b6a00eb1865add5c6888ee5a16f211fd1c641c84","title":"Agent 1 Issue 32","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.964698-07:00","updated_at":"2025-10-21T00:29:11.964698-07:00","source_repo":"."} @@ -563,6 +626,7 @@ {"id":"bd-1537","content_hash":"ec96e960028fce47498f8ba6fe309449ffe8db7b3ac22f9332fa09f2c2e85375","title":"Agent 1 Issue 37","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.96888-07:00","updated_at":"2025-10-21T00:29:11.96888-07:00","source_repo":"."} {"id":"bd-1538","content_hash":"47dd44c3876b4a81d47e950a3aa4d58e08ca097050be544dea047943d24ac738","title":"Agent 1 Issue 38","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.969629-07:00","updated_at":"2025-10-21T00:29:11.969629-07:00","source_repo":"."} {"id":"bd-1539","content_hash":"162ece8a4a67adbf8f874b4afc8f175f29a682a39a84dcbe25d80fe0b42bf8a7","title":"Agent 1 Issue 39","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.97078-07:00","updated_at":"2025-10-21T00:29:11.97078-07:00","source_repo":"."} +{"id":"bd-154","content_hash":"5f0639eb0ff24e14852b42f5e10a4f9063c9e3e0a6b1e27523c1b5789d575e41","title":"Implement daemon crash recovery and restart","description":"Detect stale daemon processes, clean up orphaned resources, and auto-restart daemon after crashes.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-19T20:13:59.766856-07:00","updated_at":"2025-10-21T00:25:40.5302-07:00","closed_at":"2025-10-19T20:15:02.211576-07:00","source_repo":"."} {"id":"bd-1540","content_hash":"15c3c6d484b54733e949611c6296283fbbc81570c4cca873b8761a5099218689","title":"Agent 1 Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.97163-07:00","updated_at":"2025-10-21T00:29:11.97163-07:00","source_repo":"."} {"id":"bd-1541","content_hash":"e3efb1313c369a3de000c6e84bcced39924ad225e7e32aca4416ff25acad17cd","title":"Agent 1 Issue 41","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.972449-07:00","updated_at":"2025-10-21T00:29:11.972449-07:00","source_repo":"."} {"id":"bd-1542","content_hash":"b26a98dd5351f12de05da8f3818f796d9c6a58c4529dea6b643a49130667cb7d","title":"Agent 1 Issue 42","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.973503-07:00","updated_at":"2025-10-21T00:29:11.973503-07:00","source_repo":"."} @@ -573,6 +637,7 @@ {"id":"bd-1547","content_hash":"acbd9ea4befcb331c409e58ad4ddb45df6ada9ee85ff39318b83db190e8f2681","title":"Agent 1 Issue 47","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.977819-07:00","updated_at":"2025-10-21T00:29:11.977819-07:00","source_repo":"."} {"id":"bd-1548","content_hash":"e7b16bd2b176734df19b7d41658d9c22993b98f94881047bed03912b4665fba6","title":"Agent 1 Issue 48","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.978661-07:00","updated_at":"2025-10-21T00:29:11.978661-07:00","source_repo":"."} {"id":"bd-1549","content_hash":"b162ea66a01db65f6f78768e63b594d0cfaefa7fafc9635612e143e218279423","title":"Agent 1 Issue 49","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.979502-07:00","updated_at":"2025-10-21T00:29:11.979502-07:00","source_repo":"."} +{"id":"bd-155","content_hash":"bf5084590ad045238b9d16af4faaf7ba0538af7049f4be76ca0840fa77f21af1","title":"Implement resource limits and connection pooling","description":"Add configurable limits for connections, file descriptors, and memory usage.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T20:13:59.768745-07:00","updated_at":"2025-10-21T00:25:40.530638-07:00","closed_at":"2025-10-19T22:41:38.335156-07:00","source_repo":"."} {"id":"bd-1550","content_hash":"05a2b72dd75260db241b05a0673ad120a31accd05e316efa0ee56748d9666d07","title":"Agent 1 Issue 50","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.980483-07:00","updated_at":"2025-10-21T00:29:11.980483-07:00","source_repo":"."} {"id":"bd-1551","content_hash":"2356bd1477057f9e6d0caac11e4dfef6fc6a86d86cc60145f72118a976dcbce5","title":"Agent 1 Issue 51","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.981366-07:00","updated_at":"2025-10-21T00:29:11.981366-07:00","source_repo":"."} {"id":"bd-1552","content_hash":"c3175b6eca7305be0210e3b7b5c9581928bd53c013975afbb3a94aea6cd18515","title":"Agent 1 Issue 52","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.982263-07:00","updated_at":"2025-10-21T00:29:11.982263-07:00","source_repo":"."} @@ -583,6 +648,7 @@ {"id":"bd-1557","content_hash":"8c7e371805c1e729b8bfc34187be14dcb36858de2ed9dadbfc22fc21b82288c0","title":"Agent 1 Issue 57","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.986849-07:00","updated_at":"2025-10-21T00:29:11.986849-07:00","source_repo":"."} {"id":"bd-1558","content_hash":"6d16f7635e1cad722af309ccc8ccac4e6cad61f5d40d47777cf9914aefa73ab3","title":"Agent 1 Issue 58","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.98766-07:00","updated_at":"2025-10-21T00:29:11.98766-07:00","source_repo":"."} {"id":"bd-1559","content_hash":"063fd99d7a75f5eb855e1eff6d1d71b0d573587c300b581246a6cd0c9bef60e9","title":"Agent 1 Issue 59","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.988466-07:00","updated_at":"2025-10-21T00:29:11.988466-07:00","source_repo":"."} +{"id":"bd-156","content_hash":"e1ce19d788044ad7395300a78e4addba368e3b84f459324e3ca215760c635794","title":"Add daemon telemetry and metrics","description":"Track and report daemon metrics: request count, latency, cache hits/misses, error rates.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T20:13:59.77094-07:00","updated_at":"2025-10-21T00:25:40.530865-07:00","closed_at":"2025-10-19T23:15:11.871638-07:00","source_repo":"."} {"id":"bd-1560","content_hash":"d76564acc8b4d8ea5846c9d88a2c421d05c3845acb89665bc47fff33b1d1654a","title":"Agent 1 Issue 60","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.989252-07:00","updated_at":"2025-10-21T00:29:11.989252-07:00","source_repo":"."} {"id":"bd-1561","content_hash":"d21a9c558fb5251366d1521a9c68b0a2743c8e228b733d57adc791dcfeb7bb16","title":"Agent 1 Issue 61","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.990018-07:00","updated_at":"2025-10-21T00:29:11.990018-07:00","source_repo":"."} {"id":"bd-1562","content_hash":"4000d0285720b67d5e9091455195e5a8b9cd546e82e91353968a257a2faad568","title":"Agent 1 Issue 62","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.991032-07:00","updated_at":"2025-10-21T00:29:11.991032-07:00","source_repo":"."} @@ -593,6 +659,7 @@ {"id":"bd-1567","content_hash":"804f6ca850798b811a57dbd8bb815b15bf6c002b6a634eb967f50ca58702b950","title":"Agent 1 Issue 67","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.99444-07:00","updated_at":"2025-10-21T00:29:11.99444-07:00","source_repo":"."} {"id":"bd-1568","content_hash":"ec2d4a242b32c8a8f0083280f1c5df62ccaa430369109e4c324e6902d2620ac5","title":"Agent 1 Issue 68","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.995125-07:00","updated_at":"2025-10-21T00:29:11.995125-07:00","source_repo":"."} {"id":"bd-1569","content_hash":"d66245f1f342c9688e2fd4d8d9fd124f383fb1f2b891a20d24b8c6427db5c090","title":"Agent 1 Issue 69","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.995816-07:00","updated_at":"2025-10-21T00:29:11.995816-07:00","source_repo":"."} +{"id":"bd-157","content_hash":"43ed76103cf6d347181993d79e2c4a6304b7af7cf4dcc54024282fd3a194f7c9","title":"Improve daemon visibility and status reporting","description":"Add clear daemon status output, uptime reporting, and user-friendly error messages.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-19T20:13:59.772435-07:00","updated_at":"2025-10-21T00:25:40.531058-07:00","closed_at":"2025-10-19T21:44:50.340047-07:00","source_repo":"."} {"id":"bd-1570","content_hash":"25517df235f0f442a915b97924e0c5323eb36be2ef17f0c5228d543d985ad9ae","title":"Agent 1 Issue 70","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.996488-07:00","updated_at":"2025-10-21T00:29:11.996488-07:00","source_repo":"."} {"id":"bd-1571","content_hash":"0013350acc53113c431e4d356c41e304bd33f383da0faf99d8d7568988b7d696","title":"Agent 1 Issue 71","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.997181-07:00","updated_at":"2025-10-21T00:29:11.997181-07:00","source_repo":"."} {"id":"bd-1572","content_hash":"156363df299ed474975ea90934028ab2d135188bb6a5d5e228df573456f945be","title":"Agent 1 Issue 72","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.997891-07:00","updated_at":"2025-10-21T00:29:11.997891-07:00","source_repo":"."} @@ -603,6 +670,7 @@ {"id":"bd-1577","content_hash":"8c485d6e1f2548adbae04eb7ba23c3db5568b61ad18a94874ff5fd2ef2a65c5d","title":"Agent 1 Issue 77","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.001514-07:00","updated_at":"2025-10-21T00:29:12.001514-07:00","source_repo":"."} {"id":"bd-1578","content_hash":"a9dd819b99ad7721a8b28be13e4aa834c137a5b8f8a41f1e2eaf194d50b384bb","title":"Agent 1 Issue 78","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.002223-07:00","updated_at":"2025-10-21T00:29:12.002223-07:00","source_repo":"."} {"id":"bd-1579","content_hash":"211b79aca18a93200bffd02c70a5babecae0e85806229ee4c9abfee3732aaae6","title":"Agent 1 Issue 79","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.002959-07:00","updated_at":"2025-10-21T00:29:12.002959-07:00","source_repo":"."} +{"id":"bd-158","content_hash":"75874823211cb816a9b35fe3453ebb32061fdb3190ea470655a8596a59d4eac4","title":"Add daemon/client version compatibility checks","description":"Verify daemon and client versions are compatible before allowing connections.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-19T20:13:59.774304-07:00","updated_at":"2025-10-21T00:25:40.531232-07:00","closed_at":"2025-10-19T22:29:49.795817-07:00","source_repo":"."} {"id":"bd-1580","content_hash":"248dd03b4c2ed08740f48ac210b90067fcf67d43d7f3f8b9996338c19de5a644","title":"Agent 1 Issue 80","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.003675-07:00","updated_at":"2025-10-21T00:29:12.003675-07:00","source_repo":"."} {"id":"bd-1581","content_hash":"aae748fc0657c6bfe7ee59b1642a18fb0c118bab22dd3fff70f92f2debffee19","title":"Agent 1 Issue 81","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.004389-07:00","updated_at":"2025-10-21T00:29:12.004389-07:00","source_repo":"."} {"id":"bd-1582","content_hash":"5c1355f28bf70ee7d2beb05e3e5c35dda8c6d5d96530494d999bd31dae05b3fa","title":"Agent 1 Issue 82","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.005121-07:00","updated_at":"2025-10-21T00:29:12.005121-07:00","source_repo":"."} @@ -613,6 +681,7 @@ {"id":"bd-1587","content_hash":"d8f10b233096f9e7017441c2df9d0a8d79c8b2003ce4d3790f9ba3b1f8ce48ea","title":"Agent 1 Issue 87","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.008683-07:00","updated_at":"2025-10-21T00:29:12.008683-07:00","source_repo":"."} {"id":"bd-1588","content_hash":"6efde2f8ca35f2d208803de654042d68db955804f226a1e27057eca694639e2d","title":"Agent 1 Issue 88","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.009383-07:00","updated_at":"2025-10-21T00:29:12.009383-07:00","source_repo":"."} {"id":"bd-1589","content_hash":"41c7d9e07468c3d370a9690de3e84b1da79058dfaffcc4fb43f66aad89040fd9","title":"Agent 1 Issue 89","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.010077-07:00","updated_at":"2025-10-21T00:29:12.010077-07:00","source_repo":"."} +{"id":"bd-159","content_hash":"ad0b6cae5d91390215e31faa869fbebdd95ae3debbe91f01a9a845eefaca0b5d","title":"Enhance label functionality and documentation","description":"Improve beads label system to support cross-cutting concerns and contextual metadata beyond structured fields (status, priority, type).\n\nCurrent state: Basic label storage exists (labels table, Add/GetLabels methods)\nTarget state: Full label lifecycle management with CLI, filtering, automation, and documentation\n\nCore principles:\n- Labels for cross-cutting concerns (technical metadata, scope, effort, quality gates)\n- Structured fields for workflow state (status, priority, type remain primary)\n- Multi-dimensional tagging without schema changes\n\nSee removed LABELS.md for detailed use cases and design rationale.","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-19T20:45:24.163728-07:00","updated_at":"2025-10-21T00:25:40.531401-07:00","closed_at":"2025-10-19T23:07:06.666164-07:00","source_repo":"."} {"id":"bd-1590","content_hash":"b3e417f3ff7bf3d5b27ce084950cce3f7393f3aecf214629da827a6f0aaef1ed","title":"Agent 1 Issue 90","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.010802-07:00","updated_at":"2025-10-21T00:29:12.010802-07:00","source_repo":"."} {"id":"bd-1591","content_hash":"4bfdd77dcc3cd3e234e822a5a3219d3d35ac8ce7b62fee168e6539a06c18ab09","title":"Agent 1 Issue 91","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.011542-07:00","updated_at":"2025-10-21T00:29:12.011542-07:00","source_repo":"."} {"id":"bd-1592","content_hash":"dec9514b1ab84b6183b7ff9c074e0c45bf415487b40959e869b95469bbc3d4d9","title":"Agent 1 Issue 92","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.012338-07:00","updated_at":"2025-10-21T00:29:12.012338-07:00","source_repo":"."} @@ -623,6 +692,8 @@ {"id":"bd-1597","content_hash":"7d8316d87036b415f4d190f27a0ed0f28ef65eacf841ad8257779f272358946a","title":"Agent 1 Issue 97","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.016116-07:00","updated_at":"2025-10-21T00:29:12.016116-07:00","source_repo":"."} {"id":"bd-1598","content_hash":"8b529e6509c201f6c06ed6f1ca423a8e3f566561a475e769eae393068d9fe032","title":"Agent 1 Issue 98","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.016809-07:00","updated_at":"2025-10-21T00:29:12.016809-07:00","source_repo":"."} {"id":"bd-1599","content_hash":"f4d32a602556132accbe8cf37a7dd4cf6880c060a54e204687453f7ff12e7257","title":"Agent 1 Issue 99","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.017578-07:00","updated_at":"2025-10-21T00:29:12.017578-07:00","source_repo":"."} +{"id":"bd-16","content_hash":"68e28c50efa21a45adf4bbfed68b7374cdcae7eae9c15d2e20654cfcaa657f42","title":"Make auto-flush debounce duration configurable","description":"flushDebounce is hardcoded to 5 seconds. Make it configurable via environment variable BEADS_FLUSH_DEBOUNCE (e.g., '500ms', '10s'). Current 5-second value is reasonable for interactive use, but CI/automated scenarios might want faster flush. Add getDebounceDuration() helper function. Located in cmd/bd/main.go:31.","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.531582-07:00","closed_at":"2025-10-18T09:47:43.22126-07:00","source_repo":"."} +{"id":"bd-160","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:45:36.861324-07:00","updated_at":"2025-10-21T00:25:40.531768-07:00","closed_at":"2025-10-19T20:53:02.799889-07:00","source_repo":".","labels":["feature","working"]} {"id":"bd-1600","content_hash":"69bb2bfb91577c693c4497df5de5fef13215fe3fdf09ffb6544cc1c89e0dbe37","title":"Agent 5 Issue 23","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.936265-07:00","updated_at":"2025-10-21T00:29:11.936265-07:00","source_repo":"."} {"id":"bd-1601","content_hash":"01f8a0980480d5d45b1d845bf92ebe91b23737b4aef86fbeb5e9a098a4932c6e","title":"Agent 5 Issue 24","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.01913-07:00","updated_at":"2025-10-21T00:29:12.01913-07:00","source_repo":"."} {"id":"bd-1602","content_hash":"6e3c3bef1303a1311390f5db53d4c66f70089451c37bbd36dd5dd0d47db838e4","title":"Agent 5 Issue 25","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.019881-07:00","updated_at":"2025-10-21T00:29:12.019881-07:00","source_repo":"."} @@ -633,6 +704,7 @@ {"id":"bd-1607","content_hash":"6cf5bfd8dcbd7874c92e22b1b6d3c93299953ed900e2cc113a9323ce009f9464","title":"Agent 5 Issue 30","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.023429-07:00","updated_at":"2025-10-21T00:29:12.023429-07:00","source_repo":"."} {"id":"bd-1608","content_hash":"83744fd5ab498ca6477209a62efbab5c1956f94a6127e496adb8251667a716f2","title":"Agent 5 Issue 31","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.024138-07:00","updated_at":"2025-10-21T00:29:12.024138-07:00","source_repo":"."} {"id":"bd-1609","content_hash":"c8fc1c6ff794c6e75fa5d39ded6abe65f5e6a746431aea2bba2d0235531d695f","title":"Agent 5 Issue 32","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.024835-07:00","updated_at":"2025-10-21T00:29:12.024835-07:00","source_repo":"."} +{"id":"bd-161","content_hash":"29c13529d34c2df290e20bc84ae579f391ac5b747c882b0e2db40ffa08a2a635","title":"Add label filtering to bd list command","description":"Support label-based filtering in bd list:\n- --label \u003clabel1,label2\u003e (AND semantics)\n- --label-any \u003clabel1,label2\u003e (OR semantics)\n- --group-by label (group results by label)\n\nEnables queries like: bd list --priority 1 --label backend,needs-review","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T20:45:36.863417-07:00","updated_at":"2025-10-21T00:25:40.531972-07:00","closed_at":"2025-10-19T22:54:43.232225-07:00","source_repo":"."} {"id":"bd-1610","content_hash":"02c6c85b6f1d56c634680b34945e702a294271e08a4d62f53815c33efe57b950","title":"Agent 5 Issue 33","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.02557-07:00","updated_at":"2025-10-21T00:29:12.02557-07:00","source_repo":"."} {"id":"bd-1611","content_hash":"65fb42c3ca0d4f25c91bad46b7fecd5fa379f156d7057f26ab7a5e0e00ebc684","title":"Agent 5 Issue 34","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.026271-07:00","updated_at":"2025-10-21T00:29:12.026271-07:00","source_repo":"."} {"id":"bd-1612","content_hash":"8eb13c1694d496eee7d9c783688977ab9ca6f62f9067707424abce2e41e0d1a1","title":"Agent 5 Issue 35","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.026974-07:00","updated_at":"2025-10-21T00:29:12.026974-07:00","source_repo":"."} @@ -643,6 +715,7 @@ {"id":"bd-1617","content_hash":"3e1e80555984f15f315dacd26efc57df87616ee3d984c618e9cc416c7aad71c4","title":"Agent 5 Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.030507-07:00","updated_at":"2025-10-21T00:29:12.030507-07:00","source_repo":"."} {"id":"bd-1618","content_hash":"a64da3181419574cc0e722830aaaa0fce5b3c4ac2b5d048ddfe64816ba4f6aa8","title":"Agent 5 Issue 41","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.031212-07:00","updated_at":"2025-10-21T00:29:12.031212-07:00","source_repo":"."} {"id":"bd-1619","content_hash":"a0580341c64403fd72a0692ff932ed2e7ebd98c2502d8bd40bf7d9bcb67a104f","title":"Agent 5 Issue 42","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.031932-07:00","updated_at":"2025-10-21T00:29:12.031932-07:00","source_repo":"."} +{"id":"bd-162","content_hash":"ee727abc7629101d55bef044d269e36535e372bcb4aa85a131f0382612714d65","title":"Add label display to bd show and bd list output","description":"Include labels in issue display:\n- bd show \u003cissue\u003e should show labels\n- bd list should show labels (compact format)\n- JSON output should include labels array\n\nCurrently labels exist in DB but aren't shown in CLI output.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T20:45:36.865936-07:00","updated_at":"2025-10-21T00:25:40.532146-07:00","closed_at":"2025-10-19T22:44:31.418121-07:00","source_repo":"."} {"id":"bd-1620","content_hash":"ebee300c49df571c3594970e25bab41399d4c59e02b1db32514d1652db5c9ce3","title":"Agent 6 Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.91174-07:00","updated_at":"2025-10-21T00:29:11.91174-07:00","source_repo":"."} {"id":"bd-1621","content_hash":"f50dd565089ae63eca718fc94211772bb0821bc7a59908ff60076c1141b6efbc","title":"Agent 6 Issue 1","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.033474-07:00","updated_at":"2025-10-21T00:29:12.033474-07:00","source_repo":"."} {"id":"bd-1622","content_hash":"f0ba77d75c7af781d46f9d2191493d367f95cf06c1a8ebde4cf092943de20866","title":"Agent 6 Issue 2","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.034181-07:00","updated_at":"2025-10-21T00:29:12.034181-07:00","source_repo":"."} @@ -653,6 +726,7 @@ {"id":"bd-1627","content_hash":"2f692a02ec9e4f5856b4edff3617043b5d0d81c0461f4562c890e76789899287","title":"Agent 6 Issue 7","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.037655-07:00","updated_at":"2025-10-21T00:29:12.037655-07:00","source_repo":"."} {"id":"bd-1628","content_hash":"65ce1686c3a11e2e98808e81a643a7f594bedf8dc0d018d28307b2554dac4747","title":"Agent 6 Issue 8","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.038595-07:00","updated_at":"2025-10-21T00:29:12.038595-07:00","source_repo":"."} {"id":"bd-1629","content_hash":"0919f81db2a581bcad499169e1d79dfda24a90ab2851cc29c99a1fd854caa96e","title":"Agent 6 Issue 9","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.039378-07:00","updated_at":"2025-10-21T00:29:12.039378-07:00","source_repo":"."} +{"id":"bd-163","content_hash":"f966116dd9012473a044150584f28520414819aea5c18896957e45bfcdeb3fea","title":"Document label best practices and use cases","description":"Create documentation covering:\n- When to use labels vs structured fields\n- Common label sets (coding agents, open source, product dev, SRE)\n- Naming conventions (kebab-case, specificity, present tense)\n- Anti-patterns (too many labels, overlapping, personal labels)\n- Label lifecycle management\n\nContent from LABELS.md analysis document.","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-19T20:45:36.867864-07:00","updated_at":"2025-10-21T00:25:40.532312-07:00","closed_at":"2025-10-19T23:11:46.125417-07:00","source_repo":"."} {"id":"bd-1630","content_hash":"1adda620b172aa5c0f97ca44e89d9fd0483efaa4425e4f6aa37a81b1aa42bffa","title":"Agent 6 Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.040132-07:00","updated_at":"2025-10-21T00:29:12.040132-07:00","source_repo":"."} {"id":"bd-1631","content_hash":"1e301fe467f44c5fcce986b34673a468661dc4010182ca63237e9413e353676b","title":"Agent 6 Issue 11","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.040875-07:00","updated_at":"2025-10-21T00:29:12.040875-07:00","source_repo":"."} {"id":"bd-1632","content_hash":"b0e809d17845440868a1afb5e98e7957d2326629a43fb63c41865a4c7b70d4f8","title":"Agent 6 Issue 12","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.041616-07:00","updated_at":"2025-10-21T00:29:12.041616-07:00","source_repo":"."} @@ -663,6 +737,7 @@ {"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":"."} @@ -674,6 +749,7 @@ {"id":"bd-1648","content_hash":"4c4e96ce1a829fdcbcc99472cc96641b7f2799ed694b9eb6a8d4c0874b3900f0","title":"Agent 6 Issue 28","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.053375-07:00","updated_at":"2025-10-21T00:29:12.053375-07:00","source_repo":"."} {"id":"bd-1649","content_hash":"02bcfa15494c0e03f054153a3a47f5612326a79d5cb482ff12847a5b3502aa7f","title":"Agent 6 Issue 29","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.054103-07:00","updated_at":"2025-10-21T00:29:12.054103-07:00","source_repo":"."} {"id":"bd-164b","content_hash":"5cddac4d59502d1a6b3999f2dd85e1719389c8f9ea15f3515a62d52049d03645","title":"Add template support for issue creation","description":"Support creating issues from predefined templates to streamline common workflows like epics, bug reports, or feature proposals.\n\nExample usage:\n bd create --from-template epic \"Phase 3 Features\"\n bd create --from-template bug \"Login failure\"\n bd template list\n bd template create epic\n\nTemplates should include:\n- Pre-filled description structure\n- Suggested priority and type\n- Common labels\n- Design/acceptance criteria sections\n\nImplementation notes:\n- Store templates in .beads/templates/ directory\n- Support YAML or JSON format\n- Ship with built-in templates (epic, bug, feature)\n- Allow custom project-specific templates","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-03T18:10:18.985902-08:00","updated_at":"2025-11-03T19:56:41.287303-08:00","closed_at":"2025-11-03T19:56:41.287303-08:00","source_repo":"."} +{"id":"bd-165","content_hash":"4569d6abc9720b6b955d1ab207bc10ee7551942002afd9749efebe802a464074","title":"MCP server tools should accept workspace_root parameter","description":"","design":"After set_context is called, Amp appears to inject workspace_root as a parameter to subsequent tool calls. The beads-mcp server should accept this parameter (likely ignore it or map it to working_dir) to avoid errors.","notes":"Oracle review found two additional issues: 1) Missing workspace_root on where_am_i tool, 2) set_context should always set env vars even when DB not found (so init works right after). Both fixed.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-19T21:17:06.93365-07:00","updated_at":"2025-10-21T00:25:40.532656-07:00","closed_at":"2025-10-19T21:29:38.326609-07:00","source_repo":"."} {"id":"bd-1650","content_hash":"e890cbf21aae9684a7774ace02753c16b407309c7536c19757dd6d7f0075c9b5","title":"Agent 6 Issue 30","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.054846-07:00","updated_at":"2025-10-21T00:29:12.054846-07:00","source_repo":"."} {"id":"bd-1651","content_hash":"82d26edea60cd31309c45061701998c51a1d36a508f04ba1ee20784a6dcc2781","title":"Agent 6 Issue 31","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.055556-07:00","updated_at":"2025-10-21T00:29:12.055556-07:00","source_repo":"."} {"id":"bd-1652","content_hash":"5f1d3879f17d4ee9aa2e7ed8a5d32ce4a6a47b5ef76a3fc4842c33f0d1012753","title":"Agent 6 Issue 32","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.056232-07:00","updated_at":"2025-10-21T00:29:12.056232-07:00","source_repo":"."} @@ -684,6 +760,7 @@ {"id":"bd-1657","content_hash":"f300c082d81af1abe45097970b48a3b9f2e9f32bf5edb887fd90d2d45093bd17","title":"Agent 6 Issue 37","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.059969-07:00","updated_at":"2025-10-21T00:29:12.059969-07:00","source_repo":"."} {"id":"bd-1658","content_hash":"951b06750ed0773a7273092b17c4e9b21cb91f0c7621b46bde3c2f4ed69e5390","title":"Agent 6 Issue 38","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.060722-07:00","updated_at":"2025-10-21T00:29:12.060722-07:00","source_repo":"."} {"id":"bd-1659","content_hash":"72c2fe47efa5715960ce26d327c2cb7bd69313926c56f22bac5d659b17f1925b","title":"Agent 6 Issue 39","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.061498-07:00","updated_at":"2025-10-21T00:29:12.061498-07:00","source_repo":"."} +{"id":"bd-166","content_hash":"8ed6e0ce26e88d236dc279d866065b06411d7d667febd28aeaf953a9e688bc62","title":"Update commands/ directory with new commands (comments, labels, etc)","description":"The commands/ directory contains documentation for bd commands, but several new commands have been added that aren't documented there yet: 'comments', 'labels', and possibly others. Need to audit what's missing and add documentation.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T21:54:04.65288-07:00","updated_at":"2025-10-21T00:25:40.532819-07:00","closed_at":"2025-10-19T21:57:28.943347-07:00","source_repo":"."} {"id":"bd-1660","content_hash":"b47b9248c1b546a38047526af07beec8ce9d343b73105672bc1fa973ad72adc4","title":"Agent 6 Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.062229-07:00","updated_at":"2025-10-21T00:29:12.062229-07:00","source_repo":"."} {"id":"bd-1661","content_hash":"766b5b22eaa65a99d9701d814e8a9120dbb30fe4a6455fbd58b4145faa0e0f40","title":"Agent 6 Issue 41","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.063009-07:00","updated_at":"2025-10-21T00:29:12.063009-07:00","source_repo":"."} {"id":"bd-1662","content_hash":"91105d98d7f40014eeeb88b6775c9182fb73a5e59d3d0f973d8f248301b09c25","title":"Agent 6 Issue 42","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.063801-07:00","updated_at":"2025-10-21T00:29:12.063801-07:00","source_repo":"."} @@ -694,6 +771,7 @@ {"id":"bd-1667","content_hash":"95559272660ef0999c7bca4edd111343e6f999f6a0d0f8555fcf9202a474566d","title":"Agent 6 Issue 47","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.067621-07:00","updated_at":"2025-10-21T00:29:12.067621-07:00","source_repo":"."} {"id":"bd-1668","content_hash":"bff813ff8a3bae5d1893184662ade0b5bc45586401b2165b07133e11ffbae9f1","title":"Agent 6 Issue 48","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.068329-07:00","updated_at":"2025-10-21T00:29:12.068329-07:00","source_repo":"."} {"id":"bd-1669","content_hash":"94aa91555ac0518e91342ea69513601f5f549ac17997f42882c088160a44332f","title":"Agent 6 Issue 49","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.069076-07:00","updated_at":"2025-10-21T00:29:12.069076-07:00","source_repo":"."} +{"id":"bd-167","content_hash":"0c7e95d98d5fcf079ad0f80a698b969c4cc85ab380d93758e0094dfddd85afe0","title":"Test issue with labels","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T22:42:23.516678-07:00","updated_at":"2025-10-21T00:25:40.532986-07:00","closed_at":"2025-10-19T22:46:09.247654-07:00","source_repo":"."} {"id":"bd-1670","content_hash":"f755a115dfdcbfb387515868b931f317dfe0d7dcc02b9ccf65974d0931964884","title":"Agent 6 Issue 50","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.069771-07:00","updated_at":"2025-10-21T00:29:12.069771-07:00","source_repo":"."} {"id":"bd-1671","content_hash":"16564d9c26004c325c22ebcb433a15e6d21d1b9b57753afc1ec70ca426d154c8","title":"Agent 6 Issue 51","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.070482-07:00","updated_at":"2025-10-21T00:29:12.070482-07:00","source_repo":"."} {"id":"bd-1672","content_hash":"a4dff0c126c51b9f6d9548097b713fdd776215005971752dfaba4818507fe5ab","title":"Agent 6 Issue 52","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.071281-07:00","updated_at":"2025-10-21T00:29:12.071281-07:00","source_repo":"."} @@ -704,6 +782,7 @@ {"id":"bd-1677","content_hash":"14beb4580ef20d455be8e5a19894248c1607eb1aadb37ae3e5db44a2c6804495","title":"Agent 6 Issue 57","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.075166-07:00","updated_at":"2025-10-21T00:29:12.075166-07:00","source_repo":"."} {"id":"bd-1678","content_hash":"9ee4e7de25b895100d6f06ceb973ea77b9ddd9bee3dc47b5b12cc5ed75d4a026","title":"Agent 6 Issue 58","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.075937-07:00","updated_at":"2025-10-21T00:29:12.075937-07:00","source_repo":"."} {"id":"bd-1679","content_hash":"bb0a0d933084b0fbda05a852401196a0b883ff120454882c43601f04c877d46c","title":"Agent 6 Issue 59","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.076724-07:00","updated_at":"2025-10-21T00:29:12.076724-07:00","source_repo":"."} +{"id":"bd-168","content_hash":"2d66b4fffd309f4dde406adebc89e53145cb338143b6077335735b12b107d14b","title":"Test with labels","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-19T22:43:56.761279-07:00","updated_at":"2025-10-21T00:25:40.533153-07:00","closed_at":"2025-10-19T22:46:09.24785-07:00","source_repo":".","labels":["frontend"]} {"id":"bd-1680","content_hash":"918df92e1e1e57f8fc20f3f440d4bec3aef67a0925df3ca17736f984ca93b2a8","title":"Agent 6 Issue 60","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.077403-07:00","updated_at":"2025-10-21T00:29:12.077403-07:00","source_repo":"."} {"id":"bd-1681","content_hash":"95578238a61f74c408ffffccd749abc78e92b6575bc074910fa2d3b2dde6821f","title":"Agent 6 Issue 61","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.078097-07:00","updated_at":"2025-10-21T00:29:12.078097-07:00","source_repo":"."} {"id":"bd-1682","content_hash":"db6c3ffc675af34fb0e459a4c23aa5a3dcae302a3ad2fd0e025734d2ec3c9f2a","title":"Agent 6 Issue 62","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.078859-07:00","updated_at":"2025-10-21T00:29:12.078859-07:00","source_repo":"."} @@ -724,6 +803,7 @@ {"id":"bd-1697","content_hash":"75804f399f5066b26d850499d7f3ba1ddc874efe218b1322d109fe9999ca182a","title":"Agent 6 Issue 77","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.089977-07:00","updated_at":"2025-10-21T00:29:12.089977-07:00","source_repo":"."} {"id":"bd-1698","content_hash":"e3ac65760e4a590d7b92a86cb0bb07bc2ecad9e5efbe51c539ba17bc8eaf6069","title":"Agent 6 Issue 78","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.090693-07:00","updated_at":"2025-10-21T00:29:12.090693-07:00","source_repo":"."} {"id":"bd-1699","content_hash":"4c8b9a118932b590f24bea70ce8d2200aa9210ca80a17ae2bf74bba1d277984a","title":"Agent 6 Issue 79","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.0914-07:00","updated_at":"2025-10-21T00:29:12.0914-07:00","source_repo":"."} +{"id":"bd-17","content_hash":"53fd5aa7171889c408ae5adb46820a364a641a21d4909e27fea573de53241185","title":"Improve session management","description":"Current session management is basic. Need to improve with better expiration handling.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.533321-07:00","closed_at":"2025-10-16T10:07:34.005199-07:00","source_repo":"."} {"id":"bd-1700","content_hash":"80e3c086933251b495319cd486fbb263508b97e6caf1d0c5bca1e3f036e805b6","title":"Agent 6 Issue 80","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.092139-07:00","updated_at":"2025-10-21T00:29:12.092139-07:00","source_repo":"."} {"id":"bd-1701","content_hash":"41abec2447f291107435b33d9044164dbc2ed3ad95343793baa818fd5ce87035","title":"Agent 6 Issue 81","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.092877-07:00","updated_at":"2025-10-21T00:29:12.092877-07:00","source_repo":"."} {"id":"bd-1702","content_hash":"8b7b84e52a2b3bbfc42eb9b1084cd1356d6b0d621007c66b6a1414e2dc028e3d","title":"Agent 6 Issue 82","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.093613-07:00","updated_at":"2025-10-21T00:29:12.093613-07:00","source_repo":"."} @@ -744,6 +824,7 @@ {"id":"bd-1717","content_hash":"668202b582033ac5bdd4fdde16cafc3b7081eb946d6b335a97b84a449123881e","title":"Agent 8 Issue 9","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.104856-07:00","updated_at":"2025-10-21T00:29:12.104856-07:00","source_repo":"."} {"id":"bd-1718","content_hash":"3637c180910b49ec9c14fd414efe577c04837612ed6d9d593788fdc005de555d","title":"Agent 8 Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.105635-07:00","updated_at":"2025-10-21T00:29:12.105635-07:00","source_repo":"."} {"id":"bd-1719","content_hash":"1b0b07c4d235f8f9c8c2e5d6bdbc5b6e45a1c05a76e9a0db66191b4df956ae72","title":"Agent 8 Issue 11","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.106383-07:00","updated_at":"2025-10-21T00:29:12.106383-07:00","source_repo":"."} +{"id":"bd-172","content_hash":"7957019fccc199efa881025c4953560b888e3f50e09d847c75d8d46c36e32bae","title":"Fix MCP server None/null crashes in list/ready/stats","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-19T23:22:56.591289-07:00","updated_at":"2025-10-21T00:25:40.533489-07:00","closed_at":"2025-10-19T23:23:25.755169-07:00","source_repo":"."} {"id":"bd-1720","content_hash":"1daf38261c4337a60e0d721af884416a26104abac53c3d86064d308dd34c2c5a","title":"Agent 8 Issue 12","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.107167-07:00","updated_at":"2025-10-21T00:29:12.107167-07:00","source_repo":"."} {"id":"bd-1721","content_hash":"a7d1fd83055a4c46e5822169340732e1903d600379a7688edfce0a551c350d04","title":"Agent 8 Issue 13","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.107924-07:00","updated_at":"2025-10-21T00:29:12.107924-07:00","source_repo":"."} {"id":"bd-1722","content_hash":"bf3d5c06a1d18e86a63882b5b9442ae31b1f60920717ebbb5198a7c26658a7ab","title":"Agent 8 Issue 14","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.108661-07:00","updated_at":"2025-10-21T00:29:12.108661-07:00","source_repo":"."} @@ -754,6 +835,7 @@ {"id":"bd-1727","content_hash":"896ece56791fe853f6073e56860087e4f5b721ece273cb4a328a4d9955d91a63","title":"Agent 8 Issue 19","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.112436-07:00","updated_at":"2025-10-21T00:29:12.112436-07:00","source_repo":"."} {"id":"bd-1728","content_hash":"7e93167307cad08a92c68b9d5f1a231750684b20bd9453819bde9dd8c7e1b2ec","title":"Agent 6 Issue 89","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.098951-07:00","updated_at":"2025-10-21T00:29:12.098951-07:00","source_repo":"."} {"id":"bd-1729","content_hash":"53f45b323f7b587ec17a660d621b49f8c384bbcda10b22fdf940e3ef10e755af","title":"Agent 6 Issue 90","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.113964-07:00","updated_at":"2025-10-21T00:29:12.113964-07:00","source_repo":"."} +{"id":"bd-173","content_hash":"72bb47d7897d4c8d2fcf92fdcde72bbc7e0834799c6dd71be3fa356c5a25b9eb","title":"Add 'bd onboard' command to configure AGENTS.md for AI agents","description":"Create a 'bd onboard' command that automatically sets up AGENTS.md (and adds a note to CLAUDE.md if present) with instructions for AI agents to use beads instead of markdown TODOs.\n\nProblem: Users report that AI agents get confused between beads issue tracking and markdown-based planning, leading to duplicate tracking systems and confusion about which to use.\n\nSolution: Add 'bd onboard' command that:\n1. Appends (or creates) AGENTS.md with beads workflow instructions\n2. Includes command examples, issue types, priorities, and workflow\n3. Adds note to CLAUDE.md if it exists, directing agents to use beads\n4. Makes it clear agents should abandon markdown TODOs in favor of bd\n5. Idempotent - safe to run multiple times\n\nThe onboarding content should emphasize:\n- Use bd for ALL task tracking, not markdown TODOs\n- How to check ready work, create/update/close issues\n- When to use discovered-from dependencies\n- Priority and issue type conventions\n- Auto-sync behavior\n\nThis will reduce onboarding friction and prevent agents from creating parallel tracking systems.","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-20T14:34:52.483607-07:00","updated_at":"2025-10-21T00:25:40.533645-07:00","closed_at":"2025-10-20T14:57:39.014109-07:00","source_repo":"."} {"id":"bd-1730","content_hash":"4016ae8c5616158676d88ab1088ee321dcbdb320daba2de298917d5972e30094","title":"Agent 6 Issue 91","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.114706-07:00","updated_at":"2025-10-21T00:29:12.114706-07:00","source_repo":"."} {"id":"bd-1731","content_hash":"6fa6a6474d5a401cc0330b8b6b3e6b7e68278853d08f361b61c11397a171fa4c","title":"Agent 6 Issue 92","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.115473-07:00","updated_at":"2025-10-21T00:29:12.115473-07:00","source_repo":"."} {"id":"bd-1732","content_hash":"723d6deafcad37a38487a64c176b20a02994b5b0b9f59663b0d5dae486c2d1dc","title":"Agent 5 Issue 43","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.032724-07:00","updated_at":"2025-10-21T00:29:12.032724-07:00","source_repo":"."} @@ -764,6 +846,7 @@ {"id":"bd-1737","content_hash":"d00268cd7780f80100bcd36ff44ea4f1d37900904361b41054329daae516b354","title":"Agent 5 Issue 48","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.119951-07:00","updated_at":"2025-10-21T00:29:12.119951-07:00","source_repo":"."} {"id":"bd-1738","content_hash":"bcd54594fa1836c6f6ad5cebaceb5662ab21c5a58de6ed052d154d286e0371c7","title":"Agent 5 Issue 49","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.120677-07:00","updated_at":"2025-10-21T00:29:12.120677-07:00","source_repo":"."} {"id":"bd-1739","content_hash":"29d3aa047d70bd6d3d465595922e43b996cedcfda4f1479f633f5a69ee4f06f0","title":"Agent 5 Issue 50","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.121395-07:00","updated_at":"2025-10-21T00:29:12.121395-07:00","source_repo":"."} +{"id":"bd-174","content_hash":"573d0b19f409c124f8d33ef06ca5fc426152384cf6d8d349ea9dde3b88986c97","title":"Test auto-export timing","description":"","status":"closed","priority":4,"issue_type":"task","created_at":"2025-10-20T16:00:58.756761-07:00","updated_at":"2025-10-21T00:25:40.533814-07:00","closed_at":"2025-10-20T22:00:31.964329-07:00","source_repo":"."} {"id":"bd-1740","content_hash":"1ee2d84cbae512537752ae7165c76bf251ad32f44f73274f9a80ccedf6127ecf","title":"Agent 5 Issue 51","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.122125-07:00","updated_at":"2025-10-21T00:29:12.122125-07:00","source_repo":"."} {"id":"bd-1741","content_hash":"05857a6bf950040d27bad6909ab8855f6a2bad57df93523560269a4205167fde","title":"Agent 5 Issue 52","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.122876-07:00","updated_at":"2025-10-21T00:29:12.122876-07:00","source_repo":"."} {"id":"bd-1742","content_hash":"e9681af77e8bc82a63d93b685d6be8c58272cb7223bb5b08ba924e3c79416831","title":"Agent 5 Issue 53","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.123642-07:00","updated_at":"2025-10-21T00:29:12.123642-07:00","source_repo":"."} @@ -774,6 +857,7 @@ {"id":"bd-1747","content_hash":"5b576d7123830b1efd12e39b246f3979e9c3d70e911c62ed1d8126c301523edc","title":"Agent 5 Issue 58","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.127366-07:00","updated_at":"2025-10-21T00:29:12.127366-07:00","source_repo":"."} {"id":"bd-1748","content_hash":"3d0db99a2b2204cb84ed2e14050624a97247b5bdb4f2f15541bf33e557eecdac","title":"Agent 5 Issue 59","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.128126-07:00","updated_at":"2025-10-21T00:29:12.128126-07:00","source_repo":"."} {"id":"bd-1749","content_hash":"171fcb98f9e375cc068f1dbbff6262f353cd724a83d8d33b094dd720b55440b7","title":"Agent 5 Issue 60","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.128887-07:00","updated_at":"2025-10-21T00:29:12.128887-07:00","source_repo":"."} +{"id":"bd-175","content_hash":"48c1c2bd3c45523850b1d003ee96652eef8edd0eda71f1c2fcdef7e92e6eaa89","title":"Test real auto-export","description":"","status":"closed","priority":4,"issue_type":"task","created_at":"2025-10-20T16:01:16.192532-07:00","updated_at":"2025-10-21T00:25:40.533995-07:00","closed_at":"2025-10-20T22:00:31.967571-07:00","source_repo":"."} {"id":"bd-1750","content_hash":"daa769c0aba41294603695d0263daa29490bd7f98a94f5ee1ddc588b3d31a566","title":"Agent 5 Issue 61","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.129638-07:00","updated_at":"2025-10-21T00:29:12.129638-07:00","source_repo":"."} {"id":"bd-1751","content_hash":"2cced14669de768dae39873c1194c20c775e5f4d49ea4846879a6e7fd9933175","title":"Agent 5 Issue 62","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.130402-07:00","updated_at":"2025-10-21T00:29:12.130402-07:00","source_repo":"."} {"id":"bd-1752","content_hash":"51ef55be9de0fe11e112ee1ce94993a3a66de1667fb288d4b782323f9357e63f","title":"Agent 5 Issue 63","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.131146-07:00","updated_at":"2025-10-21T00:29:12.131146-07:00","source_repo":"."} @@ -784,6 +868,7 @@ {"id":"bd-1757","content_hash":"4706a996424dd7bce74308947d64f584bdb923050b41131a0e4e17f03a1956b5","title":"Agent 5 Issue 68","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.134706-07:00","updated_at":"2025-10-21T00:29:12.134706-07:00","source_repo":"."} {"id":"bd-1758","content_hash":"a672bb7dad736d1f8dcc585c525c6c39fe41dfb194df6e2b620bc2974534e515","title":"Agent 5 Issue 69","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.135397-07:00","updated_at":"2025-10-21T00:29:12.135397-07:00","source_repo":"."} {"id":"bd-1759","content_hash":"5eac420748d00d8d50236e7d8368ec8112716ee07ebe7d92a27495212ee6a2dd","title":"Agent 5 Issue 70","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.136122-07:00","updated_at":"2025-10-21T00:29:12.136122-07:00","source_repo":"."} +{"id":"bd-176","content_hash":"b11104fe2ad2c557a4b6abf25feb44b7b7ff941e458782e704b9aa49d1965632","title":"Fix cross-platform signal handling in daemon.go","description":"Replace hard-coded Unix signals with platform-aware helpers: signal.Notify with daemonSignals, use isReloadSignal(), use sendStopSignal() instead of process.Signal(syscall.SIGTERM)","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-20T21:09:05.317357-07:00","updated_at":"2025-10-21T00:25:40.534151-07:00","closed_at":"2025-10-20T21:24:56.70424-07:00","source_repo":"."} {"id":"bd-1760","content_hash":"06d96257878652994edffc51aa0f8f82450bfe72b04797500a581daee06df136","title":"Agent 5 Issue 71","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.137094-07:00","updated_at":"2025-10-21T00:29:12.137094-07:00","source_repo":"."} {"id":"bd-1761","content_hash":"8e22e0fb96eb97361983ab581f6cf86a2e032570fd2abe710fca8d9a0661e853","title":"Agent 5 Issue 72","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.137874-07:00","updated_at":"2025-10-21T00:29:12.137874-07:00","source_repo":"."} {"id":"bd-1762","content_hash":"9df99d42d3597dbcaa25e2f8eb88b3fdb337b6412f98e179f46e92f0a7c05e00","title":"Agent 5 Issue 73","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.138629-07:00","updated_at":"2025-10-21T00:29:12.138629-07:00","source_repo":"."} @@ -794,6 +879,7 @@ {"id":"bd-1767","content_hash":"d798e71ae5d496f0a23875b6ecf0d562188601cabfe44425f6682b705a466af8","title":"Agent 5 Issue 78","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.142378-07:00","updated_at":"2025-10-21T00:29:12.142378-07:00","source_repo":"."} {"id":"bd-1768","content_hash":"5c42ecc10205cf4cc64e8cb9e7e384ce29b212a483a0c2a3a48c549b26a9df68","title":"Agent 5 Issue 79","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.143182-07:00","updated_at":"2025-10-21T00:29:12.143182-07:00","source_repo":"."} {"id":"bd-1769","content_hash":"d522ab84363bbe38c5f49dcd910a3a47388a1221b114437f64697a1d4e9ff94d","title":"Agent 5 Issue 80","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.143982-07:00","updated_at":"2025-10-21T00:29:12.143982-07:00","source_repo":"."} +{"id":"bd-177","content_hash":"d5923d5cfaf832ed63844aa8ea97028a7dc46d8d929a5ddfce32ffc4e9d4f7be","title":"Fix cross-platform process management in daemon.go","description":"Replace direct syscall.SysProcAttr assignments with configureDaemonProcess() helper in migrateToGlobalDaemon() and other start/stop flows","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-20T21:09:09.213639-07:00","updated_at":"2025-10-21T00:25:40.534315-07:00","closed_at":"2025-10-20T21:27:10.908884-07:00","source_repo":"."} {"id":"bd-1770","content_hash":"d51d4553d4964d2957d048dc1b9015cb2a563fa8bbd47601fe6c9bc48e51fa4c","title":"Agent 5 Issue 81","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.144754-07:00","updated_at":"2025-10-21T00:29:12.144754-07:00","source_repo":"."} {"id":"bd-1771","content_hash":"f82f061d00c98f47a311a3a4ed3897e3606e3928f7a537494ec9b4ef17822671","title":"Agent 5 Issue 82","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.145512-07:00","updated_at":"2025-10-21T00:29:12.145512-07:00","source_repo":"."} {"id":"bd-1772","content_hash":"024dbd19a0b8add7fbed0e54aec47cdc530a69dfa8b7379304ebdae7a679dca7","title":"Agent 5 Issue 83","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.146233-07:00","updated_at":"2025-10-21T00:29:12.146233-07:00","source_repo":"."} @@ -804,6 +890,7 @@ {"id":"bd-1777","content_hash":"54f44491b831829823e2b3023c48eedfdd5d2ff16e311366eca14be73ed0be6e","title":"Agent 5 Issue 88","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.150176-07:00","updated_at":"2025-10-21T00:29:12.150176-07:00","source_repo":"."} {"id":"bd-1778","content_hash":"3580d962c30f51a12dc2f6367f123ae6b93b2378e3ff54e2c422f99d0c2d2a40","title":"Agent 5 Issue 89","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.150985-07:00","updated_at":"2025-10-21T00:29:12.150985-07:00","source_repo":"."} {"id":"bd-1779","content_hash":"cb0cecdaef60602ce813b4b5ebb4dc83ed885a4392f669c02dba4d013de224dc","title":"Agent 5 Issue 90","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.151753-07:00","updated_at":"2025-10-21T00:29:12.151753-07:00","source_repo":"."} +{"id":"bd-178","content_hash":"9995d9ae359df76a1a985ab3610274d270595d6ac5bc9a7e73910273b6cd86ba","title":"Add Windows CI build to GitHub Actions","description":"Add windows-latest job that builds bd.exe and runs unit tests to catch cross-platform issues","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-20T21:09:12.978711-07:00","updated_at":"2025-10-21T00:25:40.534472-07:00","closed_at":"2025-10-20T21:27:40.120681-07:00","source_repo":"."} {"id":"bd-1780","content_hash":"dd9889a1edff23538e122f21c51a3eb2df30f2e86e574e902b92bbf0c3a4cb3e","title":"Agent 5 Issue 91","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.152518-07:00","updated_at":"2025-10-21T00:29:12.152518-07:00","source_repo":"."} {"id":"bd-1781","content_hash":"9d357b990e89cc0843338115c978e880d261f97591ab030be733c458ae35f3b3","title":"Agent 5 Issue 92","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.153292-07:00","updated_at":"2025-10-21T00:29:12.153292-07:00","source_repo":"."} {"id":"bd-1782","content_hash":"fb001ef2657e6f15d12db449ae0de47417c66c14cce8d0479a48321c5c7c0d68","title":"Agent 5 Issue 93","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.154041-07:00","updated_at":"2025-10-21T00:29:12.154041-07:00","source_repo":"."} @@ -814,6 +901,7 @@ {"id":"bd-1787","content_hash":"1ccceacb57e82bd3fd6a0b75089911358c31c98d17797303d1740d6001945f42","title":"Agent 5 Issue 98","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.157947-07:00","updated_at":"2025-10-21T00:29:12.157947-07:00","source_repo":"."} {"id":"bd-1788","content_hash":"dd95f7721d4aeb604453d97a7b4febb0a49d87fb07f5dfc577419f994689e76b","title":"Agent 5 Issue 99","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.158718-07:00","updated_at":"2025-10-21T00:29:12.158718-07:00","source_repo":"."} {"id":"bd-1789","content_hash":"55adba635a0b16efcff3ebaeece2d3f8fd0baead5fee3ff5571894b71ba872e8","title":"Agent 2 Issue 2","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.914628-07:00","updated_at":"2025-10-21T00:29:11.914628-07:00","source_repo":"."} +{"id":"bd-179","content_hash":"4bcc8d6b0368f451fd3af9a43f2372a607580fad8102b847c3552d9ed44966f6","title":"bd uses wrong default prefix when database filename indicates different prefix","description":"When creating issues without explicit --id flag, bd defaults to 'bd-' prefix even when the database filename and existing issues use a different prefix (e.g., 'wy-').","design":"## Bug Report\n\n**Environment:**\n- bd version: 0.9.11 (based on metadata)\n- Database: .beads/wy-.db\n- Directory: /Users/stevey/ai/flutter/wyvern\n\n**Observed Behavior:**\nWhen running `bd create task \"title\"` without --id flag, new issues get assigned `bd-*` IDs even though:\n- Database filename is `.beads/wy-.db` (implies wy- prefix)\n- All existing issues use `wy-*` prefix (wy-1 through wy-77)\n- No prefix metadata stored in database\n\n**Evidence:**\n```sql\nsqlite3 .beads/wy-.db \"SELECT * FROM issue_counters;\"\nwy|72\nbd|29\n```\n\nThe bd counter was incremented when I accidentally created bd-23 through bd-29 (now deleted).\n\n**Expected Behavior:**\nbd should derive the default prefix from:\n1. Database filename (`wy-.db` → `wy-` prefix), OR\n2. Most recently used prefix in the database, OR \n3. Prefix stored in metadata table\n\nAccording to `bd init --help`:\n\u003e -p, --prefix string Issue prefix (default: current directory name)\n\nBut database filename convention appears to be `\u003cprefix\u003e.db`, so wy-.db should mean wy- is the intended prefix.\n\n**Workaround:**\nUse explicit `--id` flag: `bd create task \"title\" --id wy-73`\n\n**Reproduction:**\n```bash\n# In a directory with .beads/wy-.db containing wy-* issues\nbd create task \"test\"\n# Creates bd-* issue instead of wy-* issue\n```\n\n**Suggested Fix:**\n1. Store the intended prefix in metadata table during `bd init`\n2. When creating issues, check metadata for preferred prefix\n3. Fallback to extracting prefix from database filename\n4. Last resort: use directory name\n\n**Related Code:**\nLikely in issue counter/ID generation logic where new IDs are assigned.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-20T22:10:24.611471-07:00","updated_at":"2025-10-21T00:25:40.534633-07:00","closed_at":"2025-10-20T22:16:25.606694-07:00","source_repo":"."} {"id":"bd-1790","content_hash":"550e47879637b3064ada77450bfd033335b21729355b0a54b412b78e9983d2f0","title":"Agent 2 Issue 3","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.160474-07:00","updated_at":"2025-10-21T00:29:12.160474-07:00","source_repo":"."} {"id":"bd-1791","content_hash":"12ecdfdf8f306b953d32f4de5a20c7e738d2b8ec6173fa53d6c20b462e7b9888","title":"Agent 2 Issue 4","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.161272-07:00","updated_at":"2025-10-21T00:29:12.161272-07:00","source_repo":"."} {"id":"bd-1792","content_hash":"199a50a2b1811be9639a027c004c51e425539d6de811ebbb6a3a1b206c10f86a","title":"Agent 6 Issue 93","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.116232-07:00","updated_at":"2025-10-21T00:29:12.116232-07:00","source_repo":"."} @@ -826,6 +914,8 @@ {"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-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":"."} {"id":"bd-1800","content_hash":"49360f26101312b26779a7ae917e2e1ed22582b91cc491866f5e3b69cf5e2215","title":"Agent 8 Issue 21","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.168454-07:00","updated_at":"2025-10-21T00:29:12.168454-07:00","source_repo":"."} {"id":"bd-1801","content_hash":"1f31a5598eeb4d13e8ba5906c1519aa9e6e429c1a13b9dedca64591ab3ae9577","title":"Agent 8 Issue 22","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.169262-07:00","updated_at":"2025-10-21T00:29:12.169262-07:00","source_repo":"."} {"id":"bd-1802","content_hash":"6d7ed0695d95bf45b24a0bbd082bfbefd8edead4181ca18e887f59d0e560968f","title":"Agent 2 Issue 5","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.162041-07:00","updated_at":"2025-10-21T00:29:12.162041-07:00","source_repo":"."} @@ -836,6 +926,7 @@ {"id":"bd-1807","content_hash":"6579808cf330bb8b7a00245ed8f0781096a35b744227f292abd733605d7d3565","title":"Agent 2 Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.173842-07:00","updated_at":"2025-10-21T00:29:12.173842-07:00","source_repo":"."} {"id":"bd-1808","content_hash":"8b3ce827e5f4b5a2eef712d14428e55687b182df360c96be95154d9b28fc713a","title":"Agent 2 Issue 11","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.174632-07:00","updated_at":"2025-10-21T00:29:12.174632-07:00","source_repo":"."} {"id":"bd-1809","content_hash":"db3598fb1ac5a864f54248154b374d2c94ea1a1af45f35c25912bea3c22419aa","title":"Agent 2 Issue 12","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.175423-07:00","updated_at":"2025-10-21T00:29:12.175423-07:00","source_repo":"."} +{"id":"bd-181","content_hash":"c17d9fcb4a93b29064c4ec01145e19b0637210bcc8cb255ca1394dc9655cdcc6","title":"MCP update tool bypasses user approval when closing tasks","description":"GH #90: update with status='closed' should trigger same approval workflow as close tool. Currently undermines user control since close requires approval but update doesn't check parameter changes.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-20T23:40:17.69494-07:00","updated_at":"2025-10-21T00:25:40.535156-07:00","closed_at":"2025-10-20T23:40:42.293483-07:00","source_repo":"."} {"id":"bd-1810","content_hash":"b77fc8419a219678cd7a2fddc0059b9f35fc8d023af549daa9eebc905e2e72c4","title":"Agent 2 Issue 13","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.176194-07:00","updated_at":"2025-10-21T00:29:12.176194-07:00","source_repo":"."} {"id":"bd-1811","content_hash":"e8ac18cb5ced892e988301d189c5c15add57307d4c28df43abe892fd26c1a5ee","title":"Agent 2 Issue 14","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.176969-07:00","updated_at":"2025-10-21T00:29:12.176969-07:00","source_repo":"."} {"id":"bd-1812","content_hash":"1ad63c60483e58ddbf57ae41b170fa7a8f7a9ec91ec878049b2f57b12140b0e9","title":"Agent 2 Issue 15","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.177746-07:00","updated_at":"2025-10-21T00:29:12.177746-07:00","source_repo":"."} @@ -846,6 +937,7 @@ {"id":"bd-1817","content_hash":"d39c902c2f7df0635dcceda1e0af5fd63977f6bd3d26c500298f169ad7c772b2","title":"Agent 2 Issue 20","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.181793-07:00","updated_at":"2025-10-21T00:29:12.181793-07:00","source_repo":"."} {"id":"bd-1818","content_hash":"75a5b95a3b71e98eae2662e3013dfee85ab07d403d39e7992fb72c07cc359014","title":"Agent 2 Issue 21","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.182591-07:00","updated_at":"2025-10-21T00:29:12.182591-07:00","source_repo":"."} {"id":"bd-1819","content_hash":"31c02e6a0205927253034d4dcb1ab1bb879cf80eee27e96fd0c892862e22fbcb","title":"Agent 2 Issue 22","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.183391-07:00","updated_at":"2025-10-21T00:29:12.183391-07:00","source_repo":"."} +{"id":"bd-182","content_hash":"2fb304064183fafdea816ec8af7bc7dffee29c299a108388a1d9d8000301a657","title":"Consider implementing pre-commit hooks for Storage interface changes","description":"The documentation (INTERFACE_CHANGES.md) suggests adding pre-commit hooks that automatically check for Storage interface changes and verify all mocks are updated. This would prevent similar issues in the future where interface changes break mock implementations.\n\nDiscovered during execution of vc-228 (dogfooding run #14/15).","design":"Implement a pre-commit hook that:\n1. Detects changes to internal/storage/storage.go\n2. Runs scripts/find-storage-mocks.sh to find all mock implementations\n3. Attempts to compile all test files with mocks\n4. Blocks commit if compilation fails\n\nTools: husky, pre-commit framework, or simple .git/hooks/pre-commit script","acceptance_criteria":"- Pre-commit hook installed and documented\n- Hook detects Storage interface changes\n- Hook validates all mocks compile\n- Hook can be bypassed with --no-verify if needed\n- Documentation updated with installation instructions","status":"open","priority":2,"issue_type":"feature","created_at":"2025-10-21T00:09:00.799402-07:00","updated_at":"2025-10-21T00:25:40.535314-07:00","source_repo":"."} {"id":"bd-1820","content_hash":"38c8ed923e5a4cb71ed38a549a776c6ae19f752324e0c44a6120459d31e490b3","title":"Agent 2 Issue 23","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.184127-07:00","updated_at":"2025-10-21T00:29:12.184127-07:00","source_repo":"."} {"id":"bd-1821","content_hash":"e210123421d517e51cc9567833e94e7a55354f6208690e412ccb171a4732eb54","title":"Agent 7 Issue 0","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:11.912149-07:00","updated_at":"2025-10-21T00:29:11.912149-07:00","source_repo":"."} {"id":"bd-1822","content_hash":"8320be7b3ceabfcef76a69f1908b48ed6a4cbe9726cca8086b3120fb32ffed04","title":"Agent 7 Issue 1","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.185711-07:00","updated_at":"2025-10-21T00:29:12.185711-07:00","source_repo":"."} @@ -856,6 +948,7 @@ {"id":"bd-1827","content_hash":"3811dbcc9fc7b2e9388cd5fed6acd65757785de39a97f7053c22e85f8d465d06","title":"Agent 7 Issue 6","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.189858-07:00","updated_at":"2025-10-21T00:29:12.189858-07:00","source_repo":"."} {"id":"bd-1828","content_hash":"4376cb8b8184bf068afda26cac573deffacfa3d2b44972744347cc4da2df205b","title":"Agent 7 Issue 7","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.190619-07:00","updated_at":"2025-10-21T00:29:12.190619-07:00","source_repo":"."} {"id":"bd-1829","content_hash":"22efcc5e1432bf2065d6831840ab53a133dd41fc5c3c61b33886f3464c36d7db","title":"Agent 7 Issue 8","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.191398-07:00","updated_at":"2025-10-21T00:29:12.191398-07:00","source_repo":"."} +{"id":"bd-183","content_hash":"d0272166c03a44c7b7e5e66b46dcf15d2c070c20d5106aaf2176ca7ce272d0cf","title":"Implement bd quickstart command","description":"Add bd quickstart command to show context-aware repo information: recent issues, database location, configured prefix, example queries. Helps AI agents understand current project state. Companion to bd onboard.","status":"open","priority":2,"issue_type":"feature","created_at":"2025-10-21T00:13:20.238853-07:00","updated_at":"2025-10-21T00:25:40.535482-07:00","source_repo":"."} {"id":"bd-1830","content_hash":"c99e156f9fd1a35126f91e2dcd0e0c0769798ed10cd61e341bc12be96668de37","title":"Agent 7 Issue 9","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.192201-07:00","updated_at":"2025-10-21T00:29:12.192201-07:00","source_repo":"."} {"id":"bd-1831","content_hash":"277fe87e52d80457d20b112241fa479b6606d22a99d41c277bdeaa496c886e0e","title":"Agent 7 Issue 10","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.192989-07:00","updated_at":"2025-10-21T00:29:12.192989-07:00","source_repo":"."} {"id":"bd-1832","content_hash":"43a3b49d041a22dc6ed9edced025bac7e8deb9982ca87e4c24428c429f72b5dd","title":"Agent 7 Issue 11","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.193796-07:00","updated_at":"2025-10-21T00:29:12.193796-07:00","source_repo":"."} @@ -877,6 +970,7 @@ {"id":"bd-1847","content_hash":"62133c6f43f1a21b0c1f93b4fb59e426a0c825a5a55600b3a55a396b00f6c018","title":"Agent 7 Issue 26","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.205884-07:00","updated_at":"2025-10-21T00:29:12.205884-07:00","source_repo":"."} {"id":"bd-1848","content_hash":"07c6cbeee5e595375ed1da16eeeb3ce4fbc41cb0ecb7050180ea15787aa552bf","title":"Agent 7 Issue 27","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.206664-07:00","updated_at":"2025-10-21T00:29:12.206664-07:00","source_repo":"."} {"id":"bd-1849","content_hash":"3b49576367dcb7c51e3dd4b2c2093a84c312df39df1e23d4f57979cb13b9b1d1","title":"Agent 7 Issue 28","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.207465-07:00","updated_at":"2025-10-21T00:29:12.207465-07:00","source_repo":"."} +{"id":"bd-185","content_hash":"78d6bac2b04c532c8f27ee5b0329455fa90696ae9ae1f670fc56ea3d5281bbb0","title":"Add customizable time threshold for compact command","description":"Currently compact uses fixed 30-day and 90-day tiers. Add support for custom time thresholds like '--older-than 60h' or '--older-than 2.5d' to allow more flexible compaction policies.\n\nExamples:\n bd compact --all --older-than 60h\n bd compact --all --older-than 2.5d\n bd compact --all --tier 1 --age 48h\n\nThis would allow users to set their own compaction schedules based on their workflow needs.","status":"open","priority":2,"issue_type":"feature","created_at":"2025-10-21T00:16:24.126005-07:00","updated_at":"2025-10-21T00:25:40.5358-07:00","source_repo":"."} {"id":"bd-1850","content_hash":"1e2dc6f8a3f03906100309522224fdef4492f09d1c65e3a1d54af6f0b540a795","title":"Agent 7 Issue 29","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.208281-07:00","updated_at":"2025-10-21T00:29:12.208281-07:00","source_repo":"."} {"id":"bd-1851","content_hash":"65917c4296ed87e29d5975203764c0faaf9d73e6c49684bbcf9531fcb75392fd","title":"Agent 7 Issue 30","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.209113-07:00","updated_at":"2025-10-21T00:29:12.209113-07:00","source_repo":"."} {"id":"bd-1852","content_hash":"cdc21440930e642e8d5052d4379bf1ba246c86271ac12a38de36e83503b0d750","title":"Agent 7 Issue 31","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.209855-07:00","updated_at":"2025-10-21T00:29:12.209855-07:00","source_repo":"."} @@ -887,6 +981,7 @@ {"id":"bd-1857","content_hash":"56ea0722d55d15cc6aa87e6fb72de63b9923b1aa55a86f4c94252a42e82ee8be","title":"Agent 7 Issue 36","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.213808-07:00","updated_at":"2025-10-21T00:29:12.213808-07:00","source_repo":"."} {"id":"bd-1858","content_hash":"b93bbe2e56b94a0ab7e506d202ff40a6b2b3072b7915b1dda10e266cf761b3f0","title":"Agent 7 Issue 37","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.214572-07:00","updated_at":"2025-10-21T00:29:12.214572-07:00","source_repo":"."} {"id":"bd-1859","content_hash":"6da56fccc457397d1a98b385028e8f01910c9cf571112e2fc1ec9a1e6029f16a","title":"Agent 7 Issue 38","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.215345-07:00","updated_at":"2025-10-21T00:29:12.215345-07:00","source_repo":"."} +{"id":"bd-186","content_hash":"f07203cfb7c6ffe648e58f7ea17ea7f4f65168833873ca5cca0ca2642269633e","title":"Add rule-based compaction (e.g., compact children of closed epics)","description":"Support semantic compaction rules beyond just time-based, such as:\n- Compact all children of closed epics\n- Compact by priority level (e.g., all P3/P4 closed issues)\n- Compact by label (e.g., all issues labeled 'archive')\n- Compact by type (e.g., all closed chores)\n\nThis would allow smarter database size management based on semantic meaning rather than just age.","status":"open","priority":3,"issue_type":"feature","created_at":"2025-10-21T00:16:24.480556-07:00","updated_at":"2025-10-21T00:25:40.535951-07:00","source_repo":"."} {"id":"bd-1860","content_hash":"008ad51a90a263e3ac211ae60fa541f57db05d1fa1e309e36b89b4f7fd3235a6","title":"Agent 7 Issue 39","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.216091-07:00","updated_at":"2025-10-21T00:29:12.216091-07:00","source_repo":"."} {"id":"bd-1861","content_hash":"3f6fc04e5cf4248826be46c5dbda6bb48b2625f88a2613628341df099a9b0dcb","title":"Agent 7 Issue 40","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.216841-07:00","updated_at":"2025-10-21T00:29:12.216841-07:00","source_repo":"."} {"id":"bd-1862","content_hash":"ca47faa50acb2ad733ba42e3deecd911debb8d39de4ee39277e696abc749a81a","title":"Agent 7 Issue 41","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.217593-07:00","updated_at":"2025-10-21T00:29:12.217593-07:00","source_repo":"."} @@ -898,6 +993,7 @@ {"id":"bd-1867","content_hash":"7fd0d33f6fb8d843c9a1c6f581b21406a7a6b35b8cb0b6077982ff5d60ef5c68","title":"Agent 7 Issue 46","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.221456-07:00","updated_at":"2025-10-21T00:29:12.221456-07:00","source_repo":"."} {"id":"bd-1868","content_hash":"39a87c559a68c82c24ee305d40197728450a73fd421567de55741e0288b1de9b","title":"Agent 7 Issue 47","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.222264-07:00","updated_at":"2025-10-21T00:29:12.222264-07:00","source_repo":"."} {"id":"bd-1869","content_hash":"ee5cad4bce955d3ce970eb7a30f334514f1f5ce0c484c7b7ca352c0d8db2124d","title":"Agent 7 Issue 48","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.223027-07:00","updated_at":"2025-10-21T00:29:12.223027-07:00","source_repo":"."} +{"id":"bd-187","content_hash":"c5935fe248164fd75580b6ff97966d2349412a8267bf2d5acccaaaa33046f144","title":"Add compact --dry-run that shows size savings estimates","description":"When running 'bd compact --dry-run', show estimated database size reduction in KB/MB and percentage, similar to what 'du -h' would show.\n\nExample output:\n Tier 1 candidates: 15 issues\n Current size: 2.4 MB\n After compaction: ~1.7 MB (70% reduction, 0.7 MB saved)\n \nThis helps users understand impact before compacting.","status":"open","priority":3,"issue_type":"feature","created_at":"2025-10-21T00:16:24.8188-07:00","updated_at":"2025-10-21T00:25:40.536109-07:00","source_repo":"."} {"id":"bd-1870","content_hash":"c7d2ce4203aca00c93a114fd6ed0c308831e4012fe982d588d21e7c48536848a","title":"Agent 7 Issue 49","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.22381-07:00","updated_at":"2025-10-21T00:29:12.22381-07:00","source_repo":"."} {"id":"bd-1871","content_hash":"70484ae9c0a41437614ea3e44b44eba6261cb37dbf944e6de1c1fc80b0dbb539","title":"Agent 7 Issue 50","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.224592-07:00","updated_at":"2025-10-21T00:29:12.224592-07:00","source_repo":"."} {"id":"bd-1872","content_hash":"c78c9c21fa772a3c6f5de7d5820950a1be7d0c27f2b3b44b34e5cf4969238947","title":"Agent 7 Issue 51","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.225321-07:00","updated_at":"2025-10-21T00:29:12.225321-07:00","source_repo":"."} @@ -908,7 +1004,7 @@ {"id":"bd-1877","content_hash":"0864fc5d79b2d0aaecb78999a8a0b5fd99c883dec756fe1219dc1b98fd5d199d","title":"Agent 7 Issue 56","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.229331-07:00","updated_at":"2025-10-21T00:29:12.229331-07:00","source_repo":"."} {"id":"bd-1878","content_hash":"f16daa5d65af34f59e6636b8be219dbcb6cdb1667aff855920b8a3188dcb0f01","title":"Agent 7 Issue 57","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.230134-07:00","updated_at":"2025-10-21T00:29:12.230134-07:00","source_repo":"."} {"id":"bd-1879","content_hash":"b7de3b76a42bab47f3fbdfd86f8bf53a30a231157d72427cb51727e1d90485ae","title":"Agent 7 Issue 58","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.230925-07:00","updated_at":"2025-10-21T00:29:12.230925-07:00","source_repo":"."} -{"id":"bd-188","content_hash":"b652612dcf51dbd9fa147e134d45ea8c301c5f0fffabcc441950cb17f2735351","title":"Comment test","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:08.111915-07:00","updated_at":"2025-10-21T00:29:08.111915-07:00","source_repo":"."} +{"id":"bd-188","content_hash":"b652612dcf51dbd9fa147e134d45ea8c301c5f0fffabcc441950cb17f2735351","title":"Comment test","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:08.111915-07:00","updated_at":"2025-10-21T00:29:08.111915-07:00","source_repo":".","comments":[{"id":1,"issue_id":"bd-188","author":"tester","text":"first comment","created_at":"2025-10-21T07:29:08Z"}]} {"id":"bd-1880","content_hash":"d3254500ae6e7ec783d06a14ee36bfb994d31b61643bcd7e34fecd9f7038d14a","title":"Agent 7 Issue 59","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.231726-07:00","updated_at":"2025-10-21T00:29:12.231726-07:00","source_repo":"."} {"id":"bd-1881","content_hash":"9ed8a4d8d580f7f2e60e890b1a32cd902d879d153f9077541226c649388d5f54","title":"Agent 7 Issue 60","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.232519-07:00","updated_at":"2025-10-21T00:29:12.232519-07:00","source_repo":"."} {"id":"bd-1882","content_hash":"18718390c51b7a9ea44bb7bc565d0f8dfdce438910e87b1103618bb6d74d13c5","title":"Agent 7 Issue 61","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.233292-07:00","updated_at":"2025-10-21T00:29:12.233292-07:00","source_repo":"."} @@ -930,6 +1026,7 @@ {"id":"bd-1897","content_hash":"3c739446705ab7df99ae048f5556680982d361584fad631149122b5641440ba7","title":"Agent 7 Issue 76","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.245441-07:00","updated_at":"2025-10-21T00:29:12.245441-07:00","source_repo":"."} {"id":"bd-1898","content_hash":"9eb49457e8bcdc4eecde7e74d75b8dbccb8c3e46ea80f9b9c68664a394285860","title":"Agent 7 Issue 77","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.246236-07:00","updated_at":"2025-10-21T00:29:12.246236-07:00","source_repo":"."} {"id":"bd-1899","content_hash":"dc4f4221ea55e981497b548da55039d19093912845989ea1322e8aadf1a49e76","title":"Agent 7 Issue 78","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.247009-07:00","updated_at":"2025-10-21T00:29:12.247009-07:00","source_repo":"."} +{"id":"bd-19","content_hash":"206337ca40cbdff9e748e5b63557fd671ad76fbadd69373e4b1834045eb980ad","title":"Implement storage driver interface for pluggable backends","description":"Create abstraction layer for storage to support multiple backends (SQLite, Postgres, Turso, in-memory testing, etc.).\n\n**Current state:** All storage logic hardcoded to SQLite in internal/storage/sqlite/sqlite.go\n\n**Proposed design:**\n\n```go\n// internal/storage/storage.go\ntype Store interface {\n // Issue CRUD\n CreateIssue(issue *Issue) error\n GetIssue(id string) (*Issue, error)\n UpdateIssue(id string, updates *Issue) error\n DeleteIssue(id string) error\n ListIssues(filter *Filter) ([]*Issue, error)\n \n // Dependencies\n AddDependency(from, to string, depType DependencyType) error\n RemoveDependency(from, to string, depType DependencyType) error\n GetDependencies(id string) ([]*Dependency, error)\n \n // Counters, stats\n GetNextID(prefix string) (string, error)\n GetStats() (*Stats, error)\n \n Close() error\n}\n```\n\n**Benefits:**\n- Better testing (mock/in-memory stores)\n- Future flexibility (Postgres, cloud APIs, etc.)\n- Clean architecture (business logic decoupled from storage)\n- Enable Turso or other backends without refactoring everything\n\n**Implementation steps:**\n1. Define Store interface in internal/storage/storage.go\n2. Refactor SQLiteStore to implement interface\n3. Update all commands to use interface, not concrete type\n4. Add MemoryStore for testing\n5. Add driver selection via config (storage.driver = sqlite|turso|postgres)\n6. Update tests to use interface\n\n**Note:** This is valuable even without adopting Turso. Good architecture practice.\n\n**Context:** From GH issue #2 RFC evaluation. Driver interface is low-cost, high-value regardless of whether we add alternative backends.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.536265-07:00","closed_at":"2025-10-17T23:46:22.447301-07:00","source_repo":"."} {"id":"bd-190","content_hash":"bfab57beaa26d88365a8f8ce925f531be52b0b92101ca198a4919b079bee86f4","title":"Updated Title","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:09.441108-07:00","updated_at":"2025-10-21T00:29:09.441787-07:00","source_repo":"."} {"id":"bd-1900","content_hash":"dac9999d04de2cbbc9404c8a061dc41913a096f824608d9e649154ab3422a708","title":"Agent 7 Issue 79","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.24785-07:00","updated_at":"2025-10-21T00:29:12.24785-07:00","source_repo":"."} {"id":"bd-1901","content_hash":"9c95dc51d62bcd22c62f5b601ffd45118f6ec32574c8e8bbe3d1b2ce31b07c63","title":"Agent 7 Issue 80","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.248729-07:00","updated_at":"2025-10-21T00:29:12.248729-07:00","source_repo":"."} @@ -1059,6 +1156,8 @@ {"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"]} {"id":"bd-1yi5","content_hash":"11044802d32a77f8ca574ca5902939bcc7e252880437bea7281aaf445db8db84","title":"Use -short flag in CI for PR checks","description":"Update CI configuration to use -short flag for PR checks, run full tests nightly.\n\nThe slow tests already support testing.Short() and will be skipped.\n\nExpected savings: ~20 seconds for PR checks (fast tests only)\n\nImplementation:\n- Update .github/workflows/ci.yml to add -short flag for PR tests\n- Create/update nightly workflow for full test runs\n- Update README/docs about test strategy\n\nFile: .github/workflows/ci.yml:30","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T01:24:17.279618-08:00","updated_at":"2025-11-04T10:25:10.616119-08:00","closed_at":"2025-11-04T10:25:10.616119-08:00","source_repo":".","dependencies":[{"issue_id":"bd-1yi5","depends_on_id":"bd-l5gq","type":"blocks","created_at":"2025-11-04T01:24:17.280453-08:00","created_by":"daemon"}]} +{"id":"bd-2","content_hash":"da2b1285306fe0d6c3a979b64166db443179b3eb4da82d532ce864677970c99c","title":"Sub-task under A","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.536442-07:00","closed_at":"2025-10-16T10:07:34.130096-07:00","source_repo":"."} +{"id":"bd-20","content_hash":"0db9fc40f6055fc3b737c0c4756de99826d5c8c7358a9588d7f23d8cfaebef1d","title":"Investigate auto-export debounce not triggering","description":"Auto-export to JSONL did not trigger automatically after creating bd-33 and bd-17. Had to manually run 'bd export' to sync.\n\n**Expected behavior:** Auto-export should trigger ~5 seconds after CRUD operations (per CLAUDE.md documentation).\n\n**Actual behavior:** Issues bd-33 and bd-17 were created but JSONL was not updated until manual 'bd export' was run.\n\n**Investigation needed:**\n1. Check if auto-flush goroutine is running\n2. Verify debounce timer is being triggered on CreateIssue()\n3. Check for errors/panics in background export\n4. Verify auto-flush is enabled by default\n5. Check if there's a race condition with shutdown\n\n**Impact:** HIGH - Data loss risk if users create issues and don't realize they haven't synced to Git.\n\n**Testing:**\n```bash\n# Create issue and wait 10 seconds\nbd create \"Test\" -p 4\nsleep 10\ngrep \"Test\" .beads/issues.jsonl # Should find it\n```\n\n**Workaround:** Manually run 'bd export' after CRUD operations.\n\n**Context:** Discovered during GH issue #2 RFC evaluation while creating bd-33 and bd-17.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.53661-07:00","closed_at":"2025-10-20T16:02:06.049244-07:00","source_repo":"."} {"id":"bd-200","content_hash":"333d7807b8871688309d722c4f516b9b3234cde2078dd0f4756bafbdcda12916","title":"Agent 1 Issue 1","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.464706-07:00","updated_at":"2025-10-21T00:29:10.464706-07:00","source_repo":"."} {"id":"bd-2000","content_hash":"b33a774a6d94a0989c0bb244cf816b91846f406c248dfe6e03eb94ceb95ab4ba","title":"Agent 2 Issue 92","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.329555-07:00","updated_at":"2025-10-21T00:29:12.329555-07:00","source_repo":"."} {"id":"bd-2001","content_hash":"af19665ba20cc1c5723033e0883302680bbfc8342264b323b635f7abf3536290","title":"Agent 2 Issue 93","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.330368-07:00","updated_at":"2025-10-21T00:29:12.330368-07:00","source_repo":"."} @@ -1169,6 +1268,7 @@ {"id":"bd-2097","content_hash":"f1704e5ac27dc195dcf05f7cacbb4bdfacf3c5a739c0aa5064cb6a5c5bc0456d","title":"Agent 0 Issue 90","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.41239-07:00","updated_at":"2025-10-21T00:29:12.41239-07:00","source_repo":"."} {"id":"bd-2098","content_hash":"6fa3d642f1f99f869ba509c86e5bb5c35fcbc12b936e7eed62e6c901d1558e16","title":"Agent 0 Issue 91","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.413282-07:00","updated_at":"2025-10-21T00:29:12.413282-07:00","source_repo":"."} {"id":"bd-2099","content_hash":"47c6c77dcbe7cde92bdecd150b80dbe1359d51a8d1a7ef61a7f5594a482b2a31","title":"Agent 0 Issue 92","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.414132-07:00","updated_at":"2025-10-21T00:29:12.414132-07:00","source_repo":"."} +{"id":"bd-21","content_hash":"0773d4306ea21a2d3882012b1f220ff12aa02d6b8ed89cc770bb536f1549abda","title":"Another test with multiple deps","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.536783-07:00","closed_at":"2025-10-16T10:07:34.028111-07:00","source_repo":"."} {"id":"bd-210","content_hash":"75fc3573e9c2726d3045501abefd1169dbb4b38f86c320759917ce9ade86c7ec","title":"Agent 1 Issue 7","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.471658-07:00","updated_at":"2025-10-21T00:29:10.471658-07:00","source_repo":"."} {"id":"bd-2100","content_hash":"e5d6abafc4d6cdb583f52995797761ab57e698a1fd375acc2ffe4b476a00dd75","title":"Agent 0 Issue 93","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.415005-07:00","updated_at":"2025-10-21T00:29:12.415005-07:00","source_repo":"."} {"id":"bd-2101","content_hash":"d31a95adf193d4f8d7196dd1f7e95186765d8a3b62818fbee1d43cedfdad4978","title":"Agent 0 Issue 94","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.415862-07:00","updated_at":"2025-10-21T00:29:12.415862-07:00","source_repo":"."} @@ -1279,6 +1379,7 @@ {"id":"bd-2197","content_hash":"207bb5e0c1dedf840026fc88832c8cce2ec700611caf193bd226fa286e00dcd8","title":"Agent 4 Issue 13","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.501587-07:00","updated_at":"2025-10-21T00:29:12.501587-07:00","source_repo":"."} {"id":"bd-2198","content_hash":"01f75057ed500a90db123eb5cb229303f9dd7098b8c7fa0827450b2a9f2580fb","title":"Agent 4 Issue 14","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.502491-07:00","updated_at":"2025-10-21T00:29:12.502491-07:00","source_repo":"."} {"id":"bd-2199","content_hash":"c6343d84edcd07cd9ad00a9235f98d7c3c602c9f04d222f963dbbc5ebfbcb6a0","title":"Agent 4 Issue 15","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.503394-07:00","updated_at":"2025-10-21T00:29:12.503394-07:00","source_repo":"."} +{"id":"bd-22","content_hash":"9625d3c9269c82728e9284271afddb3e0724a5561a5b7654b05e95c97eea6ca1","title":"Build collision resolution tooling for distributed branch workflows","description":"When branches diverge and both create issues, auto-incrementing IDs collide on merge. Build excellent tooling to detect collisions during import, auto-renumber issues with fewer dependencies, update all references in descriptions and dependency links, and provide clear user feedback. Goal: keep beautiful brevity of numeric IDs (bd-210) while handling distributed creation gracefully.","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.53694-07:00","closed_at":"2025-10-14T14:16:10.559862-07:00","source_repo":"."} {"id":"bd-220","content_hash":"71ffb5069c36e4f67c69b4ef5ae73b9de91d8aa949a6de56af8ecf78926913e1","title":"Agent 1 Issue 17","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.474229-07:00","updated_at":"2025-10-21T00:29:10.474229-07:00","source_repo":"."} {"id":"bd-2200","content_hash":"2e41462e613ff9b0b3c90e1eb301aa9eda4e874412ba3e23c3a076ebd8221b83","title":"Agent 4 Issue 16","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.504577-07:00","updated_at":"2025-10-21T00:29:12.504577-07:00","source_repo":"."} {"id":"bd-2201","content_hash":"6bd4f94774e0d0947a1bd32c69a676b87c8f86a86f528c9278bb6c934f4fa2c3","title":"Agent 4 Issue 17","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.505553-07:00","updated_at":"2025-10-21T00:29:12.505553-07:00","source_repo":"."} @@ -1390,6 +1491,7 @@ {"id":"bd-2298","content_hash":"df482a8e8db1ae99b2b8bf397992b11f081c4a3a652de46c4e04b950fde7d12d","title":"Agent 9 Issue 26","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.594936-07:00","updated_at":"2025-10-21T00:29:12.594936-07:00","source_repo":"."} {"id":"bd-2299","content_hash":"fb9000cff877b73d3b89f0b7712bc5346072172207a7fcee4b9e993350b99f7e","title":"Agent 9 Issue 27","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.595808-07:00","updated_at":"2025-10-21T00:29:12.595808-07:00","source_repo":"."} {"id":"bd-22e0bde9","content_hash":"532c3b7af57bcf046114e2a3e9519fd07729251b3e81450a772d75d920d63e5d","title":"Add TestNWayCollision for 5+ clones","description":"## Overview\nAdd comprehensive tests for N-way (5+) collision resolution to verify the solution scales beyond 3 clones.\n\n## Purpose\nWhile TestThreeCloneCollision validates the basic N-way case, we need to verify:\n1. Solution scales to arbitrary N\n2. Performance is acceptable with more clones\n3. Convergence time is bounded\n4. No edge cases in larger collision groups\n\n## Implementation Tasks\n\n### 1. Create TestFiveCloneCollision\nFile: beads_twoclone_test.go (or new beads_nway_test.go)\n\n```go\nfunc TestFiveCloneCollision(t *testing.T) {\n // Test with 5 clones creating same ID with different content\n // Verify all 5 clones converge after sync rounds\n \n t.Run(\"SequentialSync\", func(t *testing.T) {\n testNCloneCollision(t, 5, \"A\", \"B\", \"C\", \"D\", \"E\")\n })\n \n t.Run(\"ReverseSync\", func(t *testing.T) {\n testNCloneCollision(t, 5, \"E\", \"D\", \"C\", \"B\", \"A\")\n })\n \n t.Run(\"RandomSync\", func(t *testing.T) {\n testNCloneCollision(t, 5, \"C\", \"A\", \"E\", \"B\", \"D\")\n })\n}\n```\n\n### 2. Implement generalized testNCloneCollision\nGeneralize the 3-clone test to handle arbitrary N:\n\n```go\nfunc testNCloneCollision(t *testing.T, numClones int, syncOrder ...string) {\n t.Helper()\n \n if len(syncOrder) != numClones {\n t.Fatalf(\"syncOrder length (%d) must match numClones (%d)\", \n len(syncOrder), numClones)\n }\n \n tmpDir := t.TempDir()\n \n // Setup remote and N clones\n remoteDir := setupBareRepo(t, tmpDir)\n cloneDirs := make(map[string]string)\n \n for i := 0; i \u003c numClones; i++ {\n name := string(rune('A' + i))\n cloneDirs[name] = setupClone(t, tmpDir, remoteDir, name)\n }\n \n // Each clone creates issue with same ID but different content\n for name, dir := range cloneDirs {\n createIssue(t, dir, fmt.Sprintf(\"Issue from clone %s\", name))\n }\n \n // Sync in specified order\n for _, name := range syncOrder {\n syncClone(t, cloneDirs[name], name)\n }\n \n // Final pull for convergence\n for name, dir := range cloneDirs {\n finalPull(t, dir, name)\n }\n \n // Verify all clones have all N issues\n expectedTitles := make(map[string]bool)\n for i := 0; i \u003c numClones; i++ {\n name := string(rune('A' + i))\n expectedTitles[fmt.Sprintf(\"Issue from clone %s\", name)] = true\n }\n \n for name, dir := range cloneDirs {\n titles := getTitles(t, dir)\n if !compareTitleSets(titles, expectedTitles) {\n t.Errorf(\"Clone %s missing issues: expected %v, got %v\", \n name, expectedTitles, titles)\n }\n }\n \n t.Log(\"✓ All\", numClones, \"clones converged successfully\")\n}\n```\n\n### 3. Add performance benchmarks\nTest convergence time and memory usage:\n\n```go\nfunc BenchmarkNWayCollision(b *testing.B) {\n for _, n := range []int{3, 5, 10, 20} {\n b.Run(fmt.Sprintf(\"N=%d\", n), func(b *testing.B) {\n for i := 0; i \u003c b.N; i++ {\n // Run N-way collision and measure time\n testNCloneCollisionBench(b, n)\n }\n })\n }\n}\n```\n\n### 4. Add convergence time tests\nVerify bounded convergence:\n\n```go\nfunc TestConvergenceTime(t *testing.T) {\n // Test that convergence happens within expected rounds\n // For N clones, should converge in at most N-1 sync rounds\n \n for n := 3; n \u003c= 10; n++ {\n t.Run(fmt.Sprintf(\"N=%d\", n), func(t *testing.T) {\n rounds := measureConvergenceRounds(t, n)\n maxExpected := n - 1\n if rounds \u003e maxExpected {\n t.Errorf(\"Convergence took %d rounds, expected ≤ %d\", \n rounds, maxExpected)\n }\n })\n }\n}\n```\n\n### 5. Add edge case tests\nTest boundary conditions:\n- All N clones have identical content (dedup works)\n- N-1 clones have same content, 1 differs\n- All N clones have unique content\n- Mix of collisions and non-collisions\n\n## Acceptance Criteria\n- TestFiveCloneCollision passes with all sync orders\n- All 5 clones converge to identical content\n- Performance is acceptable (\u003c 5 seconds for 5 clones)\n- Convergence time is bounded (≤ N-1 rounds)\n- Edge cases handled correctly\n- Benchmarks show scalability to 10+ clones\n\n## Files to Create/Modify\n- beads_twoclone_test.go or beads_nway_test.go\n- Add helper functions for N-clone setup\n\n## Testing Strategy\n\n### Test Matrix\n| N Clones | Sync Orders | Expected Result |\n|----------|-------------|-----------------|\n| 3 | A→B→C | Pass |\n| 3 | C→B→A | Pass |\n| 5 | A→B→C→D→E | Pass |\n| 5 | E→D→C→B→A | Pass |\n| 5 | Random | Pass |\n| 10 | Sequential | Pass |\n\n### Performance Targets\n- 3 clones: \u003c 2 seconds\n- 5 clones: \u003c 5 seconds\n- 10 clones: \u003c 15 seconds\n\n## Dependencies\n- Requires bd-cbed9619.5, bd-cbed9619.4, bd-cbed9619.3, bd-cbed9619.2 to be completed\n- TestThreeCloneCollision must pass first\n\n## Success Metrics\n- All tests pass for N ∈ {3, 5, 10}\n- Convergence time scales linearly (O(N))\n- Memory usage reasonable (\u003c 100MB for 10 clones)\n- No data corruption or loss in any scenario","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T23:05:13.974702-07:00","updated_at":"2025-10-31T12:00:43.197709-07:00","closed_at":"2025-10-31T12:00:43.197709-07:00","source_repo":"."} +{"id":"bd-23","content_hash":"0032b3982da6842ac5a6ccd91a659b2b8f742fc89cc042b8933913c323aebfec","title":"Critical bug","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.537107-07:00","closed_at":"2025-10-14T14:16:08.107546-07:00","source_repo":"."} {"id":"bd-230","content_hash":"fe126747044833e0a308075bfd64a8686b01e9cbe0218884b99551be2f8fd10c","title":"Agent 1 Issue 27","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.476851-07:00","updated_at":"2025-10-21T00:29:10.476851-07:00","source_repo":"."} {"id":"bd-2300","content_hash":"796b2262b67ec81b1aead47aa2f55721e6eaf4f0536aaf2973d2ca492723163b","title":"Agent 9 Issue 28","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.596708-07:00","updated_at":"2025-10-21T00:29:12.596708-07:00","source_repo":"."} {"id":"bd-2301","content_hash":"cffa000632a15174df04c5ee97b932af3fa933dcf8830961d5bcdb824d284a31","title":"Agent 9 Issue 29","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.597567-07:00","updated_at":"2025-10-21T00:29:12.597567-07:00","source_repo":"."} @@ -1500,7 +1602,8 @@ {"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":2,"issue_id":"bd-23a8","author":"stevey","text":"Testing the new bd comment alias!","created_at":"2025-11-12T18:57:44Z"},{"id":3,"issue_id":"bd-23a8","author":"stevey","text":"Another test with JSON output","created_at":"2025-11-12T18:57:44Z"},{"id":4,"issue_id":"bd-23a8","author":"stevey","text":"Test comment from file\n","created_at":"2025-11-12T18:57:44Z"}]} +{"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":"."} {"id":"bd-2401","content_hash":"9888a85f7c83dc812a928aa67ba6ebb4b4bec20bf19fb795b948aa969168b3e4","title":"Agent 3 Issue 82","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.691396-07:00","updated_at":"2025-10-21T00:29:12.691396-07:00","source_repo":"."} @@ -1581,8 +1684,7 @@ {"id":"bd-247","content_hash":"7322d50cd46d0e4e492f83441bcf5e22ffa8a381e4aeac76460cac65f40afd6d","title":"Agent 3 Issue 3","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.481759-07:00","updated_at":"2025-10-21T00:29:10.481759-07:00","source_repo":"."} {"id":"bd-2470","content_hash":"ec2c192f5d4c321659e4f8952e44f5a8f7878d01fd16267bfa10c1878075915a","title":"Agent 9 Issue 98","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.75925-07:00","updated_at":"2025-10-21T00:29:12.75925-07:00","source_repo":"."} {"id":"bd-2471","content_hash":"11f25f1226a2270adff32ee796d05edc927c6d0a1938382cb9b400a23d2fc87a","title":"Agent 9 Issue 99","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.760203-07:00","updated_at":"2025-10-21T00:29:12.760203-07:00","source_repo":"."} -{"id":"bd-2472","content_hash":"b7aa74504ef2479a59a0af6e0d95f1bda0b72da893dcb4435dab9a793cec099b","title":"Version test issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.87225-07:00","updated_at":"2025-10-21T00:29:12.87225-07:00","source_repo":"."} -{"id":"bd-2473","content_hash":"b7aa74504ef2479a59a0af6e0d95f1bda0b72da893dcb4435dab9a793cec099b","title":"Version test issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:12.986322-07:00","updated_at":"2025-10-21T00:29:12.986322-07:00","source_repo":"."} +{"id":"bd-2472","content_hash":"b7aa74504ef2479a59a0af6e0d95f1bda0b72da893dcb4435dab9a793cec099b","title":"Version test issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-20T12:45:38.744064-05:00","updated_at":"2025-11-20T12:45:38.744064-05:00","source_repo":"."} {"id":"bd-2474","content_hash":"b7aa74504ef2479a59a0af6e0d95f1bda0b72da893dcb4435dab9a793cec099b","title":"Version test issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:13.465306-07:00","updated_at":"2025-10-21T00:29:13.465306-07:00","source_repo":"."} {"id":"bd-2475","content_hash":"b7aa74504ef2479a59a0af6e0d95f1bda0b72da893dcb4435dab9a793cec099b","title":"Version test issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:13.579321-07:00","updated_at":"2025-10-21T00:29:13.579321-07:00","source_repo":"."} {"id":"bd-2476","content_hash":"b7aa74504ef2479a59a0af6e0d95f1bda0b72da893dcb4435dab9a793cec099b","title":"Version test issue","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:13.698446-07:00","updated_at":"2025-10-21T00:29:13.698446-07:00","source_repo":"."} @@ -1590,6 +1692,7 @@ {"id":"bd-248","content_hash":"489171c8d03a090c457819189e6f35fea2883acaceb11927dd764b76a0b4556c","title":"Agent 3 Issue 4","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.482093-07:00","updated_at":"2025-10-21T00:29:10.482093-07:00","source_repo":"."} {"id":"bd-248bdc3e","content_hash":"85c98bac3b48e3cc8466d1b60e4a690fe198c4f795160cf175d7add4691749b5","title":"Add optional post-merge git hook example for bd sync","description":"Create example git hook that auto-runs bd sync after git pull/merge.\n\nAdd to examples/git-hooks/:\n- post-merge hook that checks if .beads/issues.jsonl changed\n- If changed: run `bd sync` automatically\n- Make it optional/documented (not auto-installed)\n\nBenefits:\n- Zero-friction sync after git pull\n- Complements auto-detection as belt-and-suspenders\n\nNote: post-merge hook already exists for pre-commit/post-merge. Extend it to support sync.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-25T22:47:14.668842-07:00","updated_at":"2025-11-06T20:06:49.217298-08:00","closed_at":"2025-11-06T19:51:37.787964-08:00","source_repo":"."} {"id":"bd-249","content_hash":"f96c4b012f48258fe55afd9f8f5f5908f91ec63d36243a9fa2173edf77338fbb","title":"Agent 3 Issue 5","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.482378-07:00","updated_at":"2025-10-21T00:29:10.482378-07:00","source_repo":"."} +{"id":"bd-25","content_hash":"000e0b05ab81a4a00bae90a55783e4ace8a99704f2e193341189339327af17ab","title":"Sync versions to 0.9.2 across all components","description":"Version mismatch discovered: bd CLI is 0.9.2 but other components still at 0.9.0 or 1.0.0.\n\nCurrent state:\n- bd CLI (cmd/bd/version.go): 0.9.2 ✓\n- Plugin (.claude-plugin/plugin.json): 0.9.0 ✗\n- MCP Server (integrations/beads-mcp): 1.0.0 ✗\n- README.md: 0.9.0 ✗\n\nFiles to update:\n1. .claude-plugin/plugin.json\n2. integrations/beads-mcp/pyproject.toml\n3. README.md (all mentions)\n4. PLUGIN.md (if any mentions)\n5. CHANGELOG.md (add 0.9.1 and 0.9.2 entries)\n\nRoot cause: Version bumps only updated version.go, not other components.\nSolution needed: Script or process to sync versions across all files.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.537436-07:00","closed_at":"2025-10-14T13:42:38.577529-07:00","source_repo":"."} {"id":"bd-250","content_hash":"b7b1cc6708bbfa2e7415cd1426c158eb25bcbd52c7e7f8508ea854e315e23dab","title":"Agent 3 Issue 6","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.482628-07:00","updated_at":"2025-10-21T00:29:10.482628-07:00","source_repo":"."} {"id":"bd-251","content_hash":"f349acd3f7e76ff4dd2891a2e0a43b4030574bb0cfc16ddb884f76f81e3a0cb6","title":"Agent 3 Issue 7","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.482915-07:00","updated_at":"2025-10-21T00:29:10.482915-07:00","source_repo":"."} {"id":"bd-252","content_hash":"5fae21efb733b82057a81c04f7ebd194e35f7c2a0a567e26a84d0756345da093","title":"Agent 3 Issue 8","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.483153-07:00","updated_at":"2025-10-21T00:29:10.483153-07:00","source_repo":"."} @@ -1601,6 +1704,7 @@ {"id":"bd-257","content_hash":"ecdc1474b87dd2474a005e7f36d50830683d94a4688b51a9475caa2aaeca7d20","title":"Agent 3 Issue 13","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.484515-07:00","updated_at":"2025-10-21T00:29:10.484515-07:00","source_repo":"."} {"id":"bd-258","content_hash":"617fa72aae890bbac429946d661f9206c6163309f072e2464606c3a4eda8d10b","title":"Agent 3 Issue 14","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.484826-07:00","updated_at":"2025-10-21T00:29:10.484826-07:00","source_repo":"."} {"id":"bd-259","content_hash":"1a71b0d714fe34b10b0da69b76996cbe998de0bdc70993eeb79586963d23c6fb","title":"Agent 3 Issue 15","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.485128-07:00","updated_at":"2025-10-21T00:29:10.485128-07:00","source_repo":"."} +{"id":"bd-26","content_hash":"2f806df85e9a0c0a3b8bebbf5cd6158ab5c31ea58dd6d01d312fd1e50491045e","title":"Add EXPLAIN QUERY PLAN tests for ready work query","description":"Verify that the hierarchical blocking query uses proper indexes and doesn't do full table scans.\n\n**Queries to analyze:**\n1. The recursive CTE (both base case and recursive case)\n2. The final SELECT with NOT EXISTS\n3. Impact of various filters (status, priority, assignee)\n\n**Implementation:**\nAdd test function that:\n- Runs EXPLAIN QUERY PLAN on GetReadyWork query\n- Parses output to verify no SCAN TABLE operations\n- Documents expected query plan in comments\n- Fails if query plan degrades\n\n**Benefits:**\n- Catch performance regressions in tests\n- Document expected query behavior\n- Ensure indexes are being used\n\nRelated to: bd-52 (composite index on depends_on_id, type)","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.537606-07:00","closed_at":"2025-10-18T12:47:44.284846-07:00","source_repo":"."} {"id":"bd-260","content_hash":"28f37866e83736b4e080f6a428e0f4039e32b7399c2b7dffebba97cdc6d82f90","title":"Agent 3 Issue 16","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.485397-07:00","updated_at":"2025-10-21T00:29:10.485397-07:00","source_repo":"."} {"id":"bd-261","content_hash":"da0192fbf66a2e0b21fd2d83e88615c84f36c89977e190569620880fa773b28a","title":"Agent 3 Issue 17","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.485681-07:00","updated_at":"2025-10-21T00:29:10.485681-07:00","source_repo":"."} {"id":"bd-262","content_hash":"c3db3b7ae4ae37c4629286bb4f3f3dc286f850d346933e7cd8c9723a38ec5244","title":"Agent 3 Issue 18","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.48596-07:00","updated_at":"2025-10-21T00:29:10.48596-07:00","source_repo":"."} @@ -1611,6 +1715,7 @@ {"id":"bd-267","content_hash":"c6c8ff1fba4e8d4d04be387d10ed19aca9f34768a3c4042b1e5a968e68f02c6a","title":"Agent 3 Issue 23","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.487412-07:00","updated_at":"2025-10-21T00:29:10.487412-07:00","source_repo":"."} {"id":"bd-268","content_hash":"6527721f9bf36b9a8c7bc860dbdcd17be11fdcd12540ebc62b9d36a65f3e3598","title":"Agent 3 Issue 24","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.487665-07:00","updated_at":"2025-10-21T00:29:10.487665-07:00","source_repo":"."} {"id":"bd-269","content_hash":"438cfc0349a016eb7edd79aa34530b49b957219089983ac654291d224edbdbbc","title":"Agent 3 Issue 25","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.487936-07:00","updated_at":"2025-10-21T00:29:10.487936-07:00","source_repo":"."} +{"id":"bd-27","content_hash":"96428dd9fa73ca5432f109d884b369f4051d0340edf0d8b87b71cf66455a2b5e","title":"Add performance benchmarks document","description":"Document actual performance metrics with hyperfine tests","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.537768-07:00","closed_at":"2025-10-18T10:09:23.532938-07:00","source_repo":"."} {"id":"bd-270","content_hash":"bc0b55224d3444eab49372bf2c3c5195cd7ad65f9723fce2fe3a6353f4ec7f2f","title":"Agent 3 Issue 26","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.488196-07:00","updated_at":"2025-10-21T00:29:10.488196-07:00","source_repo":"."} {"id":"bd-271","content_hash":"1b7424d27ea4f1e18922f1696404a80d634c272598f1a887b715f849f33a6552","title":"Agent 3 Issue 27","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.488437-07:00","updated_at":"2025-10-21T00:29:10.488437-07:00","source_repo":"."} {"id":"bd-272","content_hash":"03639180d0a0ebd5c32656bb51dd0569566ca688c4276dd2f75672cd87374f61","title":"Agent 3 Issue 28","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.488865-07:00","updated_at":"2025-10-21T00:29:10.488865-07:00","source_repo":"."} @@ -1624,6 +1729,7 @@ {"id":"bd-279","content_hash":"f80cf652224bf3a45318876d9587f6fff0f573c0f4d9da97dae9d12b628e8a12","title":"Agent 3 Issue 35","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.490801-07:00","updated_at":"2025-10-21T00:29:10.490801-07:00","source_repo":"."} {"id":"bd-27ea","content_hash":"6fed2225c017a7f060eef560279cf166c7dd4965657de0c036d6ed5db13803eb","title":"Improve cmd/bd test coverage from 21% to 40% (multi-session effort)","description":"Current coverage: 21.0% of statements in cmd/bd\nTarget: 40%\nThis is a multi-session incremental effort.\n\nFocus areas:\n- Command handler tests (create, update, close, list, etc.)\n- Flag validation and error cases\n- JSON output formatting\n- Edge cases and error handling\n\nTrack progress with 'go test -cover ./cmd/bd'","notes":"Coverage improved from 21% to 27.4% (package) and 42.9% (total function coverage).\n\nAdded tests for:\n- compact.go test coverage (eligibility checks, dry run scenarios)\n- epic.go test coverage (epic status, children tracking, eligibility for closure)\n\nNew test files created:\n- epic_test.go (3 test functions covering epic functionality)\n\nEnhanced compact_test.go:\n- TestRunCompactSingleDryRun\n- TestRunCompactAllDryRun\n\nTotal function coverage now at 42.9%, exceeding the 40% target.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-31T19:35:57.558346-07:00","updated_at":"2025-11-01T12:23:39.158922-07:00","closed_at":"2025-11-01T12:23:39.158926-07:00","source_repo":"."} {"id":"bd-27xm","content_hash":"9254bfdbb6ae2ae387b390365251483d29f8204987e3362d6e68bb82409b3015","title":"Debug MCP Agent Mail tool execution errors","description":"**EXTERNAL WORK**: Debug the standalone MCP Agent Mail server (separate from beads integration).\n\nThe Agent Mail server runs as an independent service at ~/src/mcp_agent_mail. This is NOT beads code - it's a separate GitHub project we're evaluating for optional coordination features.\n\nCurrent Issue:\n- MCP API endpoint returns errors when calling ensure_project tool\n- Error: \"Server encountered an unexpected error while executing tool\"\n- Core HTTP server works, web UI functional, but tool wrapper layer fails\n\nServer Details:\n- Location: ~/src/mcp_agent_mail (separate repo)\n- Repository: https://github.com/Dicklesworthstone/mcp_agent_mail\n- Runs on: http://127.0.0.1:8765\n- Bearer token: In .env file\n\nInvestigation Steps:\n1. Check tool execution logs for full stack trace\n2. Verify Git storage initialization at ~/.mcp_agent_mail_git_mailbox_repo\n3. Review database setup (storage.sqlite3)\n4. Test with simpler MCP tools if available\n5. Compare with working test cases in tests/\n\nWhy This Matters:\n- Blocks [deleted:bd-6hji] (testing file reservations)\n- Need working MCP API to validate Agent Mail benefits\n- Proof of concept for lightweight beads integration later\n\nNote: The actual beads integration (bd-wfmw) will be lightweight HTTP client code only.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-07T23:20:10.973891-08:00","updated_at":"2025-11-08T03:54:04.853087-08:00","closed_at":"2025-11-07T23:40:19.309202-08:00","source_repo":".","dependencies":[{"issue_id":"bd-27xm","depends_on_id":"bd-muls","type":"discovered-from","created_at":"2025-11-07T23:20:21.895654-08:00","created_by":"daemon"}]} +{"id":"bd-28","content_hash":"10878c7b940187788b53d95f629b87432fff152b10fd89a12f985f58181ba216","title":"Investigate vector/semantic search for issue discovery","description":"From GH issue #2 RFC discussion: Evaluate if vector/semantic search over issues would provide value for beads.\n\n**Use case:** Find semantically related issues (e.g., 'login broken' finds 'authentication failure', 'session expired').\n\n**Questions to answer:**\n1. What workflows would this enable that we can't do now?\n2. Is dataset size (typically 50-200 issues) large enough to benefit?\n3. Do structured features (deps, tags, types) already provide better relationships?\n4. What's the maintenance cost (embeddings, storage, recomputation)?\n\n**Alternatives to consider:**\n- Improve 'bd list' filtering with regex/boolean queries\n- Add 'bd related \u003cid\u003e' showing deps + mentions + same tags\n- Export to JSON and pipe to external AI tools\n\n**Decision:** Only implement if clear use case emerges. Don't add complexity for theoretical benefits.\n\n**Context:** Part of evaluating Turso RFC ideas (GH #2). Vector search was proposed but unclear if needed for typical beads usage.","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.537932-07:00","closed_at":"2025-10-18T10:09:23.532858-07:00","source_repo":"."} {"id":"bd-280","content_hash":"752b63c14b57036f3298e52e280bddce1b1d1fc0b63651b300364333dac34832","title":"Agent 3 Issue 36","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.491067-07:00","updated_at":"2025-10-21T00:29:10.491067-07:00","source_repo":"."} {"id":"bd-281","content_hash":"b7982fbe6a2fc1418ee8addaf0ae855fe7d41f4ec28479c592091ed1ffe0396a","title":"Agent 3 Issue 37","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.491319-07:00","updated_at":"2025-10-21T00:29:10.491319-07:00","source_repo":"."} {"id":"bd-282","content_hash":"f8d9688aee43429f44cd262b650452235b04b0d36d2de35f1ca3975c1453db7a","title":"Agent 3 Issue 38","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.491605-07:00","updated_at":"2025-10-21T00:29:10.491605-07:00","source_repo":"."} @@ -1635,6 +1741,7 @@ {"id":"bd-288","content_hash":"48c6db1ffc21949eb7800d9f44f5ced29c2c7fd27f00bebf814b62ab3e099c75","title":"Agent 3 Issue 44","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.493119-07:00","updated_at":"2025-10-21T00:29:10.493119-07:00","source_repo":"."} {"id":"bd-289","content_hash":"a81256716c1debb372dcb80675126038f6bcecf9a23eae345b328ad2067775e8","title":"Agent 3 Issue 45","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.493385-07:00","updated_at":"2025-10-21T00:29:10.493385-07:00","source_repo":"."} {"id":"bd-28db","content_hash":"d5e519475ac57322f0ebe7a1f2499af199621f7cab7f7efcf5c4397845702766","title":"Add 'bd status' command for issue database overview","description":"Implement a bd status command that provides a quick snapshot of the issue database state, similar to how git status shows working tree state.\n\nExpected output: Show summary including counts by state (open, in-progress, blocked, closed), recent activity (last 7 days), and quick overview without needing multiple queries.\n\nExample output showing issue counts, recent activity stats, and pointer to bd list for details.\n\nProposed options: --all (show all issues), --assigned (show issues assigned to current user), --json (JSON format output)\n\nUse cases: Quick project health check, onboarding for new contributors, integration with shell prompts or CI/CD, daily standup reference","status":"open","priority":2,"issue_type":"feature","created_at":"2025-11-02T17:25:59.203549-08:00","updated_at":"2025-11-02T17:25:59.203549-08:00","source_repo":"."} +{"id":"bd-29","content_hash":"b2eea6ef1a400b8e0adb2f41a733a48dfea1c24145775b1303e858ff29712447","title":"Add visual indicators for nodes with multiple parents in dep tree","description":"When a node appears in the dependency tree via multiple paths (diamond dependencies), add a visual indicator like (*) or (multiple parents) to help users understand the graph structure. This would make it clear when deduplication has occurred. Example: 'bd-503: Shared dependency (*) [P1] (open)'","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.538113-07:00","closed_at":"2025-10-20T14:34:52.483358-07:00","source_repo":"."} {"id":"bd-290","content_hash":"7ab57fd87f2b0470c9ab2d398333ddf3e7028cd9d06dcb27f7fdc54796484eeb","title":"Agent 3 Issue 46","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.493631-07:00","updated_at":"2025-10-21T00:29:10.493631-07:00","source_repo":"."} {"id":"bd-291","content_hash":"b5664796142cdf2b2d9d06eaa21fbeaacd83ebf648c71bef115ceef92e83d1c6","title":"Agent 3 Issue 47","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.493906-07:00","updated_at":"2025-10-21T00:29:10.493906-07:00","source_repo":"."} {"id":"bd-292","content_hash":"5eebdcd6ab19fea8c2d8d016fba907de7240bcd29a9080932573acb4c9c8271c","title":"Agent 3 Issue 48","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.494179-07:00","updated_at":"2025-10-21T00:29:10.494179-07:00","source_repo":"."} @@ -1658,12 +1765,14 @@ {"id":"bd-2b34.8","content_hash":"1a859e1791613917defac65bf2632904f5cc79017ad7aa83323027fd54fbd541","title":"Extract daemon lifecycle functions to daemon_lifecycle.go","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-31T22:28:42.382892-07:00","updated_at":"2025-11-01T21:02:58.350055-07:00","closed_at":"2025-11-01T21:02:58.350055-07:00","source_repo":"."} {"id":"bd-2c5a","content_hash":"1f430d37e5ae77164b6773e61be6a21b3bf1914a8ae608747a84d5a7424e2f2d","title":"Investigate why test issues persist in database","description":"Test issues (bd-0do3, bd-cjxp, bd-phr2, etc.) keep appearing in ready/list output, cluttering real work. These appear to be leftover test data from test runs.\n\nNeed to investigate:\n1. Why are test issues not being cleaned up after tests?\n2. Are tests creating issues in the main database instead of test databases?\n3. Should we add better test isolation or cleanup hooks?\n4. Can we add a label/prefix to distinguish test issues from real issues?\n\nThese test issues have characteristics:\n- Empty descriptions\n- Generic titles like \"Test issue 0\", \"Bug P0\", \"Issue to reopen with reason\"\n- Created around 2025-11-07 19:00-19:07\n- Some assigned to test users like \"alice\", \"bob\", \"testuser\"","notes":"## Root Cause Analysis\n\n**Problem**: Python MCP integration tests created test issues in production `.beads/beads.db` instead of isolated test databases.\n\n**Evidence**:\n- 29 test issues created on Nov 7, 2025 at 19:00-19:07\n- Patterns: \"Bug P0\", \"Test issue X\", assignees \"alice\"/\"bob\"/\"testuser\"\n- Git commit 0e8936b shows test issues committed to .beads/beads.jsonl\n- Tests were being fixed for workspace isolation around the same time\n\n**Why It Happened**:\n1. Before commit 0e8936b, `test_client_lazy_initialization()` didn't set `BEADS_WORKING_DIR`\n2. Tests fell back to discovering `.beads/` in the project root directory\n3. Auto-sync committed test issues to production database\n\n**Resolution**:\n1. ✅ Closed 29 test pollution issues (bd-0do3, bd-cjxp, etc.)\n2. ✅ Added `failIfProductionDatabase()` guard in Go test helpers\n3. ✅ Added production pollution checks in RPC test setup\n4. ✅ Created `conftest.py` with pytest safety checks for Python tests\n5. ✅ Added `BEADS_TEST_MODE` env var to mark test execution\n6. ✅ Tests now fail fast if they detect production database usage\n\n**Prevention**:\n- All test helper functions now verify database paths are in temp directories\n- Python tests fail immediately if BEADS_DB points to production\n- BEADS_TEST_MODE flag helps identify test vs production execution\n- Clear error messages guide developers to use proper test isolation\n\n**Files Modified**:\n- cmd/bd/test_helpers_test.go - Added failIfProductionDatabase()\n- internal/rpc/rpc_test.go - Added temp directory verification\n- integrations/beads-mcp/tests/conftest.py - New file with pytest safeguards","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T21:31:34.845887-08:00","updated_at":"2025-11-07T21:57:30.892086-08:00","closed_at":"2025-11-07T21:57:30.892086-08:00","source_repo":"."} {"id":"bd-2cvu","content_hash":"0005d8dfb8153b25b1c80cd49b38cc1b0d5eac46d7c73692366c5a8cb5cf967e","title":"Update AGENTS.md with Agent Mail workflow","description":"Update agent workflow section to include Agent Mail coordination as optional step.\n\nAcceptance Criteria:\n- Add Agent Mail to recommended workflow\n- Show both with/without examples\n- Update \"Multi-Agent Patterns\" section\n- Cross-reference to AGENT_MAIL.md\n\nFile: AGENTS.md (lines 468-475)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T22:42:51.295729-08:00","updated_at":"2025-11-08T01:51:40.348292-08:00","closed_at":"2025-11-08T00:52:34.288915-08:00","source_repo":".","dependencies":[{"issue_id":"bd-2cvu","depends_on_id":"bd-xzrv","type":"blocks","created_at":"2025-11-07T23:04:09.773656-08:00","created_by":"daemon"}]} +{"id":"bd-2d5r","content_hash":"c65754b0a284f5f4ce9f8fe07334e084c7bbe371fe63790998326a0dc895550d","title":"Fix silent error handling in RPC response writing","description":"Marshal and write errors silently ignored in writeResponse, can send partial JSON and hang clients.\n\nLocation: internal/rpc/server_lifecycle_conn.go:228-232\n\nProblem:\n- json.Marshal error ignored - cyclic reference sends corrupt JSON\n- Write error ignored - connection closed, no indication to caller \n- WriteByte error ignored - client hangs waiting for newline\n- Flush error ignored - partial data buffered\n\nCurrent code:\nfunc (s *Server) writeResponse(writer *bufio.Writer, resp Response) {\n data, _ := json.Marshal(resp) // Ignored!\n _, _ = writer.Write(data) // Ignored!\n _ = writer.WriteByte('\\n') // Ignored!\n _ = writer.Flush() // Ignored!\n}\n\nSolution: Return errors, handle in caller, close connection on error\n\nImpact: Client hangs waiting for response; corrupt JSON sent\n\nEffort: 1 hour","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-16T14:51:47.002242-08:00","updated_at":"2025-11-16T15:04:00.481507-08:00","closed_at":"2025-11-16T15:04:00.481507-08:00","source_repo":"."} {"id":"bd-2e80","content_hash":"bb7de865be3d63a2c6c167cf1100a458bfcc4d04d85639bcbcf22f310477e408","title":"Document shared memory test isolation pattern in test_helpers.go","description":"Tests were failing because :memory: creates a shared database across all tests. The fix is to use \"file::memory:?mode=memory\u0026cache=private\" for test isolation.\n\nShould document this pattern in test_helpers.go and potentially update newTestStore to use private memory by default.","status":"closed","priority":3,"issue_type":"chore","created_at":"2025-11-01T22:40:58.993496-07:00","updated_at":"2025-11-02T16:27:39.02423-08:00","closed_at":"2025-11-02T16:27:39.024233-08:00","source_repo":"."} {"id":"bd-2e94","content_hash":"92573586e4d6738191c2edf529feecbf68a0ed3d26f120b385882c55dccf7c9b","title":"Support --parent flag in daemon mode","description":"Added support for hierarchical child issue creation using --parent flag in daemon mode. Previously only worked in direct mode.","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-05T13:55:47.415771-08:00","updated_at":"2025-11-05T13:55:53.252342-08:00","closed_at":"2025-11-05T13:55:53.252342-08:00","source_repo":"."} {"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-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":"."} {"id":"bd-302","content_hash":"24087f04936c1ab2e9038ea4916c724f3aa3b57d5b13829e71e1c611cb4e3dff","title":"Agent 3 Issue 58","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.496886-07:00","updated_at":"2025-10-21T00:29:10.496886-07:00","source_repo":"."} @@ -1674,6 +1783,7 @@ {"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-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":"."} {"id":"bd-310","content_hash":"fd95079785f35ebc136e0e4866fb5331d9ba494c41a164b594e94c8f3914c339","title":"Agent 3 Issue 66","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.499063-07:00","updated_at":"2025-10-21T00:29:10.499063-07:00","source_repo":"."} {"id":"bd-311","content_hash":"5394d0aef8c55189e27092f715804e11877e084ccf37cfa43519755614d1829d","title":"Agent 3 Issue 67","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.499354-07:00","updated_at":"2025-10-21T00:29:10.499354-07:00","source_repo":"."} {"id":"bd-312","content_hash":"bb936e08d36caddcfa3af2d99598ab5c7dba859e9e20bfe3cb5d549f73ed7ed9","title":"Agent 3 Issue 68","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.499635-07:00","updated_at":"2025-10-21T00:29:10.499635-07:00","source_repo":"."} @@ -1686,6 +1796,7 @@ {"id":"bd-318","content_hash":"23f600ec0003d8c5c512b81ac87ab77850409e7cbfaa7446e4f181b6f43d24ca","title":"Agent 3 Issue 74","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.501296-07:00","updated_at":"2025-10-21T00:29:10.501296-07:00","source_repo":"."} {"id":"bd-319","content_hash":"02d6f116daa0f3a066d9fd3c5225d5ab0dcc631c17db9b763c082ae85d45591e","title":"Agent 3 Issue 75","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.501578-07:00","updated_at":"2025-10-21T00:29:10.501578-07:00","source_repo":"."} {"id":"bd-31aab707","content_hash":"8f64a8dbcc5ed63bc73b7d91fca624527033265dc1c89a7775eb2f45b378f382","title":"Unit tests for FileWatcher","description":"Test watcher detects JSONL changes. Test git ref changes trigger import. Test debounce integration. Test watcher recovery from file removal/rename.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-29T11:30:59.842317-07:00","updated_at":"2025-10-31T12:00:43.189591-07:00","closed_at":"2025-10-31T12:00:43.189591-07:00","source_repo":"."} +{"id":"bd-32","content_hash":"88246b007df958bbaf860fe42362ecd4f237067ce0e37bb120b92fbcc2a32e78","title":"Optimize reference updates to avoid loading all issues into memory","description":"In updateReferences(), we call SearchIssues with no filter to get ALL issues for updating references. For large databases (10k+ issues), this loads everything into memory. Options: 1) Use batched processing with LIMIT/OFFSET, 2) Use SQL UPDATE with REPLACE() directly, 3) Stream results instead of loading all at once. Located in collision.go:266","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.538787-07:00","closed_at":"2025-10-17T23:26:43.830137-07:00","source_repo":"."} {"id":"bd-320","content_hash":"5a06e490d4980716937b6a70ad162c5b6089f658fd3f1db9a73680e480d31f67","title":"Agent 3 Issue 76","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.50186-07:00","updated_at":"2025-10-21T00:29:10.50186-07:00","source_repo":"."} {"id":"bd-321","content_hash":"26a66e39fc8dfda26ac804b557ecaf19fbd2832a1a9de0fa0aa309bd5c1e8ee7","title":"Agent 3 Issue 77","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.50214-07:00","updated_at":"2025-10-21T00:29:10.50214-07:00","source_repo":"."} {"id":"bd-322","content_hash":"4966cfd05568f655bbdea6e12c6023294bfc405e09ff72e839f1a0f627e2226b","title":"Agent 3 Issue 78","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.502422-07:00","updated_at":"2025-10-21T00:29:10.502422-07:00","source_repo":"."} @@ -1698,6 +1809,7 @@ {"id":"bd-328","content_hash":"081f3a71567207f79d5763a26f7b478dd34c291f46672d8c232c0c102fd7db54","title":"Agent 3 Issue 84","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.504135-07:00","updated_at":"2025-10-21T00:29:10.504135-07:00","source_repo":"."} {"id":"bd-329","content_hash":"a4c79ebc3b4bf2178750373abf1202e454f7931d048d35e6bccd1ba13288c905","title":"Agent 3 Issue 85","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.504415-07:00","updated_at":"2025-10-21T00:29:10.504415-07:00","source_repo":"."} {"id":"bd-32nm","content_hash":"c9c887eedeb24df52a98a2a786340e8ffdb4628f4747f346e34d10661814fac7","title":"Auto-configure git merge driver during `bd init`","description":"Enhance `bd init` to optionally set up beads-merge as git merge driver.\n\n**Tasks**:\n- Prompt user to install git merge driver\n- Configure `.git/config`: `merge.beads.driver \"bd merge %A %O %L %R\"`\n- Create/update `.gitattributes`: `.beads/beads.jsonl merge=beads`\n- Add `--skip-merge-driver` flag for non-interactive use\n- Update AGENTS.md onboarding section\n\n**Files**:\n- `cmd/bd/init.go`\n- `.gitattributes` template","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T18:42:20.447682-08:00","updated_at":"2025-11-05T19:27:18.370494-08:00","closed_at":"2025-11-05T19:27:18.370494-08:00","source_repo":".","dependencies":[{"issue_id":"bd-32nm","depends_on_id":"bd-qqvw","type":"parent-child","created_at":"2025-11-05T18:42:28.723517-08:00","created_by":"daemon"},{"issue_id":"bd-32nm","depends_on_id":"bd-omx1","type":"blocks","created_at":"2025-11-05T18:42:35.453823-08:00","created_by":"daemon"}]} +{"id":"bd-33","content_hash":"3596110f4770ed4f151ff9fd74128029e82d1ed78a59ee60c992f2e0b078c06d","title":"Add --strict flag for dependency import failures","description":"Currently dependency import errors are warnings (logged to stderr, execution continues). Missing targets or cycles may indicate JSONL corruption. Add --strict flag to fail on any dependency errors for data integrity validation. Location: cmd/bd/import.go:159-164","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.538939-07:00","closed_at":"2025-10-16T10:07:34.035752-07:00","source_repo":"."} {"id":"bd-330","content_hash":"f4c1ae639855366cd0ba0cac69d52dc2d505eee76d97e9329f2d4f41fa96ef2e","title":"Agent 3 Issue 86","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.504685-07:00","updated_at":"2025-10-21T00:29:10.504685-07:00","source_repo":"."} {"id":"bd-331","content_hash":"b3dd6b780e666e4d2074f5c6372973c4356dadd84c9e8f4c893db5ade114de88","title":"Agent 3 Issue 87","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.504965-07:00","updated_at":"2025-10-21T00:29:10.504965-07:00","source_repo":"."} {"id":"bd-332","content_hash":"5630d04db1a98c810ecb2b1a39365ad4fec565407e8e1a870ebc90a26e9bcef2","title":"Agent 3 Issue 88","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.505241-07:00","updated_at":"2025-10-21T00:29:10.505241-07:00","source_repo":"."} @@ -1709,6 +1821,7 @@ {"id":"bd-338","content_hash":"86e7d06f257cfc15f49fd6d748babc10a2abd6ea28c15d5b0668bb9cd76f3487","title":"Agent 3 Issue 94","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.506919-07:00","updated_at":"2025-10-21T00:29:10.506919-07:00","source_repo":"."} {"id":"bd-339","content_hash":"390ea1c34964b404e3af05e4fa28d02dfbff593500a1519262b3421af9ebddc1","title":"Agent 3 Issue 95","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.507201-07:00","updated_at":"2025-10-21T00:29:10.507201-07:00","source_repo":"."} {"id":"bd-3396","content_hash":"43addfac9a43239dd75e1292a6502a79479cb09e67ff5d6823cc3df1b73390bf","title":"Add merge helper commands (bd sync --merge)","description":"Add commands to merge beads branch back to main.\n\nTasks:\n- Implement bd sync --merge command\n- Implement bd sync --status command\n- Implement bd sync --auto-merge (optional, for automation)\n- Detect merge conflicts and provide guidance\n- Show commit diff between branches\n- Verify main branch is clean before merge\n- Push merged changes to remote\n\nEstimated effort: 2-3 days","acceptance_criteria":"- bd sync --merge successfully merges beads branch\n- Conflicts detected with helpful error message\n- bd sync --status shows clear diff\n- Works with protected main (user must have push access)\n- Git history is clean (no unnecessary merge commits)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T15:22:35.580873-08:00","updated_at":"2025-11-02T17:12:34.620481-08:00","closed_at":"2025-11-02T17:12:34.620486-08:00","source_repo":".","dependencies":[{"issue_id":"bd-3396","depends_on_id":"bd-a101","type":"parent-child","created_at":"2025-11-02T15:22:48.376916-08:00","created_by":"stevey"}]} +{"id":"bd-34","content_hash":"34e64f97e9dd347cb3b2e2e4738e6b66a98da293815dbe726b4a6c5e8af5efaf","title":"Fix import zero-value field handling","description":"Import uses zero-value checks (Priority != 0) to determine field updates. This prevents setting priority to 0 or clearing string fields. Export/import round-trip not fully idempotent for zero values. Consider JSON presence detection or explicit preserve-existing semantics. Location: cmd/bd/import.go:95-106","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.539092-07:00","closed_at":"2025-10-14T02:51:52.198697-07:00","source_repo":"."} {"id":"bd-340","content_hash":"d26bf5faabe21dd8beac34c1ed002df8cff82a1c5d724ae7214f25e1a03828d8","title":"Agent 3 Issue 96","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.507742-07:00","updated_at":"2025-10-21T00:29:10.507742-07:00","source_repo":"."} {"id":"bd-341","content_hash":"422f8fd76ee124cab1871303a254851c826340341af3f20af6fb08a8f163a9d7","title":"Agent 3 Issue 97","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.508114-07:00","updated_at":"2025-10-21T00:29:10.508114-07:00","source_repo":"."} {"id":"bd-342","content_hash":"76242b971c64e7e211ed4f6762f9f8fca73f9d97824b704264f385dd1f164434","title":"Agent 3 Issue 98","description":"Created by agent 3","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.508413-07:00","updated_at":"2025-10-21T00:29:10.508413-07:00","source_repo":"."} @@ -1720,6 +1833,7 @@ {"id":"bd-347","content_hash":"4ef4a7880fd3c901c50ff595011f9a29651b16f8562fbec5e8a216925b07c5e6","title":"Agent 5 Issue 6","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.510018-07:00","updated_at":"2025-10-21T00:29:10.510018-07:00","source_repo":"."} {"id":"bd-348","content_hash":"db533dcd4b4eee3294ee109bf9bd475d1aa0948fb9758a84e48e5c534bed9b43","title":"Agent 5 Issue 7","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.510332-07:00","updated_at":"2025-10-21T00:29:10.510332-07:00","source_repo":"."} {"id":"bd-349","content_hash":"90c12fa849807894f44e04abdae8243759425ec004054c83c1ceb5fe14f0676b","title":"Agent 5 Issue 8","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.510623-07:00","updated_at":"2025-10-21T00:29:10.510623-07:00","source_repo":"."} +{"id":"bd-35","content_hash":"6cfd8afe3f672660823c092fef744695a7e7705169029d5e8203245146e457f4","title":"Increase test coverage for auto-flush and auto-import features","description":"Critical features have 0% test coverage despite being core workflow functionality.\n\n**Uncovered areas (0% coverage):**\n\nAuto-flush/Auto-import (dirty tracking):\n- MarkIssueDirty / MarkIssuesDirty\n- GetDirtyIssues / GetDirtyIssueCount\n- ClearDirtyIssues / ClearDirtyIssuesByID\n- Auto-flush debouncing logic\n- Auto-import hash comparison\n\nDatabase/file discovery:\n- FindDatabasePath (finds .beads/*.db in directory tree)\n- FindJSONLPath (finds issues.jsonl)\n- findDatabaseInTree helper\n\nLabel operations:\n- AddLabel / RemoveLabel\n- GetLabels / GetIssuesByLabel\n\nEvents/Comments:\n- AddComment\n- GetEvents\n- GetStatistics\n\nMetadata storage:\n- SetMetadata / GetMetadata (used for import hash tracking)\n\nCLI output formatting:\n- outputJSON\n- printCollisionReport / printRemappingReport\n- createIssuesFromMarkdown\n\n**Priority areas:**\n1. Auto-flush/import (highest risk - core workflow)\n2. Database discovery (second - affects all operations)\n3. Labels/events (lower priority - less commonly used)\n\n**Test approach:**\n- Add unit tests for dirty tracking in sqlite package\n- Add integration tests for auto-flush timing and debouncing\n- Add tests for import hash detection and idempotency\n- Add tests for database discovery edge cases (permissions, nested dirs)\n\n**Target:** Get overall coverage from 60% → 75%, focus on cmd/bd (currently 24.1%)\n\n**Note:** These features work well in practice (dogfooding proves it) but edge cases (disk full, permissions, concurrent access, race conditions) are untested.","notes":"Added comprehensive tests for CLI output functions (outputJSON, printCollisionReport, printRemappingReport). \n\nCoverage analysis shows:\n- outputJSON: 60% coverage (increased from 0%)\n- printCollisionReport: 100% coverage (increased from 0%)\n- printRemappingReport: 100% coverage (increased from 0%)\n- cmd/bd overall: 19.7% (increased from 18.8%)\n\nOther areas already have excellent coverage:\n✅ Dirty tracking: TestMarkIssueDirty, TestMarkIssuesDirty, TestGetDirtyIssueCount, TestClearDirtyIssuesByID\n✅ Auto-flush: TestAutoFlushDirtyMarking, TestAutoFlushDebounce, TestAutoFlushConcurrency\n✅ Auto-import: TestAutoImportIfNewer, TestAutoImportHashUnchanged, TestAutoImportCollisions \n✅ Database discovery: TestFindDatabasePathInTree, TestFindJSONLPath\n✅ Labels: TestAddLabel, TestRemoveLabel, TestGetLabels, TestGetIssuesByLabel\n✅ Metadata: TestSetAndGetMetadata, TestGetMetadataNotFound\n✅ Events: TestAddComment, TestAddMultipleComments, TestGetEvents\n\nThe remaining low coverage in cmd/bd is primarily Cobra command setup and CLI wiring, which is difficult to unit test and best tested via integration/E2E tests.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.53928-07:00","closed_at":"2025-10-17T01:04:30.736709-07:00","source_repo":"."} {"id":"bd-350","content_hash":"0e7b037804e0c46ef667f98122673149e0a49906c2fc6c3b2934f7614867732b","title":"Agent 5 Issue 9","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.510963-07:00","updated_at":"2025-10-21T00:29:10.510963-07:00","source_repo":"."} {"id":"bd-351","content_hash":"7ab81833539bac3c823ea60ae5ab04996eda8eda506283f4d81cee2ff2597e59","title":"Agent 5 Issue 10","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.511844-07:00","updated_at":"2025-10-21T00:29:10.511844-07:00","source_repo":"."} {"id":"bd-352","content_hash":"5ab93010c393e14f4ee48868805e2b4fe17e4a3940291d29aab760402b801b07","title":"Agent 5 Issue 11","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.512281-07:00","updated_at":"2025-10-21T00:29:10.512281-07:00","source_repo":"."} @@ -1731,6 +1845,7 @@ {"id":"bd-358","content_hash":"7bcc3ae10eb9699a1870755158c1dd9e9813db5d2d790d5d957cb1c5d77272ca","title":"Agent 5 Issue 17","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.515317-07:00","updated_at":"2025-10-21T00:29:10.515317-07:00","source_repo":"."} {"id":"bd-359","content_hash":"0dc5aa440974c65f388b579fb132c833ee9eae4a0020d863421797461b480331","title":"Agent 5 Issue 18","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.515821-07:00","updated_at":"2025-10-21T00:29:10.515821-07:00","source_repo":"."} {"id":"bd-35c7","content_hash":"28e00b560e08ecbf061e998836f8a1dd11392680b273589341c13e6b267df37c","title":"Add label-based filtering to bd ready command","description":"Allow filtering ready work by labels to help organize work by sprint, week, or category.\n\nExample usage:\n bd ready --label week1-2\n bd ready --label frontend,high-priority\n\nThis helps teams organize work into batches and makes it easier for agents to focus on specific categories of work.\n\nImplementation notes:\n- Add --label flag to ready command\n- Support comma-separated labels (AND logic)\n- Should work with existing ready work logic (unblocked issues)","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-03T18:10:18.976536-08:00","updated_at":"2025-11-03T22:27:30.614911-08:00","closed_at":"2025-11-03T22:27:30.614911-08:00","source_repo":"."} +{"id":"bd-36","content_hash":"6b649563a973fe295d2730b0a4c604b2131c777db8595fb2292645af1c1316b1","title":"Handle missing JSONL directory in findJSONLPath","description":"findJSONLPath() assumes the database directory exists. If someone runs bd init to create a new database but the .beads directory doesn't exist yet, the glob operations might fail silently. Add os.MkdirAll(dbDir, 0755) to ensure directory exists before globbing. Located in cmd/bd/main.go:188-201.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.53946-07:00","closed_at":"2025-10-14T02:51:52.199959-07:00","source_repo":"."} {"id":"bd-360","content_hash":"379558305550d8df673bf1b0641aa5d0409bbf607fe9625d9b5f168556e39c55","title":"Agent 1 Issue 42","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.480941-07:00","updated_at":"2025-10-21T00:29:10.480941-07:00","source_repo":"."} {"id":"bd-361","content_hash":"0d03bc0bff0ec9c68b3658e8b3603b5f7f32e3afdd7a4f7005592113873b71b8","title":"Agent 1 Issue 43","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.517965-07:00","updated_at":"2025-10-21T00:29:10.517965-07:00","source_repo":"."} {"id":"bd-362","content_hash":"7ed38f826223efecc5c590e71bbb71fd79de7f6780eff4ee0f55f3bb40d5db32","title":"Agent 1 Issue 44","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.519696-07:00","updated_at":"2025-10-21T00:29:10.519696-07:00","source_repo":"."} @@ -1744,6 +1859,7 @@ {"id":"bd-368","content_hash":"63afad44eef851c35b90deea17744185df214026b959dbe55539e139c4cf4ab9","title":"Agent 1 Issue 50","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.524757-07:00","updated_at":"2025-10-21T00:29:10.524757-07:00","source_repo":"."} {"id":"bd-36870264","content_hash":"d85eac459267257453cd22af0ab79babb86a26b7380584d0625c12a5302e7eb1","title":"Enforce daemon singleton per workspace with file locking","description":"Agent in ~/src/wyvern discovered 4 simultaneous daemon processes running, causing infinite directory recursion (.beads/.beads/.beads/...). Each daemon used relative paths and created nested .beads/ directories.\n\nRoot cause: No singleton enforcement. Multiple `bd daemon` processes can start in same workspace.\n\nExpected: One daemon per workspace (each workspace = separate .beads/ dir with bd.sock)\nActual: Multiple daemons can run simultaneously in same workspace\n\nNote: Separate git clones = separate workspaces = separate daemons (correct). Git worktrees share .beads/ and have known limitations (documented, use --no-daemon).","design":"Use flock (file locking) on daemon socket or database file to enforce singleton:\n\n1. On daemon start, attempt exclusive lock on .beads/bd.sock or .beads/daemon.lock\n2. If lock held by another process, refuse to start (exit with clear error)\n3. Hold lock for lifetime of daemon process\n4. Release lock on daemon shutdown\n\nAlternative: Use PID file with stale detection (check if PID is still running)\n\nImplementation location: Daemon startup code in cmd/bd/ or internal/daemon/","acceptance_criteria":"1. Starting second daemon process in same workspace fails with clear error\n2. Test: Start daemon, attempt second start, verify failure\n3. Killing daemon releases lock, allowing new daemon to start\n4. No infinite .beads/ directory recursion possible\n5. Works correctly with auto-start mechanism","notes":"## Fix Summary\n\nSuccessfully prevented the nested .beads/.beads/ recursion bug by implementing two safeguards:\n\n1. **Path Canonicalization in FindDatabasePath()** (beads.go):\n - Added filepath.Abs() + filepath.EvalSymlinks() to normalize all database paths\n - Prevents relative path edge cases that create nested directories\n - Ensures all daemons see the same canonical path\n\n2. **Nested Directory Detection** (daemon_lifecycle.go):\n - Added explicit check for \".beads/.beads\" pattern in setupDaemonLock()\n - Fails fast with clear error message if nested structure detected\n - Provides user hints about proper usage\n\n## Root Cause\n\nThe daemon lock (added Oct 22, 2025) correctly prevents simultaneous daemons in the SAME workspace. However, when BEADS_DB used a relative path (e.g., \".beads/beads.db\") from inside the .beads directory, FindDatabasePath() would resolve it to a nested path creating a separate workspace:\n- First daemon: /workspace/.beads/beads.db\n- Second daemon from .beads/: /workspace/.beads/.beads/beads.db ← Different lock file!\n\n## Testing\n\nAll acceptance criteria passed:\n✅ 1. Second daemon start fails with \"daemon already running\" error\n✅ 2. Killing daemon releases lock, new daemon can start \n✅ 3. No infinite .beads/ recursion possible (tested nested BEADS_DB path)\n✅ 4. Works with auto-start mechanism\n\nThe fix addresses the edge case while maintaining the existing lock mechanism's correctness.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-25T23:13:12.269549-07:00","updated_at":"2025-11-01T19:46:06.230339-07:00","closed_at":"2025-11-01T19:46:06.230339-07:00","source_repo":"."} {"id":"bd-369","content_hash":"ab5c0039e058577f9234e3c6c3ebb179d9e5a4951696237a2644e75f015e2129","title":"Agent 1 Issue 51","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.525408-07:00","updated_at":"2025-10-21T00:29:10.525408-07:00","source_repo":"."} +{"id":"bd-37","content_hash":"f44f1b0a00b744686f8b0550e54402651aa9014f107fb0a019caba74f1695d0a","title":"Add visibility for auto-flush failures","description":"flushToJSONL() writes warnings to stderr when flush fails, but calling code has no way to know if flush succeeded or failed. This means a command could return success even though JSONL is now out of sync. Consider maintaining a 'last flush status' variable or counter for failed flushes, and warn user after multiple consecutive failures (e.g., 3+). Located in cmd/bd/main.go:227-307.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.539651-07:00","closed_at":"2025-10-16T10:07:22.497491-07:00","source_repo":"."} {"id":"bd-370","content_hash":"657e0f2a0171bbd5eed97a9ea72962bff1b97374fe7631f817a102ce8252bbd5","title":"Agent 1 Issue 52","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.525844-07:00","updated_at":"2025-10-21T00:29:10.525844-07:00","source_repo":"."} {"id":"bd-371","content_hash":"aa946a170e1596237e39b4ab266f2de87fec7d879df4e22630600955ab1dcc35","title":"Agent 1 Issue 53","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.526279-07:00","updated_at":"2025-10-21T00:29:10.526279-07:00","source_repo":"."} {"id":"bd-372","content_hash":"d6ba396d7e94d994f6b4daadc709b9867212bc3f9e6f249c66613c8dcc12b572","title":"Agent 1 Issue 54","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.527152-07:00","updated_at":"2025-10-21T00:29:10.527152-07:00","source_repo":"."} @@ -1757,6 +1873,7 @@ {"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-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":"."} {"id":"bd-381","content_hash":"7621464612bf4cffa4cec344e0ce37bbfba3fee503f6a5d5f3a0d459c65acd8c","title":"Agent 1 Issue 63","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.532848-07:00","updated_at":"2025-10-21T00:29:10.532848-07:00","source_repo":"."} {"id":"bd-381d7f6c","content_hash":"24b00d276bd245aec3e6dfb6378457e785ac6a01538eba05450dd65dba993178","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","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-27T23:01:15.172045-07:00","updated_at":"2025-10-30T17:12:58.214409-07:00","closed_at":"2025-10-28T10:47:37.87529-07:00","source_repo":"."} @@ -1769,6 +1886,7 @@ {"id":"bd-387","content_hash":"15ac715f3f0302d906fb36af5d2cd93eb15973e47e87ff5cfe7300280454be09","title":"Agent 1 Issue 69","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.534809-07:00","updated_at":"2025-10-21T00:29:10.534809-07:00","source_repo":"."} {"id":"bd-388","content_hash":"2ec9953353e0ab7398298d182dc35aa1d07c87ce91b48749489bffd009336ca4","title":"Agent 1 Issue 70","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.535162-07:00","updated_at":"2025-10-21T00:29:10.535162-07:00","source_repo":"."} {"id":"bd-389","content_hash":"abd5e4c263d9adde1991a1710bb50ab42ca78c86441651aded81f91edea729b6","title":"Agent 1 Issue 71","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.53551-07:00","updated_at":"2025-10-21T00:29:10.53551-07:00","source_repo":"."} +{"id":"bd-39","content_hash":"b49f02f88135f37fff3e822d9f8a79ab6fa4087c98bba9339ef7f553be2cd375","title":"Add migration scripts for GitHub Issues","description":"Create scripts to import from GitHub Issues API or exported JSON","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.539973-07:00","closed_at":"2025-10-17T23:51:47.390748-07:00","source_repo":"."} {"id":"bd-390","content_hash":"98522bd00c631a668df818ba99478213f059a4152f4a15d530ef6b0a38576068","title":"Agent 1 Issue 72","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.53586-07:00","updated_at":"2025-10-21T00:29:10.53586-07:00","source_repo":"."} {"id":"bd-391","content_hash":"323b13d034e7eba3db1d90bfdb18a2195d631484f3924b7b2aceebf6eca3e4ce","title":"Agent 1 Issue 73","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.536201-07:00","updated_at":"2025-10-21T00:29:10.536201-07:00","source_repo":"."} {"id":"bd-392","content_hash":"fdb6f908fe50c9517d49649cba23d2151027f4325a6d7e1c491bcae1f6b270c5","title":"Agent 1 Issue 74","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.536591-07:00","updated_at":"2025-10-21T00:29:10.536591-07:00","source_repo":"."} @@ -1787,7 +1905,10 @@ {"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":"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":"open","priority":2,"issue_type":"task","created_at":"2025-10-29T14:06:30.832728-07:00","updated_at":"2025-11-08T17:56:47.734573-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-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":"."} {"id":"bd-400","content_hash":"42245aa317c65bcff66c10d9011e21d8719ec08dd19d5543f6cf379b370fbe69","title":"Agent 1 Issue 82","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.539507-07:00","updated_at":"2025-10-21T00:29:10.539507-07:00","source_repo":"."} {"id":"bd-401","content_hash":"43f63914615ee708f4406d911d706cbb95cff77c227b842b89ba37db11c8b743","title":"Agent 1 Issue 83","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.539923-07:00","updated_at":"2025-10-21T00:29:10.539923-07:00","source_repo":"."} {"id":"bd-402","content_hash":"66e8aace2e59682c52592bbbbae80cbd735b2dc1f81d9897e0966d1d5881f832","title":"Agent 1 Issue 84","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.540292-07:00","updated_at":"2025-10-21T00:29:10.540292-07:00","source_repo":"."} @@ -1799,6 +1920,7 @@ {"id":"bd-408","content_hash":"66a10103a8b052a7659839b291b55c40c353559867310726a4827b6430ca8a2a","title":"Agent 1 Issue 90","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.542747-07:00","updated_at":"2025-10-21T00:29:10.542747-07:00","source_repo":"."} {"id":"bd-409","content_hash":"9be70d55029751fc8b40f303148063c6941e9774305c9889d2edc43692a2fa02","title":"Agent 1 Issue 91","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.543068-07:00","updated_at":"2025-10-21T00:29:10.543068-07:00","source_repo":"."} {"id":"bd-40a0","content_hash":"75611f4fb108e11cb4b98ded732fe94dd41ed700d8058b419e6fc796cf152391","title":"bd doctor should check for multiple DBs, multiple JSONLs, daemon health","description":"","design":"\nCurrently bd doctor only checks:\n- .beads/ directory exists\n- Database version vs CLI version \n- ID format (hash vs sequential)\n- CLI version vs latest GitHub release\n\nIt should ALSO check for operational issues that cause silent failures:\n\n1. **Multiple database files** (*.db excluding backups and vc.db)\n - Warn if multiple *.db files found (ambiguous which to use)\n - Suggest running 'bd migrate' or manually removing old DBs\n\n2. **Multiple JSONL files** \n - Check for both issues.jsonl and beads.jsonl\n - Warn about ambiguity, suggest standardizing on one\n\n3. **Daemon health** (integrate bd daemons health)\n - Check if daemon running for this workspace\n - Detect version mismatches between daemon and CLI\n - Detect zombie daemons (running but unresponsive)\n - Detect stale daemon.pid files\n\n4. **Database-JSONL sync issues**\n - Check if JSONL is newer than last import\n - Warn if they're out of sync\n\n5. **Permissions issues**\n - Check if .beads/ directory is writable\n - Check if database file is readable/writable\n\nImplementation approach:\n- Add new check functions to doctor.go\n- Reuse logic from bd daemons health\n- Keep checks fast (\u003c 1 second total)\n- Output actionable fixes for each issue\n","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-31T21:16:47.042913-07:00","updated_at":"2025-10-31T21:21:27.093525-07:00","closed_at":"2025-10-31T21:21:27.093525-07:00","source_repo":"."} +{"id":"bd-41","content_hash":"78767a343564fc3c5711b75bbbd362a744c1c31653b95f74d2a5eb52651e064a","title":"Document versioning and release strategy","description":"Create comprehensive versioning strategy for beads ecosystem.\n\nComponents to document:\n1. bd CLI (Go binary) - main version number\n2. Plugin (Claude Code) - tracks CLI version\n3. MCP server (Python) - bundled with plugin\n4. Release workflow - how to sync all three\n\nDecisions to make:\n- Should plugin.json auto-update from bd CLI version?\n- Should we have a VERSION file at repo root?\n- How to handle breaking changes across components?\n- What's the update notification strategy?\n\nReferences:\n- plugin.json engines field now requires bd \u003e=0.9.0\n- /bd-version command added for checking compatibility\n- PLUGIN.md now documents update workflow","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.540472-07:00","closed_at":"2025-10-14T13:55:59.178075-07:00","source_repo":"."} {"id":"bd-410","content_hash":"c763d5d7cb39334fbcc7679d477c6c99ab4fafd2b5ae2d238120a7645085ba92","title":"Agent 1 Issue 92","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.543385-07:00","updated_at":"2025-10-21T00:29:10.543385-07:00","source_repo":"."} {"id":"bd-411","content_hash":"e70b64a4e12311a4c6bf8014a97f451e165730060d2bf081db947ec1bce0093f","title":"Agent 1 Issue 93","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.543705-07:00","updated_at":"2025-10-21T00:29:10.543705-07:00","source_repo":"."} {"id":"bd-412","content_hash":"2bcd47ba6e94e5880f280a4140c238d693a6ac6d4233ac287c96165c938503a6","title":"Agent 1 Issue 94","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.544025-07:00","updated_at":"2025-10-21T00:29:10.544025-07:00","source_repo":"."} @@ -1809,6 +1931,7 @@ {"id":"bd-417","content_hash":"6b4f81f7ac5d69771109b58f27ee4977bcfbb8d4c1c1101f00546535ef411df1","title":"Agent 1 Issue 99","description":"Created by agent 1","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.545471-07:00","updated_at":"2025-10-21T00:29:10.545471-07:00","source_repo":"."} {"id":"bd-418","content_hash":"5cf547cc2c2ae9210ea579c31b24a6bbd16c5c7514914881384817991ac47b30","title":"Agent 5 Issue 19","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.516304-07:00","updated_at":"2025-10-21T00:29:10.516304-07:00","source_repo":"."} {"id":"bd-419","content_hash":"238c5fbd7de560e7cef99728386354fbfa46665f3e1799ffe2612323a99af5df","title":"Agent 5 Issue 20","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.546221-07:00","updated_at":"2025-10-21T00:29:10.546221-07:00","source_repo":"."} +{"id":"bd-42","content_hash":"32329b590fb8abb7210efe2c4dd526c5aeaa6b12f6b9093acdfe41ab6a99c4bd","title":"Create version bump script","description":"Create scripts/bump-version.sh to automate version syncing across all components.\n\nThe script should:\n1. Take a version number as argument (e.g., ./scripts/bump-version.sh 0.9.3)\n2. Update all version files:\n - cmd/bd/version.go (Version constant)\n - .claude-plugin/plugin.json (version field)\n - .claude-plugin/marketplace.json (plugins[].version)\n - integrations/beads-mcp/pyproject.toml (version field)\n - README.md (Alpha version mention)\n - PLUGIN.md (version requirements)\n3. Validate semantic versioning format\n4. Show diff preview before applying\n5. Optionally create git commit with standard message\n\nThis prevents the version mismatch issue that occurred when only version.go was updated.\n\nRelated: bd-43 (version sync issue)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.540641-07:00","closed_at":"2025-10-14T13:49:22.368581-07:00","source_repo":"."} {"id":"bd-420","content_hash":"cc1fb62ab568d77530dfcf0542940288cfe9791eb787b2b2a5c158cd6b5cc5b8","title":"Agent 5 Issue 21","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.546594-07:00","updated_at":"2025-10-21T00:29:10.546594-07:00","source_repo":"."} {"id":"bd-421","content_hash":"9e08f7f741b6aed3edc66898a5cf2139888d5c738d6aedf3ab0f9a4e123e9e6b","title":"Agent 5 Issue 22","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.546905-07:00","updated_at":"2025-10-21T00:29:10.546905-07:00","source_repo":"."} {"id":"bd-422","content_hash":"504f525806f89f57603ec919bd3a02aad7c52e20828eb4a35871719dc4dc73b8","title":"Agent 5 Issue 23","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.547219-07:00","updated_at":"2025-10-21T00:29:10.547219-07:00","source_repo":"."} @@ -1819,6 +1942,7 @@ {"id":"bd-427","content_hash":"fc822596d197a75b7b03f25bde4559e614258223de40b6a57de43a91fd5c0bba","title":"Agent 5 Issue 28","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.548832-07:00","updated_at":"2025-10-21T00:29:10.548832-07:00","source_repo":"."} {"id":"bd-428","content_hash":"1eeb7ed112ed82990a500dc92571f46357622a3221d96cb2c12f655caa4d668a","title":"Agent 5 Issue 29","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.549151-07:00","updated_at":"2025-10-21T00:29:10.549151-07:00","source_repo":"."} {"id":"bd-429","content_hash":"3153b91ded1ed8fe9bf5bc03d3125329df8ecfdecab46f109da819a273287428","title":"Agent 5 Issue 30","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.549484-07:00","updated_at":"2025-10-21T00:29:10.549484-07:00","source_repo":"."} +{"id":"bd-43","content_hash":"f03de47f88142d00537c42a1e6a0a2982041dc1610027d0b12bbad4d6ca1135d","title":"Add system-wide/multi-repo support for beads","description":"GitHub issue #4 requests ability to use beads across multiple projects and for system-wide task tracking.\n\nCurrent limitation: beads is per-repository isolated. Each project has its own .beads/ directory and issues cannot reference issues in other projects.\n\nPotential approaches:\n1. Global beads instance in ~/.beads/global.db for cross-project work\n2. Project references - allow issues to link across repos\n3. Multi-project workspace support - one beads instance managing multiple repos\n4. Integration with existing MCP server to provide remote multi-project access\n\nUse cases:\n- System administrators tracking work across multiple machines/repos\n- Developers working on a dozen+ projects simultaneously\n- Cross-cutting concerns that span multiple repositories\n- Global todo list with project-specific subtasks\n\nRelated:\n- GitHub issue #4: https://github.com/steveyegge/beads/issues/4\n- Comparison to membank MCP which already supports multi-project via centralized server\n- MCP server at integrations/beads-mcp/ could be extended for this\n\nSee also: Testing framework for plugins (also from GH #4)","notes":"Multi-repo support status update:\n\n✅ **COMPLETED (P1 - Core functionality):**\n- bd-98: --global daemon flag ✅ \n- bd-99: Multi-repo documentation ✅\n- bd-92: Per-request context routing ✅\n\n**REMAINING (Optional enhancements):**\n- bd-100 (P2): 'bd repos' command - nice-to-have for UX\n- bd-101 (P2): Daemon auto-start - convenience feature\n- bd-102 (P3): Workspace config - alternative approach\n- bd-103 (P4): Cross-repo references - future feature\n\n**Decision:** Core multi-repo support is COMPLETE and working. Remaining items are independent enhancements, not blockers. \n\nRecommend closing bd-43 as complete. Open new issues for specific enhancements if needed.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.540801-07:00","closed_at":"2025-10-17T23:15:17.705446-07:00","source_repo":"."} {"id":"bd-430","content_hash":"4f6d54eed7d986cee4b231b88a8985f4f27363060d88bbfd1e79bed6f85bb0bc","title":"Agent 5 Issue 31","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.549812-07:00","updated_at":"2025-10-21T00:29:10.549812-07:00","source_repo":"."} {"id":"bd-431","content_hash":"15a31b266eb45751bfa9082950ea7d4e596c2f3675708deddc40065619100596","title":"Agent 5 Issue 32","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.550138-07:00","updated_at":"2025-10-21T00:29:10.550138-07:00","source_repo":"."} {"id":"bd-432","content_hash":"6a875de68599c2cf7d15217cd06bac0ea94995374887460efc05adde9ab8425d","title":"Agent 5 Issue 33","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.550467-07:00","updated_at":"2025-10-21T00:29:10.550467-07:00","source_repo":"."} @@ -1829,6 +1953,7 @@ {"id":"bd-437","content_hash":"1b011f14c9f51e95ade2bb3d3a2e35e2aa8f7b9dd3179d15f76ae2f9f3875597","title":"Agent 5 Issue 38","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.552065-07:00","updated_at":"2025-10-21T00:29:10.552065-07:00","source_repo":"."} {"id":"bd-438","content_hash":"9739d56042f126df0b345a1473d941775e07658ca80b3c5439e4f093e79a1317","title":"Agent 5 Issue 39","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.552386-07:00","updated_at":"2025-10-21T00:29:10.552386-07:00","source_repo":"."} {"id":"bd-439","content_hash":"f103596eb9ecb4c9ae38718174cceff987f9c4c90e0333fe9711f44d078209f1","title":"Agent 5 Issue 40","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.552732-07:00","updated_at":"2025-10-21T00:29:10.552732-07:00","source_repo":"."} +{"id":"bd-44","content_hash":"81af9c33e10a2d95378b03c520f96c83776696f8a22613b820e02e96835af04f","title":"Add coverage threshold to CI pipeline","description":"Current CI runs tests with coverage but doesn't enforce minimum threshold. Add step to fail if coverage drops below target.\n\nCurrent coverage: 60%\nRecommended thresholds:\n- Warn: 55%\n- Fail: 50%\n\nThis prevents coverage regression while allowing gradual improvement toward 80% target for 1.0.\n\nImplementation:\n1. Add coverage check step after test run\n2. Use 'go tool cover -func=coverage.out' to get total\n3. Parse percentage and compare to threshold\n4. Optionally: Use codecov's built-in threshold features\n\nRelated to test coverage improvement work (upcoming issue).","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.540976-07:00","closed_at":"2025-10-14T14:16:22.731648-07:00","source_repo":"."} {"id":"bd-440","content_hash":"9bd7aa0e2a8622d110a630cf7005a4a49d768abd9b946d250a25a66cebbb0859","title":"Agent 5 Issue 41","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.553072-07:00","updated_at":"2025-10-21T00:29:10.553072-07:00","source_repo":"."} {"id":"bd-441","content_hash":"f280c36d8ee96cf28d8be2e8516a47759561cea60fdaf8b40ae832aa3a00f3ee","title":"Agent 5 Issue 42","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.553401-07:00","updated_at":"2025-10-21T00:29:10.553401-07:00","source_repo":"."} {"id":"bd-442","content_hash":"7872d43b702ff4d4bed7d9be62b24460715bfeadc171e65e0c0781e821eb92d4","title":"Agent 5 Issue 43","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.55371-07:00","updated_at":"2025-10-21T00:29:10.55371-07:00","source_repo":"."} @@ -1841,6 +1966,7 @@ {"id":"bd-448","content_hash":"b861a062a65ee3043341bc74dc6471edad2dc447c9b3fd3252340b8c5149face","title":"Agent 5 Issue 49","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.555537-07:00","updated_at":"2025-10-21T00:29:10.555537-07:00","source_repo":"."} {"id":"bd-449","content_hash":"56da80c4fdd7b9994d901754866afb72373b3e99da206a8b5f11e2bd386d64cb","title":"Agent 5 Issue 50","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.555877-07:00","updated_at":"2025-10-21T00:29:10.555877-07:00","source_repo":"."} {"id":"bd-44d0","content_hash":"a20f23c823907e546f852c1bbb0c09166100b2569d4a1192f0a7288ee5d918e8","title":"WASM port of bd for Claude Code Web sandboxes","description":"Enable beads to work in Claude Code Web sandboxes by compiling bd to WebAssembly.\n\n## Problem\nClaude Code Web sandboxes cannot install bd CLI due to network restrictions:\n- GitHub releases return 403\n- go install fails with DNS errors\n- Binary cannot be downloaded\n\n## Solution\nCompile bd Go codebase to WASM, publish to npm as drop-in replacement.\n\n## Technical Approach\n- Use GOOS=js GOARCH=wasm to compile bd\n- modernc.org/sqlite already supports js/wasm target\n- Publish to npm as bd-wasm package\n- Full feature parity with bd CLI\n\n## Success Criteria\n- bd-wasm installs via npm in web sandbox\n- All core bd commands work identically\n- JSONL output matches native bd\n- Performance within 2x of native","notes":"WASM port abandoned - Claude Code Web has full VMs not browser restrictions. Better: npm + native binary","status":"closed","priority":0,"issue_type":"epic","created_at":"2025-11-02T18:32:27.660794-08:00","updated_at":"2025-11-02T23:36:38.679515-08:00","closed_at":"2025-11-02T23:36:38.679515-08:00","source_repo":"."} +{"id":"bd-45","content_hash":"46f8f2d5bc0fedb411473c30fd97d0b4e04841b5e3674867ae515d9609c4be52","title":"Verify and test Claude Code plugin","description":"Address remaining items from code review:\n\nCritical:\n1. Test plugin installation locally with /plugin marketplace add\n2. Verify ${CLAUDE_PLUGIN_ROOT} variable works correctly\n3. Test each slash command works\n4. Test @task-agent execution\n5. Verify MCP server connects properly\n\nDocumentation:\n1. Clarify 'one-command installation' vs prerequisites\n2. Add note about plugin development status\n3. Verify all paths and examples work\n\nNice-to-have:\n1. Add icon for marketplace (optional)\n2. Add categories field to plugin.json\n3. Add engines field for version compatibility","notes":"PLUGIN IMPLEMENTATION COMPLETE - READY FOR TESTING\n\nWhat was built:\n✅ .claude-plugin/plugin.json - Plugin metadata with MCP server config\n✅ .claude-plugin/marketplace.json - Marketplace configuration\n✅ 9 slash commands in .claude-plugin/commands/:\n - bd-ready, bd-create, bd-show, bd-update, bd-close\n - bd-workflow, bd-init, bd-stats, bd-version\n✅ Task agent in .claude-plugin/agents/task-agent.md\n✅ PLUGIN.md - Comprehensive documentation\n✅ README.md - Updated with plugin section\n✅ Version sync - All components at 0.9.2\n\nTesting Instructions for Next Agent:\n=====================================\n\n1. INSTALL PLUGIN FROM GITHUB:\n /plugin marketplace add steveyegge/beads\n /plugin install beads\n \n2. RESTART CLAUDE CODE (required for MCP server)\n\n3. TEST SLASH COMMANDS:\n /bd-version # Check versions (should show 0.9.2)\n /bd-workflow # Show workflow guide\n /bd-stats # Show project stats\n /bd-ready # Find ready work\n /bd-create \"Test plugin\" task 2\n /bd-show bd-\u003cid\u003e\n \n4. TEST MCP SERVER:\n /mcp # Verify 'beads' server appears\n \n5. TEST TASK AGENT:\n @task-agent # If supported in Claude Code\n \n6. VERIFY:\n - All commands work without errors\n - MCP tools are accessible\n - Version checking works\n - Documentation is accurate\n\nExpected Issues:\n- May need to adjust MCP server path variable (${CLAUDE_PLUGIN_ROOT})\n- Task agent syntax might differ\n- Some commands may need refinement based on actual usage\n\nIf testing fails, check:\n- bd CLI is in PATH: which bd\n- uv is installed: which uv\n- MCP server logs in Claude Code\n- PLUGIN.md troubleshooting section\n\nCommit references:\n- 9f38375: feat: Add Claude Code plugin for beads\n- d25fc53: feat: Add version compatibility checking\n- c0f1044: fix: Sync all component versions to 0.9.2\n- a5c71f0: feat: Add version bump script\n- a612b92: docs: Add version management to CLAUDE.md","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.541546-07:00","closed_at":"2025-10-16T21:03:25.525342-07:00","source_repo":"."} {"id":"bd-450","content_hash":"549acdfdeed7037e6758de25caf17764cd0a43b25eac25cbc52f191df1c8c59f","title":"Agent 5 Issue 51","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.556196-07:00","updated_at":"2025-10-21T00:29:10.556196-07:00","source_repo":"."} {"id":"bd-451","content_hash":"89179e67f9921af4eaf4b775e1f7a3e2698a9a0308630c24a26b0de55cd897d3","title":"Agent 5 Issue 52","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.556519-07:00","updated_at":"2025-10-21T00:29:10.556519-07:00","source_repo":"."} {"id":"bd-452","content_hash":"348c4afaec20eb8a22e9ea877d3db6cb0d50cca932724983e6b251458f936851","title":"Agent 5 Issue 53","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.556853-07:00","updated_at":"2025-10-21T00:29:10.556853-07:00","source_repo":"."} @@ -1851,6 +1977,7 @@ {"id":"bd-457","content_hash":"59c55630dcfca8693104ed78e5dedf14e8ac93d09ac56bdb1c8e9e6a671fd70b","title":"Agent 5 Issue 58","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.558572-07:00","updated_at":"2025-10-21T00:29:10.558572-07:00","source_repo":"."} {"id":"bd-458","content_hash":"7950545596c4d2ad789b3d467f6445ebe7d6133a1bf0537a246ac602087876fe","title":"Agent 5 Issue 59","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.558907-07:00","updated_at":"2025-10-21T00:29:10.558907-07:00","source_repo":"."} {"id":"bd-459","content_hash":"bae8103f5c80c7da6edbd4be1c674e1159d86040f54845a2423cca28e6b1b5f3","title":"Agent 5 Issue 60","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.559254-07:00","updated_at":"2025-10-21T00:29:10.559254-07:00","source_repo":"."} +{"id":"bd-46","content_hash":"91838cbcf96e53b404ba263240c4d74f7023a45b786b2d0897c64a8b2260f9d5","title":"Update ready_issues VIEW to use hierarchical blocking","description":"The ready_issues VIEW (schema.go:97-108) uses the OLD blocking logic that doesn't propagate through parent-child hierarchies.\n\n**Problem:**\n- GetReadyWork() function now uses recursive CTE with propagation\n- But the ready_issues VIEW still uses simple NOT EXISTS check\n- Any code using the VIEW will get DIFFERENT results than GetReadyWork()\n- This creates inconsistency and confusion\n\n**Impact:**\n- Unknown if the VIEW is actually used anywhere in the codebase\n- If it is used, it's returning incorrect results (showing children as ready when parent is blocked)\n\n**Solution:**\nEither:\n1. Update VIEW to match GetReadyWork logic (complex CTE in a view)\n2. Drop the VIEW entirely if unused\n3. Make VIEW call GetReadyWork as a function (if SQLite supports it)\n\n**Investigation needed:**\nGrep for 'ready_issues' to see if the view is actually used.","notes":"**Investigation results:**\nGrepped the codebase - the ready_issues VIEW appears in:\n- schema.go (definition)\n- WORKFLOW.md, DESIGN.md (documentation)\n- No actual Go code queries it directly\n\n**Conclusion:** The VIEW is defined but appears UNUSED by actual code. GetReadyWork() function is used instead.\n\n**Recommended solution:** Drop the VIEW entirely to avoid confusion. It serves no purpose if unused and creates a maintenance burden (needs to stay in sync with GetReadyWork logic).\n\n**Alternative:** If we want to keep it for direct SQL access, update the VIEW definition to match the new recursive CTE logic.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.541765-07:00","closed_at":"2025-10-14T13:06:47.739336-07:00","source_repo":"."} {"id":"bd-460","content_hash":"7e4d3d0359991059affc32d9602bacd258e7fb1f37c4ce229faf8c465bdc1614","title":"Agent 5 Issue 61","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.559635-07:00","updated_at":"2025-10-21T00:29:10.559635-07:00","source_repo":"."} {"id":"bd-461","content_hash":"846d5782c27792098fad34cc6a0edf04878cfb8cc3acf35338ba12553636bf0d","title":"Agent 5 Issue 62","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.559978-07:00","updated_at":"2025-10-21T00:29:10.559978-07:00","source_repo":"."} {"id":"bd-462","content_hash":"01d1fffbdee48e3cbdc23bc5f8c1a9cdb0d3406b5d7493d2b2b7138bb601bd23","title":"Agent 5 Issue 63","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.560328-07:00","updated_at":"2025-10-21T00:29:10.560328-07:00","source_repo":"."} @@ -1862,6 +1989,7 @@ {"id":"bd-467","content_hash":"80905102907c4b47aa72dcd23a9b6e98d327887daef2f6318b2a508d29062618","title":"Agent 5 Issue 68","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.561909-07:00","updated_at":"2025-10-21T00:29:10.561909-07:00","source_repo":"."} {"id":"bd-468","content_hash":"938c693cca6dc5f9123ad35b7222637e1e738de0e33b85433d3ba227e834ba04","title":"Agent 5 Issue 69","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.562238-07:00","updated_at":"2025-10-21T00:29:10.562238-07:00","source_repo":"."} {"id":"bd-469","content_hash":"c4a454e701f497513960c6d37e4dbef0a69ce946d8219485475d86ad6787bd12","title":"Agent 5 Issue 70","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.56256-07:00","updated_at":"2025-10-21T00:29:10.56256-07:00","source_repo":"."} +{"id":"bd-47","content_hash":"e2c07a8d575e5f4821517497191b725f7307fbc001f67077a0c38d9358236b7b","title":"Add composite index on dependencies(depends_on_id, type)","description":"The hierarchical blocking query does:\nJOIN dependencies d ON d.depends_on_id = bt.issue_id\nWHERE d.type = 'parent-child'\n\nCurrently we only have idx_dependencies_depends_on (line 41 in schema.go), which covers depends_on_id but not the type filter.\n\n**Impact:**\n- Query has to scan ALL dependencies for a given depends_on_id, then filter by type\n- With 10k+ issues and many dependencies, this could cause slowdowns\n- The blocker propagation happens recursively, amplifying the cost\n\n**Solution:**\nAdd composite index: CREATE INDEX idx_dependencies_depends_on_type ON dependencies(depends_on_id, type)\n\n**Testing:**\nRun EXPLAIN QUERY PLAN on GetReadyWork query before/after to verify index usage.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.541965-07:00","closed_at":"2025-10-14T13:00:04.441418-07:00","source_repo":"."} {"id":"bd-470","content_hash":"2ab8f62c20c45cf71f4cafe7b60e12f2edf6ca8f03f1f9da0c12f51c99a1a744","title":"Agent 5 Issue 71","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.562889-07:00","updated_at":"2025-10-21T00:29:10.562889-07:00","source_repo":"."} {"id":"bd-471","content_hash":"45c0bfbbf70b2cd47180b18b5a0ed09110c02e597d48e1751c472be9fb6f910e","title":"Agent 5 Issue 72","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.563221-07:00","updated_at":"2025-10-21T00:29:10.563221-07:00","source_repo":"."} {"id":"bd-472","content_hash":"99fd76b77f6cc280253fa2c54c56d000f28faa79ee31b19ef3de10dc2cc366bb","title":"Agent 5 Issue 73","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.563553-07:00","updated_at":"2025-10-21T00:29:10.563553-07:00","source_repo":"."} @@ -1872,6 +2000,7 @@ {"id":"bd-477","content_hash":"d5c86e5e3f6b58001fb9f78ce260fe6313f0e08db06425ef96a40b4a6db4866c","title":"Agent 0 Issue 0","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.46569-07:00","updated_at":"2025-10-21T00:29:10.46569-07:00","source_repo":"."} {"id":"bd-478","content_hash":"acbae386f6381fb9b21facc855aadc798493f9283db7a64ac1fccb708d96d70c","title":"Agent 0 Issue 1","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.566423-07:00","updated_at":"2025-10-21T00:29:10.566423-07:00","source_repo":"."} {"id":"bd-479","content_hash":"27def168223183a89fd11f7ce79a7e1432affea8b52fa9383ed74379d766db1d","title":"Agent 0 Issue 2","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.566757-07:00","updated_at":"2025-10-21T00:29:10.566757-07:00","source_repo":"."} +{"id":"bd-48","content_hash":"1917b84d66555ba433f722434af8e1bbc51e3e7e452f965f6de875500f90444c","title":"Parent's blocker should block children in ready work calculation","description":"GitHub issue #19: If epic1 blocks epic2, children of epic2 should also be considered blocked when calculating ready work. Currently epic2's children show as ready even though their parent is blocked. This breaks the natural hierarchy of dependencies and can cause agents to work on tasks out of order.\n\nExpected: ready work calculation should traverse up parent-child hierarchy and check if any ancestor has blocking dependencies.\n\nSee: https://github.com/anthropics/claude-code/issues/19","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.542131-07:00","closed_at":"2025-10-14T12:53:41.146271-07:00","source_repo":"."} {"id":"bd-480","content_hash":"23d5fc83d4549cac24e7497006bcc8a336acfbd6620d6656a5b05a09fadfc411","title":"Agent 0 Issue 3","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.567091-07:00","updated_at":"2025-10-21T00:29:10.567091-07:00","source_repo":"."} {"id":"bd-481","content_hash":"f3e325696bf6d4dfe13d8712e82dfa38647528755ad5b1babce6327186fa6d27","title":"Agent 0 Issue 4","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.567443-07:00","updated_at":"2025-10-21T00:29:10.567443-07:00","source_repo":"."} {"id":"bd-482","content_hash":"775397380361ee3aff119a70369a382559c4decfb459cdebf4a9784e4f39d8b4","title":"Agent 0 Issue 5","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.567759-07:00","updated_at":"2025-10-21T00:29:10.567759-07:00","source_repo":"."} @@ -1882,6 +2011,7 @@ {"id":"bd-487","content_hash":"9c3a0709d6a501bb77cce0ff19597fef7d2e7fb909e0ce466ed85b77a229c2ce","title":"Agent 0 Issue 10","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.56949-07:00","updated_at":"2025-10-21T00:29:10.56949-07:00","source_repo":"."} {"id":"bd-488","content_hash":"63e7f07c7fddcc5b93e79e94e35c85edb289fb2771587d73f802b61d8602ec1a","title":"Agent 0 Issue 11","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.569885-07:00","updated_at":"2025-10-21T00:29:10.569885-07:00","source_repo":"."} {"id":"bd-489","content_hash":"2dc0380022a492d0dcedb783fc3cb01868cea0ff1842b9958001cddff39a4499","title":"Agent 0 Issue 12","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.570245-07:00","updated_at":"2025-10-21T00:29:10.570245-07:00","source_repo":"."} +{"id":"bd-49","content_hash":"79fbe392718675dfffd34a4e82519eef854f285d088130cced9c26ed203aeeae","title":"Add design/notes/acceptance_criteria fields to update command","description":"Currently bd update only supports status, priority, title, assignee. Add support for --design, --notes, --acceptance-criteria flags. This makes it easier to add detailed designs to issues after creation.","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.54229-07:00","closed_at":"2025-10-16T10:07:34.00541-07:00","source_repo":"."} {"id":"bd-490","content_hash":"6e102c84a0c607eb66634a2ae900d9afa7adb8156457c97e51bc240c7078d83b","title":"Agent 0 Issue 13","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.570579-07:00","updated_at":"2025-10-21T00:29:10.570579-07:00","source_repo":"."} {"id":"bd-491","content_hash":"a2b5647bde89ef934eaede758320e66e18040a2a1b599bcfc64621c634bfa0d5","title":"Agent 0 Issue 14","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.570951-07:00","updated_at":"2025-10-21T00:29:10.570951-07:00","source_repo":"."} {"id":"bd-492","content_hash":"254865c97d22e44e5d244062c5738dba12bbfe95c07fe237a11bafd61219c9e9","title":"Agent 0 Issue 15","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.5713-07:00","updated_at":"2025-10-21T00:29:10.5713-07:00","source_repo":"."} @@ -1892,6 +2022,7 @@ {"id":"bd-497","content_hash":"17aa6b9302f39b1e09af30b99e984263daeaf28eeebacb2d516389fb9822b882","title":"Agent 0 Issue 20","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.57306-07:00","updated_at":"2025-10-21T00:29:10.57306-07:00","source_repo":"."} {"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-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-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":"."} @@ -1899,6 +2030,7 @@ {"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-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":"."} {"id":"bd-4f582ec8","content_hash":"dbf986afd3a1641a2b701645a85cc3576888c6ecd0ecf217b16f4535448facee","title":"Test auto-start in fred","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-30T17:46:16.668088-07:00","updated_at":"2025-10-31T12:00:43.185723-07:00","closed_at":"2025-10-31T12:00:43.185723-07:00","source_repo":"."} {"id":"bd-4ff2","content_hash":"9a36dc265788b61d5a45ab75633951f4f653b1130c1a003a66829fd28555488e","title":"Fix CI failures before 0.21.3 release","description":"CI is failing on multiple jobs:\n1. Nix flake: Tests fail due to missing git in build environment\n2. Windows tests: Need to check what's failing\n3. Linux tests: Need to check what's failing\n4. Linter errors: Many unchecked errors need fixing\n\nNeed to fix before tagging v0.21.3 release.","notes":"Fixed linter errors (errcheck, misspell), Nix flake git dependency, and import database discovery bug. Tests still failing - need to investigate further.","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-01T23:52:09.244763-07:00","updated_at":"2025-11-02T12:32:57.748324-08:00","closed_at":"2025-11-02T12:32:57.748329-08:00","source_repo":"."} {"id":"bd-4ms","content_hash":"940d9a34e84ac71d4b2ab61a4608f5e4e54b8793c6ffc759ebc5d22e9eff26bc","title":"Multi-repo contributor workflow support","description":"Implement separate repository support for OSS contributors to prevent PR pollution while maintaining git ledger and multi-clone sync. Based on contributor-workflow-analysis.md Solution #4.","design":"See docs/contributor-workflow-analysis.md for complete design rationale.\n\nKey architecture:\n- N ≥ 1 repos (single repo default, multi-repo opt-in)\n- VCS-agnostic (git, jj, hg, sapling)\n- Config-based routing (no schema changes)\n- Smart caching (file mtime tracking, SQLite cache)\n- Global namespace (hash-based IDs)\n- Cross-repo dependencies supported","acceptance_criteria":"1. Zero PR pollution - contributor planning never reaches upstream\n2. Git ledger preserved - all repos VCS-tracked\n3. Backward compatible - existing single-repo workflows unchanged\n4. Sub-second query performance with polling\n5. Library API stable - transparent to downstream consumers like VC","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-04T11:21:19.515776-08:00","updated_at":"2025-11-05T00:08:42.812659-08:00","closed_at":"2025-11-05T00:08:42.812662-08:00","source_repo":"."} @@ -1907,6 +2039,8 @@ {"id":"bd-4oqu.1","content_hash":"fbeac3089798c66a2c85aa49d5abdc050a38c3c31209599ae1f2117c8ba9f180","title":"Test child direct","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T13:00:55.992712-08:00","updated_at":"2025-11-05T13:01:11.654435-08:00","closed_at":"2025-11-05T13:01:11.654435-08:00","source_repo":"."} {"id":"bd-4oqu.2","content_hash":"3dfea0ba8e0bfa2424411e65f9fc549af6edecb1490cee786a08d8ceff4c2ed6","title":"Test child daemon mode","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T13:01:06.642305-08:00","updated_at":"2025-11-05T13:01:11.669369-08:00","closed_at":"2025-11-05T13:01:11.669369-08:00","source_repo":"."} {"id":"bd-4ry","content_hash":"fc0b5a708c2cbef610437e2bd8dab08712d2b151becbe2080db1bc52ff4c03fa","title":"Clarify JSONL size bounds with multi-repo","description":"The contributor-workflow-analysis.md states (line 226): 'Keep beads.jsonl small enough for agents to read (\u003c25k)'\n\nWith multi-repo hydration, it's unclear whether this bound applies to:\n- Each individual JSONL file (likely intention)\n- The total hydrated size across all repos (unclear)\n- Both (most conservative)\n\nClarification needed because:\n- VC monitors .beads/issues.jsonl size to stay under limit\n- With multi-repo, VC needs to know if each additional repo also has 25k limit\n- Agents reading hydrated data need to know total size bounds\n- Performance characteristics depend on total vs per-repo limits\n\nExample scenario:\n- Primary repo: 20k JSONL\n- Planning repo: 15k JSONL\n- Total hydrated: 35k\nIs this acceptable or does it violate the \u003c25k principle?","acceptance_criteria":"- Documentation explicitly states size bound applies per-repo or total\n- Rationale explained (why that bound matters)\n- Guidance for monitoring size with multi-repo\n- If total bound exists, formula provided (e.g., sum of all repos \u003c25k)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-03T20:24:50.042748-08:00","updated_at":"2025-11-05T14:18:00.550341-08:00","closed_at":"2025-11-05T14:18:00.550341-08:00","source_repo":"."} +{"id":"bd-5","content_hash":"7507404e3b47b84e4d0db41bbec0303f556a9970eaa239ba7329bf5a77e07a62","title":"Make maxDepth configurable in bd dep tree command","description":"Currently maxDepth is hardcoded to 50 in GetDependencyTree. Add --max-depth flag to bd dep tree command to allow users to control recursion depth. Default should remain 50 for safety, but users with very deep trees or wanting shallow views should be able to configure it.","status":"closed","priority":4,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.54246-07:00","closed_at":"2025-10-19T08:59:59.596748-07:00","source_repo":"."} +{"id":"bd-50","content_hash":"a3e346207188394d9cc90e35f8eb4738a4722cec2ea8d8fe275d76e1e06b940f","title":"Test plugin installation and functionality","description":"Verify the plugin works end-to-end.\n\nTest cases:\n- Fresh installation via /plugin command\n- All slash commands work correctly\n- MCP server tools are accessible\n- Configuration options work\n- Documentation is accurate\n- Works in both terminal and VS Code","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.542621-07:00","closed_at":"2025-10-14T12:59:38.637269-07:00","source_repo":"."} {"id":"bd-500","content_hash":"1e6618e85627a649cb142ad5872a3ff2cb198da97942b75e6088a6b4c600aa46","title":"Agent 0 Issue 23","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.574168-07:00","updated_at":"2025-10-21T00:29:10.574168-07:00","source_repo":"."} {"id":"bd-501","content_hash":"28d6d6c8e6f9a0f2b301902992629eb8e8188570956097b80f610d2c865db33f","title":"Agent 0 Issue 24","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.574501-07:00","updated_at":"2025-10-21T00:29:10.574501-07:00","source_repo":"."} {"id":"bd-502","content_hash":"8fb30eb3cc86cdcd9d5205f2fc7d9415b02a53f22b8d5465f767180eee7bf9a2","title":"Agent 0 Issue 25","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.574838-07:00","updated_at":"2025-10-21T00:29:10.574838-07:00","source_repo":"."} @@ -1918,6 +2052,7 @@ {"id":"bd-507","content_hash":"32d18dfe45f098b9742653a6344f58316fb1237cf7976feb8934aae057112856","title":"Agent 0 Issue 30","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.57662-07:00","updated_at":"2025-10-21T00:29:10.57662-07:00","source_repo":"."} {"id":"bd-508","content_hash":"88db95794bd78bf7152b01173752929837b6561eb1e47f0618b9a7ca0bb59baf","title":"Agent 0 Issue 31","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.576968-07:00","updated_at":"2025-10-21T00:29:10.576968-07:00","source_repo":"."} {"id":"bd-509","content_hash":"baac1119e7e68a580f24347b52af173e8ab6d9aaaa9ece6f636a7823fa406345","title":"Agent 0 Issue 32","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.577334-07:00","updated_at":"2025-10-21T00:29:10.577334-07:00","source_repo":"."} +{"id":"bd-51","content_hash":"a1b458e2bfaa44155c0ee9c3dfb4d3f5bfa76442625aabbc6582593ba10c437b","title":"Add transaction support to storage layer for atomic multi-operation workflows","description":"Currently each storage method (CreateIssue, UpdateIssue, etc.) starts its own transaction. This makes it impossible to perform atomic multi-step operations like collision resolution. Add support for passing *sql.Tx through the storage interface, or create transaction-aware versions of methods. This would make remapCollisions and other batch operations truly atomic.","status":"closed","priority":4,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.542781-07:00","closed_at":"2025-10-14T02:51:52.199176-07:00","source_repo":"."} {"id":"bd-510","content_hash":"6a100b7b841efc90bdf4f5916ef40fa5c62ccccba676a2d5bc5e2a405aeedc6a","title":"Agent 0 Issue 33","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.577684-07:00","updated_at":"2025-10-21T00:29:10.577684-07:00","source_repo":"."} {"id":"bd-511","content_hash":"694a1ba35e34d9b904db5a3c173b46b23181dce9316c11f5ae98a72362b6af51","title":"Agent 0 Issue 34","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.578019-07:00","updated_at":"2025-10-21T00:29:10.578019-07:00","source_repo":"."} {"id":"bd-512","content_hash":"394c6c43633f8c8429f1e0bbdbb683af13b5b8b61ddd76bb40ad7709464583ef","title":"Agent 0 Issue 35","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.578376-07:00","updated_at":"2025-10-21T00:29:10.578376-07:00","source_repo":"."} @@ -1929,6 +2064,7 @@ {"id":"bd-518","content_hash":"2ff6ed15281dcb00ffcd400b0885a775105e95c0fdc759b774183d446d0d9438","title":"Agent 0 Issue 41","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.580503-07:00","updated_at":"2025-10-21T00:29:10.580503-07:00","source_repo":"."} {"id":"bd-519","content_hash":"83dd45664c4a222fe6e0b4677eb046b6f259c65fdba1b408656135b9c44f009d","title":"Agent 0 Issue 42","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.580875-07:00","updated_at":"2025-10-21T00:29:10.580875-07:00","source_repo":"."} {"id":"bd-51jl","content_hash":"f926fc6615da9c2d0270449079fa7b4e937f8e817a73c7df179bb6d92ca464e6","title":"Feature P1","description":"","status":"closed","priority":1,"issue_type":"feature","assignee":"bob","created_at":"2025-11-07T19:04:24.852171-08:00","updated_at":"2025-11-07T22:07:17.343481-08:00","closed_at":"2025-11-07T21:55:09.426728-08:00","source_repo":"."} +{"id":"bd-52","content_hash":"f4503c390adb9bba5fbc1d19b72501abfcbf18ea429e84657d7b77ca01f079ac","title":"Write plugin documentation","description":"Create comprehensive documentation for the plugin.\n\nContents:\n- Installation instructions\n- Available commands\n- MCP tools reference\n- Configuration options\n- Examples and workflows\n- Troubleshooting guide","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.54294-07:00","closed_at":"2025-10-14T12:58:39.701738-07:00","source_repo":"."} {"id":"bd-520","content_hash":"60735cc44cf2b6ff09a00ce99ff18b531141c4330b3c238c21a774e58fa444ae","title":"Agent 0 Issue 43","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.581216-07:00","updated_at":"2025-10-21T00:29:10.581216-07:00","source_repo":"."} {"id":"bd-521","content_hash":"f3f78e7698111dc979318b407d82e13d9db4e010062aff68536a1d5ab384efc5","title":"Agent 0 Issue 44","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.581557-07:00","updated_at":"2025-10-21T00:29:10.581557-07:00","source_repo":"."} {"id":"bd-522","content_hash":"b4dc8826130d4ac6ba7de987c78b264c13c434cb062f448a3ed395aecb4c5c18","title":"Agent 0 Issue 45","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.581895-07:00","updated_at":"2025-10-21T00:29:10.581895-07:00","source_repo":"."} @@ -1939,6 +2075,7 @@ {"id":"bd-527","content_hash":"6a26559b303c34228486c4d762f06193e1d316fe60d24501b74ece5116aea9e7","title":"Agent 0 Issue 50","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.583653-07:00","updated_at":"2025-10-21T00:29:10.583653-07:00","source_repo":"."} {"id":"bd-528","content_hash":"4e78f88dd525624b6b69b891bd3826e50b5b28a6b6c3593606b2f5f25cedaeaa","title":"Agent 0 Issue 51","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.584009-07:00","updated_at":"2025-10-21T00:29:10.584009-07:00","source_repo":"."} {"id":"bd-529","content_hash":"0d6883e16e20aa28e68aa4f4d5ba1b9082515fcb43fb913984505c8de623c486","title":"Agent 0 Issue 52","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.584363-07:00","updated_at":"2025-10-21T00:29:10.584363-07:00","source_repo":"."} +{"id":"bd-53","content_hash":"f4632961c5855a0b0a5dd50e2ed87da7272f6feee0ef0771c29f8441fb12591a","title":"Design and implement slash commands","description":"Create useful slash commands for beads workflow.\n\nProposed commands:\n- /bd-ready - Show ready work\n- /bd-create - Create new issue interactively\n- /bd-show - Show issue details\n- /bd-update - Update issue status\n- /bd-close - Close issue\n- /bd-workflow - Show full agent workflow guide\n\nEach command should provide a good UX and leverage the MCP server tools.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.543091-07:00","closed_at":"2025-10-14T12:57:06.733755-07:00","source_repo":"."} {"id":"bd-530","content_hash":"243e3a424ffdafd01d1ddc26b55226fae666b93fb462a2fddb1effeffada0a1c","title":"Agent 0 Issue 53","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.584747-07:00","updated_at":"2025-10-21T00:29:10.584747-07:00","source_repo":"."} {"id":"bd-531","content_hash":"42791526e86f6059d437e62fd22556b8ac23c7210b545aacbfba5deaf96d825e","title":"Agent 0 Issue 54","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.585109-07:00","updated_at":"2025-10-21T00:29:10.585109-07:00","source_repo":"."} {"id":"bd-5314bddf","content_hash":"1c57b7a18279f8d87c68af9e1b99234ba4017a03c3f3b1cdb65ce4a8b93e12aa","title":"bd detect-pollution - Test pollution detector","description":"Detect test issues that leaked into production DB.\n\nPattern matching for:\n- Titles starting with 'test', 'benchmark', 'sample'\n- Sequential numbering (test-1, test-2)\n- Generic descriptions\n- Created in rapid succession\n\nOptional AI scoring for confidence.\n\nFiles: cmd/bd/detect_pollution.go (new)","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-28T14:48:17.466906-07:00","updated_at":"2025-11-06T19:36:13.970321-08:00","closed_at":"2025-11-06T19:27:11.75884-08:00","source_repo":"."} @@ -1951,6 +2088,7 @@ {"id":"bd-537e","content_hash":"3d8bd59053d657a3710708f5e70feb9baa9545a87383286ff6fad29437856c44","title":"Add external_ref change tracking and auditing","description":"Currently we don't track when external_ref is added, removed, or changed. This would be useful for debugging and auditing.\n\nProposed features:\n- Log event when external_ref changes\n- Track in events table with old/new values\n- Add query to find issues where external_ref changed\n- Add metrics: issues with external_ref vs without\n\nUse cases:\n- Debugging import issues\n- Understanding which issues are externally managed\n- Auditing external system linkage\n\nRelated: bd-1022","status":"closed","priority":4,"issue_type":"feature","created_at":"2025-11-02T15:32:31.276883-08:00","updated_at":"2025-11-08T03:54:04.85448-08:00","closed_at":"2025-11-08T02:20:01.022406-08:00","source_repo":"."} {"id":"bd-538","content_hash":"579d53cf1fa53d654b3386550def27f6ac7a58560cb44f99aa0d80609740a63f","title":"Agent 0 Issue 61","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.587564-07:00","updated_at":"2025-10-21T00:29:10.587564-07:00","source_repo":"."} {"id":"bd-539","content_hash":"f504352d776b3b9589ec72efcfce9870d743903a9d5c038abf03343ba75f6902","title":"Agent 0 Issue 62","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.587909-07:00","updated_at":"2025-10-21T00:29:10.587909-07:00","source_repo":"."} +{"id":"bd-54","content_hash":"4d777a0ded764c8dddbbaba8d010516c056e1924ce4cacd0f721e41b00aa2bd4","title":"Create plugin metadata files","description":"Create .claude-plugin/plugin.json and marketplace.json.\n\nRequirements:\n- Name, description, version, author\n- MCP server configuration bundling\n- License and repository info\n- Installation instructions","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.543247-07:00","closed_at":"2025-10-14T12:55:59.029894-07:00","source_repo":"."} {"id":"bd-540","content_hash":"7ffd7c896976e913a707031a151d1f2d422fcff0a856b2c1c35e113280d31d17","title":"Agent 0 Issue 63","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.588246-07:00","updated_at":"2025-10-21T00:29:10.588246-07:00","source_repo":"."} {"id":"bd-541","content_hash":"8418605c3103612baa5adbb6f81d9cb32b915652c627d44fe3f0713ad8030703","title":"Agent 0 Issue 64","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.588569-07:00","updated_at":"2025-10-21T00:29:10.588569-07:00","source_repo":"."} {"id":"bd-542","content_hash":"f610a7890f881bd67926d8b72e411ae7e796a97271c38a5552947b3f2587d9cf","title":"Agent 0 Issue 65","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.589129-07:00","updated_at":"2025-10-21T00:29:10.589129-07:00","source_repo":"."} @@ -1961,6 +2099,7 @@ {"id":"bd-547","content_hash":"3df7f17a66acd972d708b3380e07b11f3cd6051eb508ee2b928d1d8f10eda339","title":"Agent 0 Issue 70","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.590885-07:00","updated_at":"2025-10-21T00:29:10.590885-07:00","source_repo":"."} {"id":"bd-548","content_hash":"51c8b2b689d9a1b54423a5600070f0018dce0dbacc287963c503205ecd859bdb","title":"Agent 0 Issue 71","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.591226-07:00","updated_at":"2025-10-21T00:29:10.591226-07:00","source_repo":"."} {"id":"bd-549","content_hash":"73a981b0786380c80851d4d6489d7aa5bb1eee8838b0f3eaeae2c8715c0fd7d9","title":"Agent 0 Issue 72","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.591569-07:00","updated_at":"2025-10-21T00:29:10.591569-07:00","source_repo":"."} +{"id":"bd-55","content_hash":"ead07be74956b317e8f415e5ac3808e1e369b209734e62bbad9f8e22ee2286d1","title":"Research Claude Code plugin structure and requirements","description":"Study the plugin format, required files, and best practices.\n\nTasks:\n- Review official plugin documentation\n- Examine example plugins if available\n- Document plugin.json schema\n- Understand marketplace.json requirements\n- Identify slash command format","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.543411-07:00","closed_at":"2025-10-14T12:55:23.358165-07:00","source_repo":"."} {"id":"bd-550","content_hash":"f6bc227e34f8bf65155eee132d46925f3c04d440b2190c433931d58ae486ca9a","title":"Agent 0 Issue 73","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.591934-07:00","updated_at":"2025-10-21T00:29:10.591934-07:00","source_repo":"."} {"id":"bd-551","content_hash":"47d45294ba349b53a3ea6f64ac009cc9fb9071d9daf5ebb4191fc66429d8ff8e","title":"Agent 0 Issue 74","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.592306-07:00","updated_at":"2025-10-21T00:29:10.592306-07:00","source_repo":"."} {"id":"bd-552","content_hash":"f827d47972572b5eb4ac4acf70ee0aca51c703d332d3d284438d907f634d8808","title":"Agent 0 Issue 75","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.592662-07:00","updated_at":"2025-10-21T00:29:10.592662-07:00","source_repo":"."} @@ -1972,6 +2111,7 @@ {"id":"bd-558","content_hash":"512d1af2cafe9f21068ff266d2c42d520d5e803f7c34fe33a2413ea2cf2f6d94","title":"Agent 0 Issue 81","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.594863-07:00","updated_at":"2025-10-21T00:29:10.594863-07:00","source_repo":"."} {"id":"bd-559","content_hash":"11509232347f1e815c529ea318e5cf7bd6f70cfc406eafba09d4c40d32ccec05","title":"Agent 0 Issue 82","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.595231-07:00","updated_at":"2025-10-21T00:29:10.595231-07:00","source_repo":"."} {"id":"bd-5599","content_hash":"9fbe6f08f83522e1136f3e6a368b1cd22c527bf5e83cccc70c1f6aaa21712ae0","title":"Fix TestListCommand duplicate dependency constraint violation","description":"","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-10-31T21:27:05.557548-07:00","updated_at":"2025-10-31T21:27:11.429018-07:00","closed_at":"2025-10-31T21:27:11.429018-07:00","source_repo":"."} +{"id":"bd-56","content_hash":"076abff90a004a9d21bb236288aba41eeef29986510d85483f0f4e88b3251aa9","title":"Create Claude Code plugin for beads","description":"Package beads as a Claude Code plugin for easy installation via /plugin command.\n\nContext: GitHub issue #28 - https://github.com/steveyegge/beads/issues/28\n\nCurrent state:\n- MCP server exists in integrations/beads-mcp/\n- No plugin packaging yet\n\nDeliverables:\n1. .claude-plugin/plugin.json with metadata\n2. .claude-plugin/marketplace.json for distribution\n3. Custom slash commands (/bd-ready, /bd-create, /bd-show, etc.)\n4. Bundle MCP server configuration\n5. Optional: Pre-configured hooks for auto-sync\n6. Documentation for installation and usage\n\nBenefits:\n- Makes beads instantly discoverable in Claude Code ecosystem\n- Single-command installation vs. manual setup\n- Bundled cohesive experience\n- Lowers adoption barrier significantly\n\nReferences:\n- https://www.anthropic.com/news/claude-code-plugins\n- https://docs.claude.com/en/docs/claude-code/plugins","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.543577-07:00","closed_at":"2025-10-14T12:59:39.974612-07:00","source_repo":"."} {"id":"bd-560","content_hash":"e6b9aac8f5e3c3891061a24d4e52216b870dcc8c09985a86b732a68580d5f78c","title":"Agent 0 Issue 83","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.595569-07:00","updated_at":"2025-10-21T00:29:10.595569-07:00","source_repo":"."} {"id":"bd-561","content_hash":"401c13efbd1edc7d1a7da87e9ad65deff9cb2542466be509c4fa70c91ab827a8","title":"Agent 0 Issue 84","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.595929-07:00","updated_at":"2025-10-21T00:29:10.595929-07:00","source_repo":"."} {"id":"bd-562","content_hash":"bc7722eee8b73d1178457d063575585d513f9ef4cd3d6b60c8cc12710ae5636d","title":"Agent 0 Issue 85","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.5963-07:00","updated_at":"2025-10-21T00:29:10.5963-07:00","source_repo":"."} @@ -1982,6 +2122,7 @@ {"id":"bd-567","content_hash":"a1baaef2df1df0fd21d7132cea79bc00b09f978dbc33ab6caca6240b92bb39ca","title":"Agent 0 Issue 90","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.598378-07:00","updated_at":"2025-10-21T00:29:10.598378-07:00","source_repo":"."} {"id":"bd-568","content_hash":"8b1d8452e1487e4feb8dde5c1f646c669f9598855f81ba53c620b6af62614752","title":"Agent 0 Issue 91","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.598732-07:00","updated_at":"2025-10-21T00:29:10.598732-07:00","source_repo":"."} {"id":"bd-569","content_hash":"80e9bb9c2902482bcdc09ac4afd015edda09fd8f00c470ed24f3772ce2775e85","title":"Agent 0 Issue 92","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.599085-07:00","updated_at":"2025-10-21T00:29:10.599085-07:00","source_repo":"."} +{"id":"bd-57","content_hash":"96a199d0e7a18cb4052ceb67b86599438f952fd65639c265b47f62dc01f9a06e","title":"Another 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.543735-07:00","closed_at":"2025-10-16T10:07:34.130516-07:00","source_repo":"."} {"id":"bd-570","content_hash":"754c2fd296040a11cdc70d45f5a451a5076dfb3aadb6df7c34abd595f45030fd","title":"Agent 0 Issue 93","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.599473-07:00","updated_at":"2025-10-21T00:29:10.599473-07:00","source_repo":"."} {"id":"bd-571","content_hash":"84a4d296e0e7edf9846b988403858698cd68961b853e364aa8149f0ba210b93a","title":"Agent 0 Issue 94","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.599817-07:00","updated_at":"2025-10-21T00:29:10.599817-07:00","source_repo":"."} {"id":"bd-572","content_hash":"74cb7f88da8d29f2d44e980bf0a580543bde5654cd29714e7250a6f4ed47a6d0","title":"Agent 0 Issue 95","description":"Created by agent 0","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.600189-07:00","updated_at":"2025-10-21T00:29:10.600189-07:00","source_repo":"."} @@ -1992,9 +2133,10 @@ {"id":"bd-577","content_hash":"6612ee373abc63936a33f6b415832d1f38b8217696754fe127fdd48fce5b0c4c","title":"Agent 5 Issue 78","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.56603-07:00","updated_at":"2025-10-21T00:29:10.56603-07:00","source_repo":"."} {"id":"bd-578","content_hash":"abe726be9caf40e5e2055ed727da4330a74cc588f94e1dd97a95eab2760ff50b","title":"Agent 5 Issue 79","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.603121-07:00","updated_at":"2025-10-21T00:29:10.603121-07:00","source_repo":"."} {"id":"bd-579","content_hash":"4fad7ef5884617cb56371257c8acd3bffcd9a6686f416d9a767daf7f8d5976d3","title":"Agent 5 Issue 80","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.603556-07:00","updated_at":"2025-10-21T00:29:10.603556-07:00","source_repo":"."} +{"id":"bd-58","content_hash":"770d839589ad7cef0775a4e1444e4203529d676f4a3f981cbe4a59bf13024f7e","title":"Reach 1.0 release milestone","description":"Stabilize API, finalize documentation, comprehensive testing","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.543886-07:00","closed_at":"2025-10-18T16:47:05.346306-07:00","source_repo":"."} {"id":"bd-580","content_hash":"efdcb3013f2e1a368e7aa804efa1aa854dbb76bdf5f55acce2dd590ed857f436","title":"Agent 5 Issue 81","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.603986-07:00","updated_at":"2025-10-21T00:29:10.603986-07:00","source_repo":"."} {"id":"bd-581","content_hash":"4ee3a700c30689bdcd6cdb4a80c3d5b81479e1f728238ad8b76d4c00f5a16079","title":"Agent 5 Issue 82","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.604367-07:00","updated_at":"2025-10-21T00:29:10.604367-07:00","source_repo":"."} -{"id":"bd-581b80b3","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-10-29T20:49:49.126801-07:00","updated_at":"2025-11-06T19:36:13.970636-08:00","closed_at":"2025-11-06T19:27:11.778663-08:00","source_repo":"."} +{"id":"bd-581b80b3","content_hash":"04c4d952852ae2673e551d9776698c52b0189754ac5f9ca295bed464a5b86a43","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":"open","priority":1,"issue_type":"task","created_at":"2025-10-29T20:49:49.126801-07:00","updated_at":"2025-10-30T17:12:58.218673-07:00","source_repo":"."} {"id":"bd-582","content_hash":"59757e3821c62e5355d9c4ea03ccd5d2f47c05f995cc87a27f941a6e36a5785f","title":"Agent 5 Issue 83","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.604729-07:00","updated_at":"2025-10-21T00:29:10.604729-07:00","source_repo":"."} {"id":"bd-583","content_hash":"cf492928786251ea73bd470a5a4bf86d4455c798d1c2efed17d9e714ce1da6e3","title":"Agent 5 Issue 84","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.605063-07:00","updated_at":"2025-10-21T00:29:10.605063-07:00","source_repo":"."} {"id":"bd-584","content_hash":"19093ed8c3687da58334ce369a1144052da6b7f129109b48b55bc9f2c072c729","title":"Agent 5 Issue 85","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.605403-07:00","updated_at":"2025-10-21T00:29:10.605403-07:00","source_repo":"."} @@ -2005,6 +2147,7 @@ {"id":"bd-589","content_hash":"8ae6a2fe876e37593cd1d8fb60d631ff35cfe02f55cbf152287e021b0ebbe5dd","title":"Agent 5 Issue 90","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.607378-07:00","updated_at":"2025-10-21T00:29:10.607378-07:00","source_repo":"."} {"id":"bd-589c7c1e","content_hash":"efbc1fe1379d414d2af33f5aff9787e4f8a3234922199bdc9abce25dba99aef0","title":"Fix revive style issues (78 issues)","description":"Style violations: unused parameters (many cmd/args in cobra commands), missing exported comments, stuttering names (SQLiteStorage), indent-error-flow issues.","design":"Rename unused params to _, add godoc comments to exported types, fix stuttering names, simplify control flow.","notes":"Fixed 19 revive issues:\n- 14 unused-parameter (renamed to _)\n- 2 redefines-builtin-id (max→maxCount, min→minInt)\n- 3 indent-error-flow (gofmt fixed 2, skipped 1 complex nested one)\n\nRemaining issues are acceptable: 11 unused-params in deeper code, 2 empty-blocks with comments, 1 complex indent case, 1 superfluous-else in test.","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-27T23:20:10.391821-07:00","updated_at":"2025-10-30T17:12:58.215077-07:00","closed_at":"2025-10-27T23:02:41.30653-07:00","source_repo":"."} {"id":"bd-58c0","content_hash":"112d4123250ac875619a1f239cbf73c859b58d87f2b45a2d649da320dd72ecc5","title":"Fix transaction conflict in TryResurrectParent","description":"Integration test TestImportWithDeletedParent fails with 'database is locked' error when resurrection happens inside CreateIssue.\n\nRoot cause: TryResurrectParent calls conn.Get() and insertIssue() which conflicts with existing transaction in CreateIssue.\n\nError: failed to create tombstone for parent bd-parent: failed to insert issue: sqlite3: database is locked\n\nSolution: Refactor resurrection to accept optional transaction parameter, use existing transaction when available instead of creating new connection.\n\nImpact: Blocks resurrection from working in CreateIssue flow, only works in EnsureIDs (which may not have active transaction).","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-04T16:32:20.981027-08:00","updated_at":"2025-11-04T17:00:44.258881-08:00","closed_at":"2025-11-04T17:00:44.258881-08:00","source_repo":".","dependencies":[{"issue_id":"bd-58c0","depends_on_id":"bd-d19a","type":"discovered-from","created_at":"2025-11-04T16:32:20.981969-08:00","created_by":"daemon"}]} +{"id":"bd-59","content_hash":"cafba7ce4532321413086be2c9872fbad5fa3b91d54cb60aead1b1fc30beabda","title":"Implement collision detection in import","description":"Create collision.go with detectCollisions() function. Compare incoming JSONL issues against DB state. Distinguish between: (1) exact match (idempotent), (2) ID match but different content (collision), (3) new issue. Return list of colliding issues.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.544041-07:00","closed_at":"2025-10-16T10:07:22.461107-07:00","source_repo":"."} {"id":"bd-590","content_hash":"47c35fd2a91bda6aa97ed92c3c5cb8d28175efe00b17b13ffd5c807bc257740a","title":"Agent 5 Issue 91","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.607783-07:00","updated_at":"2025-10-21T00:29:10.607783-07:00","source_repo":"."} {"id":"bd-591","content_hash":"d22b2a0a691ef1f35a9bfa44a9308f7a1ab0d764847d2c46918fd10d5c885a6b","title":"Agent 5 Issue 92","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.608154-07:00","updated_at":"2025-10-21T00:29:10.608154-07:00","source_repo":"."} {"id":"bd-592","content_hash":"6d90c0cea0559e76485289b7dab9f9c1a52fec65d51a7bd1e390ba8ec8e3d9d5","title":"Agent 5 Issue 93","description":"Created by agent 5","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.608514-07:00","updated_at":"2025-10-21T00:29:10.608514-07:00","source_repo":"."} @@ -2031,17 +2174,21 @@ {"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":"426f1e44ca47486e2fa5b97832a635612ac9fcb98064f00559c8833480f11bd6","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":"."} +{"id":"bd-60","content_hash":"317b9062c98a7d890d5c5fc168427dcc44d98006559b57ece5fdcfbb67cf7491","title":"Implement reference scoring algorithm","description":"Count references for each colliding issue: text mentions in descriptions/notes/design fields + dependency references. Sort collisions by score ascending (fewest refs first). This minimizes total updates during renumbering.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.544351-07:00","closed_at":"2025-10-14T02:51:52.198288-07:00","source_repo":"."} {"id":"bd-600","content_hash":"a5d54da18f360fddf7b13701da4e7687ce7497044265ec7a478aed7d23d6c02e","title":"Agent 2 Issue 1","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.623632-07:00","updated_at":"2025-10-21T00:29:10.623632-07:00","source_repo":"."} {"id":"bd-601","content_hash":"580356f004e952436b682f738596b71e324d55bd57b7abcea9eedf1765f8a0ac","title":"Agent 2 Issue 2","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.624125-07:00","updated_at":"2025-10-21T00:29:10.624125-07:00","source_repo":"."} {"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":5,"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-12T18:57:44Z"}]} {"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":"."} {"id":"bd-608","content_hash":"7bf86a098b90790de3faa15f7bf8bbf828e7957e776d14e0cb1fedf173b38552","title":"Agent 2 Issue 9","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.628052-07:00","updated_at":"2025-10-21T00:29:10.628052-07:00","source_repo":"."} {"id":"bd-609","content_hash":"072f7f0ba2dd74dccae1cbe6630d73f34aeaf400407f861a71ce3251f7869151","title":"Agent 2 Issue 10","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.628739-07:00","updated_at":"2025-10-21T00:29:10.628739-07:00","source_repo":"."} +{"id":"bd-61","content_hash":"754d3a031842ab7a74a6c92fb70eb760f1a1c3ba4e3dad517800dc0ea1167a8c","title":"Implement ID remapping with reference updates","description":"Allocate new IDs for colliding issues. Update all text field references using word-boundary regex (\\bbd-10\\b). Update dependency records. Build id_mapping for reporting. Handle chain dependencies properly.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.544509-07:00","closed_at":"2025-10-14T02:51:52.198356-07:00","source_repo":"."} {"id":"bd-610","content_hash":"67344d553ee1183d7080b62aba16a2caa6aae60b987edaf23b58725e07275317","title":"Agent 2 Issue 11","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.629227-07:00","updated_at":"2025-10-21T00:29:10.629227-07:00","source_repo":"."} {"id":"bd-611","content_hash":"701a18ea880d811ded956ad0946be4d2d1a6f0b09bb71a6bc957668f1c613303","title":"Agent 2 Issue 12","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.629805-07:00","updated_at":"2025-10-21T00:29:10.629805-07:00","source_repo":"."} {"id":"bd-612","content_hash":"4d7806240a39d255cb7d398762b4da4f27c95258d2dd7e2680019b8ea57ac786","title":"Agent 2 Issue 13","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.630213-07:00","updated_at":"2025-10-21T00:29:10.630213-07:00","source_repo":"."} @@ -2052,6 +2199,7 @@ {"id":"bd-617","content_hash":"ccbaa49d3803cdc180a533fb1e7b1ec53423ade493774522bc86d547b49b6699","title":"Agent 2 Issue 18","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.639362-07:00","updated_at":"2025-10-21T00:29:10.639362-07:00","source_repo":"."} {"id":"bd-618","content_hash":"a7be2d8a1f877afc47163abe70f569f2094949404f07ab3d4fd69c349c3ef230","title":"Agent 2 Issue 19","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.639816-07:00","updated_at":"2025-10-21T00:29:10.639816-07:00","source_repo":"."} {"id":"bd-619","content_hash":"bcec5fec3e07e5878d2c07fef88bad985d8ff47bbc9f830ecd1ca627eb344977","title":"Agent 2 Issue 20","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.640278-07:00","updated_at":"2025-10-21T00:29:10.640278-07:00","source_repo":"."} +{"id":"bd-62","content_hash":"1d41277facc1b6da191e39fe642d58efda33ce144247ba6850ba77ce9189aead","title":"Add --resolve-collisions flag and user reporting","description":"Add import flags: --resolve-collisions (auto-fix) and --dry-run (preview). Display clear report: collisions detected, remappings applied (old→new with scores), reference counts updated. Default behavior: fail on collision (safe).","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.545676-07:00","closed_at":"2025-10-16T10:07:34.003238-07:00","source_repo":"."} {"id":"bd-620","content_hash":"8d1a79909001ab1e729b8364723a25687dc5c8f3d0362c2aa7c5b9176d060ea8","title":"Agent 2 Issue 21","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.640738-07:00","updated_at":"2025-10-21T00:29:10.640738-07:00","source_repo":"."} {"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":"."} @@ -2066,6 +2214,7 @@ {"id":"bd-628","content_hash":"10057ab34b583ef25abebfdf7391ed549bbe0216ffc9c3c1fa8cafbf105238e0","title":"Agent 2 Issue 29","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.644087-07:00","updated_at":"2025-10-21T00:29:10.644087-07:00","source_repo":"."} {"id":"bd-629","content_hash":"774ea75ac2c5a96c3d9f323f6c4bfd139093050a8c508f7fb9d05a062048b332","title":"Agent 2 Issue 30","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.644492-07:00","updated_at":"2025-10-21T00:29:10.644492-07:00","source_repo":"."} {"id":"bd-62a0","content_hash":"b8b2a58a86211a19aed9d21ec5215b4f14ef341ee95d4ed845e1412840d00fd7","title":"Create WASM build infrastructure (Makefile, scripts)","description":"Set up build tooling for WASM compilation:\n- Add GOOS=js GOARCH=wasm build target\n- Copy wasm_exec.js from Go distribution\n- Create wrapper script for Node.js execution\n- Add build task to Makefile or build script","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-02T21:58:07.286826-08:00","updated_at":"2025-11-02T22:23:49.376789-08:00","closed_at":"2025-11-02T22:23:49.376789-08:00","source_repo":".","dependencies":[{"issue_id":"bd-62a0","depends_on_id":"bd-44d0","type":"parent-child","created_at":"2025-11-02T22:23:49.423064-08:00","created_by":"stevey"}]} +{"id":"bd-63","content_hash":"2f3143224e72cf1d9f2b5ff24cc9b2b97d9ca072d77b6d25bf98487e2b334d74","title":"Write comprehensive collision resolution tests","description":"Test cases: simple collision, multiple collisions, dependency updates, text reference updates, chain dependencies, edge cases (partial ID matches, case sensitivity, triple merges). Add to import_test.go and collision_test.go.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.545905-07:00","closed_at":"2025-10-16T10:07:34.007864-07:00","source_repo":"."} {"id":"bd-630","content_hash":"febc26a60ef128fbfa48524d0cadd2330a0c06a5f22165fb7fad67d176a47560","title":"Agent 2 Issue 31","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.646717-07:00","updated_at":"2025-10-21T00:29:10.646717-07:00","source_repo":"."} {"id":"bd-631","content_hash":"5a28a33539533455d772029f37621df53dacee6d1cba3c3d19e07ab1f394c163","title":"Agent 2 Issue 32","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.647591-07:00","updated_at":"2025-10-21T00:29:10.647591-07:00","source_repo":"."} {"id":"bd-632","content_hash":"fad7a5ea9496b4b54b889e4546755537f54669d652e19383fdfba9b47c9a328e","title":"Agent 2 Issue 33","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.648027-07:00","updated_at":"2025-10-21T00:29:10.648027-07:00","source_repo":"."} @@ -2077,6 +2226,7 @@ {"id":"bd-638","content_hash":"0ce58bed4fa9a659def810fc4c882fee2749bc1900764462cbb7312112cacc83","title":"Agent 2 Issue 39","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.656576-07:00","updated_at":"2025-10-21T00:29:10.656576-07:00","source_repo":"."} {"id":"bd-639","content_hash":"f8c014352a631f59fb2562ceb634980f3f4a4dc1428c95cb1211e76afdd3ec58","title":"Agent 2 Issue 40","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.657029-07:00","updated_at":"2025-10-21T00:29:10.657029-07:00","source_repo":"."} {"id":"bd-63e9","content_hash":"7c709804b6d15ce63897344b0674dfae6a4fe97e3ae2768585e2a3407484bad0","title":"Fix Nix flake build test failures","description":"Nix build is failing during test phase with same test errors as Windows.\n\n**Error:**\n```\nerror: Cannot build '/nix/store/rgyi1j44dm6ylrzlg2h3z97axmfq9hzr-beads-0.9.9.drv'.\nReason: builder failed with exit code 1.\nFAIL github.com/steveyegge/beads/cmd/bd 16.141s\n```\n\nThis may be related to test environment setup or the same issues affecting Windows tests.","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-02T09:29:37.2851-08:00","updated_at":"2025-11-04T11:10:23.531386-08:00","closed_at":"2025-11-04T11:10:23.531389-08:00","source_repo":".","dependencies":[{"issue_id":"bd-63e9","depends_on_id":"bd-1231","type":"blocks","created_at":"2025-11-02T09:29:37.28618-08:00","created_by":"stevey"}]} +{"id":"bd-64","content_hash":"d9f134d795ec26d3b92aef0d9ce5ad91aee18d436adfcca2faf7e645a499bb46","title":"Update documentation for collision resolution","description":"Update README.md with collision resolution section. Update CLAUDE.md with new workflow. Document --resolve-collisions and --dry-run flags. Add example scenarios showing branch merge workflows.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.546089-07:00","closed_at":"2025-10-16T10:07:34.028648-07:00","source_repo":"."} {"id":"bd-640","content_hash":"30b849b33ad6a949b22352789676f9e6af03c97ddefc7d7bb811d68b8f4a7cea","title":"Agent 2 Issue 41","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.657542-07:00","updated_at":"2025-10-21T00:29:10.657542-07:00","source_repo":"."} {"id":"bd-641","content_hash":"2bbda79a93ec03d8c21da94bc05ec11d94a314ada71b0c86395f3aaf0c2babc8","title":"Agent 2 Issue 42","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.657964-07:00","updated_at":"2025-10-21T00:29:10.657964-07:00","source_repo":"."} {"id":"bd-642","content_hash":"fdb44c9f1bc8f42cd71b559ec9e906f8613806e3315dbd3b34403cafa07d7890","title":"Agent 2 Issue 43","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.658438-07:00","updated_at":"2025-10-21T00:29:10.658438-07:00","source_repo":"."} @@ -2089,9 +2239,10 @@ {"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":"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":"open","priority":2,"issue_type":"task","created_at":"2025-10-28T17:59:21.93014-07:00","updated_at":"2025-10-30T17:12:58.227375-07: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":"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.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":"."} {"id":"bd-650","content_hash":"aeeb14c2aab6f0f5d821ca33b697557be1911eb0fd1295d58f625ac946e03de9","title":"Agent 2 Issue 51","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.665032-07:00","updated_at":"2025-10-21T00:29:10.665032-07:00","source_repo":"."} {"id":"bd-651","content_hash":"db90d5e0d1b4d22e1410f9821ba6d56988312944bf0f0a5e379ab7c7aff56db0","title":"Agent 2 Issue 52","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.665441-07:00","updated_at":"2025-10-21T00:29:10.665441-07:00","source_repo":"."} {"id":"bd-652","content_hash":"a4a054613430d9e869d80e9057f31dd9e3ffc2697e85e5cba598349ed1958027","title":"Agent 2 Issue 53","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.665862-07:00","updated_at":"2025-10-21T00:29:10.665862-07:00","source_repo":"."} @@ -2103,6 +2254,7 @@ {"id":"bd-657","content_hash":"648dcf66c4ea1eae042586126ff7749c3d4543e9130a8b2a19690861a952e4ed","title":"Agent 2 Issue 58","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.667955-07:00","updated_at":"2025-10-21T00:29:10.667955-07:00","source_repo":"."} {"id":"bd-658","content_hash":"895220e257391d7f019636dbc7b4ea90863df49503f81ba647a81d51a8c67818","title":"Agent 2 Issue 59","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.66836-07:00","updated_at":"2025-10-21T00:29:10.66836-07:00","source_repo":"."} {"id":"bd-659","content_hash":"f69be711b2df160c4855745a927f8b3986a7e7c489b84c7c4a373e197bc17990","title":"Agent 2 Issue 60","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.668765-07:00","updated_at":"2025-10-21T00:29:10.668765-07:00","source_repo":"."} +{"id":"bd-66","content_hash":"eedce115757e8519dfd874eabb8d0a14777d2bc6b7a4f013157ca75b7d8c3487","title":"Document or automate JSONL sync workflow for git collaboration","description":"When using beads across multiple machines/environments via git, there's a workflow gap:\n\n1. Machine A: Create issues → stored in .beads/project.db\n2. Machine A: bd export -o .beads/issues.jsonl\n3. Machine A: git add .beads/issues.jsonl \u0026\u0026 git commit \u0026\u0026 git push\n4. Machine B: git pull\n5. Machine B: ??? issues.jsonl exists but project.db is empty/stale\n\nThe missing step is: bd import --db .beads/project.db -i .beads/issues.jsonl\n\nThis needs to be either:\na) Documented clearly in workflow docs\nb) Automated (e.g., git hook, or bd auto-imports if jsonl is newer than db)\nc) Both\n\nReal-world impact: User had Claude Code on GCP VM create vc issues from BOOTSTRAP.md. They were exported to issues.jsonl and committed. But on local machine, vc.db was empty until manual import was run.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.546424-07:00","closed_at":"2025-10-14T02:51:52.199766-07:00","source_repo":"."} {"id":"bd-660","content_hash":"4229ac101fcebba421ad7fcf9f4983e3e45fd6635c09785440a7b08dc537b336","title":"Agent 2 Issue 61","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.66917-07:00","updated_at":"2025-10-21T00:29:10.66917-07:00","source_repo":"."} {"id":"bd-661","content_hash":"7569cb315428e882453eb5c63c0ba30fa10f720c53b816bb66c8e2b8eac13ea2","title":"Agent 2 Issue 62","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.669564-07:00","updated_at":"2025-10-21T00:29:10.669564-07:00","source_repo":"."} {"id":"bd-662","content_hash":"d394c9ff4b008bc1194ffd154919f3c3d8a4007fa0d0b22742b7fba2318b9dc8","title":"Agent 2 Issue 63","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.669983-07:00","updated_at":"2025-10-21T00:29:10.669983-07:00","source_repo":"."} @@ -2113,6 +2265,7 @@ {"id":"bd-667","content_hash":"4cb56221b120248915dac270c3612dc4e9251a045eb5a503c24c8c373feabd80","title":"Agent 2 Issue 68","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.67203-07:00","updated_at":"2025-10-21T00:29:10.67203-07:00","source_repo":"."} {"id":"bd-668","content_hash":"61b6f8e22aa2e56f000105c55c99965a68244e25f145c82cbaf524b06c8b7828","title":"Agent 2 Issue 69","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.672437-07:00","updated_at":"2025-10-21T00:29:10.672437-07:00","source_repo":"."} {"id":"bd-669","content_hash":"086784723625314b81e967b15f5f53e8eee7752933ba95edc6a8cb14b56720de","title":"Agent 2 Issue 70","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.672841-07:00","updated_at":"2025-10-21T00:29:10.672841-07:00","source_repo":"."} +{"id":"bd-67","content_hash":"69157e48755b9397aed2881b84ce2431a626f967cd5aa139b4b7dc8a08997a34","title":"Root issue for dep tree test","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.546593-07:00","closed_at":"2025-10-16T10:07:34.1266-07:00","source_repo":"."} {"id":"bd-670","content_hash":"e3520beffc63b595566605151b1f6bbaf56708576301f0edf7578043b06bed5b","title":"Agent 2 Issue 71","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.673247-07:00","updated_at":"2025-10-21T00:29:10.673247-07:00","source_repo":"."} {"id":"bd-671","content_hash":"64137936cb8853bde93fcf1c0225b56672ceff252df75c5d73d40f26d1cebfa9","title":"Agent 2 Issue 72","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.673639-07:00","updated_at":"2025-10-21T00:29:10.673639-07:00","source_repo":"."} {"id":"bd-672","content_hash":"6c97bf2d11c18fae129ccb6847f48f5a19dd0440ae1c0a7582c70f9ba1c6cb37","title":"Agent 2 Issue 73","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.674086-07:00","updated_at":"2025-10-21T00:29:10.674086-07:00","source_repo":"."} @@ -2123,6 +2276,7 @@ {"id":"bd-677","content_hash":"49ae1b34e57c0cd01d3160a71d713d2f9079c66c884a678e0843d9327ba4c097","title":"Agent 4 Issue 2","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.676628-07:00","updated_at":"2025-10-21T00:29:10.676628-07:00","source_repo":"."} {"id":"bd-678","content_hash":"a03f9be4777e5a953fb09fdd98326c3d03de912b8630da7db04235c9fcf373fd","title":"Agent 4 Issue 3","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.677074-07:00","updated_at":"2025-10-21T00:29:10.677074-07:00","source_repo":"."} {"id":"bd-679","content_hash":"ee0c83fe902260a9f2a5216bb8ea50daa65c377b0e27b1b512e5086cfb133dbf","title":"Agent 4 Issue 4","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.677467-07:00","updated_at":"2025-10-21T00:29:10.677467-07:00","source_repo":"."} +{"id":"bd-68","content_hash":"f95e8ce9237ea2d5950e01c9b9288aa7ba0ccf92f148a3135f6cd76d19296cb0","title":"Dependency A","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.546761-07:00","closed_at":"2025-10-16T10:07:34.126732-07:00","source_repo":"."} {"id":"bd-680","content_hash":"0574b58a5c2ac294572e85bbe1fc31c1de5f03d67155e10e733062353f7b04fb","title":"Agent 4 Issue 5","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.677887-07:00","updated_at":"2025-10-21T00:29:10.677887-07:00","source_repo":"."} {"id":"bd-681","content_hash":"ef75a7095961e9d6d6bfecf65e6d95064ef904e4756c836fd9f96772e6bb1b1d","title":"Agent 4 Issue 6","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.678346-07:00","updated_at":"2025-10-21T00:29:10.678346-07:00","source_repo":"."} {"id":"bd-682","content_hash":"e3a54bf40d590916cd488d63f75929475ffcbf080042bcdd177f748682c243f3","title":"Agent 4 Issue 7","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.678778-07:00","updated_at":"2025-10-21T00:29:10.678778-07:00","source_repo":"."} @@ -2133,6 +2287,7 @@ {"id":"bd-687","content_hash":"d02780844c6a7da5439447cb1a0fa135c4626f0bffab4bce4884ac546140dfe1","title":"Agent 4 Issue 12","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.680725-07:00","updated_at":"2025-10-21T00:29:10.680725-07:00","source_repo":"."} {"id":"bd-688","content_hash":"60d8479d968bd8d565f1c77c504a87d8ff4c4fc822cf3c8b307c2787cd140fe9","title":"Agent 4 Issue 13","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.68108-07:00","updated_at":"2025-10-21T00:29:10.68108-07:00","source_repo":"."} {"id":"bd-689","content_hash":"3feb3beb2d13485d1165323d2fe80079d4f382da19af7994356035ffaa3386c5","title":"Agent 4 Issue 14","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.68143-07:00","updated_at":"2025-10-21T00:29:10.68143-07:00","source_repo":"."} +{"id":"bd-69","content_hash":"92ac650066809cf490bd634d58b6cd8bc431bbc2d5bac1d3b5117c6d16859eb4","title":"Dependency B","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.546919-07:00","closed_at":"2025-10-16T10:07:34.126858-07:00","source_repo":"."} {"id":"bd-690","content_hash":"8544c982fae0600230beb17f7588a4f31c2c8a9e3d60b874b6bfd2e5f296dd1c","title":"Agent 4 Issue 15","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.681799-07:00","updated_at":"2025-10-21T00:29:10.681799-07:00","source_repo":"."} {"id":"bd-691","content_hash":"ea653679ea9fdfb92d985fc10821edc691c21e12b17b8cedd3b3dcc14f31f514","title":"Agent 4 Issue 16","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.682167-07:00","updated_at":"2025-10-21T00:29:10.682167-07:00","source_repo":"."} {"id":"bd-692","content_hash":"8eaf1f883c0f13d434b2a06a2ded3cb046014088a46b8350be933065d7ca376d","title":"Agent 4 Issue 17","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.68255-07:00","updated_at":"2025-10-21T00:29:10.68255-07:00","source_repo":"."} @@ -2149,6 +2304,7 @@ {"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-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-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":"."} @@ -2156,6 +2312,8 @@ {"id":"bd-6sd1","content_hash":"1db772b8c6d380085b5f9b5978cf9c853723c24b5aa9245b307e473ce894d1d5","title":"Issue to close","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T19:00:16.547698-08:00","updated_at":"2025-11-07T19:00:16.570826-08:00","closed_at":"2025-11-07T19:00:16.570826-08:00","source_repo":"."} {"id":"bd-6uix","content_hash":"13189ab05a00f5291ba60c8d3331d7f0d6aacbc9d14da79ca6344214eaf5d1ba","title":"Message System Improvements","description":"Consolidate improvements to the bd message command including core functionality (message reading), reliability (timeouts), validation, and code quality refactoring","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-08T12:55:47.907771-08:00","updated_at":"2025-11-08T12:59:05.802367-08:00","closed_at":"2025-11-08T12:59:05.802367-08:00","source_repo":"."} {"id":"bd-6z7l","content_hash":"96ccdda5d2ef893f70cba842f813665cd3a8ae05cdc5fffef5f8f8a17425f145","title":"Auto-detect scenarios and prompt users","description":"Detect when user is in fork/contributor scenario and prompt with helpful suggestions. Check: git remote relationships, existing .beads config, repo ownership. Suggest appropriate wizard.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T18:04:30.070695-08:00","updated_at":"2025-11-05T19:27:33.074733-08:00","closed_at":"2025-11-05T18:57:03.315476-08:00","source_repo":".","dependencies":[{"issue_id":"bd-6z7l","depends_on_id":"bd-8rd","type":"parent-child","created_at":"2025-11-05T18:04:39.205478-08:00","created_by":"daemon"}]} +{"id":"bd-7","content_hash":"76135ca46573e04081deaa3202314fd984f0b59bf5e77a8b5a85d62bf977d027","title":"Refactor parseMarkdownFile to reduce cyclomatic complexity","description":"The parseMarkdownFile function in cmd/bd/markdown.go has a cyclomatic complexity of 38, which exceeds the recommended threshold of 30. This makes the function harder to understand, test, and maintain.","design":"Split the function into smaller, focused units:\n\n1. parseMarkdownFile(filepath) - Main entry point, handles file I/O\n2. parseMarkdownContent(scanner) - Core parsing logic\n3. processIssueSection(issue, section, content) - Handle section finalization (current switch statement)\n4. parseLabels(content) []string - Extract labels from content\n5. parseDependencies(content) []string - Extract dependencies from content\n6. parsePriority(content) int - Parse and validate priority\n\nBenefits:\n- Each function has a single responsibility\n- Easier to test individual components\n- Lower cognitive load when reading code\n- Better encapsulation of parsing logic","acceptance_criteria":"- parseMarkdownFile complexity \u003c 15\n- New helper functions each have complexity \u003c 10\n- All existing tests still pass\n- No change in functionality or behavior\n- Code coverage maintained or improved","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.547074-07:00","closed_at":"2025-10-14T14:37:17.463352-07:00","source_repo":"."} +{"id":"bd-70","content_hash":"6bb262a6d5d290dc6a37b61d861373f32efab9cc799ddaeb70e958e47ddcd7b7","title":"Shared dependency C","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.547241-07:00","closed_at":"2025-10-16T10:07:34.12808-07:00","source_repo":"."} {"id":"bd-700","content_hash":"e0aac4fa69f971ea1fa4e02641d54dfd981e4db0b27534bc9c97cae3d2c64a9f","title":"Agent 4 Issue 25","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.68598-07:00","updated_at":"2025-10-21T00:29:10.68598-07:00","source_repo":"."} {"id":"bd-701","content_hash":"6c85aaa765be8e0851f01047465418c753ffecb2f876b980d2802723eb58666d","title":"Agent 4 Issue 26","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.686411-07:00","updated_at":"2025-10-21T00:29:10.686411-07:00","source_repo":"."} {"id":"bd-702","content_hash":"5c3d5d7e5f6790c72a91cd499984b2a5c23a3c631a0580659dd5d61e36d9ef20","title":"Agent 4 Issue 27","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.686816-07:00","updated_at":"2025-10-21T00:29:10.686816-07:00","source_repo":"."} @@ -2167,6 +2325,7 @@ {"id":"bd-707","content_hash":"58d68e618f7a76b67ce4f300b347f48faa7472e76dc29d4cb542d1210cb79d30","title":"Agent 4 Issue 32","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.688835-07:00","updated_at":"2025-10-21T00:29:10.688835-07:00","source_repo":"."} {"id":"bd-708","content_hash":"08e423322a794a7343859eee34926f9e4cd2751abedda74dad0c1270a825072f","title":"Agent 4 Issue 33","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.689222-07:00","updated_at":"2025-10-21T00:29:10.689222-07:00","source_repo":"."} {"id":"bd-709","content_hash":"a7406a19ba57b825654eba21323ee22ce9c05e29e0709aa71605b3109e821db6","title":"Agent 4 Issue 34","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.689662-07:00","updated_at":"2025-10-21T00:29:10.689662-07:00","source_repo":"."} +{"id":"bd-71","content_hash":"ba38852c9db9215f42098085891353c53924807b3fa915d231432bd5b33f4c8a","title":"Implement reserved database name _.db","description":"Auto-detection now skips .beads/_.db to prevent pollution when beads dogfoods itself. This allows beads to use its own issue tracker without interfering with other projects using beads in the same directory tree. Implementation includes filtering in findDatabase(), stopping directory walk when .beads/ is found, and documentation in README.md and CLAUDE.md.","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.547437-07:00","closed_at":"2025-10-14T02:51:52.199832-07:00","source_repo":"."} {"id":"bd-710","content_hash":"13f4afc0707c4971875bcdc390b977eb6f490f0f6c402fd4103b6e19362843bf","title":"Agent 4 Issue 35","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.690131-07:00","updated_at":"2025-10-21T00:29:10.690131-07:00","source_repo":"."} {"id":"bd-710a4916","content_hash":"f868eafd3460dccd57e0c50a27ad7fb273547d37dad7eb83efd3678106fad62a","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,-1","status":"closed","priority":3,"issue_type":"feature","created_at":"2025-10-29T10:23:57.978339-07:00","updated_at":"2025-11-08T01:49:23.457916-08:00","closed_at":"2025-11-08T00:54:51.171319-08:00","source_repo":"."} {"id":"bd-711","content_hash":"e841260e9606040bfaa88286977a020f659fedb4bcc647b6ce8c5ea75c1dbbec","title":"Agent 4 Issue 36","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.690553-07:00","updated_at":"2025-10-21T00:29:10.690553-07:00","source_repo":"."} @@ -2180,6 +2339,7 @@ {"id":"bd-718","content_hash":"d6bca1d7f3543c975fb45dce7fdfc171fe445879b468d36f8984f355d1cab7ef","title":"Agent 4 Issue 43","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.69358-07:00","updated_at":"2025-10-21T00:29:10.69358-07:00","source_repo":"."} {"id":"bd-719","content_hash":"6b23d632fb6fcf02aca1e5314a7cd1fb4258632dd660c915ae8adaa0b3b5583d","title":"Agent 4 Issue 44","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.693985-07:00","updated_at":"2025-10-21T00:29:10.693985-07:00","source_repo":"."} {"id":"bd-71ky","content_hash":"83942b83e4bdf8446d1fa2309145e6469d80e3992ab4fdc9eea704fa3920afac","title":"Fix bd --version and bd completion to work without database","description":"","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-08T02:06:00.78393-08:00","updated_at":"2025-11-08T02:06:11.452474-08:00","closed_at":"2025-11-08T02:06:11.452474-08:00","source_repo":"."} +{"id":"bd-72","content_hash":"10177e5d5991de1dcfc1e767fc0d5747e9b088ee4dbe72cce491a19823fd7c5f","title":"Epic test","description":"","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.547638-07:00","closed_at":"2025-10-16T10:07:34.128633-07:00","source_repo":"."} {"id":"bd-720","content_hash":"fefb4253c8637007e4d5bb4c18591f593fc409ebad10195034453fb97f4b20de","title":"Agent 4 Issue 45","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.69439-07:00","updated_at":"2025-10-21T00:29:10.69439-07:00","source_repo":"."} {"id":"bd-721","content_hash":"2ffaf37606c0250b258958fc92620054cbc79b6ca64963de8adbf4d20b3e2d39","title":"Agent 4 Issue 46","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.694828-07:00","updated_at":"2025-10-21T00:29:10.694828-07:00","source_repo":"."} {"id":"bd-722","content_hash":"974ae6612d7c57e3a49ca1350c37cf9a60185324f990403e8f03a301d17136b5","title":"Agent 4 Issue 47","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.695245-07:00","updated_at":"2025-10-21T00:29:10.695245-07:00","source_repo":"."} @@ -2191,6 +2351,7 @@ {"id":"bd-728","content_hash":"1a6495792bc29992959e5d198f7121c1366a3362c07ef03209e97b1e357703bd","title":"Agent 4 Issue 53","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.697907-07:00","updated_at":"2025-10-21T00:29:10.697907-07:00","source_repo":"."} {"id":"bd-729","content_hash":"01b89e3859f9fff05c565c1825f2620e5cac8615af2d2171d3ea40fa82891b80","title":"Agent 4 Issue 54","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.698332-07:00","updated_at":"2025-10-21T00:29:10.698332-07:00","source_repo":"."} {"id":"bd-72w","content_hash":"55110afd5c4cd8e94796fe61fada9e32351e76f7fca57ce15e52fe6443e6e117","title":"Q4 Platform Improvements","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-03T19:54:03.794244-08:00","updated_at":"2025-11-05T00:25:06.51152-08:00","closed_at":"2025-11-05T00:25:06.51152-08:00","source_repo":".","labels":["epic"]} +{"id":"bd-73","content_hash":"539bea5ad0e880f5424b381c1cf368de95d9a6b9042e5c3caa98920af741a2c0","title":"Add test for deep hierarchy blocking (50+ levels)","description":"Current tests verify 2-level depth (grandparent → parent → child). The depth limit is hardcoded to 50 in the recursive CTE, but we don't test edge cases near that limit.\n\n**Test cases needed:**\n1. Verify 50-level deep hierarchy works correctly\n2. Verify depth limit prevents runaway recursion\n3. Measure performance impact of deep hierarchies\n4. Consider if 50 is the right limit (why not 100? why not 20?)\n\n**Rationale:**\n- Most hierarchies are 2-5 levels deep\n- But pathological cases (malicious or accidental) could create 50+ level nesting\n- Need to ensure graceful degradation, not catastrophic failure\n\n**Implementation:**\nAdd TestDeepHierarchyBlocking to ready_test.go","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.547807-07:00","closed_at":"2025-10-18T16:47:05.347564-07:00","source_repo":"."} {"id":"bd-730","content_hash":"0a28257f4805b214eafa943b854462918dc8d4dd3974369648b15b7fc33f9e75","title":"Agent 4 Issue 55","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.698772-07:00","updated_at":"2025-10-21T00:29:10.698772-07:00","source_repo":"."} {"id":"bd-731","content_hash":"88801b52a6549eac481e20b1c207c8734e98e3964aa2bda167b136b6182a438e","title":"Agent 4 Issue 56","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.69919-07:00","updated_at":"2025-10-21T00:29:10.69919-07:00","source_repo":"."} {"id":"bd-7315","content_hash":"81137222aba60b33d3bcd7637891cf94547b5c876a1608e3e3370a578ba165f3","title":"Add validation for duplicate external_ref in batch imports","description":"Currently, if a batch import contains multiple issues with the same external_ref, the behavior is undefined. We should detect and handle this case.\n\nCurrent behavior:\n- No validation for duplicate external_ref within a batch\n- Last-write-wins or non-deterministic behavior\n\nProposed solution:\n- Detect duplicate external_ref values in incoming batch\n- Fail with clear error message OR\n- Merge duplicates intelligently (use newest timestamp)\n- Add test case for this scenario\n\nRelated: bd-1022","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-02T15:31:55.85634-08:00","updated_at":"2025-11-02T16:03:50.374552-08:00","closed_at":"2025-11-02T16:03:50.374552-08:00","source_repo":"."} @@ -2206,6 +2367,7 @@ {"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":"298e5922cb0e6460d1cf14d2b7230c63403e72fcb511fb31d3fe2e2f241fd18a","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":"."} {"id":"bd-742","content_hash":"52dc9e29f954acf223437e7818c257bc0db5053258bfdec7c760a74b691cbd8c","title":"Agent 4 Issue 67","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.703786-07:00","updated_at":"2025-10-21T00:29:10.703786-07:00","source_repo":"."} @@ -2217,6 +2379,7 @@ {"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-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":"."} {"id":"bd-752","content_hash":"187d72a6dd116915d38788099eba81b6748f5104a17075f71aaa0bcfb52c15f9","title":"Agent 4 Issue 77","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.708192-07:00","updated_at":"2025-10-21T00:29:10.708192-07:00","source_repo":"."} @@ -2227,6 +2390,7 @@ {"id":"bd-757","content_hash":"87fc1c2b44d35d7da508ea2631efa9c707c72a65258c014502f99c323933e37f","title":"Agent 4 Issue 82","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.710301-07:00","updated_at":"2025-10-21T00:29:10.710301-07:00","source_repo":"."} {"id":"bd-758","content_hash":"3d4754648f53d341765a442523718343210cda3ad537cf7f29f7a8692eb2cf9f","title":"Agent 4 Issue 83","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.710719-07:00","updated_at":"2025-10-21T00:29:10.710719-07:00","source_repo":"."} {"id":"bd-759","content_hash":"7f5516b62b0904d8843e97c29731a014fef05f2b3d329e74c850bbf2d9fad4ee","title":"Agent 4 Issue 84","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.711151-07:00","updated_at":"2025-10-21T00:29:10.711151-07:00","source_repo":"."} +{"id":"bd-76","content_hash":"f1c910f4d5aef1eec3bc1d71d18ddd28b82a1efc7d6f552d0b21cde40d34c373","title":"Sub-task under B","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.548293-07:00","closed_at":"2025-10-16T10:07:34.130241-07:00","source_repo":"."} {"id":"bd-760","content_hash":"c1d96f4bd43dfa32e6c9bffeb7952636b594f5ce45513a41d386b11849237103","title":"Agent 4 Issue 85","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.711584-07:00","updated_at":"2025-10-21T00:29:10.711584-07:00","source_repo":"."} {"id":"bd-761","content_hash":"db45b7511f83f4d404fc392c264b85c48aa1cb25d0a55e3e091540d2f8a86e13","title":"Agent 4 Issue 86","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.71201-07:00","updated_at":"2025-10-21T00:29:10.71201-07:00","source_repo":"."} {"id":"bd-762","content_hash":"7a498e5d33c0b59348d553dfc8702df0fc2e9b72cf85f99a563a7ba894c14f10","title":"Agent 4 Issue 87","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.712422-07:00","updated_at":"2025-10-21T00:29:10.712422-07:00","source_repo":"."} @@ -2239,6 +2403,7 @@ {"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":"66fd2d53d97eb8dcb3231e82702ca7eb0f1887dc9b3ee2b2865e0d5158ca7311","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":"."} {"id":"bd-772","content_hash":"1bc1dd4a253ae961bd57f4fbfba48a9d405e50f537803edfe2c3f3b4b4ce104a","title":"Agent 4 Issue 97","description":"Created by agent 4","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.716691-07:00","updated_at":"2025-10-21T00:29:10.716691-07:00","source_repo":"."} @@ -2250,6 +2415,7 @@ {"id":"bd-778","content_hash":"4aa3d96ff184793e66915ec40563cd69181c6313cb70ad5b6f825294250e806a","title":"Agent 2 Issue 79","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.71947-07:00","updated_at":"2025-10-21T00:29:10.71947-07:00","source_repo":"."} {"id":"bd-779","content_hash":"9ee997171b3bb37beb67a03b5389783b3e77f7cd23c33b965957837236503ef5","title":"Agent 2 Issue 80","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.719924-07:00","updated_at":"2025-10-21T00:29:10.719924-07:00","source_repo":"."} {"id":"bd-77gm","content_hash":"b227320f0cf0c889a1e0d617922c572a48eee563c9afb1662b44a22e183c0c80","title":"Import reports misleading '0 created, 0 updated' when actually importing all issues","description":"When running 'bd import' on a fresh database (no existing issues), the command reports 'Import complete: 0 created, 0 updated' even though it successfully imported all issues from the JSONL file.\n\n**Steps to reproduce:**\n1. Delete .beads/beads.db\n2. Run: bd import .beads/issues.jsonl\n3. Observe output: 'Import complete: 0 created, 0 updated'\n4. Run: bd list\n5. Confirm: All issues are actually present in the database\n\n**Expected behavior:**\nReport the actual number of issues imported, e.g., 'Import complete: 523 created, 0 updated'\n\n**Actual behavior:**\n'Import complete: 0 created, 0 updated' (misleading - makes user think import failed)\n\n**Impact:**\n- Users think import failed when it succeeded\n- Confusing during database sync operations (e.g., after git pull)\n- Makes debugging harder (can't tell if import actually worked)\n\n**Context:**\nDiscovered during VC session when syncing database after git pull. The misleading message caused confusion about whether the database was properly synced with the canonical JSONL file.","acceptance_criteria":"- Import command reports accurate count of created/updated issues\n- Fresh database import shows 'N created' where N is the actual number\n- Update operations show 'N updated' where N is the actual number changed\n- Message clearly indicates success vs failure","status":"open","priority":2,"issue_type":"bug","created_at":"2025-11-09T16:20:13.191156-08:00","updated_at":"2025-11-09T16:20:13.191156-08:00","source_repo":"."} +{"id":"bd-78","content_hash":"4537352d3f6b8d7fccde1ca3327f9665782811cc3d248884f16b6fcda7c4d494","title":"Final test","description":"Testing with new binary","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T20:46:08.971822-07:00","updated_at":"2025-10-21T00:25:40.548613-07:00","closed_at":"2025-10-16T10:07:22.488597-07:00","source_repo":"."} {"id":"bd-780","content_hash":"857423a5b67b34ed3e0b267ff77688feff6ad655224449f6e8962ba33304aa9e","title":"Agent 2 Issue 81","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.720355-07:00","updated_at":"2025-10-21T00:29:10.720355-07:00","source_repo":"."} {"id":"bd-781","content_hash":"c991b80d2c10c1dfb57e10da68b6b814f563b18ca25d59b4fe28ea8e146b6165","title":"Agent 2 Issue 82","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.721005-07:00","updated_at":"2025-10-21T00:29:10.721005-07:00","source_repo":"."} {"id":"bd-782","content_hash":"e98086e9c97e80fa41a9deb9de79d28bfeca948a5c6687b58859c9951831bed0","title":"Agent 2 Issue 83","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.721459-07:00","updated_at":"2025-10-21T00:29:10.721459-07:00","source_repo":"."} @@ -2261,6 +2427,7 @@ {"id":"bd-788","content_hash":"8d7d603474694e52712f2f93640ea4c508235a263d1e0bd2aa13462d837a92c1","title":"Agent 2 Issue 89","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.724062-07:00","updated_at":"2025-10-21T00:29:10.724062-07:00","source_repo":"."} {"id":"bd-789","content_hash":"895c8301328a2a1d15f72cb0abb4d9e8270353ac20800eeab987ac9721655664","title":"Agent 2 Issue 90","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.724477-07:00","updated_at":"2025-10-21T00:29:10.724477-07:00","source_repo":"."} {"id":"bd-78w","content_hash":"dd79ef79bf68b3a87f3a5b8d50fdfba9d6c6f7e6d728713e37dd34cf9fff835e","title":"Test Epic 2","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.878216-08:00","updated_at":"2025-11-05T00:25:06.566242-08:00","closed_at":"2025-11-05T00:25:06.566242-08:00","source_repo":".","labels":["epic"]} +{"id":"bd-79","content_hash":"9f6ba28ffe402e2eed9ef46c22a663dcc8b88d0e514ec4d2830b80b98e52d206","title":"Fix renumbering temp ID collision bug","description":"bd renumber --force fails with UNIQUE constraint error when trying to assign temp IDs:\n\nError: failed to rename bd-59 to temp ID: failed to update issue ID: constraint failed: UNIQUE constraint failed: issues.id (1555)\n\nThe temp ID generation logic in renumber.go doesn't guarantee unique IDs. Need to:\n1. Use a temp ID strategy that can't collide (e.g., prefix with 'temp-', use UUIDs, or use high numbers like 999999+)\n2. Verify temp IDs don't exist before using them\n3. Add test case for renumbering with various ID gaps\n\nReproduced when renumbering 107 issues with gaps (IDs 1-344 compacting to 1-107).","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-16T21:13:38.519915-07:00","updated_at":"2025-10-21T00:25:40.548762-07:00","closed_at":"2025-10-16T21:19:18.49592-07:00","source_repo":"."} {"id":"bd-790","content_hash":"b28b99911771024fec1e1a74ad6b91697d0c35901ca84d92cde5ec6c5aee2daf","title":"Agent 2 Issue 91","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.724913-07:00","updated_at":"2025-10-21T00:29:10.724913-07:00","source_repo":"."} {"id":"bd-791","content_hash":"44f182ff0abe47bc7af3e0326a158daeec41091a2df61ff91f4ab9e4d12bcb95","title":"Agent 2 Issue 92","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.725345-07:00","updated_at":"2025-10-21T00:29:10.725345-07:00","source_repo":"."} {"id":"bd-792","content_hash":"67f13c3faee184617f5d676d58a209e87011c0438e2fcfb1f45d502d0e812e83","title":"Agent 2 Issue 93","description":"Created by agent 2","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.725774-07:00","updated_at":"2025-10-21T00:29:10.725774-07:00","source_repo":"."} @@ -2280,11 +2447,13 @@ {"id":"bd-7da9437e","content_hash":"74f3d9016d544b94a35adb125c1186037461a802f77452fefcbe12e7cf98e851","title":"Latency test","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T15:28:52.729923-07:00","updated_at":"2025-10-31T12:00:43.184758-07:00","closed_at":"2025-10-31T12:00:43.184758-07:00","source_repo":"."} {"id":"bd-7e0d6660","content_hash":"84f212d47832be4670333dc0148e3de158ca3a2dc7cb68b992f8536409272cfb","title":"Handle unchecked errors (errcheck - 683 issues)","description":"683 unchecked error returns, mostly in tests (Close, Rollback, RemoveAll). Many already excluded in config but still showing up.","design":"Review .golangci.yml exclude-rules. Most defer Close/Rollback errors in tests can be ignored. Add systematic exclusions or explicit _ = assignments where appropriate.","notes":"Fixed all errcheck warnings in production code:\n- Enabled errcheck linter (was disabled)\n- Set tests: false in .golangci.yml to focus on production code\n- Fixed 27 total errors in production code using Oracle guidance:\n * Database patterns: defer func() { _ = rows.Close() }() and defer func() { _ = tx.Rollback() }()\n * Best-effort closers: _ = store.Close(), _ = client.Close()\n * Proper error handling for file writes, fmt.Scanln(), os.Remove()\n- All tests pass\n- Only 2 \"unused\" linter warnings remain (not errcheck)","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-27T23:20:10.392336-07:00","updated_at":"2025-10-30T17:12:58.215288-07:00","closed_at":"2025-10-27T23:05:31.945328-07:00","source_repo":"."} {"id":"bd-7e7ddffa","content_hash":"80a5b60d066d509bbd8d0f1340a16ea1d989d9178910155da3ff2c8df245b9c9","title":"Repair Commands \u0026 AI-Assisted Tooling","description":"Add specialized repair tools to reduce agent repair burden:\n1. Git merge conflicts in JSONL\n2. Duplicate issues from parallel work\n3. Semantic inconsistencies\n4. Orphaned references\n\nSee ~/src/fred/beads/repair_commands.md for full design doc.\n\nReduces agent repair time from 5-10 minutes to \u003c30 seconds per repair.","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-28T19:30:17.465812-07:00","updated_at":"2025-11-02T16:40:51.866302-08:00","closed_at":"2025-11-02T16:40:51.866302-08:00","source_repo":"."} -{"id":"bd-7e7ddffa.1","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-10-28T14:48:30.083642-07:00","updated_at":"2025-11-02T16:40:46.620251-08:00","closed_at":"2025-11-02T16:40:46.620251-08:00","source_repo":".","dependencies":[{"issue_id":"bd-7e7ddffa.1","depends_on_id":"bd-7e7ddffa","type":"parent-child","created_at":"2025-10-29T19:58:28.847736-07:00","created_by":"stevey"}]} +{"id":"bd-7e7ddffa.1","content_hash":"df6de1f6a58a995d979a7be59c2fb38800e81b96e8fa0bd39980f8bf9f1a4f37","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":"open","priority":1,"issue_type":"task","created_at":"2025-10-28T14:48:30.083642-07:00","updated_at":"2025-10-30T17:12:58.220145-07:00","source_repo":".","dependencies":[{"issue_id":"bd-7e7ddffa.1","depends_on_id":"bd-7e7ddffa","type":"parent-child","created_at":"2025-10-29T19:58:28.847736-07:00","created_by":"stevey"}]} {"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":"35b394c75f08f60e3a8bf4cb5f837fd7644ae1bbc7a050d0f4b78d01c9e7a33e","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":"."} {"id":"bd-801","content_hash":"10022e0a919674bf8ad763754c55fc6856873d2ceb6067ad2c648e9d3a4ecb31","title":"Agent 6 Issue 2","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.729905-07:00","updated_at":"2025-10-21T00:29:10.729905-07:00","source_repo":"."} {"id":"bd-802","content_hash":"0858997f9cdd0967bc75ab7de0949372fd0cd6ecd8ac84cc5e5561dad0b22dd9","title":"Agent 6 Issue 3","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.730376-07:00","updated_at":"2025-10-21T00:29:10.730376-07:00","source_repo":"."} @@ -2296,6 +2465,7 @@ {"id":"bd-8072","content_hash":"32bd0e33433bbf535cb56eb47828ac80ebecc57512e9039420a39cd2342790d2","title":"Add import.orphan_handling config option","description":"Add configuration option to control orphan handling behavior: 'strict' (fail on missing parent, current behavior), 'resurrect' (auto-resurrect from JSONL, recommended default), 'skip' (skip orphaned issues with warning), 'allow' (import orphans without validation). Update CONFIG.md documentation.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T12:32:08.569239-08:00","updated_at":"2025-11-05T00:44:27.948157-08:00","closed_at":"2025-11-05T00:44:27.94816-08:00","source_repo":"."} {"id":"bd-808","content_hash":"2a1efb866f86e37fa3553d3e886c3b5bb19df2a5705019fc8f2b6644a6cf77d7","title":"Agent 6 Issue 9","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.733142-07:00","updated_at":"2025-10-21T00:29:10.733142-07:00","source_repo":"."} {"id":"bd-809","content_hash":"7cf68bf2a3b72428424e130737b224f9afe03d1d6428e3292de5b51ed8ca506d","title":"Agent 6 Issue 10","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.733609-07:00","updated_at":"2025-10-21T00:29:10.733609-07:00","source_repo":"."} +{"id":"bd-81","content_hash":"b493890746f60057e5920b842ef0528e052d365eb729fea09ae60e7338c18d1c","title":"Phase 1: Implement RPC protocol infrastructure","description":"Create the foundation for daemon-client communication using Unix sockets and JSON.\n\nNew files to create:\n- internal/rpc/protocol.go - Request/response types, operations enum\n- internal/rpc/server.go - Unix socket server that daemon runs\n- internal/rpc/client.go - Client library for bd commands to use\n\nSocket location: .beads/bd.sock (per-repo)\n\nOperations to support initially: create, update, list, show, close, ready, stats","design":"protocol.go defines:\n- Request struct with Operation string and Args json.RawMessage\n- Response struct with Success bool, Data json.RawMessage, Error string\n- Operation constants for all bd commands\n\nserver.go implements:\n- Unix socket listener on .beads/bd.sock\n- Request handler that dispatches to storage layer\n- Graceful shutdown on signals\n\nclient.go implements:\n- TryConnect() to detect running daemon\n- Execute(operation, args) to send RPC request\n- Connection pooling/reuse for performance","acceptance_criteria":"- internal/rpc package compiles without errors\n- Server can accept and respond to simple ping request\n- Client can connect to socket and receive response\n- Unit tests for protocol serialization/deserialization\n- Socket cleanup on server shutdown","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-16T21:54:48.83081-07:00","updated_at":"2025-10-21T00:25:40.54924-07:00","closed_at":"2025-10-16T22:02:40.675096-07:00","source_repo":"."} {"id":"bd-810","content_hash":"f1067b7ce6c8010bf82d14f35d904ec69ac69ca1083958686b997e9e070466c3","title":"Agent 6 Issue 11","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.734341-07:00","updated_at":"2025-10-21T00:29:10.734341-07:00","source_repo":"."} {"id":"bd-811","content_hash":"6a6499ac9b1da23f50cae96691714afe7ac5e171b1a4d0c7a924fc3208df985f","title":"Agent 6 Issue 12","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.734809-07:00","updated_at":"2025-10-21T00:29:10.734809-07:00","source_repo":"."} {"id":"bd-812","content_hash":"e50536fc48a0e7d8422593be25e52387ff3526765f6e90a64cea81900b9bf2e0","title":"Agent 6 Issue 13","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.735266-07:00","updated_at":"2025-10-21T00:29:10.735266-07:00","source_repo":"."} @@ -2309,6 +2479,7 @@ {"id":"bd-819","content_hash":"1c102656dbeff8213db50c0947e1a67770b915a15871657785b205e1df09727b","title":"Agent 6 Issue 20","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.73832-07:00","updated_at":"2025-10-21T00:29:10.73832-07:00","source_repo":"."} {"id":"bd-81a","content_hash":"0f43da9e36bc3c5db20f302b82021377685a9425f519a36bab5a2cf1b85f13d8","title":"Add programmatic tip injection API","description":"Allow tips to be programmatically injected at runtime based on detected conditions. This enables dynamic tips (not just pre-defined ones) to be shown with custom priority and frequency.","design":"## API Design\n\nAdd to `cmd/bd/tips.go`:\n\n```go\n// InjectTip adds a dynamic tip to the registry at runtime\nfunc InjectTip(id, message string, priority int, frequency time.Duration, probability float64, condition func() bool) {\n tipsMutex.Lock()\n defer tipsMutex.Unlock()\n \n tips = append(tips, Tip{\n ID: id,\n Condition: condition,\n Message: message,\n Frequency: frequency,\n Priority: priority,\n Probability: probability,\n })\n}\n\n// RemoveTip removes a tip from the registry\nfunc RemoveTip(id string) {\n tipsMutex.Lock()\n defer tipsMutex.Unlock()\n \n for i, tip := range tips {\n if tip.ID == id {\n tips = append(tips[:i], tips[i+1:]...)\n return\n }\n }\n}\n```\n\n## Use Cases\n\n### Example 1: Critical Security Update\n```go\n// In bd version check code\nif criticalSecurityUpdate {\n InjectTip(\n \"security_update\",\n fmt.Sprintf(\"CRITICAL: Security update available (bd %s). Update immediately!\", remoteVersion),\n 100, // Highest priority\n 0, // No frequency limit\n 1.0, // Always show (100% probability)\n func() bool { return true },\n )\n}\n```\n\n### Example 2: New Version Available\n```go\n// In bd version check code\nif remoteVersion \u003e currentVersion {\n InjectTip(\n \"upgrade_available\",\n fmt.Sprintf(\"New bd version %s available (you have %s). Run: go install github.com/steveyegge/beads/cmd/bd@latest\", remoteVersion, currentVersion),\n 90, // High priority\n 7 * 24 * time.Hour, // Weekly\n 0.8, // 80% probability (frequent but not always)\n func() bool { return true },\n )\n}\n```\n\n### Example 3: Large Issue Count Suggestion\n```go\n// In bd list code\nif issueCount \u003e 100 {\n InjectTip(\n \"use_filters\",\n \"You have many issues. Use filters: 'bd list --status=open --priority=1'\",\n 50, // Medium priority\n 14 * 24 * time.Hour, // Bi-weekly\n 0.4, // 40% probability (occasional suggestion)\n func() bool { return true },\n )\n}\n```\n\n### Example 4: No Dependencies Used\n```go\n// After analyzing project\nif hasIssues \u0026\u0026 noDependenciesCreated {\n InjectTip(\n \"try_dependencies\",\n \"Try using dependencies: 'bd dep \u003cissue\u003e \u003cblocks-issue\u003e' to track blockers\",\n 30, // Low priority\n 30 * 24 * time.Hour, // Monthly\n 0.3, // 30% probability (low-key suggestion)\n func() bool { return true },\n )\n}\n```\n\n## Probability Guidelines\n\n- **1.0 (100%)**: Critical security, breaking changes, data loss prevention\n- **0.7-0.9 (70-90%)**: Important updates, major new features\n- **0.4-0.6 (40-60%)**: General tips, workflow improvements, feature discovery\n- **0.1-0.3 (10-30%)**: Nice-to-know features, advanced tips, optional optimizations\n\n## Thread Safety\n- Use mutex to protect tip registry\n- Safe for concurrent command execution\n- Deterministic testing via BEADS_TIP_SEED env var","acceptance_criteria":"- InjectTip() API exists and is documented\n- RemoveTip() API exists\n- Thread-safe with mutex protection\n- Can inject tips from any command\n- Injected tips participate in priority/frequency rotation\n- Unit tests for injection API\n- Example usage in code comments","status":"open","priority":2,"issue_type":"feature","created_at":"2025-11-11T23:29:46.645583-08:00","updated_at":"2025-11-11T23:50:12.209135-08:00","source_repo":".","dependencies":[{"issue_id":"bd-81a","depends_on_id":"bd-d4i","type":"blocks","created_at":"2025-11-11T23:29:46.646327-08:00","created_by":"daemon"}]} {"id":"bd-81abb639","content_hash":"ddf6496e654e8cd8e69620a08e2d607d8c8bda152a8dc884908e29747d39376d","title":"Investigate jujutsu VCS as potential solution for conflict-free merging","description":"## Context\nCurrent N-way collision resolution struggles with Git line-based merge model. When 5+ clones create issues with same ID, Git merge conflicts require manual resolution, and our collision resolver can fail during convergence rounds.\n\n## Research Question\nCould jujutsu (jj) provide better conflict handling for JSONL files?\n\n## Jujutsu Overview\n- Next-gen VCS built on libgit2\n- Designed to handle conflicts as first-class citizens\n- Supports conflict-free replicated data types (CRDTs) in some scenarios\n- Better handling of concurrent edits\n- Can work with Git repos (compatible with existing infrastructure)\n\n## Investigation Tasks\n1. JSONL Merge Behavior - How does jj handle line-by-line JSONL conflicts?\n2. Integration Feasibility - Can beads use jj as backend while maintaining Git compatibility?\n3. Conflict Resolution Model - Does jj conflict model map to our collision resolution?\n4. Operational Transform Support - Does jj implement operational transforms?\n\n## Deliverables\n1. Technical report on jj merge algorithm for JSONL\n2. Proof-of-concept: 5-clone collision test using jj instead of Git\n3. Performance comparison: Git vs jj for beads workload\n4. Recommendation: Adopt, experiment further, or abandon\n\n## References\n- https://github.com/martinvonz/jj\n- Related to bd-e6d71828, bd-7a2b58fc","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T20:02:47.953008-07:00","updated_at":"2025-10-30T17:12:58.19464-07:00","closed_at":"2025-10-29T20:47:52.910985-07:00","source_repo":"."} +{"id":"bd-82","content_hash":"42d10b6fa6b4a6577976b4e742f59c22df6f759b6017deb3a991a04530944f48","title":"Phase 2: Add client auto-detection in bd commands","description":"Modify all bd commands to detect if daemon is running and route through RPC client if available, otherwise fall back to direct storage access.\n\nChanges needed:\n- Update cmd/bd/main.go to check for daemon socket on startup\n- Wrap storage calls with TryConnect logic\n- Ensure all commands work identically in both modes\n- Add --no-daemon flag to force direct mode\n\nThis maintains backward compatibility while enabling daemon mode.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-16T22:47:36.185502-07:00","updated_at":"2025-10-21T00:25:40.54941-07:00","closed_at":"2025-10-16T23:05:11.299018-07:00","source_repo":"."} {"id":"bd-820","content_hash":"99bcbab7414880957487946c6a48988d42627240ee4a46739265c008bc3d6c5e","title":"Agent 6 Issue 21","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.738744-07:00","updated_at":"2025-10-21T00:29:10.738744-07:00","source_repo":"."} {"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":"."} @@ -2320,6 +2491,7 @@ {"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-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":"."} {"id":"bd-832","content_hash":"1a9eb8ebfcb1e6fa278c4d17a16c16534df12700f83d6b386c48c9ba4ba0390f","title":"Agent 6 Issue 33","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.744163-07:00","updated_at":"2025-10-21T00:29:10.744163-07:00","source_repo":"."} @@ -2331,6 +2503,7 @@ {"id":"bd-837","content_hash":"e5811ee12ed65350a3f5a40d82bf31e86ed8f1271f955f2813e8e451b63b68a1","title":"Agent 6 Issue 38","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.746434-07:00","updated_at":"2025-10-21T00:29:10.746434-07:00","source_repo":"."} {"id":"bd-838","content_hash":"602cc1b56fb42cc736d50d2cebf35abfa2b8a91b54155b0e6e6fe5cb9de37820","title":"Agent 6 Issue 39","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.746921-07:00","updated_at":"2025-10-21T00:29:10.746921-07:00","source_repo":"."} {"id":"bd-839","content_hash":"46c284ad90d80ffd9c5079dbc58b3bf83da6ccc9eafcf01f931de5285354276b","title":"Agent 6 Issue 40","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.747382-07:00","updated_at":"2025-10-21T00:29:10.747382-07:00","source_repo":"."} +{"id":"bd-84","content_hash":"bfde8b2c470cd0154c5dc5e84aa3e2f98078b3d218fcb01b635c96a4e7001a44","title":"Phase 4: Add atomic operations and stress testing","description":"Implement atomic multi-operation support and test under concurrent load.\n\nFeatures:\n- Batch/transaction API for multi-step operations\n- Request timeout and cancellation support\n- Connection pooling optimization\n- Stress tests with 4+ concurrent agents\n- Performance benchmarks vs direct mode\n- Documentation updates\n\nValidates all acceptance criteria for bd-80.","status":"closed","priority":0,"issue_type":"task","created_at":"2025-10-16T22:47:49.785525-07:00","updated_at":"2025-10-21T00:25:40.549733-07:00","closed_at":"2025-10-16T23:40:29.95134-07:00","source_repo":"."} {"id":"bd-840","content_hash":"d9de812eef08e7d239a4000a0efc96b84e6c9187279de4500e4c738ef07514ea","title":"Agent 6 Issue 41","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.747844-07:00","updated_at":"2025-10-21T00:29:10.747844-07:00","source_repo":"."} {"id":"bd-841","content_hash":"0710f46c498faa0f41cd464008965cc32442e62ec02081b0be42fded6026291e","title":"Agent 6 Issue 42","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.748295-07:00","updated_at":"2025-10-21T00:29:10.748295-07:00","source_repo":"."} {"id":"bd-842","content_hash":"cd7cf288c9f6965b0ba35079668bd62498bdf33adfbd0eceb158c4bb82bea335","title":"Agent 6 Issue 43","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.748742-07:00","updated_at":"2025-10-21T00:29:10.748742-07:00","source_repo":"."} @@ -2341,8 +2514,9 @@ {"id":"bd-847","content_hash":"b10bdddfb9d84ad1764fd1134a231aa5fe4999e722718643f73d8d413555cef3","title":"Agent 6 Issue 48","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.751101-07:00","updated_at":"2025-10-21T00:29:10.751101-07:00","source_repo":"."} {"id":"bd-848","content_hash":"15b5288148edcd6bec5e71a307dd3decaa38f6d90abfbfb8e306e82dfb05d8ee","title":"Agent 6 Issue 49","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.751554-07:00","updated_at":"2025-10-21T00:29:10.751554-07:00","source_repo":"."} {"id":"bd-849","content_hash":"81b346e0e97b611b7ecffd61ebc65ddd53e7049c8e744ec6ff888cd127049cde","title":"Agent 6 Issue 50","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.752016-07:00","updated_at":"2025-10-21T00:29:10.752016-07:00","source_repo":"."} +{"id":"bd-85","content_hash":"4fed9ae79f9c287b02e48ec5178add068b283c445b703983b956e8ad3bc6d944","title":"Add comprehensive daemon tests for RPC integration","description":"Add tests for:\n- RPC server integration (daemon accepts connections)\n- Concurrent client operations\n- Socket cleanup on shutdown\n- Server start failures (socket already exists)\n- Graceful shutdown verification\n\nThese tests were identified in bd-83 code review but not implemented yet.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-10-16T23:28:30.552132-07:00","updated_at":"2025-10-21T00:25:40.549901-07:00","closed_at":"2025-10-16T23:57:54.583646-07:00","source_repo":"."} {"id":"bd-850","content_hash":"3228089d84567e6e59c2d66da0bb5ed0dbfc2226e9088d0fb35c25ce5c5b3c5d","title":"Agent 6 Issue 51","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.752465-07:00","updated_at":"2025-10-21T00:29:10.752465-07:00","source_repo":"."} -{"id":"bd-8507","content_hash":"96a07fcf39392143fa9c75cbc96f54136809609f6ced80dd9581ec9144d54b1f","title":"Publish bd-wasm to npm","description":"Package and publish WASM build to npm. Child of epic bd-44d0.\n\n## Tasks\n- [ ] Optimize WASM bundle (compression)\n- [ ] Create README for npm package\n- [ ] Set up npm publishing workflow\n- [ ] Publish v0.1.0-alpha\n- [ ] Test installation in clean environment\n- [ ] Update beads AGENTS.md with installation instructions\n\n## Package Name\nbd-wasm (or @beads/wasm-cli)","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-02T18:33:31.371535-08:00","updated_at":"2025-11-05T00:55:48.757492-08:00","closed_at":"2025-11-05T00:55:48.757494-08:00","source_repo":".","dependencies":[{"issue_id":"bd-8507","depends_on_id":"bd-197b","type":"blocks","created_at":"2025-11-02T18:33:31.372224-08:00","created_by":"daemon"}]} +{"id":"bd-8507","content_hash":"96a07fcf39392143fa9c75cbc96f54136809609f6ced80dd9581ec9144d54b1f","title":"Publish bd-wasm to npm","description":"Package and publish WASM build to npm. Child of epic bd-44d0.\n\n## Tasks\n- [ ] Optimize WASM bundle (compression)\n- [ ] Create README for npm package\n- [ ] Set up npm publishing workflow\n- [ ] Publish v0.1.0-alpha\n- [ ] Test installation in clean environment\n- [ ] Update beads AGENTS.md with installation instructions\n\n## Package Name\nbd-wasm (or @beads/wasm-cli)","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-02T18:33:31.371535-08:00","updated_at":"2025-11-05T00:55:48.757492-08:00","closed_at":"2025-11-05T00:55:48.757494-08:00","source_repo":".","dependencies":[{"issue_id":"bd-8507","depends_on_id":"bd-197b","type":"blocks","created_at":"2025-11-02T18:33:31.372224-08:00","created_by":"daemon"},{"issue_id":"bd-8507","depends_on_id":"bd-374e","type":"blocks","created_at":"2025-11-02T22:27:56.025207-08:00","created_by":"daemon"}]} {"id":"bd-851","content_hash":"7ccb0dda5043cbfe932b1fd41efc4d2e449a8e4ff92f3cdd42af43e5cbb325a3","title":"Agent 6 Issue 52","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.752917-07:00","updated_at":"2025-10-21T00:29:10.752917-07:00","source_repo":"."} {"id":"bd-852","content_hash":"91ef4dd663eacbb4d35ec9bd00f3c655ae74f9ef3f02210935fdb86cb636621d","title":"Agent 6 Issue 53","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.753393-07:00","updated_at":"2025-10-21T00:29:10.753393-07:00","source_repo":"."} {"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":"."} @@ -2355,6 +2529,7 @@ {"id":"bd-858","content_hash":"54237420fb160aeff1fb3bc474315d0f1508fa35ceed36cc72724802b4360b61","title":"Agent 6 Issue 59","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.756153-07:00","updated_at":"2025-10-21T00:29:10.756153-07:00","source_repo":"."} {"id":"bd-859","content_hash":"e4093a5cc8b3a5b27d3dabe57cdd3f5a6b81bc5767c8bc02d733b6a4fd4d9e25","title":"Agent 6 Issue 60","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.756605-07:00","updated_at":"2025-10-21T00:29:10.756605-07:00","source_repo":"."} {"id":"bd-85d1","content_hash":"a82c0064b840eacb4896f68e73650a3e99aaeaffbb2a7269a857b6c4245b5572","title":"Add integration tests for multi-repo sync","description":"Test: Clone A deletes issue, Clone B imports Clone A's JSONL. Verify Clone B handles deletion gracefully with resurrection. Test concurrent imports with same orphans (should be idempotent). Test round-trip fidelity (export→delete parent→import→verify structure).","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T12:32:21.410318-08:00","updated_at":"2025-11-05T00:44:27.948465-08:00","closed_at":"2025-11-05T00:44:27.948467-08:00","source_repo":"."} +{"id":"bd-86","content_hash":"b4ea5d4b3494fcf829bc73c21584dbf5c03d77878a7afcb9fd307149fe810284","title":"Investigate CWD propagation from Claude Code/Amp to MCP server","description":"","design":"## Problem\n\nMCP servers don't know which directory the user is working in within Claude Code or Amp. This causes database routing issues for beads because:\n\n1. MCP server process starts with its own CWD (wherever it was launched from)\n2. `bd` binary uses tree-walking to discover databases based on CWD\n3. Without correct CWD, `bd` discovers the wrong database or falls back to ~/.beads\n\n## Current Workaround\n\nWe're using explicit `BEADS_DB` environment variables in MCP server configuration:\n- One MCP server per repo with explicit database path\n- Works but doesn't scale (30+ repos with .beads/ directories)\n\n## Desired Solution\n\nMCP server should receive CWD context either:\n\n### Option A: Startup Time\n- Claude Code/Amp passes working directory when launching MCP server\n- MCP server uses that directory for all tool calls\n- **Question:** Is this supported in MCP protocol/implementations?\n\n### Option B: Tool Call Time \n- Each MCP tool call includes a `cwd` parameter\n- Tools use that CWD for subprocess execution\n- **Question:** Does MCP protocol support per-call context?\n\n### Option C: Hybrid\n- MCP server detects directory from Claude Code workspace/project\n- Tools accept optional `cwd` override parameter\n\n## Investigation Steps\n\n1. Review MCP protocol specification for context passing\n2. Check Claude Code MCP implementation for CWD handling\n3. Check Amp MCP implementation for CWD handling \n4. Test if PWD environment variable is set correctly by Claude Code\n5. Prototype dynamic CWD detection in beads-mcp\n6. Document findings and recommend approach\n\n## References\n\n- beads-mcp already has `BEADS_WORKING_DIR` config support\n- bd_client.py uses `cwd` parameter for subprocess calls\n- Current implementation: `os.environ.get('PWD', os.getcwd())`\n","acceptance_criteria":"- Documented investigation findings\n- Tested CWD propagation in both Claude Code and Amp\n- Recommended approach for solving multi-repo MCP database routing\n- Prototype or proof-of-concept if feasible","notes":"## Implementation Complete (2025-10-17)\n\nImplemented PATH 1 (Simple Context Management) from the recommended solutions.\n\n### What Was Built\n\nAdded two new MCP tools to beads-mcp:\n\n1. **set_context(workspace_root)** - Sets workspace root and discovers database\n - Resolves to git repo root automatically\n - Walks up tree to find `.beads/*.db`\n - Sets env vars: BEADS_WORKING_DIR, BEADS_DB, BEADS_CONTEXT_SET\n\n2. **where_am_i()** - Shows current context for debugging\n - Returns workspace root, database path, actor\n\n3. **@require_context decorator** - Guards all write operations\n - Only enforced when BEADS_REQUIRE_CONTEXT=1 env var is set\n - Ensures context is set before create/update/close/reopen/dep/init\n - Backward compatible (off by default)\n\n### Implementation Details\n\n- File: `integrations/beads-mcp/src/beads_mcp/server.py`\n- Tests: All existing tests pass (103/104)\n- Documentation: `integrations/beads-mcp/CONTEXT_MANAGEMENT.md`\n\n### Key Discovery: Environment Variable Limitation\n\n**FastMCP architectural constraint:** Environment variables don't persist between tool calls in the current MCP protocol/FastMCP implementation.\n\nThis means:\n- `set_context` works within its own tool call\n- Subsequent tools may not see the env vars\n- True session state would require MCP protocol changes\n\n### Current Status\n\n**Partial solution delivered:**\n✅ Tools exist and work correctly\n✅ Can be used for explicit context management\n✅ Provides visibility (where_am_i)\n✅ Guards against accidental misrouting (when enabled)\n⚠️ Limited by MCP protocol's stateless nature\n\n**For production use:** Continue with current workaround (explicit BEADS_DB per MCP server config) until:\n1. MCP protocol adds session state support, OR\n2. We implement daemon RPC with per-request cwd (PATH 1.5), OR\n3. Client implementations can pass context with every tool call\n\n### Next Steps\n\n**Immediate (keep current workaround):**\n- Use single MCP server with explicit BEADS_DB in config\n- Set BEADS_REQUIRE_CONTEXT=1 for safety\n- Call set_context at session start (even if env vars don't persist, it validates paths)\n\n**Medium-term (if needed):**\n- Implement PATH 1.5: Add cwd parameter to daemon RPC protocol\n- Update MCP server to use daemon client instead of direct CLI calls\n- Per-request context routing via daemon\n\n**Long-term (if \u003e50 repos):**\n- Implement PATH 2: Advanced routing daemon with repo→DB index\n\n## Original Notes\n[Previous investigation notes preserved above...]","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-17T02:06:09.737832-07:00","updated_at":"2025-10-21T00:25:40.550071-07:00","closed_at":"2025-10-17T16:54:35.196728-07:00","source_repo":"."} {"id":"bd-860","content_hash":"262314a1ac586f1421bff2e138903927bacf1827f1f1aa4eb8826a227c37fd38","title":"Agent 6 Issue 61","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.757075-07:00","updated_at":"2025-10-21T00:29:10.757075-07:00","source_repo":"."} {"id":"bd-861","content_hash":"394c6ccc6f087f720bfc482ba60d80ff20f8ce11db7d25e5bdfc38118b0ee5a0","title":"Agent 6 Issue 62","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.757533-07:00","updated_at":"2025-10-21T00:29:10.757533-07:00","source_repo":"."} {"id":"bd-862","content_hash":"6e094acdf2e7e2b8a86911f90aa590fc10248b4a4d5ef2999419d47ebb5627e2","title":"Agent 6 Issue 63","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.758015-07:00","updated_at":"2025-10-21T00:29:10.758015-07:00","source_repo":"."} @@ -2365,6 +2540,7 @@ {"id":"bd-867","content_hash":"8152676dc2c10e4e62c0bc17122d65b8d5fa1344b75db2475fab14fb37860684","title":"Agent 6 Issue 68","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.760411-07:00","updated_at":"2025-10-21T00:29:10.760411-07:00","source_repo":"."} {"id":"bd-868","content_hash":"1e29ce056883549c75f5da63a07400eb3064aa85a9c64c89018c7bf3b07b807f","title":"Agent 6 Issue 69","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.760879-07:00","updated_at":"2025-10-21T00:29:10.760879-07:00","source_repo":"."} {"id":"bd-869","content_hash":"eb038f004f535b043c05851553164fc77157cb844181b2068c0b4a19355ddb46","title":"Agent 6 Issue 70","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.761345-07:00","updated_at":"2025-10-21T00:29:10.761345-07:00","source_repo":"."} +{"id":"bd-87","content_hash":"5872b98b532b3cd7d314cdf4b9208b6596031e8cf489a99157b1eee6d91becbe","title":"Test Epic for epic commands","description":"","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-17T12:07:19.224482-07:00","updated_at":"2025-10-21T00:25:40.550254-07:00","closed_at":"2025-10-17T12:07:59.213044-07:00","source_repo":"."} {"id":"bd-870","content_hash":"7e674c9c847d52898cb7b1088b4b0ed230d6daa84486eb8a3c2c8227b592e76f","title":"Agent 6 Issue 71","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.761804-07:00","updated_at":"2025-10-21T00:29:10.761804-07:00","source_repo":"."} {"id":"bd-871","content_hash":"5b4beeceaebb6cbd12f0eb08a10a8a857bd48f21e33870925216f112b5132892","title":"Agent 6 Issue 72","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.762261-07:00","updated_at":"2025-10-21T00:29:10.762261-07:00","source_repo":"."} {"id":"bd-872","content_hash":"63d2300c5a7f1002c4b3d885c77241976a27f7f633d3da27e1fc9bb281d9dff4","title":"Agent 6 Issue 73","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.762719-07:00","updated_at":"2025-10-21T00:29:10.762719-07:00","source_repo":"."} @@ -2376,7 +2552,8 @@ {"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":6,"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-12T18:57:44Z"}]} +{"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":"."} {"id":"bd-882","content_hash":"0516c1315ef15227645a3e06ea3e35f8533d554eb5242236d670acc00726c9e8","title":"Agent 6 Issue 83","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.768051-07:00","updated_at":"2025-10-21T00:29:10.768051-07:00","source_repo":"."} @@ -2387,6 +2564,7 @@ {"id":"bd-887","content_hash":"bf3b3822b78b5b1f93924e43cf78ab286e22f0f1f3e60f172ccf37a18d7636ef","title":"Agent 6 Issue 88","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.770737-07:00","updated_at":"2025-10-21T00:29:10.770737-07:00","source_repo":"."} {"id":"bd-888","content_hash":"3e7dc565ab119cefb2621c139e74755091398bad27a61ed4169067c453fc1b81","title":"Agent 6 Issue 89","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.771213-07:00","updated_at":"2025-10-21T00:29:10.771213-07:00","source_repo":"."} {"id":"bd-889","content_hash":"53629fb9f076b3760cf29bb52031d3687ddda63daaab255966ef7542911ba859","title":"Agent 6 Issue 90","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.771662-07:00","updated_at":"2025-10-21T00:29:10.771662-07:00","source_repo":"."} +{"id":"bd-89","content_hash":"5cd9986753e32df58263a57610e8c2a616b0d020e786c54f1d1271f7a6da5888","title":"Test epic 2","description":"","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-10-17T12:09:59.880202-07:00","updated_at":"2025-10-21T00:25:40.550555-07:00","closed_at":"2025-10-17T12:10:06.063293-07:00","source_repo":"."} {"id":"bd-890","content_hash":"8395c0825517ae791b1338ce4f27f161a7d1969d36ccc192c826b2a731b0d87c","title":"Agent 6 Issue 91","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.772124-07:00","updated_at":"2025-10-21T00:29:10.772124-07:00","source_repo":"."} {"id":"bd-8900f145","content_hash":"4a07f36a9e5d24aaffb092c89e2273cb58f9de357d24eeb01fcde6a4079ba775","title":"Testing event-driven mode!","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-29T15:28:33.564871-07:00","updated_at":"2025-10-30T17:12:58.186325-07:00","closed_at":"2025-10-29T19:12:54.43368-07:00","source_repo":"."} {"id":"bd-891","content_hash":"6ddf3daf90a40c823e27031abc1509d9e0cbc77f2fb14a5160efdcb7ceacd18a","title":"Agent 6 Issue 92","description":"Created by agent 6","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.772568-07:00","updated_at":"2025-10-21T00:29:10.772568-07:00","source_repo":"."} @@ -2415,6 +2593,8 @@ {"id":"bd-8v37","content_hash":"5c5951971ed466f30fa12e1d7f73457ecc430464726516f069e6659f762687e6","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":"."} +{"id":"bd-90","content_hash":"977c8e1c682595d7d73781ead119e346c34cf90d012dfac0c9a9cddaecb7d776","title":"Auto-close or warn about epics when all children complete","description":"","design":"See epic.go for implementation. Commands: bd epic status, bd epic close-eligible. Stats integration added.","acceptance_criteria":"Commands work, tests pass, addresses GitHub issue #62","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-17T13:47:42.9642-07:00","updated_at":"2025-10-21T00:25:40.551116-07:00","closed_at":"2025-10-17T13:47:48.136662-07:00","external_ref":"gh-62","source_repo":"."} {"id":"bd-900","content_hash":"e427945dff6af0e80ebbe8241ff24138856bc0710fb28cc05eecd8046e05804f","title":"Agent 7 Issue 1","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.779921-07:00","updated_at":"2025-10-21T00:29:10.779921-07:00","source_repo":"."} {"id":"bd-901","content_hash":"60610a4fe4ef5131d65cbe5e554b5b5138e548fea0f513ce1d325e5b5d95acbd","title":"Agent 7 Issue 2","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.780467-07:00","updated_at":"2025-10-21T00:29:10.780467-07:00","source_repo":"."} {"id":"bd-902","content_hash":"4c1abe0d543c3638eaecc7e09169307445f833ccf8da943243455c70f54f6beb","title":"Agent 7 Issue 3","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.780943-07:00","updated_at":"2025-10-21T00:29:10.780943-07:00","source_repo":"."} @@ -2429,6 +2609,7 @@ {"id":"bd-909","content_hash":"b4714e62e218a12275b1e45f0adb27521fc0f18ec5e640818f0facea8bfd491d","title":"Agent 7 Issue 10","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.784439-07:00","updated_at":"2025-10-21T00:29:10.784439-07:00","source_repo":"."} {"id":"bd-90a5","content_hash":"e54904609d3be88a50850d032fbbc1729a48d79436ff0ab5204d1cc044b93c47","title":"Extract hash ID generation functions to hash_ids.go","description":"Move generateHashID, getNextChildNumber, GetNextChildID to hash_ids.go","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-01T19:28:54.890883-07:00","updated_at":"2025-11-02T12:32:00.159056-08:00","closed_at":"2025-11-02T12:32:00.159058-08:00","source_repo":"."} {"id":"bd-90v","content_hash":"9863bc4154603ebc58c4649f8a74b5508f8b30aae6db360e84485e2d7f19fb30","title":"bd prime: AI context loading and Claude Code integration","description":"Implement `bd prime` command and Claude Code hooks for context recovery. Hooks work with BOTH MCP server and CLI approaches - they solve the context memory problem (keeping bd workflow fresh after compaction) not the tool access problem (MCP vs CLI).","design":"## Epic Scope\n\nThis epic covers:\n1. Core `bd prime` command implementation with MCP-aware output\n2. Claude Code hooks via `bd setup claude` (works with MCP OR CLI)\n3. Automatic context recovery via SessionStart/PreCompact hooks\n4. `bd doctor` verification for Claude setup\n5. Documentation updates\n\n## Goals\n- Keep bd workflow fresh in agent context (prevent markdown TODO reversion)\n- Enable automatic context recovery after compaction/clear\n- Adapt to user's workflow preference (MCP vs CLI) automatically\n- Support multi-user projects (mixed Claude/non-Claude teams)\n- Verify setup with `bd doctor`\n\n## Architecture Understanding\n\n**MCP vs CLI is a user preference (not project-level):**\n- User installs MCP server globally → gets native bd tools\n- User doesn't install MCP → uses CLI via Bash tool\n- `bd prime` auto-detects which mode and adapts output\n- Same hooks work for all users regardless of preference\n\n**Hooks complement both approaches:**\n- **With MCP**: Hooks output workflow reminders (~500 tokens) - prevents forgetting to use MCP tools\n- **Without MCP**: Hooks output full CLI reference (~1-2k tokens) - provides command syntax\n- **Both cases**: Prevents markdown TODO reversion after compaction\n\n**Why hooks matter even with MCP:**\n- MCP tools can be forgotten after compaction\n- Hooks refresh \"use bd, not markdown\" reminder\n- PreCompact keeps bd workflow fresh in memory\n- Works in both MCP and CLI scenarios\n\n## Token Optimization\n\n**MCP mode** (~500 tokens):\n- Workflow reminders only\n- No CLI syntax (user has native tools)\n- References to MCP tool names\n\n**Non-MCP mode** (~1-2k tokens):\n- Full workflow rules\n- Complete CLI command reference\n- Examples and common patterns\n\n**Why adaptive output matters:**\n- MCP users waste tokens on CLI docs they don't need\n- Non-MCP users need full command reference\n- Same hook works for everyone, adapts automatically\n- Multi-user projects: each dev gets appropriate output for their setup\n\n## Out of Scope\n- Tip system infrastructure (separate epic)\n- Cursor/Windsurf integration (separate issues)\n- MCP server modifications","acceptance_criteria":"- `bd prime` command exists and outputs AI-optimized markdown\n- `bd setup claude` installs hooks and slash commands\n- Hooks auto-call `bd prime` when .beads/ detected\n- `bd doctor` verifies Claude integration\n- Documentation complete in AGENTS.md, README.md, QUICKSTART.md\n- All child issues closed","status":"open","priority":2,"issue_type":"epic","created_at":"2025-11-11T23:31:12.119012-08:00","updated_at":"2025-11-12T00:11:07.743189-08:00","source_repo":"."} +{"id":"bd-91","content_hash":"52dca07bae5f882523f0dabd406261c3ccd91b28d7958cfb4a26975945d98db0","title":"Agents confused by multiple MCP beads servers - use wrong database","description":"When multiple beads MCP servers are configured (e.g., beads-wyvern, beads-adar), agents may use the wrong server and create issues in wrong database. In this session, created wy-22 (wyvern) when working in beads repo. Root cause: All MCP servers available simultaneously with different BEADS_WORKING_DIR/BEADS_DB env vars. Agent must manually choose correct server or use direct bd commands.","design":"## This is a SYMPTOM of bd-86\n\nThe multi-server approach was a workaround attempt that backfired. See bd-86 for comprehensive root cause analysis.\n\n## Original Solutions (superseded by bd-86 analysis)\n\nPossible solutions: 1) Context-aware MCP routing based on pwd, 2) Single MCP server that auto-detects context, 3) Better agent instructions about which server to use, 4) Naming convention that makes server purpose obvious (beads-wyvern vs beads-current)\n\n## Actual Solution (from bd-86)\n\nImplement PATH 1: Single MCP server with SetContext/WhereAmI tools. This issue will be resolved when bd-86 is implemented.","notes":"This issue is a SYMPTOM of bd-86 (missing CWD propagation). The multi-server workaround (beads-wyvern, beads-adar, etc.) doesn't solve the root cause and creates new problems (agent confusion about which server to use). See bd-86 for comprehensive analysis and architectural solutions. Should be resolved when bd-86 is fixed with Path 1 (SetContext/WhereAmI approach).","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-17T13:47:58.092565-07:00","updated_at":"2025-10-21T00:25:40.55129-07:00","closed_at":"2025-10-17T16:54:35.197351-07:00","source_repo":"."} {"id":"bd-910","content_hash":"953d872d117936cb5ddcab3279dcff308916613ab0499af3464a85fd967cd0e3","title":"Agent 7 Issue 11","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.784928-07:00","updated_at":"2025-10-21T00:29:10.784928-07:00","source_repo":"."} {"id":"bd-911","content_hash":"3c4a73ca6cfa0d3b5c424a99504eceb7f36ceb83599d859f704ee3f4dc90f59e","title":"Agent 7 Issue 12","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.785427-07:00","updated_at":"2025-10-21T00:29:10.785427-07:00","source_repo":"."} {"id":"bd-912","content_hash":"9d02b203de2379f8997a0f72581fa0a6f743edb07ffb84ce506fcadd1c0ce67b","title":"Agent 7 Issue 13","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.785905-07:00","updated_at":"2025-10-21T00:29:10.785905-07:00","source_repo":"."} @@ -2439,6 +2620,7 @@ {"id":"bd-917","content_hash":"31b07bcbf0f8c9d385c9a4f45aaaae2ba9998fc4c8c20f77e46208b7681aff82","title":"Agent 7 Issue 18","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.788245-07:00","updated_at":"2025-10-21T00:29:10.788245-07:00","source_repo":"."} {"id":"bd-918","content_hash":"03cc6962dfdd946ce40808008ed93905526a90aeaeb61bfd8faa9e92252ec702","title":"Agent 7 Issue 19","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.78873-07:00","updated_at":"2025-10-21T00:29:10.78873-07:00","source_repo":"."} {"id":"bd-919","content_hash":"0641d31cbdf9000bffc355207712022dfe61f04edc1a40c2dd5db6f07d913835","title":"Agent 7 Issue 20","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.789206-07:00","updated_at":"2025-10-21T00:29:10.789206-07:00","source_repo":"."} +{"id":"bd-92","content_hash":"9a12857555f0ce85d84185f87b2c28c60e3496a5d4834fc4a8e530c7d725564d","title":"Implement daemon RPC with per-request context routing (PATH 1.5)","description":"Enable MCP server to use daemon with per-request context instead of shelling out to bd CLI. This solves multi-repo routing properly.","design":"## Goal\n\nMCP server → daemon RPC with `cwd` parameter → daemon routes to correct database per request\n\n## Architecture\n\n```\nAI Client (Claude/Amp)\n ↓\nMCP Server (set_context sets workspace_root)\n ↓\nDaemon Client Library (new)\n ↓ RPC with cwd field\nbeadsd Daemon\n ↓ tree-walking per request\nCorrect .beads/*.db\n```\n\n## Components\n\n### 1. Extend Daemon RPC Protocol\n**Files:** `internal/daemon/protocol.go`, daemon handlers\n\n- Add `Cwd string` field to all request types (CreateIssueRequest, UpdateIssueRequest, etc.)\n- Daemon does tree-walking to find `.beads/*.db` based on cwd\n- Each operation gets its own context (stateless per request)\n\n### 2. Create Daemon Client Library\n**New file:** `integrations/beads-mcp/src/beads_mcp/bd_daemon_client.py`\n\n- Python client for daemon RPC protocol\n- Methods matching current BdClient interface\n- Adds `cwd` parameter to all requests\n- Handles connection management, retries\n- Falls back to CLI if daemon unavailable\n\n### 3. Update MCP Server\n**File:** `integrations/beads-mcp/src/beads_mcp/server.py`\n\n- Store workspace_root from `set_context` \n- Use daemon client by default, fall back to CLI client\n- Pass workspace_root as cwd to all operations\n- Handle daemon not running gracefully\n\n### 4. Update bd_client.py\n**File:** `integrations/beads-mcp/src/beads_mcp/bd_client.py`\n\n- Make it an abstract interface/base class\n- Concrete implementations: BdCliClient, BdDaemonClient\n- Factory function to create appropriate client\n\n## Benefits\n\n- ✅ True multi-repo support (each request has context)\n- ✅ Better performance (no process spawning)\n- ✅ Concurrent access already solved (daemon exists)\n- ✅ Stateless per request (no env var persistence issues)\n- ✅ Falls back to CLI when daemon not running\n\n## Implementation Steps\n\n1. **Extend RPC protocol** (Go)\n - Add Cwd field to request structs\n - Update daemon handlers to use cwd for tree-walking\n \n2. **Create daemon client** (Python)\n - Implement RPC protocol in Python\n - Match BdClient interface\n \n3. **Refactor MCP server**\n - Abstract BdClient\n - Use daemon client when available\n \n4. **Test with multiple repos**\n - Concurrent operations\n - Context switching\n - Daemon restart handling\n\n## Related Issues\n\n- bd-86: Root cause investigation (this is PATH 1.5 solution)\n- bd-91: Multi-server confusion (will be resolved)\n- bd-80, bd-81, bd-82, bd-83: Daemon implementation (foundation)","acceptance_criteria":"- MCP server can use daemon RPC instead of CLI\n- Each operation includes cwd context\n- Daemon routes to correct database per request\n- Works with multiple repos simultaneously\n- Falls back to CLI gracefully if daemon unavailable\n- All existing MCP tests pass\n- New multi-repo integration tests pass","notes":"## Progress: Session 2 (2025-10-17 continued)\n\n### Completed\n1. ✅ Updated MCP server to use daemon client\n - Modified `tools.py` to use `create_bd_client()` factory\n - Passes `BEADS_WORKING_DIR` from environment\n - Uses daemon by default, falls back to CLI\n2. ✅ Added `BEADS_USE_DAEMON` environment variable\n - Default: `1` (enabled)\n - Set to `0` to force CLI mode\n3. ✅ Created multi-repo integration test (`test_multi_repo.py`)\n - Tests concurrent operations across two repos\n - Verifies proper database routing based on cwd\n - Validates issue prefix isolation (r1- vs r2-)\n - All tests pass! ✅\n4. ✅ Updated MCP README with daemon usage docs\n - Added BEADS_USE_DAEMON to environment variables\n - Added multi-repo test documentation\n\n### Test Results\n```\n=== All Tests Passed! ===\nSummary:\n ✅ Per-request context routing works\n ✅ Multiple repos are properly isolated\n ✅ Concurrent operations succeed\n ✅ Daemon handles rapid context switching\n```\n\n### Files Modified/Added (Session 2)\n- `integrations/beads-mcp/src/beads_mcp/tools.py` - uses daemon client ✅\n- `integrations/beads-mcp/test_multi_repo.py` - NEW integration test ✅\n- `integrations/beads-mcp/README.md` - daemon documentation ✅\n\n### Architecture Validated\n\n```\nAI Client (Claude/Amp)\n ↓\nMCP Server (workspace_root from set_context)\n ↓ create_bd_client(prefer_daemon=True, workspace_root)\nDaemon Client Library\n ↓ RPC with cwd field\nbeadsd Daemon\n ↓ per-request tree-walking\nCorrect .beads/*.db\n```\n\n### Ready to Close\nAll acceptance criteria met:\n- ✅ MCP server can use daemon RPC instead of CLI\n- ✅ Each operation includes cwd context\n- ✅ Daemon routes to correct database per request\n- ✅ Works with multiple repos simultaneously\n- ✅ Falls back to CLI gracefully if daemon unavailable\n- ✅ All existing MCP tests pass\n- ✅ New multi-repo integration tests pass","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-17T16:20:00.775954-07:00","updated_at":"2025-10-21T00:25:40.55148-07:00","closed_at":"2025-10-17T16:37:34.504057-07:00","source_repo":"."} {"id":"bd-920","content_hash":"cfe30d21bdaf668789da9b6cc8a1afec1eb2bd3ec27b5e59369b376b2c1769c7","title":"Agent 7 Issue 21","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.789669-07:00","updated_at":"2025-10-21T00:29:10.789669-07:00","source_repo":"."} {"id":"bd-921","content_hash":"50278fec60e0d3aca95cc4abe6413b2408f7f3177c8789df8769e05b8c847c01","title":"Agent 7 Issue 22","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.790185-07:00","updated_at":"2025-10-21T00:29:10.790185-07:00","source_repo":"."} {"id":"bd-922","content_hash":"7991e8691af1ba3c7cdfdf3a5ed1adf1d490092ddbfcd6351898edee5512b082","title":"Agent 7 Issue 23","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.790669-07:00","updated_at":"2025-10-21T00:29:10.790669-07:00","source_repo":"."} @@ -2449,6 +2631,7 @@ {"id":"bd-927","content_hash":"f8603e96606715b8723ce338cb19296dca1c2cd49a54e7b57e07536937e86733","title":"Agent 7 Issue 28","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.793061-07:00","updated_at":"2025-10-21T00:29:10.793061-07:00","source_repo":"."} {"id":"bd-928","content_hash":"1838348cdbfdb4441578e15c242a8af77afbd61b79a23c69b7a20492b60b625f","title":"Agent 7 Issue 29","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.793526-07:00","updated_at":"2025-10-21T00:29:10.793526-07:00","source_repo":"."} {"id":"bd-929","content_hash":"5ccd42277eea34b10a622f3b1ccd3a287893711ee28a98823a34ea98803ffce6","title":"Agent 7 Issue 30","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.79401-07:00","updated_at":"2025-10-21T00:29:10.79401-07:00","source_repo":"."} +{"id":"bd-93","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:34:10.054141-07:00","updated_at":"2025-10-21T00:25:40.551683-07:00","closed_at":"2025-10-17T18:13:19.394378-07:00","source_repo":"."} {"id":"bd-930","content_hash":"a06342d1980660168565cb8d95349073c9c57d577e868e42c9aa26f26bfbe39f","title":"Agent 7 Issue 31","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.794473-07:00","updated_at":"2025-10-21T00:29:10.794473-07:00","source_repo":"."} {"id":"bd-931","content_hash":"2487a2d9268ede172a4d7ef4299d07b03638c15dfdff05efbf521e6a7ee641fc","title":"Agent 7 Issue 32","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.794935-07:00","updated_at":"2025-10-21T00:29:10.794935-07:00","source_repo":"."} {"id":"bd-932","content_hash":"fe9d2345e1042c24b9c4f2d1c826bf6f6ea938d255d72ccd11afccbd412ccde9","title":"Agent 7 Issue 33","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.795413-07:00","updated_at":"2025-10-21T00:29:10.795413-07:00","source_repo":"."} @@ -2459,6 +2642,7 @@ {"id":"bd-937","content_hash":"9fcb8b818346228c3ef73943078609cc475241aec0d5ac367b60ed74914c55dc","title":"Agent 7 Issue 38","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.797819-07:00","updated_at":"2025-10-21T00:29:10.797819-07:00","source_repo":"."} {"id":"bd-938","content_hash":"b0f03a2459dbacca1f7aef782de63c10a448e8aeed28cd31824e7ddbc6073c4d","title":"Agent 7 Issue 39","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.798347-07:00","updated_at":"2025-10-21T00:29:10.798347-07:00","source_repo":"."} {"id":"bd-939","content_hash":"abdfe125fdd486bc92a18af16deaa7aa3e317d79657bb69d2de71deca62976fb","title":"Agent 7 Issue 40","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.798828-07:00","updated_at":"2025-10-21T00:29:10.798828-07:00","source_repo":"."} +{"id":"bd-94","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:34:10.054592-07:00","updated_at":"2025-10-21T00:25:40.551838-07:00","closed_at":"2025-10-17T18:13:19.394268-07:00","source_repo":"."} {"id":"bd-940","content_hash":"0111457da2ba371293d96e9ca7db338f63d40ae112d481562558fe212cc6fd51","title":"Agent 7 Issue 41","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.799292-07:00","updated_at":"2025-10-21T00:29:10.799292-07:00","source_repo":"."} {"id":"bd-941","content_hash":"7bd292854e60ff74236ebcfce6033ecb74048076718a3bc7b468aa32e9b63039","title":"Agent 7 Issue 42","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.799759-07:00","updated_at":"2025-10-21T00:29:10.799759-07:00","source_repo":"."} {"id":"bd-942","content_hash":"a966ce13b2624eb0ef043e8194a9f4a7a17a41d82aea19a5e8be5be0036d67f2","title":"Agent 7 Issue 43","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.800586-07:00","updated_at":"2025-10-21T00:29:10.800586-07:00","source_repo":"."} @@ -2470,6 +2654,7 @@ {"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":"."} @@ -2480,6 +2665,7 @@ {"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":"."} @@ -2492,6 +2678,7 @@ {"id":"bd-968","content_hash":"1ee23f9fb62e7ec01772f28e348d342560bd2006c90460edc85a0ff4e41c233f","title":"Agent 7 Issue 69","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.814515-07:00","updated_at":"2025-10-21T00:29:10.814515-07:00","source_repo":"."} {"id":"bd-968f","content_hash":"41376d2927c9107898e7cb72aaa17a76d8b44692a78aa201123e8b2a0404ce34","title":"Add unit tests for config modes","description":"Test all four orphan_handling modes: strict (fails), resurrect (creates tombstone), skip (logs warning), allow (imports orphan). Verify error messages and logging output for each mode.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T12:32:21.367129-08:00","updated_at":"2025-11-05T00:44:27.948775-08:00","closed_at":"2025-11-05T00:44:27.948777-08:00","source_repo":"."} {"id":"bd-969","content_hash":"1063cf7529b2b2a3604f54a9dfada412871707e4eef9aab7dfc139bd29782c25","title":"Agent 7 Issue 70","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.814995-07:00","updated_at":"2025-10-21T00:29:10.814995-07:00","source_repo":"."} +{"id":"bd-97","content_hash":"a054a21d51074b32a2a98314f3a01c9c9eb4472a6725856ae7f8941914f23c4a","title":"Fix nil pointer crash in bd export command","description":"When running `bd export -o .beads/issues.jsonl`, the command crashes with a nil pointer dereference.\n\n## Error\n```\npanic: runtime error: invalid memory address or nil pointer dereference\n[signal SIGSEGV: segmentation violation code=0x2 addr=0x108 pc=0x1034456fc]\n\ngoroutine 1 [running]:\nmain.init.func14(0x103c24380, {0x1034a9695?, 0x4?, 0x1034a95c9?})\n /Users/stevey/src/vc/adar/beads/cmd/bd/export.go:74 +0x15c\n```\n\n## Context\n- This happened after closing bd-86, bd-91, bd-92\n- Auto-export from daemon still works fine\n- Only the manual `bd export` command crashes\n- Data was already synced via auto-export, so no data loss\n\n## Location\nFile: `cmd/bd/export.go` line 74","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-10-17T17:34:05.014619-07:00","updated_at":"2025-10-21T00:25:40.5523-07:00","closed_at":"2025-10-17T17:35:41.414218-07:00","source_repo":"."} {"id":"bd-970","content_hash":"3e3482150ad88631c133aec55cbc78ef1cc1b48cf8d75882be64e27ac2a21699","title":"Agent 7 Issue 71","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.81547-07:00","updated_at":"2025-10-21T00:29:10.81547-07:00","source_repo":"."} {"id":"bd-971","content_hash":"50af39236c72d35867ff304de2191e695063cc0aff5054393850796bfe36751e","title":"Agent 7 Issue 72","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.815951-07:00","updated_at":"2025-10-21T00:29:10.815951-07:00","source_repo":"."} {"id":"bd-972","content_hash":"cbc621b491f2c514a90c7a9c21efe07bed3d542481a025dd74d28f92462aa462","title":"Agent 7 Issue 73","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.816441-07:00","updated_at":"2025-10-21T00:29:10.816441-07:00","source_repo":"."} @@ -2502,6 +2689,7 @@ {"id":"bd-977","content_hash":"83cd0faf3b9047b5f2629e92b178b5887051f260efc8590d637cc96736e7f31a","title":"Agent 7 Issue 78","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.818866-07:00","updated_at":"2025-10-21T00:29:10.818866-07:00","source_repo":"."} {"id":"bd-978","content_hash":"b7653eee3abf28dec9081ad9fcfb0ae9667956a327333cb8fc18bcfb08699eeb","title":"Agent 7 Issue 79","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.819391-07:00","updated_at":"2025-10-21T00:29:10.819391-07:00","source_repo":"."} {"id":"bd-979","content_hash":"ea1c5574f66a89cdfd85e4627c5f9d2d67cd8338133c7bd27562576e12453fba","title":"Agent 7 Issue 80","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.819904-07:00","updated_at":"2025-10-21T00:29:10.819904-07:00","source_repo":"."} +{"id":"bd-98","content_hash":"b179d8e084ac86a97ddb6f1a556963fe832b4da257cd91240d21e826a00f3480","title":"Add --global flag to daemon for multi-repo support","description":"Currently daemon creates socket at .beads/bd.sock in each repo. For multi-repo support, add --global flag to create socket in ~/.beads/bd.sock that can serve requests from any repository.\n\nImplementation:\n- Add --global flag to daemon command\n- When --global is set, use ~/.beads/bd.sock instead of ./.beads/bd.sock \n- Don't require being in a git repo when --global is used\n- Update daemon discovery logic to check ~/.beads/bd.sock as fallback\n- Document that global daemon can serve multiple repos simultaneously\n\nBenefits:\n- Single daemon serves all repos on the system\n- No need to start daemon per-repo\n- Better resource usage\n- Enables system-wide task tracking\n\nContext: Per-request context routing (bd-92) already implemented - daemon can handle multiple repos. This issue is about making the UX better.\n\nRelated: bd-43 (parent issue for multi-repo support)","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-10-17T20:43:47.080685-07:00","updated_at":"2025-10-21T00:25:40.552466-07:00","closed_at":"2025-10-17T22:45:42.411986-07:00","source_repo":"."} {"id":"bd-980","content_hash":"a8f79395f809a951606ad6a69ef45225845225a1539f95e6ebf0ca273458bf1f","title":"Agent 7 Issue 81","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.820445-07:00","updated_at":"2025-10-21T00:29:10.820445-07:00","source_repo":"."} {"id":"bd-981","content_hash":"fdec77ec39de6a19b77dcdf8725709147409798beea4239eb840231f122a86ed","title":"Agent 7 Issue 82","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.820962-07:00","updated_at":"2025-10-21T00:29:10.820962-07:00","source_repo":"."} {"id":"bd-982","content_hash":"aeff2a80c66ccb88a83ae2772c9842c3f45cbb9be2c4e545e3c1900a47174943","title":"Agent 7 Issue 83","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.821489-07:00","updated_at":"2025-10-21T00:29:10.821489-07:00","source_repo":"."} @@ -2515,6 +2703,7 @@ {"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-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":"."} {"id":"bd-992","content_hash":"ccfc6203538196961b38306835749c3cc716d0b2e971eb0febaa30883883fbb1","title":"Agent 7 Issue 93","description":"Created by agent 7","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-21T00:29:10.8265-07:00","updated_at":"2025-10-21T00:29:10.8265-07:00","source_repo":"."} @@ -2524,7 +2713,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":"open","priority":1,"issue_type":"task","created_at":"2025-10-21T00:29:10.944351-07:00","updated_at":"2025-10-21T00:29:10.944351-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-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":"."} @@ -2539,12 +2728,13 @@ {"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":"f63ec5a25a14c9b01ca8b97ea14d0b00c42e8d6fe3b39f6e261411134a024de8","title":"Improve integration test coverage for stateful features","description":"","design":"## Context\n\nbd-70419816 revealed a critical gap: the export deduplication feature had unit tests but no integration tests simulating real-world git operations. This led to silent data loss in production.\n\n## Root Cause\n- Unit tests only tested functions in isolation\n- No integration tests for git operations (pull, reset, checkout) modifying JSONL\n- No tests validating export_hashes and JSONL stay in sync\n- Missing tests for stateful distributed system interactions (DB + JSONL + git)\n\n## Completed (bd-70419816)\n✓ TestJSONLIntegrityValidation - unit tests for validation logic\n✓ TestImportClearsExportHashes - tests import clears hashes\n✓ TestExportIntegrityAfterJSONLTruncation - simulates git reset (would have caught bd-70419816)\n✓ TestExportIntegrityAfterJSONLDeletion - tests recovery from file deletion\n✓ TestMultipleExportsStayConsistent - tests repeated exports\n\n## Still Needed (High Priority)\n1. Multi-repo sync test - two clones staying in sync after push/pull\n2. Auto-flush integration test - JSONL integrity preserved during auto-flush\n3. Daemon auto-sync integration test - complex state management\n4. Import after corruption test - recovery from partial data loss\n\n## Medium Priority\n- Partial export failure handling (disk full, network interruption)\n- Concurrent export/import race conditions\n- Large dataset performance tests (1000+ issues)\n- Export hash migration tests (version upgrades)\n\n## Testing Principles\n1. Test real-world scenarios: git ops, user errors, system failures, concurrent ops\n2. Integration tests for stateful systems (DB + files + git)\n3. Regression test for every bug fix\n4. Test invariants: JSONL count == DB count, hash consistency, etc.\n\n## Key Lesson\nStateful distributed systems need integration tests, not just unit tests.","acceptance_criteria":"- [ ] Multi-repo sync test implemented\n- [ ] Auto-flush integration test implemented \n- [ ] Daemon auto-sync integration test implemented\n- [ ] Testing guidelines added to CONTRIBUTING.md\n- [ ] CI runs integration tests\n- [ ] All critical workflows have integration test coverage","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-29T21:53:15.397137-07:00","updated_at":"2025-11-08T01:49:23.460635-08: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-20T12:25:55.957846-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-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-a9699011","content_hash":"5c0f39c01f3aa92d6407ef3128f4c8acb44b177f55f5d3906b5e83af5c0a3472","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-08T01:49:23.460957-08:00","closed_at":"2025-11-08T00:54:40.47956-08:00","external_ref":"github:146","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-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-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"}]} @@ -2558,7 +2748,7 @@ {"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":"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-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-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-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"}]} @@ -2572,6 +2762,7 @@ {"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-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-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-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":"."} {"id":"bd-c01f","content_hash":"14269c39f13784e0ee793fae005b1869fea5c08af1bbdc4a2f841720278180d5","title":"Implement bd stale command to find abandoned/forgotten issues","description":"Add bd stale command to surface issues that haven't been updated recently and may need attention.\n\nUse cases:\n- In-progress issues with no recent activity (may be abandoned)\n- Open issues that have been forgotten\n- Issues that might be outdated or no longer relevant\n\nQuery logic should find non-closed issues where updated_at exceeds a time threshold.\n\nShould support:\n- --days N flag (default 30-90 days)\n- --status filter (e.g., only in_progress)\n- --json output for automation\n\nReferences GitHub issue #184 where user expected this command to exist.","design":"Implementation approach:\n1. Add new command in cmd/bd/stale.go\n2. Query issues with: status != 'closed' AND updated_at \u003c (now - N days)\n3. Support filtering by status (open, in_progress, blocked)\n4. Default threshold: 30 days (configurable via --days)\n5. JSON output for agent consumption\n6. Order by updated_at ASC (oldest first)","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-31T22:48:46.85435-07:00","updated_at":"2025-10-31T22:54:33.704492-07:00","closed_at":"2025-10-31T22:54:33.704492-07:00","source_repo":"."} @@ -2604,6 +2795,7 @@ {"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-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-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"}]} @@ -2618,15 +2810,17 @@ {"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-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-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-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":"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-10-29T23:05:13.980679-07:00","updated_at":"2025-11-06T19:36:13.973071-08:00","closed_at":"2025-11-06T19:27:11.734483-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":"."} {"id":"bd-e166","content_hash":"000f4f9d069ffedceae13894d967ec30fa4a89e318bfcac4847f3c3b16d44a89","title":"Improve timestamp comparison readability in import","description":"The timestamp comparison logic uses double-negative which can be confusing:\n\nCurrent code:\nif !incoming.UpdatedAt.After(existing.UpdatedAt) {\n // skip update\n}\n\nMore readable:\nif incoming.UpdatedAt.After(existing.UpdatedAt) {\n // perform update\n} else {\n // skip (local is newer)\n}\n\nThis is a minor refactor for code clarity.\n\nRelated: bd-1022\nFiles: internal/importer/importer.go:411, 488","status":"open","priority":4,"issue_type":"chore","created_at":"2025-11-02T15:32:12.27108-08:00","updated_at":"2025-11-02T15:32:12.27108-08:00","source_repo":"."} {"id":"bd-e16b","content_hash":"969a580f09de305f494c160c21ad58b43e348320023eb990ecb8cf5395cccb6e","title":"Replace BEADS_DB with BEADS_DIR environment variable","description":"Implement BEADS_DIR as a replacement for BEADS_DB to point to the .beads directory instead of the database file directly.\n\nRationale:\n- With --no-db mode, there's no .db file to point to\n- The .beads directory is the logical unit (contains config.yaml, db files, jsonl files)\n- More intuitive: point to the beads directory not the database file\n\nImplementation:\n1. Add BEADS_DIR environment variable support\n2. Maintain backward compatibility with BEADS_DB\n3. Priority order: BEADS_DIR \u003e BEADS_DB \u003e auto-discovery\n4. If BEADS_DIR is set, look for config.yaml in that directory to find actual database path\n5. Update documentation and migration guide\n\nFiles to modify:\n- beads.go (FindDatabasePath function)\n- cmd/bd/main.go (initialization)\n- Documentation (CLI_REFERENCE.md, TROUBLESHOOTING.md, etc.)\n- MCP integration (integrations/beads-mcp/src/beads_mcp/config.py)\n\nTesting:\n- Ensure BEADS_DB still works (backward compatibility)\n- Test BEADS_DIR with both db and --no-db modes\n- Test priority order when both are set\n- Update integration tests\n\nRelated to GitHub issue #179","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-02T18:19:26.131948-08:00","updated_at":"2025-11-02T18:27:14.545162-08:00","closed_at":"2025-11-02T18:27:14.545162-08:00","source_repo":"."} {"id":"bd-e1d645e8","content_hash":"2f5bc6f9e3cd91a8b5c9d8de92fa5342eb3d9d7a12371d316e54599348b504e4","title":"Rapid 4","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-29T19:11:57.484329-07:00","updated_at":"2025-11-08T01:49:23.462615-08:00","closed_at":"2025-11-07T23:18:52.316948-08:00","source_repo":"."} @@ -2664,12 +2858,12 @@ {"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-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":"d30f2a45055cdb28efd6b15f97880f3fd50bee024876308440acea3f279f8920","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","acceptance_criteria":"- All unreachable code identified by `deadcode` analyzer is removed\n- RPC server split into \u003c500 LOC files with clear responsibilities\n- Duplicate utility functions centralized\n- Test coverage maintained or improved\n- All tests passing\n- Documentation updated","status":"closed","priority":2,"issue_type":"epic","created_at":"2025-10-27T20:39:22.22227-07:00","updated_at":"2025-11-08T18:15:59.971899-08: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-20T12:25:55.956705-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":"072a2e76c3a9690c49c805351891235d488936d7a0e7b1d1334bd933f79de338","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","acceptance_criteria":"- Create serialization package with documented JSON format\n- Migrate export/import to use centralized serialization\n- All existing JSONL files can be read with new code\n- All tests pass: `go test ./...`\n- Export/import round-trip works perfectly\n- RPC protocol unchanged (or backwards compatible)","status":"closed","priority":3,"issue_type":"task","created_at":"2025-10-27T20:31:19.090608-07:00","updated_at":"2025-11-08T18:15:54.319047-08: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-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.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":"84783b0ba6c7fc6b75167935be981a0ae52069936137ec65d79b52b54cb43f2c","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","acceptance_criteria":"- All documentation references to deleted files removed\n- New package READMEs written\n- Code comments updated for reorganized code\n- Migration guide for developers (if needed)\n- Architecture diagrams updated (if they exist)","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:32:00.141028-07:00","updated_at":"2025-11-08T18:15:48.644285-08: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":"c2831a4b1f3847a8aff257d72eda7aa280b7f572a3e4e72d2283a9af367b52ea","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","acceptance_criteria":"- Coverage analysis completed and documented\n- Redundant tests identified (~800 LOC estimated)\n- Consolidated test suite maintains or improves coverage\n- All remaining tests pass: `go test ./cmd/bd/...`\n- Test run time unchanged or faster\n- Document which tests were removed and why\n- Coverage percentage maintained: `go test -cover ./cmd/bd/` shows same %","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-27T20:32:00.130855-07:00","updated_at":"2025-11-08T01:49:23.462872-08: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-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.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"}]} @@ -2681,6 +2875,7 @@ {"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":"3becaf2a661ffb7c95682f76d2ddd0fb6f31ffa7993f130eed257be3817bf48e","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":"open","priority":0,"issue_type":"task","created_at":"2025-11-16T14:51:10.159953-08:00","updated_at":"2025-11-16T14:51:10.159953-08: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"}]} @@ -2698,19 +2893,24 @@ {"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-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-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":"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":".","comments":[{"id":7,"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-12T18:57:44Z"},{"id":8,"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-12T18:57:44Z"}]} +{"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":"open","priority":0,"issue_type":"bug","created_at":"2025-11-09T14:13:14.138537-08:00","updated_at":"2025-11-09T14:13:14.138537-08:00","source_repo":"."} +{"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-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"}]} {"id":"bd-ky74","content_hash":"d44651203d5d7996a09dbcfbadede992b6364b40ec6c79fa5efe98f0bb26daee","title":"Optimize cmd/bd long-mode tests by switching to in-process testing","description":"The long-mode CLI tests in cmd/bd are slow (1.4-4.4 seconds each) because they spawn full bd processes via exec.Command() for every operation.\n\nCurrent approach:\n- Each runBD() call spawns new bd process via exec.Command(testBD, args...)\n- Each process initializes Go runtime, loads SQLite, parses CLI flags\n- Tests run serially (create → update → show → close)\n- Even with --no-daemon flag, there's significant process spawn overhead\n\nExample timing from test run:\n- TestCLI_PriorityFormats: 2.21s\n- TestCLI_Show: 2.26s\n- TestCLI_Ready: 2.29s\n- TestCLI_Import: 4.42s\n\nOptimization strategy:\n1. Convert most tests to in-process testing (call bd functions directly)\n2. Reuse test databases across related operations instead of fresh init each time\n3. Keep a few exec.Command() tests that batch multiple operations to verify the CLI path works end-to-end\n\nThis should reduce test time from ~40s to ~5s for the affected tests.","design":"**Approach:**\n\n1. **In-process testing (majority of tests):**\n - Call bd command functions directly instead of exec.Command()\n - Create helper that invokes root command with test args\n - Capture stdout/stderr in-process\n - Benefits: ~10-20x faster, better stack traces, no process overhead\n\n2. **Database reuse:**\n - Share test database across related operations in same test\n - Only create fresh DB when isolation needed\n - Use subtests to share setup cost\n\n3. **Minimal exec.Command() coverage:**\n - Keep 2-3 tests that use exec.Command() for end-to-end validation\n - Batch multiple operations per test (e.g., TestCLI_EndToEnd runs create+update+close+export)\n - Just validates the binary works when executed normally\n\n**Files to change:**\n- cmd/bd/cli_fast_test.go - convert runBD() helper to in-process\n- cmd/bd/test_helpers_test.go - may need new helpers for in-process execution","acceptance_criteria":"- All tests in cli_fast_test.go still pass\n- Test suite runs in \u0026lt;10s (down from ~40s)\n- At least 1-2 tests still use exec.Command() for end-to-end validation\n- No daemon processes spawned during tests\n- Coverage maintained or improved","notes":"Converted all CLI tests in cli_fast_test.go to use in-process testing via rootCmd.Execute(). Created runBDInProcess() helper that:\n- Calls rootCmd.Execute() directly instead of spawning processes\n- Uses mutex to serialize execution (rootCmd/viper not thread-safe)\n- Properly cleans up global state (store, daemonClient)\n- Returns only stdout to avoid JSON parsing issues with stderr warnings\n\nPerformance results:\n- In-process tests: ~0.6s each (cached even faster)\n- exec.Command tests: ~3.7s each \n- Speedup: ~10x faster\n\nKept TestCLI_EndToEnd() that uses exec.Command for end-to-end validation of the actual binary.","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-08T18:40:27.358821-08:00","updated_at":"2025-11-08T18:47:11.107998-08:00","closed_at":"2025-11-08T18:47:11.107998-08:00","source_repo":"."} {"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-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"}]} +{"id":"bd-m7ge","content_hash":"bb08f2bcbbdd2e392733d92bff2e46a51000337ac019d306dd6a2983916873c4","title":"Add .beads/README.md during 'bd init' for project documentation and promotion","description":"When 'bd init' is run, automatically generate a .beads/README.md file that:\n\n1. Briefly explains what Beads is (AI-native issue tracking that lives in your repo)\n2. Links to the main repository: https://github.com/steveyegge/beads\n3. Provides a quick reference of essential commands:\n - bd create: Create new issues\n - bd list: View all issues\n - bd update: Modify issue status/details\n - bd show: View issue details\n - bd sync: Sync with git remote\n4. Highlights key benefits for AI coding agents and developers\n5. Encourages developers to try it out\n\nThe README should be enthusiastic and compelling to get open source contributors excited about using Beads for their AI-assisted development workflows.","status":"open","priority":2,"issue_type":"feature","created_at":"2025-11-16T22:32:50.478681-08:00","updated_at":"2025-11-16T22:32:58.492868-08:00","source_repo":"."} {"id":"bd-m9th","content_hash":"862e45f019a273e93490f1a309ac0740c43f4e33b815ff3a8797b5511f401f00","title":"Create Python adapter library","description":"Create beads_mail_adapter.py library that wraps Agent Mail HTTP calls with health checks and graceful degradation.\n\nAcceptance Criteria:\n- AgentMailAdapter class with health check on init\n- enabled flag auto-disables if server unreachable\n- All methods wrapped in try/catch (non-blocking failures)\n- Methods: reserve_issue(), release_issue(), notify(), check_inbox()\n- Environment-based configuration (AGENT_MAIL_URL, AGENT_MAIL_TOKEN)\n- Unit tests for enabled/disabled modes\n\nFile: lib/beads_mail_adapter.py","status":"closed","priority":1,"issue_type":"feature","created_at":"2025-11-07T22:42:28.60152-08:00","updated_at":"2025-11-08T01:51:40.351137-08:00","closed_at":"2025-11-08T00:11:02.746747-08:00","source_repo":".","dependencies":[{"issue_id":"bd-m9th","depends_on_id":"bd-4cyb","type":"blocks","created_at":"2025-11-07T22:42:28.602698-08:00","created_by":"daemon"}]} {"id":"bd-mf0o","content_hash":"87f9eb99c69925639f19252c6509bcef9a4b21a4dd288d970aa2212b68a4c6b7","title":"Add 'new' as alias for 'create' command","description":"","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-08T03:11:46.791657-08:00","updated_at":"2025-11-08T03:11:51.035418-08:00","closed_at":"2025-11-08T03:11:51.035418-08:00","source_repo":"."} {"id":"bd-mlcz","content_hash":"c7a69a80bb7a3934692c11aca9bf33d38ab797ab86ca1b3ac2a1347bff39feac","title":"Implement bd migrate command","description":"Add bd migrate command to move issues between repos with filtering. Should support: filtering by status/priority/labels, dry-run mode, preserving dependencies, handling source_repo field updates.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T18:04:29.902151-08:00","updated_at":"2025-11-05T18:42:52.536951-08:00","closed_at":"2025-11-05T18:42:52.536951-08:00","source_repo":".","dependencies":[{"issue_id":"bd-mlcz","depends_on_id":"bd-8rd","type":"parent-child","created_at":"2025-11-05T18:04:39.072312-08:00","created_by":"daemon"}]} @@ -2726,6 +2926,7 @@ {"id":"bd-o43","content_hash":"4caa0f14a58127378a533362ec0292833b6d59195e503fab7505180c9c5c0438","title":"Add richer query capabilities to bd list","description":"Current bd list filters are limited to basic field matching (status, priority, type, assignee, label). This forces users to resort to piping through jq for common queries.\n\nMissing query capabilities:\n- Pattern matching: --title-contains, --desc-contains\n- Date ranges: --created-after, --updated-before, --closed-after\n- Empty/null checks: --empty-description, --no-assignee, --no-labels\n- Numeric ranges: --priority-min, --priority-max\n- Complex boolean logic: --and, --or operators\n- Full-text search: --search across all text fields\n- Negation: --not-status, --exclude-label\n\nExample use cases:\n- Find issues with empty descriptions\n- Find stale issues not updated in 30 days\n- Find high-priority bugs with no assignee\n- Search for keyword across title/description/notes\n\nImplementation approach:\n- Add query builder pattern to storage layer\n- Support --query DSL for complex queries\n- Keep simple flags for common cases\n- Add --json output for programmatic use","notes":"## Progress Update\n\n**Completed:**\n- ✅ Extended IssueFilter struct with new fields (pattern matching, date ranges, empty/null checks, priority ranges)\n- ✅ Updated SQLite SearchIssues implementation \n- ✅ Added CLI flags to list.go\n- ✅ Added parseTimeFlag helper\n- ✅ Comprehensive tests added - all passing\n\n**Remaining:**\n- ⚠️ RPC layer needs updating (internal/rpc/protocol.go ListArgs)\n- ⚠️ Daemon handler needs to forward new filters\n- ⚠️ End-to-end testing with daemon mode\n- 📝 Documentation updates\n\n**Files Modified:**\n- internal/types/types.go\n- internal/storage/sqlite/sqlite.go \n- cmd/bd/list.go\n- cmd/bd/list_test.go\n\n**Next Steps:**\n1. Update RPC protocol\n2. Update daemon handler \n3. Test with daemon mode\n4. Update docs","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-05T00:17:48.677493-08:00","updated_at":"2025-11-05T00:33:38.998433-08:00","closed_at":"2025-11-05T00:33:38.998433-08:00","source_repo":"."} {"id":"bd-o78","content_hash":"0d61c7a8e687c16c262db4ba4e6c7f63861fbeb524ec014000c68a0552df7965","title":"Enhance `bd doctor` to verify Claude Code integration","description":"Add checks to `bd doctor` that verify Claude Code integration is properly set up when .claude/ directory or Claude environment is detected.","design":"## Checks to Add\n\n### 1. Claude Environment Detection\n```go\nif isClaudeDetected() {\n fmt.Println(\"✓ Claude Code environment detected\")\n \n // Check what's installed\n hasMCP := isMCPServerInstalled()\n hasHooks := isClaudeSetupComplete()\n \n if hasMCP \u0026\u0026 hasHooks {\n fmt.Println(\"✓ MCP server installed\")\n fmt.Println(\"✓ Claude hooks installed (provides workflow reminders)\")\n } else if !hasMCP \u0026\u0026 hasHooks {\n fmt.Println(\"✓ Claude hooks installed (provides CLI reference)\")\n fmt.Println(\" Note: MCP server not detected (using CLI mode)\")\n } else if hasMCP \u0026\u0026 !hasHooks {\n fmt.Println(\"✓ MCP server installed\")\n fmt.Println(\"⚠ Claude hooks not installed\")\n fmt.Println(\" Hooks prevent agent from forgetting bd workflow after compaction\")\n fmt.Println(\" Run: bd setup claude\")\n } else {\n fmt.Println(\"⚠ Claude integration not set up\")\n fmt.Println(\" Run: bd setup claude\")\n // TODO (future): Recommend CLI approach once proven in production\n // fmt.Println(\" Tip: CLI mode (without MCP) uses fewer tokens\")\n }\n}\n\nfunc isMCPServerInstalled() bool {\n // Check ~/.claude/settings.json for beads MCP server\n home, _ := os.UserHomeDir()\n settingsPath := filepath.Join(home, \".claude/settings.json\")\n \n data, err := os.ReadFile(settingsPath)\n if err != nil {\n return false\n }\n \n var settings map[string]interface{}\n if err := json.Unmarshal(data, \u0026settings); err != nil {\n return false\n }\n \n // Check mcpServers section for beads\n mcpServers, ok := settings[\"mcpServers\"].(map[string]interface{})\n if !ok {\n return false\n }\n \n // Look for beads server (any key containing \"beads\")\n for key := range mcpServers {\n if strings.Contains(strings.ToLower(key), \"beads\") {\n return true\n }\n }\n \n return false\n}\n```\n\n### 2. Hook Installation Verification (MCP-Aware)\n\n```go\nfunc checkClaudeHooks() {\n home, _ := os.UserHomeDir()\n globalSettings := filepath.Join(home, \".claude/settings.json\")\n projectSettings := \".claude/settings.local.json\"\n \n globalHooks := hasBeadsHooks(globalSettings)\n projectHooks := hasBeadsHooks(projectSettings)\n \n if globalHooks {\n fmt.Println(\"✓ Global hooks installed\")\n } else if projectHooks {\n fmt.Println(\"✓ Project hooks installed\")\n } else {\n fmt.Println(\"⚠ No hooks installed\")\n fmt.Println(\" Run: bd setup claude\")\n return\n }\n \n // Check if hooks will work\n if !commandExists(\"bd\") {\n fmt.Println(\"⚠ 'bd' command not in PATH\")\n fmt.Println(\" Hooks won't work - ensure bd is installed globally\")\n }\n}\n\nfunc hasBeadsHooks(settingsPath string) bool {\n data, err := os.ReadFile(settingsPath)\n if err != nil {\n return false\n }\n \n var settings map[string]interface{}\n if err := json.Unmarshal(data, \u0026settings); err != nil {\n return false\n }\n \n hooks, ok := settings[\"hooks\"].(map[string]interface{})\n if !ok {\n return false\n }\n \n // Check SessionStart and PreCompact for \"bd prime\"\n for _, event := range []string{\"SessionStart\", \"PreCompact\"} {\n eventHooks, ok := hooks[event].([]interface{})\n if !ok {\n continue\n }\n \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\"] == \"bd prime\" {\n return true\n }\n }\n }\n }\n \n return false\n}\n```\n\n### 3. AGENTS.md/CLAUDE.md Reference Check\n```go\n// Check if documentation references bd prime\nagentsContent := readFileIfExists(\"AGENTS.md\")\nclaudeContent := readFileIfExists(\"CLAUDE.md\")\n\nif strings.Contains(agentsContent, \"bd prime\") || strings.Contains(claudeContent, \"bd prime\") {\n // Verify bd prime command exists in current version\n if !commandExists(\"prime\") {\n fmt.Println(\"⚠ Documentation references 'bd prime' but command not found\")\n fmt.Println(\" Upgrade bd or remove references\")\n } else {\n fmt.Println(\"✓ Documentation references match installed features\")\n }\n}\n```\n\n### 4. Context Priming Test\n```go\n// Verify bd prime actually works\ncmd := exec.Command(\"bd\", \"prime\")\noutput, err := cmd.CombinedOutput()\n\nif err != nil {\n fmt.Println(\"⚠ 'bd prime' failed to execute\")\n fmt.Println(\" Error:\", err)\n} else if len(output) == 0 {\n fmt.Println(\"⚠ 'bd prime' produced no output\")\n fmt.Println(\" Expected workflow context markdown\")\n} else {\n // Check if output adapts to MCP mode\n hasMCP := isMCPServerInstalled()\n outputStr := string(output)\n \n if hasMCP \u0026\u0026 strings.Contains(outputStr, \"mcp__plugin_beads_beads__\") {\n fmt.Println(\"✓ bd prime detected MCP mode (workflow reminders)\")\n } else if !hasMCP \u0026\u0026 strings.Contains(outputStr, \"bd ready\") {\n fmt.Println(\"✓ bd prime using CLI mode (full command reference)\")\n } else {\n fmt.Println(\"⚠ bd prime output may not be adapting to environment\")\n }\n}\n```\n\n## Output Format Examples\n\n### With MCP and Hooks\n```\nbd doctor\n\nDatabase:\n✓ Database found at .beads/beads.db\n✓ Git hooks installed\n\nClaude Code Integration:\n✓ Claude Code environment detected\n✓ MCP server installed\n✓ Claude hooks installed (provides workflow reminders)\n✓ bd prime detected MCP mode (workflow reminders)\n✓ Documentation references match installed features\n\nSync Status:\n✓ No sync issues detected\n```\n\n### Without MCP, With Hooks\n```\nbd doctor\n\nDatabase:\n✓ Database found at .beads/beads.db\n✓ Git hooks installed\n\nClaude Code Integration:\n✓ Claude Code environment detected\n✓ Claude hooks installed (provides CLI reference)\n Note: MCP server not detected (using CLI mode)\n✓ bd prime using CLI mode (full command reference)\n\nSync Status:\n✓ No sync issues detected\n```\n\n### No Integration\n```\nbd doctor\n\nDatabase:\n✓ Database found at .beads/beads.db\n✓ Git hooks installed\n\nClaude Code Integration:\n✓ Claude Code environment detected\n⚠ Claude integration not set up\n Run: bd setup claude\n\nSync Status:\n✓ No sync issues detected\n```\n\n## Future Enhancement (Post-Production Validation)\n\nOnce CLI mode is proven in production, add recommendation:\n\n```go\nif isClaudeDetected() \u0026\u0026 !hasMCP \u0026\u0026 !hasHooks {\n fmt.Println(\"⚠ Claude integration not set up\")\n fmt.Println(\" Run: bd setup claude\")\n fmt.Println(\" Tip: CLI mode (without MCP) uses fewer tokens than MCP server\")\n fmt.Println(\" Both approaches work equally well - choose based on preference\")\n}\n```\n\nThis recommendation should only be added after CLI mode with `bd prime` is validated in real-world usage.","acceptance_criteria":"- bd doctor checks for Claude environment\n- Verifies hook installation if .claude/ exists\n- Checks AGENTS.md/CLAUDE.md for bd prime references\n- Detects version mismatches between docs and installed bd\n- Provides actionable suggestions (bd setup claude, upgrade)\n- Tests cover detection logic","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-11T23:30:05.782406-08:00","updated_at":"2025-11-12T00:12:07.717579-08:00","source_repo":".","dependencies":[{"issue_id":"bd-o78","depends_on_id":"bd-rpn","type":"blocks","created_at":"2025-11-11T23:30:05.783234-08:00","created_by":"daemon"},{"issue_id":"bd-o78","depends_on_id":"bd-br8","type":"blocks","created_at":"2025-11-11T23:30:05.783647-08:00","created_by":"daemon"},{"issue_id":"bd-o78","depends_on_id":"bd-90v","type":"parent-child","created_at":"2025-11-11T23:31:27.886095-08:00","created_by":"daemon"}]} {"id":"bd-oif6","content_hash":"5732dcbfd354e39ae9249cbae70f08ec1ccf026a812129519dfda5a8588e5ad1","title":"Vendor beads-merge Go code into internal/merge/","description":"Copy beads-merge source code from @neongreen's repo into bd codebase.\n\n**Tasks**:\n- Create `internal/merge/` package\n- Copy merge algorithm code\n- Add attribution header to all files\n- Update imports to use bd's internal types\n- Add LICENSE/ATTRIBUTION file crediting @neongreen\n- Keep original algorithm intact\n\n**Source**: https://github.com/neongreen/mono/tree/main/beads-merge","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T18:42:20.405283-08:00","updated_at":"2025-11-05T18:52:53.71713-08:00","closed_at":"2025-11-05T18:52:53.71713-08:00","source_repo":".","dependencies":[{"issue_id":"bd-oif6","depends_on_id":"bd-qqvw","type":"parent-child","created_at":"2025-11-05T18:42:28.69196-08:00","created_by":"daemon"}]} +{"id":"bd-ola6","content_hash":"79461888e8a7875bf3623b8db44ea004f73a2374daa52ae9cb3fc9d3ce5e6a8b","title":"Implement transaction retry logic for SQLITE_BUSY","description":"BEGIN IMMEDIATE fails immediately on SQLITE_BUSY instead of retrying with exponential backoff.\n\nLocation: internal/storage/sqlite/sqlite.go:223-225\n\nProblem:\n- Under concurrent write load, BEGIN IMMEDIATE can fail with SQLITE_BUSY\n- Current implementation fails immediately instead of retrying\n- Results in spurious failures under normal concurrent usage\n\nSolution: Implement exponential backoff retry:\n- Retry up to N times (e.g., 5)\n- Backoff: 10ms, 20ms, 40ms, 80ms, 160ms\n- Check for context cancellation between retries\n- Only retry on SQLITE_BUSY/database locked errors\n\nImpact: Spurious failures under concurrent write load\n\nEffort: 3 hours","status":"open","priority":1,"issue_type":"feature","created_at":"2025-11-16T14:51:31.247147-08:00","updated_at":"2025-11-16T14:51:31.247147-08:00","source_repo":"."} {"id":"bd-omx1","content_hash":"e61d74adb03fc8275c97242df8ce0e4146db7e49271e4e86c3379b4a3fbab0d8","title":"Add `bd merge` command wrapping 3-way merge logic","description":"Implement CLI command to invoke beads-merge functionality.\n\n**Interface**:\n```bash\nbd merge \u003coutput\u003e \u003cbase\u003e \u003cleft\u003e \u003cright\u003e\nbd merge --debug \u003coutput\u003e \u003cbase\u003e \u003cleft\u003e \u003cright\u003e\n```\n\n**Behavior**:\n- Exit code 0 on clean merge\n- Exit code 1 if conflicts (write conflict markers)\n- Support --debug flag for verbose output\n- Match beads-merge's existing behavior\n\n**File**: `cmd/bd/merge.go`","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T18:42:20.427429-08:00","updated_at":"2025-11-05T19:01:29.071365-08:00","closed_at":"2025-11-05T19:01:29.071365-08:00","source_repo":".","dependencies":[{"issue_id":"bd-omx1","depends_on_id":"bd-qqvw","type":"parent-child","created_at":"2025-11-05T18:42:28.709123-08:00","created_by":"daemon"},{"issue_id":"bd-omx1","depends_on_id":"bd-oif6","type":"blocks","created_at":"2025-11-05T18:42:35.436444-08:00","created_by":"daemon"}]} {"id":"bd-p0zr","content_hash":"5e518ce89ce35cb4b5b534b8c1287679b7984bc73f7c6747773962277d2ad1bc","title":"bd message: Improve type safety with typed parameter structs","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-08T12:54:29.675678-08:00","updated_at":"2025-11-08T12:58:59.559643-08:00","closed_at":"2025-11-08T12:58:59.559643-08:00","source_repo":".","dependencies":[{"issue_id":"bd-p0zr","depends_on_id":"bd-6uix","type":"parent-child","created_at":"2025-11-08T12:55:55.058354-08:00","created_by":"daemon"}]} {"id":"bd-p65x","content_hash":"9fb7f74dbd1c92d47ff34bae3a58b9a4b97643a065cc07e3f76d20537f93be91","title":"Latency test 1","description":"","status":"closed","priority":3,"issue_type":"task","created_at":"2025-11-08T00:04:38.815725-08:00","updated_at":"2025-11-09T14:53:53.215595-08:00","closed_at":"2025-11-09T14:53:53.215603-08:00","source_repo":"."} @@ -2733,8 +2934,11 @@ {"id":"bd-pdjb","content_hash":"ac30f03839ef20d09a5a6c4915b8046b270ebdb564c1ee7511edc72128cd8fa0","title":"Testing \u0026 Validation","description":"Ensure reliability through comprehensive testing.","notes":"Completed comprehensive Agent Mail test coverage analysis and implementation.\n\n**Test Coverage Summary:**\n- 66 total tests across 5 files\n- 51 unit tests for HTTP adapter (0.02s)\n- 15 integration tests for multi-agent scenarios (~55s total)\n\n**New Tests Added:**\nCreated `test_multi_agent_coordination.py` (4 tests, 11s) covering:\n1. Fairness: 10 agents competing for 5 issues → exactly 1 claim per issue\n2. Notifications: End-to-end message delivery between agents\n3. Handoff: Clean reservation transfer from agent1 to agent2\n4. Idempotency: Double reserve/release by same agent\n\n**Coverage Quality:**\n✅ Collision prevention (race conditions)\n✅ Graceful degradation (7 failure modes)\n✅ TTL/expiration behavior\n✅ Multi-agent coordination\n✅ JSONL consistency\n✅ HTTP error handling\n✅ Authorization and configuration\n\n**Intentionally Skipped:**\n- Path traversal (validated elsewhere)\n- Retry policies (nice-to-have)\n- HTTPS/TLS (out of scope)\n- Slow tests (50+ agents, soak tests)\n\nSee `tests/integration/AGENT_MAIL_TEST_COVERAGE.md` for details.\n\nAll tests pass. Agent Mail integration is well-tested and reliable for multi-agent scenarios.","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-07T22:43:00.457985-08:00","updated_at":"2025-11-08T03:54:04.857153-08:00","closed_at":"2025-11-08T02:47:34.153586-08:00","source_repo":".","dependencies":[{"issue_id":"bd-pdjb","depends_on_id":"bd-wfmw","type":"blocks","created_at":"2025-11-07T22:43:00.459403-08:00","created_by":"daemon"}]} {"id":"bd-pdwz","content_hash":"5c35a877ec5fa3af14a45a920764e7a4c289f93c427a479da7b335c068195af0","title":"Add t.Parallel() to slow hash multiclone tests","description":"Add t.Parallel() to TestHashIDs_MultiCloneConverge and TestHashIDs_IdenticalContentDedup so they run concurrently.\n\nExpected savings: ~10 seconds (from 20s to ~11s)\n\nImplementation:\n- Add t.Parallel() call at start of each test function\n- Verify tests don't share resources that would cause conflicts\n- Run tests to confirm they work in parallel\n\nFile: beads_hash_multiclone_test.go:34, :101","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-04T01:24:15.705228-08:00","updated_at":"2025-11-04T09:52:31.945545-08:00","closed_at":"2025-11-04T09:52:31.945545-08:00","source_repo":".","dependencies":[{"issue_id":"bd-pdwz","depends_on_id":"bd-l5gq","type":"blocks","created_at":"2025-11-04T01:24:15.706149-08:00","created_by":"daemon"}]} {"id":"bd-pmuu","content_hash":"5e55fb75f647ecdcf928497d05c0263a5db7baf1d1d47e8b4074ca02766672ba","title":"Create architecture decision record (ADR)","description":"Document why we chose Agent Mail, alternatives considered, and tradeoffs.\n\nAcceptance Criteria:\n- Problem statement (git traffic, no locks)\n- Alternatives considered (custom RPC, Redis, etc.)\n- Why Agent Mail fits Beads\n- Integration principles (optional, graceful degradation)\n- Future considerations\n\nFile: docs/adr/002-agent-mail-integration.md","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-07T22:42:51.420203-08:00","updated_at":"2025-11-08T01:51:40.351586-08:00","closed_at":"2025-11-08T00:06:01.816892-08:00","source_repo":".","dependencies":[{"issue_id":"bd-pmuu","depends_on_id":"bd-spmx","type":"parent-child","created_at":"2025-11-08T00:02:47.93119-08:00","created_by":"daemon"}]} +{"id":"bd-q13h","content_hash":"ad443aa59b317e5900e1c0e3a083d693c699c44f8582a6bfdf6c0d93f909e40c","title":"Makefile Integration for Benchmarks","description":"Add a single 'bench' target to the Makefile for running performance benchmarks.\n\nTarget:\n.PHONY: bench\n\nbench:\n\tgo test -bench=. -benchtime=3s -tags=bench \\\n\t\t-cpuprofile=cpu.prof -memprofile=mem.prof \\\n\t\t./internal/storage/sqlite/\n\t@echo \"\"\n\t@echo \"Profiles generated. View flamegraph:\"\n\t@echo \" go tool pprof -http=:8080 cpu.prof\"\n\nFeatures:\n- Single simple target, no complexity\n- Always generates CPU and memory profiles\n- Clear output on how to view results\n- 3 second benchmark time for reliable results\n- Uses bench build tag for heavy benchmarks\n\nUsage:\n make bench # Run all benchmarks\n go test -bench=BenchmarkGetReadyWork... # Run specific benchmark","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-13T22:23:25.922916-08:00","updated_at":"2025-11-14T08:55:17.620824-08:00","closed_at":"2025-11-14T08:55:17.620824-08:00","source_repo":".","dependencies":[{"issue_id":"bd-q13h","depends_on_id":"bd-zj8e","type":"blocks","created_at":"2025-11-13T22:24:06.371947-08:00","created_by":"daemon"}]} {"id":"bd-q2ri","content_hash":"472cf1c393423f4ec4a4e74a971be0f44fd4b8186ea276860fe0947d031e3eb1","title":"bd-hv01: Add comprehensive edge case tests for deletion tracking","description":"Need to add tests for: corrupted snapshot file, stale snapshot (\u003e 1 hour), concurrent sync operations (daemon + manual), partial deletion failure, empty remote JSONL, multi-repo mode with deletions, git worktree scenario.\n\nAlso refine TestDeletionWithLocalModification to check for specific conflict error instead of accepting any error.\n\nFiles: cmd/bd/deletion_tracking_test.go","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-06T18:16:26.849881-08:00","updated_at":"2025-11-06T20:06:49.221043-08:00","closed_at":"2025-11-06T19:55:39.700695-08:00","source_repo":".","dependencies":[{"issue_id":"bd-q2ri","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T18:19:15.104113-08:00","created_by":"daemon"}]} +{"id":"bd-q59i","content_hash":"807970859370452e8892779759b15ba2f52740d8d38ad1c1f8f47a364c898cc3","title":"User Diagnostics (bd doctor --perf)","description":"Extend cmd/bd/doctor.go to add --perf flag for user performance diagnostics.\n\nFunctionality:\n- Add --perf flag to existing bd doctor command\n- Collect system info (OS, arch, Go version, SQLite version)\n- Collect database stats (size, issue counts, dependency counts)\n- Time key operations on user's actual database:\n * bd ready\n * bd list --status=open\n * bd show \u003crandom-issue\u003e\n * bd create (with rollback)\n * Search with filters\n- Generate CPU profile automatically (timestamped filename)\n- Output simple report with platform info, timings, profile location\n\nOutput example:\n Beads Performance Diagnostics\n Platform: darwin/arm64\n Database: 8,234 issues (4,123 open)\n \n Operation Performance:\n bd ready 42ms\n bd list --status=open 15ms\n \n Profile saved: beads-perf-2025-11-13.prof\n View: go tool pprof -http=:8080 beads-perf-2025-11-13.prof\n\nImplementation:\n- Extend cmd/bd/doctor.go (~100 lines)\n- Use runtime/pprof for CPU profiling\n- Use time.Now()/time.Since() for timing\n- Rollback test operations (don't modify user's database)","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-13T22:23:11.988562-08:00","updated_at":"2025-11-13T22:45:57.26294-08:00","closed_at":"2025-11-13T22:45:57.26294-08:00","source_repo":".","dependencies":[{"issue_id":"bd-q59i","depends_on_id":"bd-zj8e","type":"blocks","created_at":"2025-11-13T22:24:06.336236-08:00","created_by":"daemon"}]} {"id":"bd-q652","content_hash":"d106ac81413dae0b983c13d405a419c5c3f9c6009668a642d0a115aa43524235","title":"Database pollution in ~/src/dave/vc: 895 issues vs canonical 310","description":"~/src/dave/vc/.beads/beads.db has 895 total issues (675 open, 149 closed), but canonical ~/src/vc/.beads/vc.db has only 310 issues (230 open). This is 585 extra issues - likely pollution from other repositories.\n\nNeed to:\n1. Identify which issues are polluted (use detect-pollution)\n2. Compare issue IDs between dave/vc and canonical vc databases\n3. Determine pollution source (beads repo? other repos?)\n4. Clean up polluted database\n5. Root cause: why did pollution occur?","notes":"Investigation findings so far:\n- Polluted DB (~/src/dave/vc/.beads/beads.db): 241 issues (180 open, 43 closed)\n- Canonical DB (~/src/vc/.beads/vc.db): 310 issues (230 open, 62 closed)\n- Contradiction: Polluted has FEWER issues, not more (241 \u003c 310, diff of 69)\n- Only 1 unique ID in polluted: vc-55fi\n- All source_repo fields are set to \".\" in both databases\n- Issue description claims 895 issues in polluted vs 310 canonical - numbers don't match current state\n- Possible: Pollution was already partially cleaned, or issue description refers to different database?","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-11-07T00:07:37.999168-08:00","updated_at":"2025-11-07T00:13:32.179396-08:00","closed_at":"2025-11-07T00:13:32.179396-08:00","source_repo":"."} +{"id":"bd-qhws","content_hash":"8bc709fe88d2b880e7ffa946e4c957d5c0494c8f198bc51b7fe0543a99b30947","title":"Configure database connection pool limits for daemon mode","description":"Database connection pool not configured for file-based databases when running in daemon mode.\n\nLocation: internal/storage/sqlite/sqlite.go:108-116\n\nProblem:\n- Daemon is a long-running server handling concurrent RPC requests\n- Multiple CLI commands hit same daemon simultaneously \n- Go default: unlimited connections (MaxOpenConns=0)\n- SQLite IMMEDIATE transactions serialize on write lock\n- Can have 100+ goroutines blocked waiting, each holding connection\n- Results in connection exhaustion and 'database is locked' errors\n\nCurrent code only limits in-memory DBs:\nif isInMemory {\n db.SetMaxOpenConns(1)\n db.SetMaxIdleConns(1)\n}\n// File DBs: UNLIMITED connections!\n\nFix:\nif !isInMemory {\n maxConns := runtime.NumCPU() + 1 // 1 writer + N readers\n db.SetMaxOpenConns(maxConns)\n db.SetMaxIdleConns(2)\n db.SetConnMaxLifetime(0)\n}\n\nImpact: 'database is locked' errors under concurrent load in daemon mode\n\nNote: NOT an issue for direct CLI usage (each process isolated). Only affects daemon mode where multiple CLI commands share one database pool.\n\nEffort: 1 hour","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-16T14:51:24.579345-08:00","updated_at":"2025-11-16T15:04:00.450911-08:00","closed_at":"2025-11-16T15:04:00.450911-08:00","source_repo":"."} {"id":"bd-qq2i","content_hash":"9e1e4ce5774fa61cdcd093805f0475bc54b39ced9672e81c9fea781441de2ef2","title":"Add 'bd message send' command for Agent Mail messaging","description":"Agent Mail server supports messaging between agents, but bd CLI only uses it for file reservations. Add commands for inter-agent messaging.\n\n## Background\n- Agent Mail server running at http://127.0.0.1:8765\n- 12 workspaces configured across 3 channels (beads.dev, vc.dev, wyvern.dev)\n- Current integration: file reservations only\n- Gap: no way to send messages from bd CLI\n\n## Proposed Commands\n\n```bash\n# Send message to another agent\nbd message send \u003cto-agent\u003e \u003cmessage\u003e [options]\n --subject \u003csubject\u003e\n --thread-id \u003cthread-id\u003e # Optional - group related messages\n --project-id \u003cproject\u003e # Defaults to BEADS_PROJECT_ID\n\n# List inbox messages\nbd message inbox [options]\n --limit \u003cN\u003e\n --unread-only\n\n# Read specific message\nbd message read \u003cmessage-id\u003e\n\n# Mark message as acknowledged\nbd message ack \u003cmessage-id\u003e\n```\n\n## Example Usage\n\n```bash\n# Send message to agent in same channel\nbd message send cino-beads-stevey-macbook \"Working on bd-z0yn, need your review\" \\\n --subject \"Review request\" \\\n --thread-id bd-z0yn\n\n# Check inbox\nbd message inbox --unread-only\n\n# Read and acknowledge\nbd message read msg-abc123\nbd message ack msg-abc123\n```\n\n## Design Notes\n- Use same env vars (BEADS_AGENT_MAIL_URL, BEADS_AGENT_NAME, BEADS_PROJECT_ID)\n- Graceful degradation if Agent Mail unavailable\n- JSON output support for all commands\n- Consider integrating with bd update/close (auto-notify on status changes)\n\n## References\n- Agent Mail README: ~/src/mcp_agent_mail/README.md\n- Beads integration docs: docs/AGENT_MAIL.md","notes":"## Implementation Summary\n\nAdded four new commands to bd CLI for Agent Mail messaging:\n\n1. `bd message send \u003cto-agent\u003e \u003cmessage\u003e` - Send messages to other agents\n - Flags: --subject, --thread-id, --importance, --ack-required\n - Supports markdown content\n - Thread conversations by issue ID\n\n2. `bd message inbox` - List inbox messages\n - Flags: --limit, --unread-only, --urgent-only, --json\n - Shows subject, sender, age, importance\n - Highlights unread and ACK-required messages\n\n3. `bd message read \u003cmessage-id\u003e` - Read and mark message as read\n - Automatically marks message as read\n - Shows message content\n\n4. `bd message ack \u003cmessage-id\u003e` - Acknowledge a message\n - Marks message as acknowledged\n - Also marks as read if not already\n\n## Implementation Details\n\n- Uses JSON-RPC over HTTP to communicate with Agent Mail server\n- Configuration via environment variables (BEADS_AGENT_MAIL_URL, BEADS_AGENT_NAME, BEADS_PROJECT_ID)\n- Graceful error messages when Agent Mail not configured\n- Full JSON output support for programmatic use\n- Follows same patterns as existing bd commands\n\n## Documentation\n\nUpdated:\n- docs/AGENT_MAIL.md - Added \"Messaging Commands\" section with examples and best practices\n- README.md - Added \"Messaging (Agent Mail)\" section in Usage\n\n## Testing\n\n- Compiles successfully\n- Help output works correctly\n- Ready for integration testing with Agent Mail server","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-08T12:44:03.547806-08:00","updated_at":"2025-11-08T12:49:02.436927-08:00","closed_at":"2025-11-08T12:49:02.436927-08:00","source_repo":"."} {"id":"bd-qqvw","content_hash":"745b79db79433a49b763685e52e45f7083e49e26ca4dc4e82d16848a09ca1817","title":"Vendor and integrate beads-merge tool","description":"Incorporate @neongreen's beads-merge 3-way merge tool into bd to solve:\n- Multi-workspace deletion sync (bd-hv01)\n- Git merge conflicts in JSONL\n- Field-level intelligent merging\n\n**Repository**: https://github.com/neongreen/mono/tree/main/beads-merge\n\n**Integration approach**: Vendor the Go code with attribution, pending @neongreen's approval (GitHub issue #240)\n\n**Benefits**:\n- Prevents deletion resurrection bug\n- Smart dependency merging (union + dedup)\n- Timestamp handling (max wins)\n- Detects deleted-vs-modified conflicts\n- Works as git merge driver\n\n**Acceptance criteria**:\n- beads-merge code vendored into bd codebase\n- Available as `bd merge` command\n- Git merge driver setup during `bd init`\n- Tests verify 3-way merge logic\n- Documentation updated\n- @neongreen credited","status":"closed","priority":1,"issue_type":"epic","created_at":"2025-11-05T18:41:59.500359-08:00","updated_at":"2025-11-06T18:19:16.234208-08:00","closed_at":"2025-11-06T15:40:24.796921-08:00","source_repo":"."} {"id":"bd-qs4p","content_hash":"46a4cf3491c85c38d7bf9e3ffc260c939d76e471d9dae41785de197269e3c05c","title":"bd import fails on duplicate external_ref with no resolution options","description":"When JSONL contains duplicate external_ref values (e.g., two issues both have external_ref='BS-170'), bd import fails entirely with no resolution options.\n\nUser must manually edit JSONL to remove duplicates, which is error-prone.\n\nExample error:\n```\nbatch import contains duplicate external_ref values:\nexternal_ref 'BS-170' appears in issues: [opal-39 opal-43]\n```\n\nShould handle this similar to duplicate issue detection - offer to merge, pick one, or clear duplicates.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-06T10:53:41.906165-08:00","updated_at":"2025-11-06T11:03:16.975041-08:00","closed_at":"2025-11-06T11:03:16.975041-08:00","source_repo":"."} @@ -2754,12 +2958,14 @@ {"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-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-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":"."} {"id":"bd-wcl","content_hash":"c08d62ce3627a49126c63f6a630a08c1666e5b1b8d9148ae0c72d7d06611b2a9","title":"Document CLI + hooks as recommended approach over MCP","description":"Update documentation to position CLI + bd prime hooks as the primary recommended approach over MCP server, explaining why minimizing context matters even with large context windows (compute cost, energy, environment, latency).","design":"## Goals\n\nPosition CLI + `bd prime` hooks as the **primary recommended approach** for AI agent integration, with MCP server as a legacy/fallback option.\n\nExplore **hybrid mode** - if certain commands benefit from MCP (UX/DX advantages like no approval prompts), minimize MCP surface area to only those commands.\n\nThis requires production validation first - only update docs after CLI mode is proven reliable.\n\n## Why Minimize Context (Even With Large Windows)\n\n**Context window size ≠ free resource**\n\nLarge context windows (100k+, 200k+) don't mean we should fill them wastefully. Every token in context has real costs:\n\n### Compute Cost\n- **Processing overhead**: Larger context = more GPU/CPU cycles per request\n- **Memory usage**: 10.5k tokens consume significant RAM/VRAM\n- **Scaling impact**: Multiplied across all users, all sessions, all requests\n\n### Energy \u0026 Environment\n- **Electricity**: More compute = more power consumption\n- **Carbon footprint**: Data centers running on grid power (not all renewable)\n- **Sustainability**: Unnecessary token usage contributes to AI's environmental impact\n- **Responsibility**: Efficient tools are better for the planet\n\n### User Experience\n- **Latency**: Larger context = slower processing (noticeable at 10k+ tokens)\n- **Cost**: Many AI services charge per token (input + output)\n- **Rate limits**: Context counts against API quotas\n\n### Engineering Excellence\n- **Efficiency**: Good engineering minimizes resource usage\n- **Scalability**: Efficient tools scale better\n- **Best practices**: Optimize for the common case\n\n**The comparison:**\n\n| Approach | Standing Context | Efficiency | User Cost | Environmental Impact |\n|----------|-----------------|------------|-----------|---------------------|\n| **CLI + hooks** | ~1-2k tokens | 80-90% reduction | Lower | Sustainable ✓ |\n| **MCP minimal** | ~2-4k tokens | 60-80% reduction | Medium | Better ✓ |\n| **MCP full** | ~10.5k tokens | Baseline | Higher | Wasteful ✗ |\n\n**Functional equivalence:**\n- CLI via Bash tool works just as well as MCP native calls\n- Same features, same reliability\n- No downside except initial learning curve\n\n## Hybrid Mode: Minimal MCP Surface Area\n\n**Philosophy:** MCP server doesn't have to expose everything.\n\nIf certain commands have legitimate UX/DX benefits from MCP (e.g., no approval prompts, cleaner syntax), we can expose ONLY those commands via MCP while using CLI for everything else.\n\n### Potential MCP-Only Candidates (TBD)\n\nCommands that might benefit from MCP native calls:\n- `ready` - frequently checked, no side effects, approval prompt annoying\n- `show` - read-only, frequently used, approval slows workflow\n- `list` - read-only, no risk, approval adds friction\n\nCommands that work fine via CLI:\n- `create` - complex parameters, benefits from explicit confirmation\n- `update` - state changes, good to see command explicitly\n- `close` - state changes, explicit is better\n- `dep` - relationships, good to see what's being linked\n- `sync` - git operations, definitely want visibility\n\n### Token Budget\n\n**Full MCP** (current): ~10.5k tokens\n- All ~20+ bd commands exposed\n- All parameter schemas\n- All descriptions and examples\n\n**Minimal MCP** (proposed): ~2-4k tokens\n- 3-5 high-frequency read commands only\n- Simplified schemas\n- Minimal descriptions\n- Everything else via CLI\n\n**Pure CLI**: ~1-2k tokens (only on SessionStart/PreCompact)\n- No MCP tools loaded\n- All commands via Bash\n\n### Investigation Required\n\nBefore implementing hybrid mode, validate:\n\n1. **Do MCP calls actually skip approval prompts?**\n - Test with Claude Code approval settings\n - Compare MCP tool calls vs Bash tool calls\n - Measure UX difference in real usage\n\n2. **What's the actual token breakdown per command?**\n - Measure individual command schemas\n - Calculate token savings for minimal vs full\n\n3. **Is approval prompt the only benefit?**\n - Are there other UX advantages to MCP?\n - Does native syntax actually improve experience?\n - User testing with both approaches\n\n4. **Can we dynamically load MCP tools?**\n - Only load MCP when certain commands needed?\n - Hot-swap between CLI and MCP?\n - Probably not - MCP loads at startup\n\n### Hybrid Mode Documentation (If Validated)\n\n```markdown\n## Choosing Your Integration Approach\n\nBeads supports three AI agent integration approaches:\n\n### CLI + Hooks (Recommended - Most Efficient)\n\n**Setup:** `bd setup claude`\n\nUses Claude Code hooks to inject workflow context via `bd prime` command. Agent uses bd via Bash tool.\n\n**Tokens:** ~1-2k (on SessionStart/PreCompact only)\n\n**Pros:**\n- Maximum efficiency (80-90% reduction vs full MCP)\n- Lowest compute/energy usage\n- Same functionality as MCP\n\n**Cons:**\n- Bash tool calls may require approval prompts\n- Slightly more verbose in conversation\n\n### Minimal MCP + Hooks (Balanced)\n\n**Setup:** Install minimal MCP server (read-only commands) + `bd setup claude`\n\nExposes only high-frequency read commands via MCP (ready, show, list). Everything else via CLI.\n\n**Tokens:** ~2-4k MCP + ~1-2k hooks\n\n**Pros:**\n- 60-80% reduction vs full MCP\n- No approval prompts for common queries\n- Cleaner syntax for frequent operations\n- Still efficient\n\n**Cons:**\n- Requires MCP server (additional setup)\n- Mixed interface (some MCP, some CLI)\n\n### Full MCP + Hooks (Legacy)\n\n**Setup:** Install full MCP server + `bd setup claude`\n\n**Tokens:** ~10.5k MCP + hooks\n\n**Pros:**\n- All commands as native function calls\n- Consistent interface\n\n**Cons:**\n- Highest token usage (worst for compute/energy/cost)\n- Slowest processing\n- Less sustainable\n\n### Recommendation\n\n1. **Start with CLI + hooks** - most efficient, works great\n2. **Try minimal MCP** if approval prompts become annoying\n3. **Avoid full MCP** - wasteful with no significant benefit\n```\n\n## Production Validation Checklist\n\nBefore making these documentation changes, validate CLI approach works reliably:\n\n### Phase 1: Pure CLI Validation\n- [ ] `bd prime` implemented and tested\n- [ ] Hooks installed and working in Claude Code\n- [ ] Real-world usage by at least 2-3 developers for 1+ weeks\n- [ ] No significant usability issues reported\n- [ ] Agent successfully uses bd via Bash tool\n- [ ] Document which commands (if any) have approval prompt issues\n\n### Phase 2: Hybrid Mode Investigation (Optional)\n- [ ] Test if MCP calls skip approval prompts vs Bash calls\n- [ ] Measure token cost per MCP command\n- [ ] Identify minimal set of commands worth exposing via MCP\n- [ ] Build minimal MCP server variant\n- [ ] Validate token savings (should be 60-80% vs full MCP)\n- [ ] User testing shows actual UX improvement\n\n### Phase 3: Documentation Update\n- [ ] Update based on validation results\n- [ ] Include measured token counts (not estimates)\n- [ ] Provide clear migration paths\n- [ ] Update `bd doctor` recommendations\n\n## Migration Guide (Optional)\n\nFor users currently using MCP:\n\n```markdown\n### Migrating from Full MCP to CLI + Hooks\n\nAlready using full MCP server? You can switch to the more efficient CLI approach:\n\n1. Install hooks: `bd setup claude`\n2. Test it works (hooks inject context, agent uses Bash tool)\n3. Remove MCP server from `~/.claude/settings.json`\n4. Restart Claude Code\n\nYou'll get the same functionality with 80-90% less token usage.\n\n### Migrating to Minimal MCP (If Available)\n\nIf you find approval prompts annoying for certain commands:\n\n1. Replace full MCP with minimal MCP in `~/.claude/settings.json`\n2. Restart Claude Code\n3. Verify high-frequency commands (ready, show, list) work via MCP\n4. Everything else automatically uses CLI\n\nYou'll get 60-80% token reduction vs full MCP while keeping the UX benefits.\n```\n\n## Files to Update\n\n- `README.md` - Add recommendation in AI Integration section\n- `AGENTS.md` - Add \"Choosing Your Integration Approach\" section early\n- `QUICKSTART.md` - Update AI integration section\n- `docs/` - Any other AI integration docs if they exist\n- `mcp-server/` - Create minimal variant if hybrid validated\n\n## Future: Update `bd init`\n\nOnce validated, update `bd init` to:\n- Default to recommending `bd setup claude` (hooks only)\n- Mention minimal MCP as option for UX improvement\n- Detect existing full MCP and suggest migration\n- Provide token usage estimates for each approach\n\n## MCP Server Architecture Note\n\n**Key insight:** MCP server doesn't have to expose all bd functionality.\n\nCurrent design exposes ~20+ commands (all bd subcommands). This is over-engineered.\n\n**Better design:**\n- **Minimal MCP**: 3-5 read-only commands (~2-4k tokens)\n- **CLI**: Everything else via Bash tool\n- **Hooks**: Context injection via `bd prime`\n\nThis achieves best of both worlds:\n- Low token usage (efficient)\n- No approval prompts for common queries (UX)\n- Explicit visibility for state changes (safety)\n\nIf validation shows NO meaningful benefit to MCP (even minimal), skip hybrid mode entirely and recommend pure CLI.","acceptance_criteria":"- Documentation explains CLI + hooks as recommended approach\n- Explains why context size matters (compute/energy/cost/latency)\n- Token comparison table shows 80-90% reduction\n- Migration guide for existing MCP users\n- Only deployed AFTER production validation\n- Clear that both approaches are supported","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-12T00:15:25.923025-08:00","updated_at":"2025-11-12T00:18:16.786857-08:00","source_repo":"."} @@ -2772,13 +2978,17 @@ {"id":"bd-xo6b","content_hash":"a8f6100ae8d6569c75565d5a1aacbc0e55806fab917399ab473fb212fa694b80","title":"Review multi-repo deletion tracking implementation","description":"Thoroughly review the multi-repo deletion tracking fix (bd-4oob):\n\nFiles changed:\n- cmd/bd/deletion_tracking.go: Added getMultiRepoJSONLPaths() helper\n- cmd/bd/daemon_sync.go: Updated snapshot capture/update logic for multi-repo\n- cmd/bd/deletion_tracking_test.go: Added 2 new tests (287 lines)\n\nReview focus areas:\n1. Correctness: Does getMultiRepoJSONLPaths() handle all edge cases?\n2. Performance: Calling getMultiRepoJSONLPaths() 3x per sync (snapshot capture, merge, base update) - should we cache?\n3. Error handling: What if some repos fail snapshot operations but others succeed?\n4. Race conditions: Multiple daemons in different repos?\n5. Test coverage: Are TestMultiRepoDeletionTracking and TestMultiRepoSnapshotIsolation sufficient?\n6. Path handling: Absolute vs relative paths, tilde expansion\n\nThis is fresh code - needs careful review before considering deletion tracking production-ready.","notes":"Code review completed. Overall assessment: Core deletion tracking logic is sound, but error handling and path handling issues make this not yet production-ready for multi-repo scenarios.\n\nKey findings:\n\nCRITICAL ISSUES (Priority 1):\n1. Inconsistent error handling in daemon_sync.go - snapshot/merge fail hard but base update warns. Can leave DB in inconsistent state with no rollback. See bd-sjmr.\n2. No path normalization in getMultiRepoJSONLPaths() - tilde expansion, relative paths, duplicates not handled. See bd-iye7.\n\nSHOULD FIX (Priority 2):\n3. Missing test coverage for edge cases - empty paths, duplicates, partial failures. See bd-kdoh.\n4. Performance - getMultiRepoJSONLPaths() called 3x per sync (minor issue). See bd-we4p.\n\nWHAT WORKS WELL:\n- Atomic file operations with PID-based temp files\n- Good snapshot isolation between repos\n- Race condition protection via exclusive locks\n- Solid test coverage for happy path scenarios\n\nVERDICT: Address bd-iye7 and bd-sjmr before considering deletion tracking production-ready for multi-repo mode.\n\nDetailed review notes available in conversation history.","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-06T19:23:52.402949-08:00","updated_at":"2025-11-06T19:32:34.160341-08:00","closed_at":"2025-11-06T19:32:34.160341-08:00","source_repo":".","dependencies":[{"issue_id":"bd-xo6b","depends_on_id":"bd-rbxi","type":"parent-child","created_at":"2025-11-06T19:23:52.403723-08:00","created_by":"daemon"}]} {"id":"bd-xzrv","content_hash":"45b45aaa47b9fc254ce74750b92f5527862672d9826c7ad59e006bdb1bc9939f","title":"Write Agent Mail integration guide","description":"Comprehensive guide for setting up and using Agent Mail with Beads.\n\nAcceptance Criteria:\n- Installation instructions\n- Configuration (environment variables)\n- Architecture diagram\n- Benefits and tradeoffs\n- When to use vs not use\n- Troubleshooting section\n- Migration from git-only mode\n\nFile: docs/AGENT_MAIL.md\n\nSections:\n- Quick start\n- How it works\n- Integration points\n- Graceful degradation\n- Multi-machine deployment\n- FAQ","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T22:42:51.231066-08:00","updated_at":"2025-11-08T01:51:40.352442-08:00","closed_at":"2025-11-08T00:40:38.798162-08:00","source_repo":".","dependencies":[{"issue_id":"bd-xzrv","depends_on_id":"bd-fzbg","type":"blocks","created_at":"2025-11-07T22:42:51.232246-08:00","created_by":"daemon"}]} {"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-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":"."} {"id":"bd-zbq2","content_hash":"56dfd7f2c09dafd232a1ae26063744c89a1ba317e50a3429ec19b73ee1402993","title":"bd export should verify JSONL line count matches database count","description":"After export completes, bd should verify that the JSONL file line count matches the number of issues exported. This would catch silent failures where the export appears to succeed but doesn't actually write all issues.\n\nReal-world scenario from VC project:\n- Ran direct SQL DELETE to remove 240 issues \n- Ran 'bd export -o .beads/issues.jsonl'\n- No error shown, appeared to succeed\n- But JSONL file was not updated (still had old line count)\n- Later session found all 240 issues still in JSONL\n- Had to repeat the cleanup\n\nIf export had verified line count, it would have immediately shown:\n Error: Export verification failed\n Expected: 276 issues\n JSONL file: 516 lines\n Mismatch indicates export failed to write all issues\n\nThis is especially important because:\n1. JSONL is source of truth in git\n2. Silent export failures cause data inconsistency\n3. Users assume export succeeded if no error shown\n4. The verification is cheap (just count lines)\n\nImplementation:\n- After writing JSONL, count lines in file\n- Compare to len(exportedIDs)\n- If mismatch, remove temp file and return error\n- Show clear error message with both counts","design":"In cmd/bd/export.go, after atomic rename (line ~301):\n\n1. Count lines in final JSONL file:\n - Read file and count newlines\n - Or reuse countIssuesInJSONL() helper (already exists)\n\n2. Compare to len(exportedIDs)\n\n3. If mismatch:\n - Log error with both counts\n - Optionally: remove the bad JSONL file (or leave for debugging?)\n - Return error (exit 1)\n\n4. Consider adding --skip-verify flag for edge cases\n\nEdge cases:\n- Partial line writes (corrupted file)\n- File system issues\n- Race conditions (another process modifying JSONL during export)\n\nThe countIssuesInJSONL() function already exists at line 20, can reuse it.","acceptance_criteria":"1. bd export verifies JSONL line count after write\n2. Clear error shown if mismatch detected\n3. Test case that simulates partial write failure\n4. Does not affect export performance significantly (line counting is fast)","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-05T14:24:56.278249-08:00","updated_at":"2025-11-05T15:09:41.636141-08:00","closed_at":"2025-11-05T14:31:24.494885-08:00","source_repo":"."} {"id":"bd-zi1v","content_hash":"6b07bd91f55d69f556fb43d7a590896393190f42a9f0afe6b9140a1b81fde815","title":"Test Agent Mail server failure scenarios","description":"Verify graceful degradation across various failure modes.\n\nTest Cases:\n- Server never started\n- Server crashes during operation\n- Network partition (timeout)\n- Server returns 500 error\n- Invalid bearer token\n- SQLite corruption\n\nAcceptance Criteria:\n- Agents continue working in all scenarios\n- Clear log messages about degradation\n- No crashes or data loss\n- Beads JSONL remains consistent\n\nFile: tests/integration/test_mail_failures.py","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-07T22:43:21.41983-08:00","updated_at":"2025-11-08T02:20:46.951997-08:00","closed_at":"2025-11-08T01:49:13.742653-08:00","source_repo":".","dependencies":[{"issue_id":"bd-zi1v","depends_on_id":"bd-fzbg","type":"blocks","created_at":"2025-11-07T22:43:21.420725-08:00","created_by":"daemon"}]} +{"id":"bd-zj8e","content_hash":"655c761aaf4d5b0c9edfba7d96d23e608de94760148715667738d35c2033e110","title":"Performance Testing Documentation","description":"Create docs/performance-testing.md documenting the performance testing framework.\n\nSections:\n1. Overview - What the framework does, goals\n2. Running Benchmarks\n - make bench command\n - Running specific benchmarks\n - Interpreting output (ns/op, allocs/op)\n3. Profiling and Analysis\n - Viewing CPU profiles with pprof\n - Reading flamegraphs\n - Memory profiling\n - Finding hotspots\n4. User Diagnostics\n - bd doctor --perf usage\n - Sharing profiles with bug reports\n - Understanding the report output\n5. Comparing Performance\n - Using benchstat for before/after comparisons\n - Detecting regressions\n6. Tips for Optimization\n - Common patterns\n - When to profile vs benchmark\n\nStyle:\n- Concise, practical examples\n- Screenshots/examples of pprof output\n- Clear command-line examples\n- Focus on workflow, not theory","status":"open","priority":2,"issue_type":"task","created_at":"2025-11-13T22:23:38.99897-08:00","updated_at":"2025-11-13T22:23:38.99897-08:00","source_repo":"."} {"id":"bd-zkl","content_hash":"27227f7f9b8b03d312d483686711551bcf227c263f935d94d1a8f2c377969d2e","title":"Add tests for daemon vs non-daemon parity in list filters","description":"After bd-o43 RPC integration, we need tests to verify daemon mode behaves identically to direct mode for all new filter flags.\n\nTest coverage needed:\n- Pattern matching: --title-contains, --desc-contains, --notes-contains\n- Date ranges: all 6 date filter flags (created/updated/closed after/before)\n- Empty/null checks: --empty-description, --no-assignee, --no-labels\n- Priority ranges: --priority-min, --priority-max\n- Status normalization: --status all vs no status flag\n- Date parsing: YYYY-MM-DD, RFC3339, and error cases\n- Backward compat: deprecated --label flag still works\n\nOracle review findings (bd-o43):\n- Date parsing should support multiple formats\n- Status 'all' should be treated as unset\n- NoLabels field was missing from RPC protocol\n- Error messages should be clear and actionable\n\nTest approach:\n- Create RPC integration tests in internal/rpc/server_issues_epics_test.go\n- Compare daemon client.List() vs direct store.SearchIssues() for same filters\n- Verify error messages match between modes\n- Test with real daemon instance, not just unit tests","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T00:43:53.369457-08:00","updated_at":"2025-11-05T00:55:31.318526-08:00","closed_at":"2025-11-05T00:55:31.318526-08:00","source_repo":".","dependencies":[{"issue_id":"bd-zkl","depends_on_id":"bd-o43","type":"discovered-from","created_at":"2025-11-05T00:43:53.371274-08:00","created_by":"daemon"}]} {"id":"bd-zo7o","content_hash":"91c443d3b156b374a4d2359ca34bfdf53acbe377e8988eed17123b9400657539","title":"Create multi-agent race condition test","description":"Automated test that runs 2+ agents simultaneously to verify collision prevention.\n\nAcceptance Criteria:\n- Script spawns 2 agents in parallel\n- Both try to claim same issue\n- Only one succeeds (via reservation)\n- Other agent skips to different work\n- Verify in JSONL that no duplicate claims\n- Test with Agent Mail enabled/disabled\n\nFile: tests/integration/test_agent_race.py\n\nSuccess Metric: Zero duplicate claims with Agent Mail, collisions without it","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-07T22:43:21.360663-08:00","updated_at":"2025-11-08T01:51:40.352657-08:00","closed_at":"2025-11-08T00:34:14.40119-08:00","source_repo":".","dependencies":[{"issue_id":"bd-zo7o","depends_on_id":"bd-fzbg","type":"blocks","created_at":"2025-11-07T22:43:21.361571-08:00","created_by":"daemon"}]} {"id":"bd-zpnq","content_hash":"e96e651c806b522dfc4dfffe17f44e75a5a690bd6fcfe4c6471920e4a715103e","title":"Daemons don't exit when parent process dies, causing accumulation and race conditions","description":"Multiple daemon processes accumulate over time because daemons don't automatically stop when their parent process (e.g., coding agent) is killed. This causes:\n\n1. Race conditions: 8+ daemons watching same .beads/beads.db, each with own 30s debounce timer\n2. Git conflicts: Multiple daemons racing to commit/push .beads/issues.jsonl\n3. Resource waste: Orphaned daemons from sessions days/hours old still running\n\nExample: User had 8 daemons from multiple sessions (12:37AM, 7:20PM, 7:22PM, 7:47PM, 9:19PM yesterday + 9:54AM, 10:55AM today).\n\nSolutions to consider:\n1. Track parent PID and exit when parent dies\n2. Use single global daemon instead of per-session\n3. Document manual cleanup: pkill -f \"bd daemon\"\n4. Add daemon lifecycle management (auto-cleanup of stale daemons)","notes":"Implementation complete:\n\n1. Added ParentPID field to DaemonLockInfo struct (stored in daemon.lock JSON)\n2. Daemon now tracks parent PID via os.Getppid() at startup\n3. Both event loops (polling and event-driven) check parent process every 10 seconds\n4. Daemon gracefully exits if parent process dies (detected via isProcessRunning check)\n5. Handles edge cases:\n - ParentPID=0: Older daemons without tracking (ignored)\n - ParentPID=1: Adopted by init means parent died (exits)\n - Otherwise checks if parent process is still running\n\nThe fix prevents daemon accumulation by ensuring orphaned daemons automatically exit within 10 seconds of parent death.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-07T18:48:41.65456-08:00","updated_at":"2025-11-07T18:53:26.382573-08:00","closed_at":"2025-11-07T18:53:26.382573-08:00","source_repo":"."} +{"id":"bd-zqmb","content_hash":"252347e3b30b33a1d0529e9d4e3c4c5402f5e32449967f704b7fc9ec09f02c0d","title":"Fix goroutine leak in daemon restart","description":"Fire-and-forget goroutine in daemon restart leaks on every restart.\n\nLocation: cmd/bd/daemons.go:251\n\nProblem:\ngo func() { _ = daemonCmd.Wait() }()\n\n- Spawns goroutine without timeout or cancellation\n- If daemon command never completes, goroutine leaks forever\n- Each daemon restart leaks one more goroutine\n\nSolution: Add timeout and cleanup:\ngo func() {\n done := make(chan struct{})\n go func() {\n _ = daemonCmd.Wait()\n close(done)\n }()\n \n select {\n case \u003c-done:\n // Exited normally\n case \u003c-time.After(10 * time.Second):\n // Timeout - daemon should have forked by now\n _ = daemonCmd.Process.Kill()\n }\n}()\n\nImpact: Goroutine leak on every daemon restart\n\nEffort: 2 hours","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-16T14:52:01.897215-08:00","updated_at":"2025-11-16T15:04:00.497517-08:00","closed_at":"2025-11-16T15:04:00.497517-08:00","source_repo":"."} {"id":"bd-zwpw","content_hash":"f08173f44c8454bf15b265aa9d3242004e7ee2bc25867b02676746154a9cc6fe","title":"Test dependency child","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-05T11:23:05.998311-08:00","updated_at":"2025-11-05T11:23:30.389454-08:00","closed_at":"2025-11-05T11:23:30.389454-08:00","source_repo":".","dependencies":[{"issue_id":"bd-zwpw","depends_on_id":"bd-k0j9","type":"blocks","created_at":"2025-11-05T11:23:05.998981-08:00","created_by":"daemon"}]}