[claude] Wire delegate_task to DistributedWorker for actual execution (#985) #1273
Reference in New Issue
Block a user
Delete Branch "claude/issue-985"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #985
Summary
brain/worker.pywithDistributedWorkerclass implementing full task lifecycle (queued → running → completed | failed)delegate_tasktool toDistributedWorker.submit()— tasks now return a realtask_idinstead ofNone/"noted"kimi-readyissues (when Gitea configured +exceeds_local_capacity)paperclip_api_keyconfigured)MAX_RETRIES=2attempts before marking failedDistributedWorkeris unavailable, falls back to"noted"status (no crash)brainpackage topyproject.tomldelegate_task