Skip to content

Timeline: list the requests waiting longest #534

Closed

Description

@HugoXK

What

#469 (proactive reminders follow-up) wants a "waiting too long" signal. The timeline window flags waiting requests per edge, but nothing lists them, so a stuck Bot-to-Bot handoff is easy to miss.

Expected behavior

  • timeline/window gains stuck: the open requests (waiting: true), sorted by waited time, worst first, up to 20, each { id, from, to, role, waitedMs }.
  • Read-only, part of the existing answer, ids only.

Change scope

plugins/timeline/src/window.js, a case in plugins/timeline/test/window.test.js, docs/subsystems/timeline.md. Plugin only.

Why

A stuck handoff becomes visible where the run is drawn (the quality/proactivity bets).

Activity

  1. Birfy commented on Oct 20, 2026

    @Birfy
    Collaborator

    Triage (Birfy, 2026-10-20 20:08 Asia/Shanghai). Read-only timeline analytics: timeline/window gains stuck, the open requests (waiting: true) worst-first, up to 20, ids only. Plugin only. HugoXK's PR #535 implements it (reviewed PASS at d423209, CI green).

    Design check: no conflict with the owner rules. This is different from the shipped approval-waiting reminder (#469/#492, approvals), since it covers Bot-to-Bot requests. Limitation: it only sees requests inside the viewed window, so an older stuck request is missed. Same series as #530/#536/#538, all adding fields to timeline/window. No overlap with the merged export (#484/#523/#524).

    Proposed scope if accepted: as in #535, plus scanning open requests across the whole trace (not only the window) and showing them in the panel's "who waits on whom" view.

    needs-human: the owner needs to confirm this new feature and whether HugoXK's #535 is accepted as the implementation.

  2. added
    enhancementNew feature or request
    area:automationScheduled tasks and automation
    needs-humanThe agent loop stopped; a person must decide (reason in the last comment)
    on Oct 20, 2026
  3. Birfy commented on Oct 20, 2026

    @Birfy
    Collaborator

    Owner decision (2026-10-20 21:09 Asia/Shanghai): accepted (option a). PR #535 is accepted; the stuck/waiting-longest list must also be visible in the dashboard/panel, not only in the timeline/window API.

  4. added
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    and removed
    needs-humanThe agent loop stopped; a person must decide (reason in the last comment)
    on Oct 20, 2026
  5. removed
    agent-readyMaintainer-approved spec: an agent may take it. Only maintainers set this; never in a template
    agent-workingAn agent has claimed this issue (the claim comment names the branch)
    on Oct 21, 2026
  6. added a commit that references this issue on Oct 21, 2026
    41b0856
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:automationScheduled tasks and automationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions