Skip to content

Bug: Tasks can be assigned to agents that are not installed #2603

Closed

Description

@larryro

Problem

The task assignee picker offers catalog agents that are not installed / not enabled. Assigning them cannot produce a working run, but the UI allows it.

Part of epic #2602. Related narrower case: #2564 (uploaded-but-uninstalled app agents).

Current behaviour

Repro (fresh org UX Audit Org / earlier Acme, 2026-07-09):

  1. Open a project Backlog / task detail.
  2. Open assignee picker → Agents lists Issue Triager (issue-triager).
  3. issue-triager is GitHub-bundled with autoInstall: false — connecting GitHub does not install it; Agents roster may not show it as live.
  4. Assign it anyway → workflow fails with Agent "issue-triager" is disabled or not installed.

assign non-live → rollback

Code pointers

  • services/platform/app/features/tasks/hooks/use-actor-directory.ts — agents from listAgents, no live-install filter
  • services/platform/convex/tasks/mutations.ts assignTask — no live gate
  • services/platform/convex/agents/run_agent_on_task.ts ~420–434 — isAgentLiveInternal
  • builtin-configs/agents/github/issue-triager.json — autoInstall: false, bundledByIntegration: github

Proposed change

Acceptance criteria

Activity

  1. added
    priority: high
    bug
    service: platform
    on Jul 9, 2026
  2. larryro commented on Jul 9, 2026

    @larryro
    ContributorAuthor

    Fresh-org repro (UX Audit Org, 2026-07-09)

    • Org Agents page showed 4 installed agents (chat + github groups).
    • Task assignee picker on Getting started Backlog still listed Issue Triager, Pull Request Reviewer, and many other catalog agents.
    • Assigned Issue Triager to the starter task; task left Backlog (moved by run-assigned-task).

    Assignee picker on fresh org (Issue Triager visible among Agents):

    assignee picker lists non-live agents

    Earlier Acme evidence of the In progress → To do rollback remains on the issue body / evidence gist.

  3. larryro commented on Jul 9, 2026

    @larryro
    ContributorAuthor

    Confirmed on fresh org (same session)

    Assigned Issue Triager on Getting started → task detail shows assignee Issue Triager + automated failure:

    [automated] ⚠️ issue-triager could not complete this task: Agent "issue-triager" is disabled or not installed. — returned to To do.

    fresh org fail comment

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

    bugpriority: highservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions