diff --git a/.beads/beads.jsonl b/.beads/beads.jsonl index ec0961d8..7dc1d47a 100644 --- a/.beads/beads.jsonl +++ b/.beads/beads.jsonl @@ -498,7 +498,7 @@ {"id":"bd-gra","content_hash":"3530c1390ec7251ec2c5a0b4ce54e1619fb8a1cd13f2b8b157da9517a659b7f6","title":"Add error handling test for cmd.Help() in search command","description":"Test coverage gap identified by automated analysis (vc-217).\n\n**Original Issue:** [deleted:bd-da96-baseline-lint]\n\nIn cmd/bd/search.go:39, the return value of cmd.Help() is not checked, flagged by errcheck linter.\n\nAdd test to verify:\n- Error handling when cmd.Help() fails (e.g., output redirection fails)\n- Proper error propagation to caller\n- Command still exits gracefully on help error\n\nThis ensures the search command handles help errors properly and doesn't silently ignore failures.\n\n_This issue was automatically created by AI test coverage analysis._","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-21T10:25:33.52308-05:00","updated_at":"2025-11-23T16:05:29.740219-08:00","closed_at":"2025-11-21T19:31:21.889039-05:00","source_repo":".","labels":["discovered:supervisor"],"dependencies":[{"issue_id":"bd-gra","depends_on_id":"bd-da96-baseline-lint","type":"discovered-from","created_at":"2025-11-21T10:25:33.526016-05:00","created_by":"ai-supervisor"}]} {"id":"bd-gz0x","content_hash":"accf3e81a2e27e43c22b26c6aea4a0da418e63876e236cb462803e5700e2095e","title":"Fix daemon exiting after 5s on macOS due to PID 1 parent monitoring","description":"GitHub issue #278 reports that the daemon exits after \u003c=5 seconds on macOS because it incorrectly treats PID 1 (launchd) as a dead parent.\n\nWhen the daemon detaches on macOS, it gets reparented to PID 1 (launchd), which is the init process. The checkParentProcessAlive function was incorrectly treating PID 1 as a sign that the parent died.\n\nFixed by changing the logic to treat PID 1 as a valid parent for detached daemons.","status":"closed","priority":1,"issue_type":"bug","created_at":"2025-11-09T16:15:34.606508-08:00","updated_at":"2025-11-09T16:15:37.46914-08:00","closed_at":"2025-11-09T16:15:37.46914-08:00","source_repo":"."} {"id":"bd-h4hc","content_hash":"43c11155d74ce32355129c3aac019c07279a4d31c0d58334e9fd5cb100108373","title":"Test child issue","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T13:00:42.368282-08:00","updated_at":"2025-11-05T13:01:11.64526-08:00","closed_at":"2025-11-05T13:01:11.64526-08:00","source_repo":"."} -{"id":"bd-h5gu","content_hash":"1adf851fc50cb990ea2c1d3d215b24ac2c32a1a84c85a92d9ada386b9ff35c17","title":"Add parent issue existence validation in create.go direct mode","description":"**Location:** cmd/bd/create.go:177-185\n\n**Issue:** When creating child issues in direct mode (daemon not running), code calls GetNextChildID() without validating parent issue exists first.\n\n**Current Code:**\n```go\nif parentID != \"\" \u0026\u0026 daemonClient == nil {\n childID, err := store.GetNextChildID(ctx, parentID)\n // No check: does parentID exist?\n}\n```\n\n**Impact:** Could create orphaned child issues pointing to non-existent parents, causing data integrity issues.\n\n**Fix:** Add existence check before generating child ID:\n```go\nparentIssue, err := store.GetIssue(ctx, parentID)\nif err != nil {\n fmt.Fprintf(os.Stderr, \"Error: parent issue %s not found\\n\", parentID)\n os.Exit(1)\n}\n```","status":"open","priority":1,"issue_type":"bug","created_at":"2025-11-23T19:46:38.838344-08:00","updated_at":"2025-11-23T19:46:38.838344-08:00","source_repo":"."} +{"id":"bd-h5gu","content_hash":"0c9b5d1c208359b84048672d6b9c864834a634c96769529c3c8f5f39b026e49c","title":"Add parent issue existence validation in create.go direct mode","description":"**Location:** cmd/bd/create.go:177-185\n\n**Issue:** When creating child issues in direct mode (daemon not running), code calls GetNextChildID() without validating parent issue exists first.\n\n**Current Code:**\n```go\nif parentID != \"\" \u0026\u0026 daemonClient == nil {\n childID, err := store.GetNextChildID(ctx, parentID)\n // No check: does parentID exist?\n}\n```\n\n**Impact:** Could create orphaned child issues pointing to non-existent parents, causing data integrity issues.\n\n**Fix:** Add existence check before generating child ID:\n```go\nparentIssue, err := store.GetIssue(ctx, parentID)\nif err != nil {\n fmt.Fprintf(os.Stderr, \"Error: parent issue %s not found\\n\", parentID)\n os.Exit(1)\n}\n```","status":"in_progress","priority":1,"issue_type":"bug","created_at":"2025-11-23T19:46:38.838344-08:00","updated_at":"2025-11-23T20:34:26.798418-08:00","source_repo":"."} {"id":"bd-hdt","content_hash":"8e6cf1653ef2ea583b39a421b3d708763ab7c042d6cd494e77202a92af0a7398","title":"Implement auto-merge functionality in duplicates command","description":"The duplicates.go file has a TODO at line 95 to implement the performMerge function for automatic duplicate merging. Currently it just prints a warning message. This would automate the merge process instead of just suggesting commands.","status":"open","priority":2,"issue_type":"feature","created_at":"2025-11-21T18:55:02.828619-05:00","updated_at":"2025-11-21T18:55:02.828619-05:00","source_repo":"."} {"id":"bd-hpt5","content_hash":"68813818e69aa94128685887fe733adce22c0a373b2758219ae863340d4bf9d2","title":"show commit hash in 'bd version' when built from source'\n","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-11-13T13:26:14.662089379-07:00","updated_at":"2025-11-14T09:18:09.721428859-07:00","closed_at":"2025-11-14T09:18:09.721428859-07:00","source_repo":"."} {"id":"bd-hsl3","content_hash":"e0cccbc75edfcb54e0e6c3bd6749d7544327553a19773cf8b97edfafc11b2187","title":"Updated title","description":"","status":"closed","priority":0,"issue_type":"feature","created_at":"2025-11-07T19:07:12.92354-08:00","updated_at":"2025-11-07T22:07:17.346243-08:00","closed_at":"2025-11-07T21:57:59.911411-08:00","source_repo":"."}