← Back to Pull requests

docs: add evidence UI walkthrough GIFs #69

Closed
unknown closed this pull request without merging on Nov 16, 2026 18:50 UTC
View on GitHub
unknown unknown commented on Nov 16, 2026 15:12 UTC
Author

Add 12 GIF walkthroughs to the evidence guide in current docs and the published UI 2.12 line. Cover label and subject search, sharing and CSV export, every record-detail tab, tasks, policy replay, risk creation, media downloads, stream history, and saving and editing evidence filters. Group the detail instructions under the feature guide's Use it section.

Closes compliance-framework/docs#67.

The recordings come from an isolated temporary environment with fake data loaded through the API, running the latest releases UI v2.15.2 (a21b4513d1529f68bc0bb66f616d33bb5d718728) and API v0.22.5 (689d139db7b055daaeaaa36199080da552220488). The environment used random free ports and has been stopped. The page names the recording versions; UI v2.12.0 source confirms the same six detail tabs and policy playback sections. This fixes the existing published page without cutting a new docs version. Assets are stored under static/img/ui/2.15/ for the UI line recorded.

Validation:

  • yarn install --frozen-lockfile

  • yarn test: 36 passed.

  • yarn build: passed.

  • yarn typecheck --ignoreDeprecations 6.0: passed. The unmodified typecheck script encounters the existing TypeScript 6 baseUrl deprecation; the flag allows the type check without changing configuration or dependencies.

  • Playwright: the built evidence page loads all 12 GIFs with alt text.

  • Media: every GIF is 1280 px wide, 5.2–7.6 seconds, and under 0.5 MB; about 3.2 MB total.

  • docs-style and ccfr self-review: no outstanding findings.
  • <!-- factory:effect eff_a1d429c60dda31a481a38bf08d1543b1e0f472dd -->

    Diff: 198 lines (+148 / -50) across 2 files Reviewer: gusfcarvalho Review duration: 218m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 198 lines diff across 2 files
    0.36
    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.317
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #69"
    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: 36.1% (MEDIUM) · Higher = larger blast radius
    36.1%
    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: 14.3% · Safe to merge
    14.3%