fix(desktop): route Rive diagnostics through core redaction #4930
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.46) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 242 lines diff across 3 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.329
Real PR Conversation Timeline
1 comments
"Review active on #4930"
general
weight: 0.35
seekskyworld
Summary
Fixes #4925.
Route Rive text and structured diagnostics through the shared Core secret redactor. Preserve standalone Bearer tokens and whole quoted assignments, including spaces, escaped quotes, and multiline values, so CLI output and error tails cannot expose the remainder of a quoted password.
Verification
Current head
ae69dba43merges main2463d86c3. Quoted assignment matching now consumes each key-character run once, preserving main's bounded scanner instead of restarting at every hyphen. The fake Rive CLI retains main's cross-platform Node fixture and emits the quoted-secret diagnostics through it.AI use
Tool(s) and scope: OpenAI Codex authored the implementation, regression tests, and PR description for @seekskyworld. Human review and merge remain with the maintainers.
Checklist
Does this PR entail a change in behavior?
Known nonblocking limitation: a sensitive quoted assignment nested in a non-sensitive quoted value can still retain trailing words (for example,
label="token='abc def'"). This gap also exists on main; this PR does not claim a complete nested diagnostic grammar.