Skip to content

beads-rust tracker: dep.type should be dep.dependency_type in brTaskToTask() #307

@thunter009

Description

@thunter009

Bug

brTaskToTask() in the beads-rust tracker plugin checks dep.type === "blocks" but br --json outputs dependency_type, not type. This means the dependsOn and blocks arrays are always empty — ralph-tui never knows about task dependencies when using beads-rust.

Symptoms

  • Blocked tasks show as actionable (wrong icon)
  • Running tasks show as ⚠️ completedLocally
  • Dependency-based status conversion in convertTasksWithDependencyStatus() is a no-op

Root Cause

Two locations in brTaskToTask():

// Current (broken)
if (dep.type === "blocks") { dependsOn.push(dep.id); }

// br --json actual output
{ "dependency_type": "blocks", "id": "bd-1e4.8", ... }

Fix

Change dep.typedep.dependency_type in both the dependencies and dependents loops.

Repro

br show bd-xxx --json | jq '.dependencies[0]'
# → { "dependency_type": "blocks", ... }   (not "type")

Discovered using ralph-tui with beads-rust tracker on a 3-slice epic where V2 and V3 depend on V1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions