Skip to content

Agent inbox phase 2: board view, tool-call counts, failed turns and team views (after #349) #471

Open

Description

@Birfy

Follow-up to #349. Step 1 (Inbox row in the sidebar plus a list with Needs you / In progress / Done, existing data only, my own Bots only, Done kept 7 days) ships in the PR that closes #349. These parts were left out on purpose and wait for an owner decision on order and scope:

Board and cards

  • Three-column board view with a List / Board toggle; narrow windows fall back to the list.
  • Per-card tool-call count and a one-line latest activity.
  • A short first-run guide.
  • Reject that can be confirmed or undone (RFC acceptance line); step 1 rejects at once, like the chat card.

More data

Team (phase 2)

Question for the owner: which of these comes next, and is the board (columns + tool-call count) still wanted after using the step-1 list?

Activity

  1. added
    enhancementNew feature or request
    needs-humanThe agent loop stopped; a person must decide (reason in the last comment)
    area:uiWeb/desktop UI and copy
    on Oct 20, 2026
  2. Birfy commented on Oct 20, 2026

    @Birfy
    CollaboratorAuthor

    Maintenance triage (2026-10-20 09:56 Asia/Shanghai, main 465357e): still needs-human; depends on #349 step 1 (PR #472) landing. Question for the owner: what comes next for the Agent inbox?

  3. Birfy commented on Oct 20, 2026

    @Birfy
    CollaboratorAuthor

    Owner decision (2026-10-20): option (a) as recommended — failed turns also appear in the inbox, sharing the event source with #353 notifications; each card gets a one-line latest-activity row. Board view and tool-call counts deferred; team view waits for #51/#149/#55/#57.

  4. added
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    and removed
    needs-humanThe agent loop stopped; a person must decide (reason in the last comment)
    on Oct 20, 2026
  5. added
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 20, 2026
  6. self-assigned this
    on Oct 20, 2026
  7. Birfy commented on Oct 20, 2026

    @Birfy
    CollaboratorAuthor

    Claimed by maintenance run (2026-10-20 11:55 Asia/Shanghai, main a7adfe0): developing on branch feat/471-inbox-failed-turns in Birfy/FlyBot, following the Owner decision above (first slice only).

  8. Birfy commented on Oct 20, 2026

    @Birfy
    CollaboratorAuthor

    Minor details decided while implementing the first slice (2026-10-20 12:01 Asia/Shanghai, PR #491, Part of #471 since the deferred items stay open here):

    • Event source: failed-turn cards read work.ended, the ended-turn entries the Proactive reminders 1/3: event reminders (approval waiting, failed, finished) in app and desktop #353 notifications already use; no new host record or endpoint.
    • When a failed turn needs you: while it is the latest ended turn in its place (a Bot's own chat, or that Bot in one group), younger than 7 days (same window as failed tasks), and the Bot is not running or waiting for an approval there. A later finished turn in that place clears it; no separate dismiss button. That chat is then not also listed under Done.
    • Card text: status Failed (existing pill), title = the chat's last line (fallback The last turn did not finish), reason = the failure text from the notification entry, Open only.
    • Keeping it: the host list stays the last 20 ended turns, plus each place's latest failure past those (≤ 50, ≤ 7 days), so busy Bots elsewhere do not push an unresolved failure out. Still process-local: a restart forgets it, like the notifications.
    • Latest activity row: one muted line Latest: … with the full text on hover: a task's newest note, else the tool its Bot runs there now (running turns and tasks only), else the chat's last line; hidden when it would only repeat the title or reason.
  9. Birfy commented on Oct 20, 2026

    @Birfy
    CollaboratorAuthor

    First slice of #471 is on main via #491 (Agent inbox: failed turns + latest-activity line on each card; Part of #471).

    Removing agent-working / assignee for now. Also removing agent-ready and adding needs-human — board view, tool-call counts, and team views were deferred and need a fresh owner confirmation before more development.

    Confirmation needed — what next for Agent inbox phase 2?

    Option Scope
    a Board view (List/Board toggle, columns) + per-card tool-call count + short first-run guide
    b Failed-turn event source shared with finish/fail notifications (#353) + richer card actions
    c Team views (Assigned to me / by me / Team overview) — depends on grants work
    d Defer all of the above until the social/invite backlog clears

    Recommendation: (d) — finish the social cluster (#499/#498/#496/#506/#500 companions) first; revisit board/tool-counts after that. Reply with a/b/c/d (or a mix) and we will re-label agent-ready only after you confirm.

  10. removed
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    on Oct 20, 2026
  11. removed their assignment
    on Oct 20, 2026
  12. added
    needs-humanThe agent loop stopped; a person must decide (reason in the last comment)
    and removed
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 20, 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

    area:uiWeb/desktop UI and copyenhancementNew feature or requestneeds-humanThe agent loop stopped; a person must decide (reason in the last comment)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions