← Back to Pull requests

SDK core stack: storage-client writes and LWS reads, and reactive-authentication (security) #204

Closed
unknown closed this pull request without merging on Nov 01, 2026 14:11 UTC
View on GitHub
unknown unknown commented on Oct 31, 2026 03:40 UTC
Author

<!-- claude-projects-attribution: {"github_login":"jeswr"} -->
_Requested by Jesse · project thread_

Security-sensitive: needs Jesse's approval. Touches securityCritical @jeswr/storage-client and imports reactive-authentication. Open as a DRAFT; do not auto-merge. Merge with a merge commit, not a squash, so the imported reactive-authentication history is kept.

This PR replaces four PRs from 26 October that were waiting for approval and had fallen about 150 commits behind main:

  • #153: T-022, storage-client Solid backend write side;

  • #151: T-023, storage-client LWS backend read side;

  • #149: T-002, imports jeswr/reactive-authentication-ai as packages/reactive-authentication, with its history;

  • #164: T-030, the RFC 9728 resource_metadata LWS challenge path (stacked on #149).
  • Each of those passed its own Codex xhigh review rounds and CI at the time. Here they are merged together with current main, with no other changes.

    Most of the remaining SDK roadmap waits on this stack: LWS writes, createPodClient, pod-auth, pod-notifications, pod-access, and the app data layers. Follow-up lanes are already being built on top of it.

    Review

  • Merge-gate review (Codex, xhigh) at ec30feea: PASS, no findings. It covered the merge resolutions, interactions with main's newer changes, and the combined LWS/authentication and Solid-write behaviour.

  • Affected Turbo gate: green (lint, build, typecheck, test).
  • Once this merges, close #149, #151, #153 and #164 as superseded.

    Beads: sst-8xm.38, sst-8xm.39, sst-8xm.28, sst-8xm.42.

    ---
    _Generated by Claude Code_

    Diff: 222 lines (+166 / -56) across 2 files Reviewer: jeswr Review duration: 2070m
    All Vouch review confidence checks passed
    Residual risk 0.30 = Change Risk (0.65) × (1 − Review Confidence (0.54)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.65 · 222 lines diff across 2 files
    0.65
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    54%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.323
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.065
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #204"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 54.2% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 65.0% (MEDIUM) · Higher = larger blast radius
    65.0%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 54.2% · Lower = rushed or shallow review
    54.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 29.7% · Safe to merge
    29.7%