Skip to content

Tasks in aven

How vteam stores a task in aven, field by field.

vteam stores every task in aven and never touches the repository for it. You can triage with aven tui or the aven CLI; for the full task list, use aven list --label vteam.

aven field Set by vteam
title The finding’s title
project / label tasks.project / tasks.label
agent labels <tasks.label>-<agent> (e.g. vteam-improver): added on creation for the agent that created the task, and when a task is set to done for the agent that finished it (e.g. vteam-coder). Never removed, so they stay when a task is reopened
status inbox on creation (done for a task recording a PR opened without a task); active while being worked on; done on success; todo again when the merge ensurer reopens it; canceled when the merge ensurer finds its PR closed; backlog when a reopened task’s PR is merged or closed
priority From severity: critical→urgent, high→high, medium→medium, low→low (aven none reads back as low)
description Markdown with ## Description, ## Suggested Fix (optional), ## Affected Files
metadata found-by Name of the agent that created the task (usable in taskFilter)
metadata retry-count Incremented each time the coder finishes with no changes
metadata completed, branch, pr-url Added when the task is set to done (pr-url only if a PR was created). A todo task with pr-url is a follow-up on that PR
metadata merged true once the merge ensurer sees the task’s PR merged
notes One per run that returned output: <agent>: <status>, the agent’s summary, blocker reason and PR URL if any. All notes, yours included, are shown to the agent that next picks the task
metadata claimed-by, claimed-pid, claimed-host Run ID, process ID and hostname of the run working the task. Set with active, removed when the task leaves active

Tasks are referenced by their aven ref (e.g. APP-7KQ9); run state files (runs/ in the state directory) record it as taskRef. Refs are local to aven, so vteam keeps them out of branch names and PRs.

An agent that opens a PR without a task (like the test writer) gets a done task recording the PR, so every vteam PR is tracked by the merge ensurer.