Skip to content

Tasks: add task-scoped opaque metadata (annotations) #3072

Description

@richerve

The workflow

  1. Create or select a task.
  2. Add task-specific metadata needed to track state or context.
  3. Read or update that metadata later without editing human-facing fields such as the title, description, or comments.

This metadata is distinct from labels: labels categorize tasks across a project, while metadata belongs to one task and can carry arbitrary structured state.

What happens today

Tasks supports project-defined labels, but has no generic task-scoped metadata or tags field.

The only current places to persist arbitrary task-specific data are the description and comments. Both are human-facing, unstructured, and unsuitable for durable machine-readable state.

What you would expect

Tasks should support optional task-scoped opaque metadata: a key/value map stored with each task.

Users and plugins should be able to read, set, merge, and delete individual entries through the Tasks UI, CLI, and plugin-facing API.

For example:

{
  "source": "imported",
  "lastSyncedAt": "2026-09-04T18:00:00Z",
  "externalReference": "ABC-123"
}

Tasks should not prescribe metadata key names, namespaces, ownership, or value formats. Collision avoidance can be a convention rather than a platform rule.

Metadata should remain attached to the task if a plugin that wrote it is unavailable, removed, or replaced. Updates should support merge semantics so one writer does not erase unrelated entries.

Context and alternatives

Labels are project-wide categorization, not arbitrary per-task state. Dedicated fields would be less flexible: every new use case would require a core schema, UI, API, and migration change.

One use case is integrations: an external tracker integration could store its ticket ID or URL on a task, then retrieve it in a later sync without parsing a description or relying on plugin-private storage. This is an example, not a prescribed metadata format.

Another usage could be to define dependencies between Tasks, like what is requested in #1144. How are those dependencies defined and how agents or other plugins use them is part of the flexible nature of allowing arbitrary key: value tags.

I searched open and closed upstream issues for Tasks metadata, tags, and custom fields, and found no direct duplicate.

AGENT GENERATED (human reviewed)

Checks

  • I searched open and closed issues for the same request.
  • If an agent wrote this, the body ends with > AGENT GENERATED.

Activity

  1. added
    plugins
    tasks
    on Sep 4, 2026
  2. bb-slop-cop commented on Sep 4, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Classification for #3072:

    • Type: Feature
    • Priority: Medium
    • Effort: High
    • Labels: plugins, tasks

    No pull request was opened because this is a cross-surface feature requiring product and data-model design, outside the simple bug-fix path.

  3. changed the title [-]Tasks: add task-scoped opaque metadata (tags)[/-] [+]Tasks: add task-scoped opaque metadata (annotations)[/+] on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginstasks

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions