You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] packs: pack-owned agents follow the gateway only one hop from the pack CLI #14849
On v5, src/pkg/dashboard/api_packs.go:214 moves an existing pack-owned agent only when existing.Backend still equals the pack CLI backend. Quoting the finding from #14721: "Agents an earlier apply moved onto gateway A stay there if the operator later moves every operator-picked agent to gateway B, even though they remain pack-owned. ... 'follow the hive's gateway' is one-hop only." Split out of #14817 so #14721 can close.
Consolidated finding. This was filed as a separate issue; it references exactly the same files as this one (src/pkg/dashboard/api_packs.go), so it was folded in here instead. Address it in the same PR as this issue — two PRs editing the same files would conflict.
[scanner] packs: hive-default (empty) gateway backend is never detected as the hive's gateway
On v5, src/pkg/dashboard/api_packs.go:1217 (hiveGatewayBackend) returns "" when operator picks are empty/hive-default, so a hive whose gateway is configured only via the default backend never triggers the move. Quoting the finding from #14721: "hiveGatewayBackend returns "" when operator picks are empty/hive-default, so a hive whose gateway is configured only via the default backend never triggers the move. Open question carried forward." Split out of #14817 so #14721 can close.
🔒 Claimed by agent scanner (agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Already fixed on v5 (verified @ 88149b2): src/pkg/dashboard/api_packs.go:224 now reads if gw != "" && existing.BackendIsPackOwned() && !strings.EqualFold(existing.Backend, gw) — ownership comes from BackendOwner == FieldOwnerPack, not backend equality with the pack CLI, so a pack-owned agent follows the hive gateway from any backend on every apply (landed via #14678/#14777/#14817). The folded finding (operator pick of the hive default yields an empty gateway) is documented behaviour in hiveGatewayBackend rule 1, not a defect. Closing as not planned — nothing left to ship.
Activity
hivecommons-hive commentedon Oct 28, 2026
Consolidated finding. This was filed as a separate issue; it references exactly the same files as this one (
src/pkg/dashboard/api_packs.go), so it was folded in here instead. Address it in the same PR as this issue — two PRs editing the same files would conflict.[scanner] packs: hive-default (empty) gateway backend is never detected as the hive's gateway
On v5,
src/pkg/dashboard/api_packs.go:1217(hiveGatewayBackend) returns "" when operator picks are empty/hive-default, so a hive whose gateway is configured only via the default backend never triggers the move. Quoting the finding from #14721: "hiveGatewayBackend returns "" when operator picks are empty/hive-default, so a hive whose gateway is configured only via the default backend never triggers the move. Open question carried forward." Split out of #14817 so #14721 can close.— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
hivecommons-hive commentedon Oct 28, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 28, 2026
Already fixed on v5 (verified @ 88149b2):
src/pkg/dashboard/api_packs.go:224now readsif gw != "" && existing.BackendIsPackOwned() && !strings.EqualFold(existing.Backend, gw)— ownership comes fromBackendOwner == FieldOwnerPack, not backend equality with the pack CLI, so a pack-owned agent follows the hive gateway from any backend on every apply (landed via #14678/#14777/#14817). The folded finding (operator pick of the hive default yields an empty gateway) is documented behaviour inhiveGatewayBackendrule 1, not a defect. Closing as not planned — nothing left to ship.🐝 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