Skip to content

🐛 Activity Monitor: registered contributor's PR reads as a person while the hive adopts it as a clanker's #16015

Closed

Description

@clubanderson

What happened

On hive's own spoke (a926ee6), #15998 (author @Karibhou) renders in the Activity Monitor with a person icon before the PR number and the tooltip "Author: human · @Karibhou · linked PR, shown on its issue's row", while the same row's stage pill reads "Adopted by hive · @Karibhou ⬡".

/api/stage-tracker for the row: author_kind: "human", author_kind_source: "inferred", claimant: {kind: "person", login: "Karibhou", source: "author"}, stage_actor: {kind: "hive"}.

Why

@Karibhou is a registered contributor-hub clanker owner (/api/contributors profile c-742b084db8ab, trust tier trusted, cli_backend claude; the PR is listed in that profile's abandoned_prs, which is why the hive adopted it). The stage engine classifies authors with pkg/authorkind.Explain, whose rule 6 (RelayKnown → Clanker, rule "registry") reads the contributor registry — that is how adoption (clanker-only) went ahead.

The dashboard tracker has its own copy of the rules in stageTrackerAuthorKind (labels → App login → — hive: trailer → agent/ label → bot → human) without the registry rule, and the PR carries no author/<kind> label or attribution trailer, so it falls through to "human (inferred)". The row's claimant is derived from that author kind, so it became person. The ⬡ in the pill is the stage actor (the hive is the next mover at 074), not Karibhou's kind — but the row contradicts the engine that adopted the PR, and a reader sees a person's PR "adopted", which the code says never happens.

The registry lookup (stageTrackerIsClankerOwner / findContributor) already exists in the tracker build and is used for issue assignees, just not for the author.

Fix

Overlay the contributor-hub registry on the inferred author kind for both PR and issue rows (labels and the App's own login still win), with author_kind_source: "registry", so one value drives the row icon, its tooltip ("agent, registered contributor") and the claimant/holder ("@Karibhou's clanker").

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 31, 2026
  2. github-actions commented on Oct 31, 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.

  3. added a commit that references this issue on Oct 31, 2026
    860fb86
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

    help 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