Skip to content

Task lifecycle

How a finding moves from inbox to a merged pull request.

Tasks live in aven, a local-first task manager backed by SQLite. vteam scopes everything to one aven project (tasks.project) and one label (tasks.label, default vteam): it only sees tasks that carry the label. The real output of vteam is the PRs created by the coder.

improver finds issue
│
▼
┌───────┐
│ inbox │
└───────┘
│ human triage (aven edit <ref> --status todo)
▼
┌──────┐ coder picks ┌────────┐ branch + PR ┌──────┐
│ todo │ ─────────────────▶ │ active │ ────────────▶ │ done │
└──────┘ └────────┘ └──────┘
▲ │
└───────────────────────────┘
no changes (retry-count + 1),
crash or error (no increment)

Any ending other than a pushed commit or “no changes” (a crash, an error, a stop, or a readOnly / non-worktree agent with input: "task") returns the task to todo without incrementing retry-count.

A coder task is done once its PR is open, but the PR still has to get through review. The merge ensurer watches done tasks: it records merges, cancels tasks whose PR was closed, and moves a task back to todo when you label its PR for changes or it conflicts with its base branch. The coder then follows up on the PR.

critical > high > medium > low

The coder picks the highest-severity task first. See Triage and routing for the full pick order.