From 395753a22ab61f0036fd78cf8a0af9e17785145d Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 20:54:25 -0500 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20fix(glossary):=20sync=20capa?= =?UTF-8?q?bility-gap=20wording=20across=20doc,=20Go=20and=20JS=20glossari?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #16857 Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- changelog.d/fixed-16857.md | 1 + src/pkg/dashboard/static-src/js/tracker-filter-fetch.js | 2 +- src/pkg/delegatedecision/decision_glossary.go | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog.d/fixed-16857.md diff --git a/changelog.d/fixed-16857.md b/changelog.d/fixed-16857.md new file mode 100644 index 0000000000..089a52090b --- /dev/null +++ b/changelog.d/fixed-16857.md @@ -0,0 +1 @@ +- The in-app `capability-gap` glossary (decision glossary and tracker filter popover) now carries the same rule as the operator doc: a claim that workflow files cannot be pushed is not a gap when the hive checked that it can push them in that repository. diff --git a/src/pkg/dashboard/static-src/js/tracker-filter-fetch.js b/src/pkg/dashboard/static-src/js/tracker-filter-fetch.js index 6d91d8e57c..97468151f8 100644 --- a/src/pkg/dashboard/static-src/js/tracker-filter-fetch.js +++ b/src/pkg/dashboard/static-src/js/tracker-filter-fetch.js @@ -76,7 +76,7 @@ "blocker": {"kind": "reason", "plain": "the hive can't do this itself", "detail": "The item is blocked on something the hive cannot do: a permission the GitHub App lacks, or a step only a person may take. No decision clears it; grant the permission (and re-check) or do the step by hand (hivecommons/hive#15099)."}, "capability": {"kind": "reason", "plain": "the hive can't do this itself", "detail": "The item is blocked on something the hive cannot do: a permission the GitHub App lacks, or a step only a person may take. No decision clears it; grant the permission (and re-check) or do the step by hand (hivecommons/hive#15099)."}, "workflows-handoff": {"kind": "rule", "plain": "handed to the lane whose token can push workflow files", "detail": "The App grants workflows: write. The issue is routed to a capable lane for the next scheduler pass."}, - "capability-gap": {"kind": "rule", "plain": "the GitHub App lacks a permission; deciding cannot clear it", "detail": "The blocker is a missing GitHub App permission (for example `workflows`). Approving a direction would only re-apply needs-human, so the park stays until the owner grants the permission or a person applies the change."}, + "capability-gap": {"kind": "rule", "plain": "the GitHub App lacks a permission; deciding cannot clear it", "detail": "The blocker is a missing GitHub App permission (for example `workflows`). Approving a direction would only re-apply needs-human, so the park stays until the owner grants the permission or a person applies the change. A claim that workflow files cannot be pushed is not a gap when the hive checked that it can push them in that repository: the App installation grants `workflows: write` and an enabled lane whose token carries it serves the repository."}, "capability:workflows-permission": {"kind": "reason", "plain": "the PR edits .github/workflows; the hive's App lacks the `workflows` permission, so it cannot adopt it", "detail": "The PR changes files under .github/workflows. The hive's GitHub App has no `workflows` permission, so the adoption fence refuses to publish those edits from the hive. Grant the App the `workflows` permission and re-run the decision, or have a person rebase and merge it on GitHub, or close it as superseded."}, "changes-requested": {"kind": "reason", "plain": "a reviewer asked for changes; a new commit is needed", "detail": "A reviewer asked for changes on this branch. Approving cannot override that: only a new commit, or a maintainer merging by hand, moves it."}, "changes_requested": {"kind": "reason", "plain": "a reviewer asked for changes; a new commit is needed", "detail": "A reviewer asked for changes on this branch. Approving cannot override that: only a new commit, or a maintainer merging by hand, moves it."}, diff --git a/src/pkg/delegatedecision/decision_glossary.go b/src/pkg/delegatedecision/decision_glossary.go index fed2723e8d..75f3e2b627 100644 --- a/src/pkg/delegatedecision/decision_glossary.go +++ b/src/pkg/delegatedecision/decision_glossary.go @@ -126,7 +126,7 @@ var glossary = []GlossaryEntry{ {Slug: "workflows-handoff", Kind: GlossaryRule, Plain: "handed to the lane whose token can push workflow files", Detail: "The App grants workflows: write. The issue is routed to a capable lane for the next scheduler pass."}, {Slug: "capability-gap", Kind: GlossaryRule, Plain: "the GitHub App lacks a permission; deciding cannot clear it", - Detail: "The blocker is a missing GitHub App permission (for example `workflows`). Approving a direction would only re-apply needs-human, so the park stays until the owner grants the permission or a person applies the change."}, + Detail: "The blocker is a missing GitHub App permission (for example `workflows`). Approving a direction would only re-apply needs-human, so the park stays until the owner grants the permission or a person applies the change. A claim that workflow files cannot be pushed is not a gap when the hive checked that it can push them in that repository: the App installation grants `workflows: write` and an enabled lane whose token carries it serves the repository."}, {Slug: "review-backlog", Kind: GlossaryRule, Plain: "the PR closed without merging, so the issue stays open", Detail: "The fixing PR closed unmerged; the issue stays open and is re-triaged rather than auto-closed."}, {Slug: "flaky-test", Kind: GlossaryRule, Plain: "a flaky test, quarantined with a retry", From 86486e5e168fc8be52e398a351024b37670cb13c Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 21:03:55 -0500 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20fix(glossary):=20regenerate?= =?UTF-8?q?=20static/index.html=20from=20static-src?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TestStageTrackerDecisionGlossaryMirrorsGo and TestIndexHTMLIsGenerated read the generated artifact, which still carried the old capability-gap detail. Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- src/pkg/dashboard/static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/dashboard/static/index.html b/src/pkg/dashboard/static/index.html index 7f6a72e9be..a84ad8b426 100644 --- a/src/pkg/dashboard/static/index.html +++ b/src/pkg/dashboard/static/index.html @@ -22730,7 +22730,7 @@