Queue system with background daemon #134
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Overview
Implement a file-based queue system with background daemon to enable automatic task processing when agent slots open.
Requirements
Queue Item Format
Location:
~/.kugetsu/queue/items/<id>.jsonStates
pending- waiting in queue, daemon can pick upnotified- PM acknowledged, has picked up the taskcompleted- Dev agent finished, PR createderror- timeout or failureNew Commands
kugetsu queuekugetsu queue-daemonBehavior
kugetsu delegate <msg>always enqueues (does NOT invoke PM directly)notified_atafter picking upkugetsu notify "done, PR: URL"on completioncompleted_atConfiguration
Implementation Notes
~/.kugetsu/queue/daemon.pid~/.kugetsu/queue/daemon.lock~/.kugetsu/queue/daemon.logRelated Issues