feat: swarm worker spawning, mail routing improvements, beads sync

This commit is contained in:
Steve Yegge
2025-12-18 18:49:54 -08:00
parent b760a3fe22
commit dc09b0987e
9 changed files with 361 additions and 272 deletions

View File

@@ -311,10 +311,11 @@ func (m *Manager) loadTasksFromBeads(epicID string) ([]SwarmTask, error) {
return nil, fmt.Errorf("epic not found: %s", epicID)
}
// Extract parent-child dependents as tasks
// Extract dependents as tasks (issues that depend on/are blocked by this epic)
// Accept both "parent-child" and "blocks" relationships
var tasks []SwarmTask
for _, dep := range issues[0].Dependents {
if dep.DependencyType != "parent-child" {
if dep.DependencyType != "parent-child" && dep.DependencyType != "blocks" {
continue
}