Skip to content

[scanner] Add the hub Fleet activity page /activity reusing the smallest tracker row-presentation asset #15965

Closed
3 of 3 issues completed

Description

@hivecommons-hive

Part of #15861 (RFC proposed by @hanthor). Fourth implementation child; follows #15951 (contract + hub API), #15963 (spoke publisher) and #15964 (events), and reuses the display shell from #15860 (#15924 / #15925, merged in #15948).

What

A read-only Fleet activity page on the hub, /activity, linked next to the existing 🔬 Evidence drill-down:

  • Renders the merged board from GET /api/hub/activity with ETag polling every 15 s. Decision taken by hive, per the owner decision: reuse/extract the smallest pure row-presentation assets from src/pkg/dashboard/static-src into something both binaries embed, with a compatibility test that the spoke tracker still renders identically — do not copy the whole tracker and do not rewrite the renderer.
  • A Hive column with colour chips; group-by-hive shows a header row per hive with counts, freshness (stale after two missed heartbeats) and "upgrade to report activity" for reporting: false spokes.
  • Truncation and stale/missing sources are always visible on the board.
  • Rows link to the item on GitHub; the hive chip opens that hive's own tracker through the hub's existing hive routes. No action menus: the hub stays visibility-only.
  • Display mode reuses 📝 RFC: Activity Monitor kiosk/display mode for wall-screen dashboards #15860 Part A unchanged: ?kiosk=1, am.* URL state, ?display=1; hub-activity becomes a playlist view.
  • Titles render as text, never HTML, length-capped on the hub.

Why

RFC #15861 §D, as narrowed by the owner decision (2026-10-31): "Reuse/extract the smallest pure row-presentation assets with compatibility coverage rather than duplicate the whole tracker or undertake a broad renderer rewrite. Preserve all spoke stages, sorting and existing tracker behavior. Hub remains visibility-only; actions link to the authorized spoke."

Acceptance

  • Two spokes heartbeating to one hub: a user with access to one sees only that hive's rows; an admin sees both (server-side scoping from ✨ Bounded activity heartbeat contract and authorized hub aggregation API #15951, verified end to end in the page).
  • Compatibility test pins that the extracted row asset renders the spoke tracker's existing fixtures unchanged.
  • src/docs page for the hub Fleet activity view and a changelog.d/added-*.md fragment.

Attribution requirement (inherited from #15861)

Mention @hanthor in the PR description, link #15861 and this child, and mention @hanthor in a completion comment only when the PR actually merges. State what shipped separately from deployment/activation status; never call an open PR, green CI alone or a closed planning ticket completed implementation. Carry this requirement into any further children.

— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

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

    @hivecommons-hive
    ContributorAuthor

    🔒 Claimed by @Karibhou (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. Karibhou commented on Oct 31, 2026

    @Karibhou
    Contributor

    Blocked on #15951: GET /api/hub/activity (the contract and authorized hub aggregation API this page renders) does not exist on v5 (no match for hub/activity under src), #15951 is still open, and no PR references #15951, #15963 or #15964. Building the /activity page now would mean inventing the response shape and the server-side per-hive scoping that the acceptance criteria depend on. Nothing was implemented and no PR was opened. This should be re-offered once #15951 merges.

    — hive: backend=claude model=claude-sonnet-5-5


    🐝 Hive Agent: contributor | SHA: unknown

  4. added
    blockedWaiting on something outside this repository; not contributor work until a human clears the label
    and removed
    stage/020-claimedClaimed by the scanner or a relay contributor
    on Oct 31, 2026
  5. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    🔓 Claim by @Karibhou released (lease revoked).

  6. 8 remaining items

  7. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    PR #16066 covers this issue: #16066

    The PR body says this is partial/non-closing work (Refs/Part of or leave-open wording), so Hive will not add a closing keyword. GitHub will not show its issue-list PR icon without a closing keyword; the stage comment is the link.

  8. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    A merged PR addressed only part of this issue (hive/partially-addressed); it stays open and actionable. Carrying the remainder back here so the next run targets what is still open.

    Remainder from the PR body:

    the fourth child of RFC #15861 by @hanthor.

    Remainder from the PR body:

    (RFC #15861). Builds on #16062 / #16066 and #15951 / #15963 / #15964.

  9. added
    hive/partially-addressedA merged PR addressed only part of this issue; remainder still actionable
    stage/010-actionableTriaged; eligible for the hive to pick up
    hive/verified-openHive verified that a likely/already-done claim did not finish this issue; keep open for more work
    and removed on Oct 31, 2026
  10. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    Verified once after #16066 merged: this parent stays open on purpose. Its remainder is fully owned by the two remaining ordered children — #16063 (the /activity page, covered by PR #16084) and #16064 (display-mode wiring, claimed by a contributor). Nothing is left here to implement outside those children; labelled hive/verified-open so the sweep stops re-asking. It closes when #16064 closes.


    🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

    — hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

  11. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    All children delivered: #16062 → PR #16066, #16063 → PR #16084, #16064 → PR #16088.

    Every tracked child of this issue is closed, so the hive is closing it as completed. Reopen it if something it asked for is still missing.

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/scannerCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/partially-addressedA merged PR addressed only part of this issue; remainder still actionablehive/verified-openHive verified that a likely/already-done claim did not finish this issue; keep open for more work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions