Ignore leftover extension entries for 2.1.16 #349
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.43) × (1 − Review Confidence (0.39)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 381 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 86% · 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.356
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #349"
general
weight: 0.35
coderabbitai[bot]
Summary
Fixes #348. After Remove on
chrome://extensions, the browser keeps an empty settings entry for the removed extension ID. The extension check counted it as an installed, running copy, sointerceptor diagnosewarned that Interceptor cannot load properly andinterceptor diagnose extensionreported "running twice" for a card that does not exist.An entry now counts only when it has an integer
location, the test Chromium applies (ExtensionPrefs::GetInstalledInfoHelper) before it loads anything.classifyProfileandfindCopiesshare the check, so the same leftover also stops:Brave's leftover with only
disable_reasonsis ignored the same way.Commits
1. Ignore leftover extension entries that have no install record: the fix, unit tests for each case, a real-browser harness case (load the old copy, remove it, load the current one, restart), and one sentence in ARCHITECTURE.md.
2. Move the agent manual's deeper notes into docs/agents:
AGENTS.mdwas 39,962 bytes; it is now 19,829, with the detailed notes moved unchanged into tendocs/agents/.mdfiles. The iOS help test reads the manual as both.3. Set every surface to 2.1.16 and add its release notes.
Testing
bun test ./test/: 2,728 pass, 11 skip, 0 fail. Typecheck clean.swift test: 652 tests, 0 failures.bun auditand--prod: no vulnerabilities.{}for the removed ID after Remove and after a restart; the previous code reportedtwo-copiesthere.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Improved browser extension detection so incomplete or empty entries no longer appear as duplicate copies or obscure valid repair guidance.
Refined diagnosis and repair guidance for outdated extension copies, including first-install messaging.
Documentation
Expanded troubleshooting and usage guidance for browser, Safari, macOS, and iOS workflows, with task-specific references.
Release
Updated the product version to 2.1.16.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->