Submatter/plans/Plan-automation-foundation/Epic-apps-worker-v1/Task-worker-live-e2e-dogfood.md

62 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

---
kind: task
slug: worker-live-e2e-dogfood
title: Live E2E dogfood — Go to worker job without Cursor (A1 verify)
plan_slug: automation-foundation
epic_slug: apps-worker-v1
status: ready
priority: P1
tenant_id: global
owner: unassigned
cursor_todo_id: null
updated_at: "2026-08-12"
---
# Task summary
Operator verification checklist: prove Mission Control **Go** → orchestrator enqueue → worker (non-dry-run) completes one implementer brief with model/token metadata — **without** a Cursor coding session for that brief.
## Description
**Phase A1** from the owner vision playbook. Code for the loop and checkpoints exists; this task is the **proof on your deploy** (Coolify / local Redis), not more scaffolding.
Mark this task `done` only when every acceptance criterion below is true in production or a documented staging environment.
### Checklist (operator)
1. `ORCHESTRATOR_DRY_RUN=0`, `WORKER_DRY_RUN=0`, `REDIS_URL` set on orchestrator + worker services
2. Workspace has model aliases + role routes for `role-implementer`
3. Connected repo (or monorepo) reachable from worker
4. Create or reconcile a convoy with an implementer brief
5. Advance to `ready` / trigger dispatch (Gate 1 approve if needed)
6. Worker logs show job pickup + `complete_task` / `role_complete`
7. Settings → Runs shows model alias + tokens for that run
8. (Preferred) Draft PR exists after [Task-worker-draft-pr](./Task-worker-draft-pr.md)
### Not this task
- Building new worker features (use sibling tasks)
- Forge webhooks (Epic 8)
## Subtasks
- [ ] Document exact Coolify/env values used (no secrets in git — names only)
- [ ] Record convoy slug + run id in task notes or convoy_events
- [ ] Confirm dry-run modes still work when Redis missing
## Estimation
S (ops)
## Acceptance criteria
- [ ] One implementer brief completed unattended (no Cursor session for that brief)
- [ ] `agent_runs` row has `model_alias` and token totals
- [ ] Convoy progressed or logged `role_complete` visible in Mission Control detail
- [ ] Orchestrator/worker were not in dry-run for the successful job
## Links
- Epic: `./Epic-apps-worker-v1.md`
- Plan: `../Plan-automation-foundation.md`