feat(model): add tagged Deployment model references #584
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 225 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.324
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #584"
general
weight: 0.35
lcopi
Description
Adds optional
Deployment.spec.modelRefplumbing and aligns Model with the tagged catalog semantics already used by Agent.(namespace, name)identity to tagged(namespace, name, tag)identity through migration 012; existing rows become the literallatesttag.tagtoModelRef; an omitted namespace inherits the Deployment namespace and an omitted tag resolves tolatest.This PR keeps
modelRefoptional for every Deployment, including harness Deployments. It does not yet remove legacy Agent model fields, require model selection for harnesses, translate Model configuration into runtimes, resolve secrets, or change deployment fingerprints.Change Type
/kind feature
/kind breaking_change
Changelog
``
release-note
`Make Models tagged catalog artifacts and allow Deployments to select an optional Model tag.
Additional Notes
Validation completed locally:
— 1,227 tests— 0 issues— passed with one pre-existinguseEffectdependency warning inui/app/page.tsxThe PostgreSQL-backed tagged store and CRUD tests could not run locally because neither PostgreSQL nor Docker is available on this machine; CI provides those integration environments.