Repository navigation
Complete the Missing Subagent Model Diagnostic - #4292
Conversation
The note for an unset CLAUDE_CODE_SUBAGENT_MODEL ended at the tier's, so the install and report output named no model. It now ends with the word model. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
|
A recorded local strict-review pass covers head |
There was a problem hiding this comment.
🟡 Changes recommended
An active nit remains because the regression test does not verify the complete diagnostic message, allowing the truncated wording to regress undetected.
1 open issue
What changed in this PR
Completes the Claude Code installer diagnostic for an unset CLAUDE_CODE_SUBAGENT_MODEL, ensuring reports identify the default tier's model.
Changes:
- Completes the truncated diagnostic message in
install.py. - Aligns the wording with the existing foreign-model diagnostic.
| File | Description |
|---|---|
| host-setup/agent-safety/claude/install.py | Completes the missing model wording in the unset subagent diagnostic. |
Review effort: Lite
The report test asserted only the prefix, so the truncated wording would have passed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4292 +/- ##
========================================
Coverage 78.95% 78.95%
========================================
Files 42 42
Lines 15625 15625
========================================
Hits 12337 12337
Misses 3288 3288
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
A recorded local strict-review pass covers head |

Summary
The note for an unset
CLAUDE_CODE_SUBAGENT_MODELended at "the frontier tier's", so install and report output named no model. It now ends "tier's model.", the same wordingforeign_subagent_noteuses.Raised by the promotion review on #4290 as a P2 [real] finding.
Verification
test_install.pyruns 237 tests, all passing. Onelocal-strict-reviewpass at thefrontiertier found nothing.🤖 Generated with Claude Code