← Back to Pull requests

docs: verify the sandbox and privacy docs against main (#3522) #6045

Closed
unknown closed this pull request without merging on Oct 10, 2026 10:56 UTC
View on GitHub
unknown unknown commented on Oct 10, 2026 08:27 UTC
Author

Summary

The Sandbox and privacy group of the #3522 docs-verification campaign: all four documents were checked claim-by-claim against main (4 files, +20/−15). The group is in good shape — the windows-sandbox RFC's enforced/deferred inventories, the permission-onboarding flow, and the privacy-context contract all verified clean; only targeted corrections were needed:

  • workspace-privacy-context: the cited queryRuntimePolicy() example file runtime-host-search-ipc-main.ts was removed by #5531 — replaced with the live consumer runtime-host-settings-ipc-main.ts. last_verified refreshed (the content changed via #5742 without bumping it).

  • permission-onboarding-plan: the permissions-actions.ts:52 reference was a pre-ASF-header line number that now lands on a type-union member; it now cites the deep-link/shell.openExternal block (lines 61-90).

  • windows-sandbox-rfc (EN+ZH, kept in sync): the §6.5 status date corrected to the #3722 merge date (2026-08-25), and the "typed unavailable reasons are deferred" wording now distinguishes the readiness-probe-level collapse (single fail-closed boolean as backend_not_available) from the transform layer, which already emits unsupported_platform / backend_not_available / invalid_request (windows-sandbox.ts). last_verified refreshed on both.
  • Verified clean and unchanged: the §6.5 enforced inventory (private desktop, integrity-label SDDL, deny mask, confined-desktop heap, readiness probe subprocess, maka.sandbox. namespaces, 64-launch soak, adversarial matrix wired into the release-windows lane), the deferred-hardening list, the permission overlay flow (drag grant, 1.5 s grant polling, 10-minute give-up, macOS-only settings deep link), and the full privacy-context chain (fail-closed validation, policy patch record rule, notification-attention omission with test).

    Refs #3522

    AI use

    Select exactly one:

  • No generative tool made a substantive contribution

  • Generative tooling made a substantive contribution
  • Tool(s) and scope: ZCode (GLM). Ran the doc-vs-code verification pass and drafted the corrections; the human contributor reviewed the findings and owns the result. Commits carry Generated-by: ZCode.

    Diff: 283 lines (+212 / -71) across 3 files Reviewer: Astro-Han Review duration: 149m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 283 lines diff across 3 files
    0.40
    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.338
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #6045"
    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: 39.7% (MEDIUM) · Higher = larger blast radius
    39.7%
    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: 15.7% · Safe to merge
    15.7%
    Repository