feat(workhub): show provider icons consistently with regular conversations #6100
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 229 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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.344
Diff Size
diff_size
0.325
Real PR Conversation Timeline
1 comments
"Review active on #6100"
general
weight: 0.35
Astro-Han
Summary
Regular chat supplies
renderProviderMarkto the shared Composer, so its model switcher shows each provider's brand mark; WorkHub never passed it, so the same configured models lost their visual identifier on the WorkHub surface (the compact wheel stays as #5444 designed).The injector is threaded from the renderer entry (
app.tsx, which already owns the provider SVG library) through the composition root intoWorkHubRoot— the SVG dependency stays in the legacy root zone, out of the main-process test build, the same principle that keeps it out of@maka/ui.renderer-architecture.jsonis re-priced forapp.tsx's one added import via the checker's--write.A
WorkHubComposerrender test pins the mark beside the model switcher so the passthrough cannot be narrowed away silently. The root-level wiring itself has no headless harness (the root is controller-bound), so the on-screen consistency on the docked/expanded WorkHub would merit a maintainer's visual spot-check, as with #5522.Verification
| Check | Result |
| --- | --- |
| New render test (
workhub-composer-provider-mark) | green: the injected mark renders beside the model switcher || Adjacent suites (
workhub-composer-restore,workhub-linked-work) | green ||
@maka/desktoptypecheck (4 configs) | exit 0 || Renderer architecture check (ledger re-priced via
--write, then plain) | passed || biome on the four touched files | clean |
|
check:asf-headers| passed |AI use
Commits carry a
Generated-by: GLM-5.3-Flash (ZCode)trailer; this PR description was written with AI assistance.Checklist