Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
27dae84
🐛 changelog: recover 14 fragments stranded in src/changelog.d and fai…
clubanderson Nov 16, 2026
8d0cea9
🌱 build(deps): Bump ws from 8.22.1 to 8.23.0 in /src/proxy (#18367)
dependabot[bot] Nov 16, 2026
3ba6656
🌱 build(deps): Bump ws from 8.22.1 to 8.23.0 in /dashboard (#18371)
dependabot[bot] Nov 16, 2026
bf1bce3
🔖 release: v5.276.3
actions-user Nov 16, 2026
9b6a6f5
✨ Inbox: transcription progress with time remaining (#18373)
clubanderson Nov 16, 2026
1d2b7b2
Merge pull request #18375 from hivecommons/release-gate/v5.276.3
clubanderson Nov 16, 2026
1b5a673
🌱 build(deps): Bump github.com/nats-io/nats-server/v2 from 2.15.2 to …
dependabot[bot] Nov 16, 2026
1bd3014
✨ backport(v5): gauge model name on the weekly dial and per-provider …
clubanderson Nov 16, 2026
451d4fd
🐛 Inbox: play recordings through a same-origin stream (CSP blocked cr…
clubanderson Nov 16, 2026
ccfdc60
🔖 release: v5.277.0
actions-user Nov 16, 2026
ab3a951
Merge pull request #18378 from hivecommons/release-gate/v5.277.0
clubanderson Nov 16, 2026
11327ac
✨ Inbox: built-in Whisper transcription (no account, audio stays on t…
clubanderson Nov 16, 2026
e63b981
🔖 release: v5.278.0
actions-user Nov 16, 2026
d181153
Merge pull request #18379 from hivecommons/release-gate/v5.278.0
clubanderson Nov 16, 2026
8066f25
🌱 build(deps): Bump golang.org/x/sys from 0.49.0 to 0.50.0 in /src (#…
dependabot[bot] Nov 16, 2026
a0034ff
✨ Inbox: Gemini transcription using the hive's own Gemini credentials…
clubanderson Nov 16, 2026
3bebc03
fix: de-flake TestSessionsCreateValidation (#18381)
hivecommons-hive[bot] Nov 16, 2026
b72580c
🔖 release: v5.279.0
actions-user Nov 16, 2026
ca7a8bb
Merge pull request #18382 from hivecommons/release-gate/v5.279.0
clubanderson Nov 16, 2026
ae45388
🔖 release: v5.280.0
actions-user Nov 16, 2026
cbda5f5
Merge pull request #18384 from hivecommons/release-gate/v5.280.0
clubanderson Nov 16, 2026
87f960c
✨ feature: reconcile workflow model state labels (#18363)
Karibhou Nov 16, 2026
ee883b9
feat: model reply verbs on PR states and un-parked issues (#18383)
hivecommons-hive[bot] Nov 16, 2026
b21725a
🔖 release: v5.281.0
actions-user Nov 16, 2026
3633cd9
Merge pull request #18385 from hivecommons/release-gate/v5.281.0
clubanderson Nov 16, 2026
5057141
🔖 release: v5.282.0
actions-user Nov 16, 2026
60295d5
Merge pull request #18386 from hivecommons/release-gate/v5.282.0
clubanderson Nov 16, 2026
92ba5a3
✨ models: emit checks file for a bound model through a PR (#18365)
hivecommons-hive[bot] Nov 16, 2026
291227b
🌱 build(deps): Bump golang.org/x/image from 0.47.0 to 0.48.0 in /src …
dependabot[bot] Nov 16, 2026
3d6b2e5
🐛 Inbox: fact is a status, not a button; machine transcripts become k…
clubanderson Nov 16, 2026
112c47e
🔖 release: v5.283.0
actions-user Nov 16, 2026
8a50739
Merge pull request #18398 from hivecommons/release-gate/v5.283.0
clubanderson Nov 16, 2026
e91df2b
🌱 Inbox: one Share menu with a Hive group (RFC, spek, Knowledge, DIBS…
clubanderson Nov 16, 2026
e45eb2a
🌱 Inception (spek): remove the Campaigns tab (#18400)
clubanderson Nov 16, 2026
9154cc5
✨ meetings: Calendar section, scheduled joins and approvals (Betty C1…
clubanderson Nov 16, 2026
a2feba0
✨ meetings: Betty persona, intro and question-driven chat answers (ph…
clubanderson Nov 16, 2026
67cd9df
✨ Inbox: transcribe first, then share audio-only items (#18401)
clubanderson Nov 16, 2026
1d4969a
🔖 release: v5.283.1
actions-user Nov 16, 2026
db7e31a
Merge pull request #18412 from hivecommons/release-gate/v5.283.1
clubanderson Nov 16, 2026
c91544f
✨ Inbox: drag and drop documents into the Inbox (#18411)
clubanderson Nov 16, 2026
5332740
⚠️ Retire /api/campaigns, campaign Jam and Recheck (#18407)
clubanderson Nov 16, 2026
e688ff7
📖 docs: list quorum and vexa in docs/repositories.md (#18403)
hivecommons-hive[bot] Nov 16, 2026
a5b2efb
✨ Inbox: record recordings directly in hive (backend) (#18408)
clubanderson Nov 16, 2026
52e35b0
✨ Inbox: add links to the Inbox, fetched under an SSRF guard (#18418)
clubanderson Nov 16, 2026
6f0dbd2
✨ Inbox: read Word (.docx) documents dropped or linked (#18425)
clubanderson Nov 16, 2026
48e3441
✨ meetings: Betty answers from the web, speaks when asked and digs in…
clubanderson Nov 16, 2026
686c109
✨ Inbox: send items into an Inception (spek) session (#18405)
clubanderson Nov 16, 2026
d45d392
✨ meetings: Quorum v0.2.0 and Discord speech through the TTS service …
clubanderson Nov 16, 2026
9076e25
✨ mailin: hive-mx receive-only mail receiver (Betty C2 part 1) (#18423)
clubanderson Nov 16, 2026
4f18e71
🔖 release: v5.284.0
actions-user Nov 16, 2026
ec0d5c7
✨ Inbox: read PDFs in a sandboxed hive-pdftext process (#18426)
clubanderson Nov 16, 2026
e5353f6
Merge pull request #18430 from hivecommons/release-gate/v5.284.0
clubanderson Nov 16, 2026
3b01e94
✨ meetings: Settings tab "Meeting attendee" with Kokoro persona prese…
clubanderson Nov 16, 2026
f03a809
✨ hub: route hive-mx mail to hives with the relay key (Betty C2, part…
clubanderson Nov 16, 2026
a7bcce8
✨ Inbox: ● Record in the dashboard (#18422)
clubanderson Nov 16, 2026
d9bc333
✨ meetings: Betty drafts issues, RFCs, Spek sessions and knowledge no…
clubanderson Nov 16, 2026
e98c959
✨ images: build and publish hive-mx (Betty C2, part 2) (#18428)
clubanderson Nov 16, 2026
c87220b
🔖 release: v5.285.0
actions-user Nov 16, 2026
aa286e8
Merge pull request #18433 from hivecommons/release-gate/v5.285.0
clubanderson Nov 16, 2026
203fa0d
🐛 dashboard: render the Inbox once the viewer's role is known (#18442)
clubanderson Nov 16, 2026
4db377b
🐛 Relink a Copilot config.json the CLI's atomic save replaced (#18445)
clubanderson Nov 16, 2026
f93d7df
✨ Inbox: pills record where an item was shared, by whom and when (#18…
clubanderson Nov 16, 2026
fcbc0f7
⚠️ Retire the inception API, watcher and brainstorm inception mode (#…
clubanderson Nov 16, 2026
e46f03d
[scanner] fix: add quorum to security-insights repository list (#18439)
hivecommons-hive[bot] Nov 16, 2026
214b422
✨ Refresh OpenRouter defaults and add a searchable gateway model pick…
clubanderson Nov 16, 2026
c39c0f6
✨ Scanner PR notes: one edited comment per PR, silent when nothing ch…
clubanderson Nov 16, 2026
17c285d
✨ meetings: email invites with an allowlist of proven calendar emails…
clubanderson Nov 16, 2026
b8a55c5
fix: open the sealed Copilot login in the usage gauge (#18461)
hivecommons-hive[bot] Nov 16, 2026
69e82ec
🔖 release: v5.286.0
actions-user Nov 16, 2026
baf3ad8
Merge pull request #18473 from hivecommons/release-gate/v5.286.0
clubanderson Nov 16, 2026
6980a26
✨ Gateway spend: price models from the gateway, show unknown prices e…
clubanderson Nov 16, 2026
c47c678
🌱 Weekly static model list freshness check and list-shape test (#18474)
clubanderson Nov 16, 2026
2b17a49
✨ Inbox: auto-transcribe hive recordings (#18432)
clubanderson Nov 16, 2026
4544a43
✨ Inbox: record meeting tab audio with the mic (#18475)
clubanderson Nov 16, 2026
8389f7f
✨ Inbox: drop audio and video files and transcribe them (#18476)
clubanderson Nov 16, 2026
d766728
🔖 release: v5.287.0
actions-user Nov 16, 2026
6078e99
🐛 Self-upgrade: accept named probe ports, never abort on probe backfi…
clubanderson Nov 16, 2026
f914186
Merge pull request #18483 from hivecommons/release-gate/v5.287.0
clubanderson Nov 16, 2026
e8db6f0
[scanner] fix: throttle proxy-proof rejection WARN (#18438)
hivecommons-hive[bot] Nov 16, 2026
fca811e
✨ inbox: mail-in files as email items with an owner approval queue (B…
clubanderson Nov 16, 2026
6a4fd4c
✨ meetings: Settings, Meeting attendee Email section wired to email-i…
clubanderson Nov 16, 2026
9db5def
🌱 Add LF Projects legal footer to every hub page (#18485)
clubanderson Nov 16, 2026
17ecea2
fix: bound slow app_keys_held in hub heartbeat collect (#18489)
hivecommons-hive[bot] Nov 16, 2026
862b1a7
🌱 chore: top up v6 from v5 (2026-11-16)
clubanderson Nov 16, 2026
0440768
🌱 chore: top up v6 from v5 through #18489
clubanderson Nov 16, 2026
00e2b05
🌱 fix: adapt v5 top-up to v6 (checks emitter client, test import, run…
clubanderson Nov 16, 2026
27747c4
🌱 fix: v6 guards after the Campaigns tab retirement; keep hivectl in …
clubanderson Nov 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
196 changes: 196 additions & 0 deletions .github/scripts/check-static-model-freshness.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
#!/usr/bin/env python3
"""Compare hive's static CLI model lists against public, keyless sources.

Run weekly by .github/workflows/static-model-freshness.yml. Prints a Markdown
drift report to stdout (empty body sections are omitted) and exits 0; the
workflow opens or updates ONE tracking issue with it.

Sources (all public, no auth):
* OpenRouter GET https://openrouter.ai/api/v1/models. Used for:
- the curated OpenRouter suggestions (crux/openrouter SuggestedModels and
DefaultModel), which ARE OpenRouter ids: a missing id is drift;
- the Claude, Gemini and OpenAI/Codex/Copilot static fallbacks, mapped
onto their OpenRouter equivalents (anthropic/, google/, openai/). These
are NOT the CLIs' own catalogs, so a miss is a hint to look, and a
newer model in the same family that the static list lacks is reported
as "newer upstream".
* npm registry (registry.npmjs.org/<pkg>/latest) for the CLIs that ship as
npm packages: the latest published version, as context for whether a
CLI release may have changed its model list since the snapshot.

Not covered (need auth or have no machine-readable list): the Claude CLI's
own /v1/models (OAuth), the Copilot SDK catalog (Copilot login), the Codex
app-server catalog (ChatGPT login), Gemini CLI's internal list, Kiro (pi),
agy, omp, goose providers and bob. Those are probed live at runtime by the
dashboard; their static lists are fallbacks and are checked only for shape
(non-empty, no duplicates, Go/JS in sync) by the Go unit tests.
"""
import json
import re
import sys
import urllib.request

OPENROUTER_MODELS = "https://openrouter.ai/api/v1/models"
NPM_LATEST = "https://registry.npmjs.org/{pkg}/latest"
TIMEOUT_S = 30
USER_AGENT = "hive-static-model-freshness"

# Package names of CLIs whose model lists hive snapshots.
NPM_PACKAGES = {
"claude": "@anthropic-ai/claude-code",
"copilot": "@github/copilot",
"codex": "@openai/codex",
"gemini": "@google/gemini-cli",
}

CLI_MODELS_GO = "src/pkg/dashboard/cli_models.go"
OPENROUTER_GO = "src/crux/openrouter/openrouter.go"

# Static Go lists checked against OpenRouter, with the OpenRouter provider
# prefix their ids map onto.
GO_LISTS = {
"claudeStaticModels": "anthropic",
"copilotStaticModels": None, # mixed vendors; prefix inferred per id
"codexStaticModels": "openai",
"geminiStaticModels": "google",
}

ALIASES = {"opus", "sonnet", "haiku", "auto", "default"}


def fetch_json(url):
req = urllib.request.Request(url, headers={"User-Agent": USER_AGENT, "Accept": "application/json"})
with urllib.request.urlopen(req, timeout=TIMEOUT_S) as resp:
return json.load(resp)


def go_string_list(src, name):
m = re.search(r"var " + re.escape(name) + r" = \[\]string\{(.*?)\n\}", src, re.S)
if not m:
return []
body = re.sub(r"//[^\n]*", "", m.group(1))
return re.findall(r'"([^"]+)"', body)


def openrouter_suggestions(src):
ids = re.findall(r'\{ID: "([^"]+)", Label:', src)
m = re.search(r'const DefaultModel = "([^"]+)"', src)
return ids, (m.group(1) if m else "")


def vendor_for(model_id):
if model_id.startswith("claude-"):
return "anthropic"
if model_id.startswith("gemini-"):
return "google"
if model_id.startswith(("gpt-", "o3", "o4", "codex-")):
return "openai"
return None


def norm(model_id):
"""Canonical comparison key: no date suffix, dots and dashes unified."""
s = model_id.lower().split("/")[-1].split(":")[0]
s = re.sub(r"-\d{8}$", "", s)
return s.replace(".", "-")


def family(key):
"""(family, version) where family is the name around the version.

claude-sonnet-5-5 -> (('claude-sonnet', ''), (5, 5));
gemini-2-5-flash -> (('gemini', 'flash'), (2, 5)). Variants with a
different tail (flash-lite, flash-image) are different families, so only
a genuinely newer version of the same line is reported.
"""
m = re.match(r"^([a-z]+(?:-[a-z]+)*?)-(\d+(?:-\d+)*)(?:-(.*))?$", key)
if not m:
return None, ()
return (m.group(1), m.group(3) or ""), tuple(int(x) for x in m.group(2).split("-"))


def main():
with open(CLI_MODELS_GO, encoding="utf-8") as f:
cli_src = f.read()
with open(OPENROUTER_GO, encoding="utf-8") as f:
or_src = f.read()

sections = []
drift = False
try:
catalog = fetch_json(OPENROUTER_MODELS).get("data", [])
except Exception as exc: # noqa: BLE001 — report, never fail the cron
catalog = []
sections.append(f"### OpenRouter catalog unavailable\n\n`{OPENROUTER_MODELS}` failed: `{exc}`. Nothing was compared against it this week.")
live_ids = {m.get("id", "") for m in catalog if m.get("id")}
by_vendor = {}
for mid in live_ids:
if "/" not in mid or mid.startswith("~"):
continue
vendor, rest = mid.split("/", 1)
by_vendor.setdefault(vendor, set()).add(norm(rest))

if live_ids:
ids, default = openrouter_suggestions(or_src)
missing = [i for i in ids + ([default] if default else []) if i not in live_ids]
if missing:
drift = True
sections.append("### OpenRouter suggestions no longer in the catalog\n\n"
"`crux/openrouter` SuggestedModels / DefaultModel (the dashboard already hides these at runtime; refresh the list and `testdata/models.json`):\n\n"
+ "\n".join(f"- `{i}`" for i in sorted(set(missing))))

for name, prefix in GO_LISTS.items():
ids = [i for i in go_string_list(cli_src, name) if i not in ALIASES]
if not ids:
sections.append(f"### `{name}` could not be parsed\n\nThe checker found no ids; update the parser or the list.")
continue
not_found, newer = [], set()
have = {norm(i) for i in ids}
fams = {}
for i in ids:
vendor = prefix or vendor_for(i)
if not vendor:
continue
key = norm(i)
if key not in by_vendor.get(vendor, set()):
not_found.append(i)
fam, ver = family(key)
if fam:
fams.setdefault((vendor, fam), max(fams.get((vendor, fam), ()), ver))
for (vendor, fam), top in fams.items():
for key in by_vendor.get(vendor, set()):
f2, v2 = family(key)
if f2 == fam and v2 > top and key not in have:
newer.add(f"{vendor}/{key}")
lines = []
if newer:
lines.append("Newer models of the same family on OpenRouter that the list lacks:\n\n" + "\n".join(f"- `{n}`" for n in sorted(newer)))
if not_found:
lines.append("Ids with no OpenRouter counterpart (may be CLI-only aliases; check the CLI's own catalog):\n\n" + "\n".join(f"- `{n}`" for n in sorted(not_found)))
if lines:
drift = True
sections.append(f"### `{name}` ({CLI_MODELS_GO})\n\n" + "\n\n".join(lines))

versions = []
for cli, pkg in NPM_PACKAGES.items():
try:
versions.append(f"- {cli}: `{pkg}` latest `{fetch_json(NPM_LATEST.format(pkg=pkg)).get('version', '?')}`")
except Exception as exc: # noqa: BLE001
versions.append(f"- {cli}: `{pkg}` lookup failed (`{exc}`)")

if not drift:
print("NO_DRIFT")
print("## Static model list freshness\n")
print("Weekly comparison of hive's static model lists against public sources. "
"Static lists are fallbacks: Claude, Copilot, Codex, Gemini, goose, agy and omp are probed live at runtime, "
"and agents on a gateway inherit the gateway's live `/v1/models` list.\n")
print("\n\n".join(sections) if sections else "No drift found against OpenRouter this week.")
print("\n### CLI releases (npm, for context)\n\n" + "\n".join(versions))
print("\n### Not checked\n\nNeeds auth or has no machine-readable list: the Claude CLI's `/v1/models` (OAuth), the Copilot SDK catalog, "
"the Codex app-server catalog, Kiro (pi), agy, omp, goose providers, bob. The Go unit test `TestStaticModelListsShape` still checks every list is "
"non-empty, duplicate-free and matches `static/index.html`.")
return 0


if __name__ == "__main__":
sys.exit(main())
2 changes: 1 addition & 1 deletion .github/scripts/integration-governance.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const MAX_COMMITS = 1000;
const MAX_AUTHOR_BATCH = 50;
// This literal is inside the enrolled .github closure. A caller-supplied
// preparedBy.sourceSHA must never choose a new executable verifier tree.
const TRUSTED_SCRIPTS_TREE = '70a83fac5c80258d8af0ddcdf6137d2e4de446cb';
const TRUSTED_SCRIPTS_TREE = '46005db3bdfd434e5a143bde8590e3b05e0892a2';
const SOURCE = 'https://github.com/kubernetes-sigs/kubebuilder-release-tools/tree/012269a88fa4c034a0acf1ba84c26b195c0dbab4';
const sha = value => crypto.createHash('sha256').update(value).digest('hex');
const git = (args, cwd = process.cwd()) =>
Expand Down
Loading
Loading