limayaml: mention mounts in the unused param error #5875
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 118 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.286
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #5875"
general
weight: 0.35
AkihiroSuda
What This PR Changes
validateParamIsUsedalready looks for params inmounts[].locationandmounts[].mountPoint, but its error message only listed provision, probe, copyToHost and portForward. In the setup from the issue, the child template setsmounts:to null, which drops the inherited mount that usedSshHostKeysDir. The error then named every field except the one that had changed. This adds mounts to the error message and to the function comment.Linked Issue (Required in most cases)
Part of #5863
This covers only the error message. The other half of the issue is documenting that a null list drops inherited entries while
[]keeps them. I wasn't sure that behavior is intended, so I left it out.How I Tested This
go test ./pkg/limayaml/limactl validateon the templates from the issue:mounts:now gives the new message, andmounts: []passes.AI Usage
Assisted-by: Claude Code (claude-opus-5-5)