fix(runtime-host): silence assistant background turn notifications #6220
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 268 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.335
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6220"
general
weight: 0.35
me2seeks
Summary
Assistant background Sessions could emit native system notifications whenever an internal turn completed, failed or waited for input. A durable task can span many such turns, and its coordinator already owns user-facing feedback.
Suppress catalog attention for Sessions carrying the durable
personal-assistant-backgroundlabel at the Host publication boundary. Keep catalog updates, terminal results and interaction state intact. This applies to Bot, delegated-task, index and discovery workers, independently of sidebar visibility, and covers both Owner and shared-session feeds without changing the wire protocol. Ordinary conversation attention and the existing incognito policy retain their behavior.Fixes #6218
Verification
execution-host-messageintegration suite: 13 tests pass, using real temporary Host processes and protocol clients with the deterministic backend.git diff --checkpass.OS toast rendering and packaged Desktop were not exercised. Existing installed Hosts and user tasks were not changed. User-facing task results and decisions continue through the coordinating assistant; this only silences worker turn notifications.
AI use
Tool(s) and scope: Codex inspected the notification flow, authored the filter and integration tests, and ran the local checks.
Checklist
Does this PR entail a change in behavior?