Replace branch discovery with Beads queue in Engineer: - ProcessMR: full merge execution (fetch, conflict check, merge, test, push) - handleSuccess: close MR and source issue, notify worker - handleFailure: reopen MR, assign to worker, send failure notification - Helper functions: gitRun, gitOutput, runTests, pushWithRetry, checkConflicts The Engineer now: - Polls for merge-requests via bd ready --type=merge-request - Claims MRs by setting status to in_progress - Processes merges with conflict detection and test execution - Closes MRs and source issues on success - Assigns back to workers on failure with appropriate notifications 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 KiB
20 KiB