Submatter/plans/Plan-automation-foundation/Epic-plans-roadmap-ui/Task-start-convoy-from-task.md

56 lines
1.5 KiB
Markdown
Raw Normal View History

---
kind: task
slug: start-convoy-from-task
title: Start — create convoy from ready backlog task
plan_slug: automation-foundation
epic_slug: plans-roadmap-ui
status: draft
priority: P1
tenant_id: global
owner: unassigned
cursor_todo_id: null
updated_at: "2026-08-12"
---
# Task summary
From the Plans UI, **Start** on a `ready` (or `draft` with confirm) task creates a Mission Control convoy prefilled from the task, then navigates to mission control with that convoy selected.
## Description
Bridges roadmap → execution without Cursor.
### Behavior
- Button visible on eligible tasks
- Calls tRPC wrapping `create_convoy` semantics: slug derived from task slug, idea markdown from task body, success metric from task title/AC summary
- Store link `backlogItemId` or `repo_path` on convoy content metadata
- Navigate to `/{ws}/mission-control` with convoy selected
- Idempotency: if open convoy already linked to this task, focus it instead of duplicating
### Dependencies
- [Task-plans-roadmap-page](./Task-plans-roadmap-page.md)
- Epic 4 / convoys.create
## Subtasks
- [ ] tRPC `backlog.startConvoy` or `convoys.createFromBacklogItem`
- [ ] Start button + confirm dialog
- [ ] Metadata link task ↔ convoy
- [ ] Navigation + toast
## Estimation
M
## Acceptance criteria
- [ ] Start on ready task creates draft convoy on kanban
- [ ] Second Start focuses existing linked convoy
- [ ] Non-ready tasks require explicit confirm or are disabled
## Links
- Epic: `./Epic-plans-roadmap-ui.md`