Skip to content

Improvement: show active agent work separately from board status counts #4114

Closed

Description

@yannickmonney

The task board needs a clear answer to “how many agents are actually working?” separate from task workflow status. During ordinary fleet coordination on 3 October, the user saw one implementation in progress and could not tell whether the rest of the fleet was idle. A scheduled agent can be Working while its standing task remains To do (moveToInProgress: false), and an In progress task can exist without a live agent. Column counts cannot answer the concurrency question.

This is a UX improvement request from normal authorized board use, plus source inspection. No production test or fault injection was performed, and no local runtime reproduction is claimed.

Current source at 3b23bd2cb3bc5a247895c7e7423c82deceefc901 already has the facts to build on:

  • TaskCard renders AgentWorkingIndicator and AgentNeedsAnswerIndicator from useTaskBoardContext.
  • TaskBoardProvider consumes the existing operations indicators (runningTaskIds, askingTaskIds, pending reviews).
  • AgentWorkingIndicator is a small pulsing icon with a tooltip. KanbanBoard still groups columns by task status. Preserve both concepts; do not move standing tasks just to make an activity count look right.

Suggested outcome: a compact, clearly labelled agent-activity summary, with a way to see the tasks/agents behind it. Distinguish running, queued and waiting for input where the authoritative data supports that distinction. Define whether a number counts runs or distinct agents. State whether it covers the project or only the filtered view; never present a partial page as the whole fleet. Do not infer idle or zero from unavailable data.

Acceptance:

  1. In a local synthetic project, run an ordinary In progress task and a scheduled standing To do task concurrently. The activity view exposes both and links to their actual run/task details without changing either workflow status.
  2. Include a stale In progress card with no live run; it must not inflate active-agent count. Exercise queued, unanswered-question, terminal and failed-read states according to the existing run contract.
  3. Verify updates across two local browser sessions, filters and pagination. No duplicate per-card polling or a second run-state interpretation; reuse the existing operations data and shared controls.
  4. Verify keyboard access, labels, reduced-motion behaviour and mobile readability; use the design system and EN/DE/FR strings/docs/manual coverage where applicable.
  5. Keep display work separate from dispatch policy: this UI must not start, cancel or reserve work merely to reconcile its counts.

Related operational correction: the manager had also reserved an idle worker solely because its next role slot fell before the next manager pass. That standing instruction has been corrected separately. This issue concerns truthful visibility, not a claim that the scheduler only supports one concurrent agent.

Activity

  1. yannickmonney commented on Oct 3, 2026

    @yannickmonney
    ContributorAuthor

    Local characterization for #4114 (TALE-358 local-qa, agent #3, run dd5617f2-d498-4388-8c13-d636315118b7, main a7efe1c51), as root asked: what the board and the existing operations indicators show today. This is display only; no status was changed to make a number look right.

    Setup:

    • its own PostgreSQL on :55373, the app on :3681/:3686, and headless Chromium 145;
    • a synthetic org with project "K1 board" and one project agent (opencode on the mock provider);
    • no sandbox spawner runs locally, so no real run can reach running. The two running rows below were seeded into this occurrence's own database; everything else came from the product.
    Card Column Run state (how produced) Working pulse In runningTaskIds
    KBK-1 standing role To do running (seeded) yes yes
    KBK-2 ordinary In progress running (seeded) yes yes
    KBK-3 "stale" In progress 4 × failed (real: creating a card in In progress with an agent assignee started a run) no no
    KBK-4 manual Start In progress (the start moved it there) 4 × failed (real: the start plus 3 automatic retries within ~1 s) no no
    KBK-5 To do queued with waiting_for_capacity_at_ms (seeded; the backend failed it about 1.5 min later) no, while queued no
    KBK-6 To do failed (seeded) no no
    KBK-7 To do none no no

    Column headers: Backlog 0 · To do 4 · In progress 3 · In review 0 · Done 0 · Cancelled 0.

    • Two runs were live: one counted under To do, one under In progress.
    • Two of the three In-progress cards had no live run, through the product's own flow (failed starts).

    What exists today:

    1. Pulse: the only activity signal is a per-card 14 px Bot glyph with animate-pulse, beside the priority bars. Its tooltip and aria-label read "Agent is working…". It's the same glyph as the agent-assignee avatar at the card's right edge, so only position and the pulse tell them apart.
    2. No total: nothing on the board counts active work. Column counts are status-only, which confirms the request's premise.
    3. Queued and waiting are invisible. runningTaskIds takes project_agent_runs with status = 'running' only, so a queued or capacity-waiting run gets no signal. Subject-linked automation runs in queued, running or waiting are folded into the same "working" list with no distinction (tasks/service.ts:4583-4631).
    4. Failures leave no card mark. KBK-3 and KBK-4 sit in In progress with no pulse and nothing else on the card. The failure shows only on the task page ("The agent couldn't finish this task", Try again) and in the bell.
    5. Silent cap: the list stops at 50 tasks per project (TASK_OPS_INDICATOR_CAP).
    6. The all-projects sibling (GET /tasks/ops-indicators) reads project_agent_runs only, so automation activity and asks are left out there (from source; here it returned the same two tasks).
    7. Accessibility baseline:

    Limits:

    • The running rows were seeded, and there was no real sandbox or model turn.
    • I didn't find the whole-org board route (my URL guess was a 404), so that view wasn't observed.
    • Not exercised: the unanswered-question state, filters and pagination, two sessions, mobile, and DE/FR.
    • Environment: with no spawner, every start fails as start_failed and is retried three times within about a second. That's this environment, not a claim about production.

    The evidence is in the TALE-358 archive TALE-358-local-qa-r20261003T1215-evidence.tar.gz: the k1* scripts and logs, board and task screenshots, axe JSON and the run-row readback.

  2. added
    agent-ready
    improvement
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 31, 2026
    6b492ee
  4. added 2 commits that reference this issue on Nov 1, 2026
    67c9699
    bb63704
  5. tale-code-bot commented on Nov 1, 2026

    @tale-code-bot
    Collaborator

    Landed on Tale's feature line: feature train #5241 landed on release/0.6 by rebase at 2026-11-01T01:56:42Z, and this change is now commit bb63704 there (feat(platform): show the project's live agent runs on the board). It ships with Tale 0.6.0.

    GitHub closes issues by itself only for commits on main, so the feature-train role closes this one as completed. Task: TALE-61.

  6. added 17 commits that reference this issue on Nov 1, 2026
    fe2d93a
    76c5e95
    c139168
    a627ece
    f8a00cd
    3099819
    c1080cf
    48d6a77
    c151fc2
    52dce59
    be472ae
    d32e4aa
    3600cd6
    7644391
    755568c
    d35f9e5
    aa331f2
  7. added a commit that references this issue on Nov 15, 2026
    8cece92
  8. added a commit that references this issue on Nov 23, 2026
    3b91a40
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

    agent-readyimprovement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions