feat(model): cut over Agent model ownership #593
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 301 lines diff across 3 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.342
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #593"
general
weight: 0.35
lcopi
Description
Makes tagged Models the only runtime source for Agent model configuration.
AgentSpec.modelProviderandAgentSpec.modelNamefrom the public API, generated OpenAPI/TypeScript clients, examples, CLI output, and Agent UI.Deployment.spec.modelRefvalues through the existing runtime getter and makes the selected Model's provider/name authoritative in both local and Kubernetes adapters.modelRefmaterializes and resolvesModel/<deployment namespace>/default@latest; explicit refs always win, and a missing default fails reference resolution.arctl init agentprovider/model selection working for source-template generation without persisting those choices inagent.yamlorarctl.yaml; generated projects persist only genericrequiredEnvkeys.arctl get agentswith mode and description columns, including the validsource+harnesscombination.The broader portable harness-composition scaffold is intentionally separate: #592.
Change Type
/kind feature
/kind breaking_change
/kind cleanup
Changelog
``
release-note
`Agent model configuration now comes from tagged Deployment model references; harness Agent deployments that omit modelRef resolve the namespace's Model/default@latest, and Agent modelProvider/modelName fields are removed.
Additional Notes
Current-head local verification:
— 1,266 tests passedEarlier implementation-pass verification also included:
— 0 issues— no errors; one pre-existing React hook warningPostgreSQL-backed integration and Kubernetes E2E coverage remain CI-only in this environment.