← Back to Pull requests

docs: SDK developer guide and build-solid-app skill, with samples checked in the gate #222

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

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

Depends on the group A integration

This branch starts from claude/project-thread-7v6gv2 at 91ed7f96 ("Merge lane sst-4vc.3: SDK storage and auth stack"), because the guide documents pod-auth, createPodClient and pod-notifications, which are still scaffolds on main. Merge the group A PR first; this PR's own diff is then 91ed7f96..HEAD (6 commits).

What it adds

  • docs/guide/: a ten-chapter developer guide for building Solid and LWS apps on the suite SDK, in plain English: how Solid works, a reading-list tutorial, sign-in (including the provider-first login screen), reading and writing with ETags, RDF modelling, live updates/offline/collaboration, sharing, UI, testing, shipping. Each chapter says what is not ready yet (sharing API, React facade, Type Index client, y-solid on LWS, offline outbox, shared sign-in card).

  • skills/build-solid-app/SKILL.md: the agent entry-point skill: which package does which job, the canonical data-layer wiring, storage rules, error handling, testing, shipping, pitfalls. Routes to every package skill. skills/INDEX.md regenerated.

  • tools/guide-examples (@jeswr/guide-examples, private): the tutorial's complete data layer, tested on the memory backend in both solid and lws modes, plus a test that type-checks every ts fence in the guide and the skill.

  • scripts/check-sdk-skill-examples.mjs: now extracts fences with the marked lexer (nested and tilde fences), resolves solid-bookmark, fetch-rdf, rdf-serialize, suite-vocab, @solid/object, @rdfjs/wrapper and n3 declarations, and picks up the guide files.

  • turbo.json: //#test:root depends on @jeswr/guide-examples#test, so docs-only changes run the sample check under --affected.
  • Review

  • Claude wrote the guide, the skill and the structure; Codex (xhigh) wrote the tutorial tool and checker changes.

  • Codex xhigh review round 1: FAIL (2 high, 10 medium, 2 low), all accepted and fixed in 37c93e75 and d058e255 (notably: find the pod from the WebID profile, not identity.storages; read content and ETag together after a save; conditional recursive deletes; catch-up on first live).

  • Round 2: 12 of 14 fixed, 2 partial plus 2 new (a create/HEAD race in the tutorial, and full-page redirect sign-in not being resumable), fixed in 3635748.

  • Round 3: PASS. Round 4 (sign-in chapter aligned with the SignInCard design from #223/#224): PASS.

  • Reports: /mnt/project-files/orchestration/reviews/sdk-guide-pr222-round{1..4}.md.
  • Gate

  • CI on 3c00fe52: gate, e2e, synthetic-rdf golden (4 jobs) and scope all green.

  • Local: npx turbo run lint build typecheck test --filter=@jeswr/guide-examples 17/17 tasks (58 guide tests); vitest run test/sdk-skill-examples.test.mjs 13 passed; check-sdk-skill-examples 34 examples, 0 diagnostics; check:skills 67 skills, index current.
  • 🤖 Generated with Claude Code

    https://claude.ai/code/session_01KLrUeuW3BmoUGYf3tku6FD

    Diff: 403 lines (+302 / -101) across 5 files Reviewer: jeswr Review duration: 4276m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.50 · 403 lines diff across 5 files
    0.50
    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%
    60%
    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.359
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #222"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 49.8% (MEDIUM) · Higher = larger blast radius
    49.8%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 19.7% · Safe to merge
    19.7%