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] Delegated plan for an advisory: would close / keep open while the hive works k/N items #15764
Part of #15754 (Expected item 3, advisory branch).
The issue-type wording for default-approve on a plain issue ("Approve the direction of #N and let the hive pick it up.") ships in the #15754 PR. What remains is the advisory branch of POST /api/repos/{o}/{r}/items/{n}/decide-delegated/plan:
an advisory (dedupe checklist / triage/advisory) with all items resolved → would: close, "Close the advisory — its items are tracked by the hive."
with items still open → "Keep open; hive is working k/N items", no writes.
Why it is split: the plan's primary button runs decide-delegated, so the plan can only say "close" honestly if execution closes too. That needs a new delegated verdict + action in src/pkg/delegatedecision/policy.go and a case in executeDelegatedDecision (src/pkg/dashboard/api_repo_item_decide_delegated.go) — both files are under edit in open PRs #15741 and #15757. Rewording the plan alone would preview "close" and then execute an approve.
Mitigation already in the #15754 PR: an advisory row no longer carries decision_needed, so the tracker no longer offers "Let hive decide" on it; the advisory closes itself once its items resolve (dedupe.advisory_autoclose).
Deferred this cycle: src/pkg/delegatedecision/policy.go and src/pkg/dashboard/api_repo_item_decide_delegated.go are still under edit in open PR #15757 (being rebased now); the advisory would:close branch lands after it.
🔒 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 by #15767 (merged 2026-10-30T13:45Z): the advisory branch of decide-delegated/plan returns would: close / "Close the advisory — its items are tracked by the hive." when all items are resolved (src/pkg/dashboard/api_repo_item_decide_delegated_plan.go:217), "Keep open; hive is working k/N items." otherwise (:220, k = resolved), with the matching delegated verdict/rule and execute case, covered by api_repo_item_decide_delegated_plan_test.go:280-315. Closing as completed by #15767.
Activity
hivecommons-hive commentedon Oct 30, 2026
Deferred this cycle: src/pkg/delegatedecision/policy.go and src/pkg/dashboard/api_repo_item_decide_delegated.go are still under edit in open PR #15757 (being rebased now); the advisory would:close branch lands after it.
🐝 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
hivecommons-hive commentedon Oct 30, 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 30, 2026
Already fixed on v5 by #15767 (merged 2026-10-30T13:45Z): the advisory branch of
decide-delegated/planreturnswould: close/ "Close the advisory — its items are tracked by the hive." when all items are resolved (src/pkg/dashboard/api_repo_item_decide_delegated_plan.go:217), "Keep open; hive is working k/N items." otherwise (:220, k = resolved), with the matching delegated verdict/rule and execute case, covered byapi_repo_item_decide_delegated_plan_test.go:280-315. Closing as completed by #15767.🐝 Hive Agent:
scanner| Instance:hosted-available-oke-11-placeholder-r05x| SHA:5355cbd20— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88