fix(models): curate Databricks alias-aware labels for 5 missing endpoints (#6360)

Curates Databricks model labels through prefix-stripping aliasing and
materializes exact records for five endpoints missing from the
Databricks catalog.

**Alias-aware label resolution** (Databricks v2)
- Strip workspace-specific prefixes (`goose-`, `team-x-`, etc.) before
exact-record lookup so any prefixed alias resolves to its canonical
label without enumerating every alias variant.
- Return `None` for uncurated ids instead of falling back to a raw
string; callers control the fallback display.

**New exact records — label-only (Anthropic Messages route, axes from
family rules)**
- `databricks-claude-fable-5` → "Claude Fable 5" (materialized from
`anthropic-adaptive-xhigh-fable-5`)
- `databricks-claude-opus-4-8` → "Claude Opus 4.8" (materialized from
`anthropic-adaptive-xhigh-opus-4-8`)
- `databricks-claude-opus-5` → "Claude Opus 5" (materialized from
`anthropic-adaptive-xhigh-opus-5`)
- `databricks-claude-sonnet-5` → "Claude Sonnet 5" (materialized from
`anthropic-adaptive-xhigh-sonnet-5`)

**New capability-bearing record — Kimi K3 (MLflow Chat route)**
- `databricks-kimi-k3` → "Kimi K3" with axes from models.dev Moonshot
catalog: reasoning toggle + effort `[low, high, max]`, no default;
`_reconciliation_doc` records the source and reconciliation policy.

**Corpus and tests**
- 6 new normative-corpus vectors (canonical + one `goose-*` alias per
new id); executable vector count updated to 113 in both Rust and TS
gates.
- Rust and TS label tests extended to cover all 3 new canonical ids and
their aliases via the prefix stripper.
- Sentinel variable fix in discovery-provider test to prevent false
failure in Databricks dev environments where `BUZZ_AGENT_PROVIDER` is
set.

---------

Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
Co-authored-by: Duncan <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@buzz.block.builderlab.xyz>
This commit is contained in:
Will Pfleger
2026-08-20 13:46:10 -04:00
committed by GitHub
parent d274a6e949
commit 2ce8df8533
10 changed files with 578 additions and 59 deletions

View File

@@ -680,6 +680,202 @@
"registry_label": "GPT-5.4 mini"
}
},
{
"id": "dbv2-claude-fable-5-exact-record-probe",
"provider": "databricks_v2",
"raw_model_id": "databricks-claude-fable-5",
"_note": "Probes the canonical Databricks Fable 5 endpoint record.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": "Claude Fable 5"
}
},
{
"id": "dbv2-goose-claude-fable-5-alias-probe",
"provider": "databricks_v2",
"raw_model_id": "goose-claude-fable-5",
"_note": "Probes a prefixed alias of the Databricks Fable 5 endpoint.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": null
}
},
{
"id": "dbv2-claude-opus-4-8-exact-record-probe",
"provider": "databricks_v2",
"raw_model_id": "databricks-claude-opus-4-8",
"_note": "Probes the canonical Databricks Opus 4.8 endpoint record.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": "Claude Opus 4.8"
}
},
{
"id": "dbv2-goose-claude-opus-4-8-alias-probe",
"provider": "databricks_v2",
"raw_model_id": "goose-claude-opus-4-8",
"_note": "Probes a prefixed alias of the Databricks Opus 4.8 endpoint.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": null
}
},
{
"id": "dbv2-claude-opus-5-exact-record-probe",
"provider": "databricks_v2",
"raw_model_id": "databricks-claude-opus-5",
"_note": "Probes the canonical Databricks Opus 5 endpoint record.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": "Claude Opus 5"
}
},
{
"id": "dbv2-goose-claude-opus-5-alias-probe",
"provider": "databricks_v2",
"raw_model_id": "goose-claude-opus-5",
"_note": "Probes a prefixed alias of the Databricks Opus 5 endpoint.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": null
}
},
{
"id": "dbv2-claude-sonnet-5-exact-record-probe",
"provider": "databricks_v2",
"raw_model_id": "databricks-claude-sonnet-5",
"_note": "Probes the canonical Databricks Sonnet 5 endpoint record.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": "Claude Sonnet 5"
}
},
{
"id": "dbv2-goose-claude-sonnet-5-alias-probe",
"provider": "databricks_v2",
"raw_model_id": "goose-claude-sonnet-5",
"_note": "Probes a prefixed alias of the Databricks Sonnet 5 endpoint.",
"expect": {
"thinking_mode": "adaptive",
"supported_efforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"default_effort": "high",
"databricks_v2_wire_route": "anthropic-messages",
"normalization_policy": "none",
"registry_label": null
}
},
{
"id": "dbv2-kimi-k3-exact-record-probe",
"provider": "databricks_v2",
"raw_model_id": "databricks-kimi-k3",
"_note": "Probes the canonical Databricks Kimi K3 endpoint record.",
"expect": {
"thinking_mode": "none",
"supported_efforts": [
"low",
"high",
"max"
],
"default_effort": null,
"databricks_v2_wire_route": "mlflow-chat",
"normalization_policy": "openai-standard",
"registry_label": "Kimi K3"
}
},
{
"id": "dbv2-goose-kimi-k3-alias-probe",
"provider": "databricks_v2",
"raw_model_id": "goose-kimi-k3",
"_note": "Probes a prefixed alias of the Databricks Kimi K3 endpoint.",
"expect": {
"thinking_mode": "none",
"supported_efforts": [
"low",
"high",
"max"
],
"default_effort": null,
"databricks_v2_wire_route": "mlflow-chat",
"normalization_policy": "openai-standard",
"registry_label": null
}
},
{
"id": "resolver-prefixed-alias-probe",
"provider": "databricks_v2",