workspace: ignore not_this_one if not in current workspace #768
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.32) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 129 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
Diff Size
diff_size
0.291
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #768"
general
weight: 0.35
raveit65
When the active workspace is changed, marco figures out which window should get focus by calling
focus_ancestor_or_top_window. In some cases that call might include a window that should not get focus asnot_this_one.When
not_this_onerefers to a window, the function will check to see if it has a parent, and if it does, it will ignore the new workspace'smru_listand will focus that parent window. However, it doesn't check to see if the parent window is actually on the new workspace. If the parent isn't on the new workspace, focusing it will drag it over, including the transient window that was supposed to be ignored. This isn't the result a user would likely expect, and is made more confusing by the parent window being minimized, stuck that way until the user switches to another workspace and back.This change makes
focus_ancestor_or_top_windowignore thenot_this_onewindow if it isn't on the new workspace'smru_list. Instead it will just search the new workspace'smru_listfor a window to focus.