← Back to Pull requests

Integrate group C lanes: MCP stack and security fixes #212

Closed
unknown closed this pull request without merging on Nov 04, 2026 16:37 UTC
View on GitHub
unknown unknown commented on Nov 01, 2026 15:21 UTC
Author

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

Summary

Integrates the 13 group C Codex-passed lanes (the MCP stack and the small security fixes) onto current main. Each lane passed its own Codex xhigh review against an older main; this branch resolves the drift and re-gates the combination.

Depends on the group A integration branch (claude/project-thread-7v6gv2 @ 91ed7f9): group C's top MCP lane is stacked on group A lanes sst-8xm.40/.41/.43/.44/.45 (storage-client LWS/createPodClient and pod-auth), so this branch merges group A's branch to reuse its storage-client and pod-auth resolutions. Merge group A's PR first. The group C-only delta is git diff 91ed7f96f HEAD.

Beads

| Bead(s) | Merged as | Delivers |
| --- | --- | --- |
| sst-0lxo, sst-cyzk, sst-1q00, sst-qf4n | top of stack lane/sst-qf4n | solid-mcp memory tools; purpose-limited profile/address/health tools with special-category audit; apps/mcp-server composition with CSS e2e; storage-client and pod-auth swap, incl. mcp-oauth pod sessions on @jeswr/pod-auth/node createNodeOidcClient with LWS token exchange |
| sst-kb4z, sst-z6wu | top lane/sst-z6wu | agent-session-capture (Codex/Claude rollouts); ChatGPT and Claude export importer through ChatWriter |
| sst-uzn9 | lane/sst-uzn9 | skills-sync to local agent homes; agent-registry import fixes |
| sst-8xm.18.2 | lane/sst-8xm.18.2 | pod-connectors / agent-notify / solid-vc IRI guards delegate to rdf-serialize |
| sst-8xm.22 | lane/sst-8xm.22 | solid-auth-core: atomic reArmAllowedOrigins(origins, { expectedWebId }), guarded rememberAccount metadata |
| sst-8xm.21 | lane/sst-8xm.21 | solid-odrl party-collection class membership; indeterminate prohibitions preserved |
| sst-bwc.8 | lane/sst-bwc.8 | solid-elements configurable WebID field label |
| sst-93m.1 | lane/sst-93m.1 | solid-components request extension access after denial |
| sst-ild.1 | lane/sst-ild.1 | solid-dav-bridge maps vCard ORG to organization (units stay in the note) |

Conflict resolutions

  • Lane scratch STATUS.md / QUESTIONS.md deleted.

  • mcp-oauth pod-sessions.ts / tests / test/pod-issuer.ts (Codex xhigh): the lane's pod-auth migration wins; main's MCP-10 hardening kept (liveness checks before each credentialed send, redirect refusal, nonce handling, vault CAS/tombstones, cache bounds; pod-auth already requests prompt=consent and negotiates offline_access). solid-openid-client, solid-dpop and openid-client dropped from mcp-oauth as unused.

  • solid-mcp: z6wu's stale copies of main's search/fetch/PodOutput boundary (pod-port.ts, README, CLI and discovery tests) resolved to main. index.ts exports both main's fetch/memory types and the lane's CLI helpers. Two test fixtures adapted (parser budget; CLI personal-tool denials).

  • solid-auth-core: main's credentialed-redirect guidance and the lane's reArmAllowedOrigins/rememberAccount docs both kept; code merged textually.

  • solid-odrl policy.ts: keeps the lane's requirePartyCollectionConstraint alongside main's legacyOdrlIri emission.

  • personal-agent outbox executor, root package.json, skill descriptions: main's versions.

  • Group A overlap: group A's storage-client docs and pod-auth skill, plus a createNodeOidcClient broker note.

  • pnpm-lock.yaml: main's side, regenerated with the solid-vc #1cb4ddf pin dance; --frozen-lockfile passes. skills/INDEX.md regenerated.

  • apps/suite contacts test updated for sst-ild.1's ORG mapping.
  • Gate

  • pnpm run gate (affected vs main): 342/345 tasks passed on the first full run. Remaining: test:root timed out under load and passes on rerun (1880/1880); app-suite contacts test fixed (17/17); @jeswr/personal-agent has 2 permission-based tests that fail only because the container runs as root (chmod 000 is readable by root). personal-agent is unchanged by this branch.

  • Codex xhigh merge-gate review (git diff 91ed7f96f HEAD): VERDICT: PASS at be5c7b75 after five rounds. Reports are in the project files under orchestration/reviews/groupC-mergegate-*.md. Fixes made along the way (Codex-authored, re-gated with --filter=...@jeswr/pkg-memory):

  • - r1 (c3242d96): the solid-mcp audit guessed ${target}.acl. It now uses the server-advertised, pod-scoped WAC ACL and fails closed. The API report was regenerated.
    - r2 (78bb56c8): pkg-memory's store also guessed ACLs, and audit/memory replaced shared ACLs wholesale. Both now use advertised ACLs, refuse ACLs that govern other resources, and write conditionally with strong ETags.
    - r3 (ab30ade3): generic pod_read/fetch/search/list/resources/writes could read health facts and the audit log, bypassing the purpose-limited tools. The shared PodOutput boundary now walls off the memory, policy, lock and audit areas.
    - r4 (25345e1d): personal-data ACLs advertised outside the walled area stayed writable, and an in-pod WebID profile was readable via generic tools. Those ACLs must now sit inside the protected area, and the in-pod profile is protected for client-facing generic access.
  • Merged main's #227 (solid-auth-core issuer binding) at 0d435ec6. It was textually clean, all 668 solid-auth-core tests pass, and a focused Codex xhigh check of the auth-core interaction returned PASS. CI is fully green on 0d435ec6.

  • CI: two unrelated flakes were re-run once and passed: a shacl-form timer after jsdom teardown, and the extension formfill e2e window-close race. See the PR comments.
  • https://claude.ai/code/session_01KLrUetn9HL5dVw61kXBZAC

    ---
    _Generated by Claude Code_

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: jeswr Review duration: 4396m
    All Vouch review confidence checks passed
    Residual risk 0.34 = Change Risk (0.80) × (1 − Review Confidence (0.58)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.80 · 650 lines diff across 8 files
    0.80
    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%
    57%
    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.388
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.080
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #212"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 58.0% 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: 80.2% (HIGH) · Higher = larger blast radius
    80.2%
    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: 58.0% · Lower = rushed or shallow review
    58.0%
    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: 33.7% · Safe to merge
    33.7%