spacedriveapp / spacedriveapp/spacebot

[Bug] task_update returns "success" but status doesn't change for branch-created tasks

Open
#436 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Create tasks using branch/spawn process
  2. Tasks get created with status "backlog" and worker_id bound after completion
  3. Call task_update(task_number=N, status="done")
  4. Response returns "success"
  5. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.