From the ecosystem ROADMAP (§1 Phase 2, ref #3695).
What
A long-lived daemon service for task-cli (modeled on tg-ctl): the first CLI call brings it up; it survives restarts/kills; it subscribes to backend webhooks.
- adapter-based: GitHub Issues and Linear today, pluggable for future trackers.
- Subscribes to gh-issues / Linear webhooks to keep task state live without polling.
- Daemon-supervisor logic (survive kills) is shared with tg-ctl — it will move to the agent-tools shared lib (
daemon-supervisor); build it here first, extract later.
Why
Phase-1 task state is pull-only. Live webhook subscription lets the agent react to external task changes (a dependency closed elsewhere, a due date set in Linear) without the agent re-polling, and is the substrate for completion/due notifications (separate issue).
Acceptance
- First
task invocation auto-starts the daemon; it survives a kill and re-spawns on next call.
- Webhook subscription wired for at least the GitHub Issues adapter; Linear adapter behind the same interface.
- Adapter interface documented so a new tracker is a drop-in.
From the ecosystem ROADMAP (§1 Phase 2, ref #3695).
What
A long-lived daemon service for task-cli (modeled on tg-ctl): the first CLI call brings it up; it survives restarts/kills; it subscribes to backend webhooks.
daemon-supervisor); build it here first, extract later.Why
Phase-1 task state is pull-only. Live webhook subscription lets the agent react to external task changes (a dependency closed elsewhere, a due date set in Linear) without the agent re-polling, and is the substrate for completion/due notifications (separate issue).
Acceptance
taskinvocation auto-starts the daemon; it survives a kill and re-spawns on next call.