spacedriveapp / spacedriveapp/spacebot
[Bug] task_update returns "success" but status doesn't change for branch-created tasks
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 2.4k
- Forks
- 367
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
When calling task_update to change task status from "backlog" to "done", the tool returns "success" but the task status remains unchanged in the dashboard.
Steps to Reproduce
- Create tasks using branch/spawn process
- Tasks get created with status "backlog" and worker_id bound after completion
- Call task_update(task_number=N, status="done")
- Response returns "success"
- Re-check task_list - status still shows "backlog"
Expected Behavior
task_update should change the task status from "backlog" to "done" when called with valid parameters.
Actual Behavior
task_update returns "success" but no actual change occurs. The task remains in "backlog" status.
Additional Context
- Tasks created by agents (agent:financial, agent:sport) update correctly
- Tasks created by "branch" created_by field appear to be locked
- completed_at field remains null for affected tasks
- worker_id is set correctly but status doesn't auto-transition
Environment
Spacebot version: 0.3.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the task_update implementation and the status handling for tasks created through the branch/spawn process, then reproduce the backlog-to-done update from the issue. Done means task_update changes the dashboard and task_list status to done and completed_at is no longer null for affected tasks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100