rouse-context/core
Jason Monk 6d5b82cc20
Fix #227, #228: classify pre-onboarding as Skipped, check CT HTTP status (#229)
Two related bugs in the security-check pipeline that produced noisy
and misleading notifications for a freshly-installed device:

#227: HttpCtLogFetcher passed the response body straight to the JSON
parser without checking the HTTP status. crt.sh's transient 502/503
HTML error pages got surfaced as "Malformed CT log response" -- wording
that reads as "the CT log itself is corrupt" when the actual cause is
a Sectigo outage. Now throw IOException on non-2xx so CtLogMonitor
classifies as "Could not reach CT log service" instead.

#228: Pre-onboarding devices (no cert, no subdomain) fired "Security
Check" warning notifications describing a state that is just "not set
up yet." Introduce SecurityCheckResult.Skipped for "not applicable"
cases and route it through the worker without firing a notification.
The Settings screen renders "Waiting for onboarding" in muted colours
so the audit trail is still visible for users who look.

Constraints preserved:
- Alert path unchanged -- real issuer mismatches still fire loudly.
- Genuine network / I/O failures still produce Warning notifications.
- Only pre-onboarding classifications were reclassified to Skipped.

Closes #227
Closes #228

Co-authored-by: Claude Opus 4 (1M context) <noreply@anthropic.com>
2026-04-18 06:24:34 -04:00
..
bridge Fix #223: Eliminate :core:bridge:jvmTest hang with nested runBlocking (#224) 2026-04-17 22:06:12 -04:00
mcp Fix #214: Trim tools/list descriptions and schemas (#220) 2026-04-17 19:29:11 -04:00
tunnel Fix #227, #228: classify pre-onboarding as Skipped, check CT HTTP status (#229) 2026-04-18 06:24:34 -04:00