Let the board run in a sandboxed frame #70
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.37) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 228 lines diff across 2 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.325
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #70"
general
weight: 0.35
emanuele-em
Makes the board work in a sandboxed frame (no
allow-same-origin, noallow-modals), like the one Hermes Desktop gives plugin pages. Two changes, one commit each, plus a fix from review; nothing changes in a normal tab. Discussed in #67.confirm(). In such a frame the nativeconfirm()answers Cancel without asking, so deleting a task, a comment or a project, and the sync and update questions, can't be answered.ask(message)shows the same question in a dialog styled like the new-project one and resolves totrueorfalse; its ten callers await it. Escape, a click outside and a newer question answer Cancel. One new string,OK, is inzh-cn.js.location.hostname, which is empty in a frame loaded from adata:URL and can't be redefined, so the board thought it was opened from another computer.new URL(document.baseURI).hostnameis the same value in a normal tab.Tried:
app.js: every formerconfirm()path (delete task, comment, selected tasks, project; both sync questions; update), Cancel/Escape/Enter, the share menu's host; no console errors. Then in Hermes Desktop itself.cargo fmt --check,cargo clippy --all-targets -- -D warningsandcargo testpass