Skip to content

Activity Monitor: presence indicator (clanker online / offline / none) on the waiting-on pill so the operator can anticipate wait vs adopt #15051

Closed

Description

@clubanderson

Problem

The Activity Monitor's waiting on @author … pill (#15016) and the 071 / 072 captions say who the hive waits on, but not whether that person's clanker (their connected contributor agent) is there to answer. The operator has to open the fleet view or wait for the adoption text to change to know whether the next move is wait or adopt.

adoption.author_online exists only on nudged 072 rows; a 071 Needs author row, a 072 row before the first nudge, and the sub-row of an issue carrying such a PR carry nothing.

Proposal

Backend — a presence object on every PR row (and mirrored sub-row) that waits on a named person:

"presence": {"login": "Danathar", "state": "online|offline|unknown", "kind": "clanker|human",
             "since": "…", "last_seen": "…", "next": "wait|adopt", "adopt_at": "…"}

Source: the same contributor-hub presence lookup the adoption engine consults (ContributeWSHub.Presence: registered profile + live relay heartbeat), so the indicator never contradicts the adoption text. next/adopt_at follow adoptionDue's rules (online → grace, offline → after_offline from last heartbeat / first nudge, unregistered clanker → after_unregistered; human-authored PRs are never adopted → next: wait, no adopt_at).

SPA — inside the pill, before @login:

  • 🟢 dot — clanker online: "@Danathar's clanker: online, last seen 2m ago — hive is waiting for them"
  • 🟥 square — clanker offline: "@hanthor's clanker: offline 26h — hive will adopt at 15:10 (in 38m)"
  • ◯ hollow ring — no clanker registered: "@zoe: no clanker registered — waiting for a human reply" (pill reads human · no clanker)

Shape differs per state (not colour-only), aria-label on the indicator, subtle breathe on online only and none under prefers-reduced-motion, tokens from tracker-cues (--cue-state / --cue-work / --cue-decision). Same indicator in the Needs-human popover (#14995) when the waiting person is named, and in per-PR sub-rows. Updates with the normal tracker refresh.

Tests — Go: presence derivation (online / offline / unknown / human, next, adopt_at). Node fixtures: rendering, tooltip text, aria labels.

Docs — docs/dashboard-sections.md (Activity Monitor pills), docs/labels-and-control-signals.md (adoption).

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 28, 2026
  2. hivecommons-hive commented on Oct 28, 2026

    @hivecommons-hive
    Contributor

    🔒 Claimed by @thatguywob (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.

  3. hivecommons-hive commented on Oct 28, 2026

    @hivecommons-hive
    Contributor

    🔓 Claim by @thatguywob released (lease revoked).

  4. added 4 commits that reference this issue on Oct 28, 2026
    d520ad7
    293b20f
    d08eff8
    a40cbb0
  5. hanthor commented on Oct 28, 2026

    @hanthor
    Contributor

    Triage: #15054 was already closed in favor of #15070, so there is no remaining implementation-selection decision. Followed up on #15070 for its existing rebase and presence/adoption-timing correctness checks. Keeping this issue open and covered by that PR; no third implementation or premature approval.

  6. added a commit that references this issue on Oct 28, 2026
    ace6fd4
  7. github-actions commented on Oct 28, 2026

    @github-actions
    Contributor

    @clubanderson this issue was closed by @hivecommons-hive[bot] as completed.

    If this was closed by a merged PR, the fix only takes effect once it ships in a tagged release and your deployment updates to it — check your running version against the fix before concluding the fix failed.

    If you are still seeing the problem, comment /reopen and it will be reopened for you — you do not need write access. Please add what you are still observing (running version, logs, steps) so it is not closed the same way again.

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

    enhancementNew feature or requesthas-open-prhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions