bd sync: 2025-11-23 21:49:06
This commit is contained in:
@@ -482,7 +482,7 @@
|
||||
{"id":"bd-fkdw","content_hash":"aae326186151d20e26b9b5c34efa43d9261ffd0fe0d6f4de843f951e4c813886","title":"Update bash-agent example with Agent Mail integration","description":"Add Agent Mail integration to examples/bash-agent/agent.sh using curl for HTTP calls.\n\nAcceptance Criteria:\n- Health check function using curl\n- Reserve issue before claiming\n- Send notifications on status change\n- Release on completion\n- Graceful degradation if curl fails\n- No bash errors when Agent Mail unavailable\n\nFile: examples/bash-agent/agent.sh","status":"closed","priority":2,"issue_type":"feature","created_at":"2025-11-07T22:42:28.722048-08:00","updated_at":"2025-11-08T01:09:25.900138-08:00","closed_at":"2025-11-08T01:09:25.900138-08:00","source_repo":".","dependencies":[{"issue_id":"bd-fkdw","depends_on_id":"bd-m9th","type":"blocks","created_at":"2025-11-07T23:04:01.398259-08:00","created_by":"daemon"}]}
|
||||
{"id":"bd-flil","content_hash":"ce7a9c5dcb79a1e69351728f9e0ab5317675a483df1e7379886ef89d6e7ee0ac","title":"bd sync --status should not require sync.branch configuration","description":"After a successful 'bd init', running 'bd sync --status' fails with:\n\nError: sync.branch not configured (run 'bd config set sync.branch \u003cbranch-name\u003e')\n\nThis is confusing because:\n1. bd init completes successfully without setting sync.branch\n2. Users expect basic commands to work after init\n3. sync.branch is only set if --branch flag is explicitly passed to bd init, or --team wizard is used\n\nThe sync.branch config is primarily for protected branch workflows. The --status flag should either:\n- Fall back to current branch if sync.branch is not configured\n- Not be available unless sync.branch is configured\n- Or bd init should set sync.branch to the current branch by default\n\nRoot cause: sync.go:720 calls getSyncBranch() which requires sync.branch to be set (sync.go:702-704)","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-23T17:20:17.70825-08:00","updated_at":"2025-11-23T17:23:19.880212-08:00","closed_at":"2025-11-23T17:23:19.880212-08:00","source_repo":"."}
|
||||
{"id":"bd-fsb1","content_hash":"a519fdd6d0ca6f70a177c2cb9441994b28d4bc2fe51a663532d4067caf126049","title":"Test issue","description":"","status":"closed","priority":1,"issue_type":"task","created_at":"2025-11-05T11:21:51.383077-08:00","updated_at":"2025-11-05T11:21:56.888913-08:00","closed_at":"2025-11-05T11:21:56.888913-08:00","source_repo":".","labels":["test","urgent"]}
|
||||
{"id":"bd-fwul","content_hash":"6e28b1c6f3b6d79e9e2a473bf49be85145059bbe0ed91a038a332486c3a21f2b","title":"Add executable bit validation for git hooks in init.go","description":"**Location:** cmd/bd/init.go:388-415\n\n**Issue:** hooksInstalled() checks for hook marker string but doesn't verify:\n- Hook file is actually executable\n- Hook has correct shebang line\n- Hook hasn't been corrupted/truncated\n\n**Current Code:**\n```go\npreCommitContent, err := os.ReadFile(preCommit)\nif err \\!= nil || \\!strings.Contains(string(preCommitContent), \"bd (beads) pre-commit hook\") {\n return false\n}\n// No executable bit check\\!\n```\n\n**Impact:** Hooks may appear installed but fail silently because they're not executable.\n\n**Fix:** Add executable bit check:\n```go\nfileInfo, err := os.Stat(preCommit)\nif err \\!= nil {\n return false\n}\nif fileInfo.Mode().Perm() \u0026 0111 == 0 {\n return false // Not executable\n}\n```","status":"in_progress","priority":2,"issue_type":"bug","created_at":"2025-11-23T19:46:49.862213-08:00","updated_at":"2025-11-23T21:47:50.528032-08:00","source_repo":"."}
|
||||
{"id":"bd-fwul","content_hash":"6e28b1c6f3b6d79e9e2a473bf49be85145059bbe0ed91a038a332486c3a21f2b","title":"Add executable bit validation for git hooks in init.go","description":"**Location:** cmd/bd/init.go:388-415\n\n**Issue:** hooksInstalled() checks for hook marker string but doesn't verify:\n- Hook file is actually executable\n- Hook has correct shebang line\n- Hook hasn't been corrupted/truncated\n\n**Current Code:**\n```go\npreCommitContent, err := os.ReadFile(preCommit)\nif err \\!= nil || \\!strings.Contains(string(preCommitContent), \"bd (beads) pre-commit hook\") {\n return false\n}\n// No executable bit check\\!\n```\n\n**Impact:** Hooks may appear installed but fail silently because they're not executable.\n\n**Fix:** Add executable bit check:\n```go\nfileInfo, err := os.Stat(preCommit)\nif err \\!= nil {\n return false\n}\nif fileInfo.Mode().Perm() \u0026 0111 == 0 {\n return false // Not executable\n}\n```","status":"closed","priority":2,"issue_type":"bug","created_at":"2025-11-23T19:46:49.862213-08:00","updated_at":"2025-11-23T21:49:00.900477-08:00","closed_at":"2025-11-23T21:49:00.900477-08:00","source_repo":"."}
|
||||
{"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-08T00:20:35.213902-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-08T15:58:37.147425-08:00","closed_at":"2025-11-08T13:12:01.718252-08:00","source_repo":"."}
|
||||
{"id":"bd-g5p7","content_hash":"6ef3578afcab8a96c6018ec27f64d36df05b32fe867ad50b5309cdefe6b7f486","title":"Extract duplicated validation logic from CLI commands","description":"~150 lines of identical validation logic duplicated between cmd_create.go and cmd_update.go\n\nDuplication found:\n- validateBeadFields(): 2 identical copies (50+ lines each) \n- parseTimeWithDefault(): 2 identical copies (30 lines each)\n- Flag definitions: 15+ duplicate registrations\n\nSolution: Extract to shared packages:\n- internal/validation/bead.go - Centralized validation\n- internal/utils/time.go - Consolidate time parsing (already exists)\n- cmd/bd/flags.go - Shared flag registration\n\nImpact: Changes require touching 2+ files; high risk of inconsistency; steep learning curve\n\nEffort: 4-6 hours","status":"closed","priority":0,"issue_type":"task","created_at":"2025-11-16T14:51:10.159953-08:00","updated_at":"2025-11-21T23:53:00.48232-08:00","closed_at":"2025-11-20T20:39:34.426726-05:00","source_repo":"."}
|
||||
|
||||
Reference in New Issue
Block a user