← Back to Pull requests

fix: isolate Data Pruner permissions and recover web authorization #21

Closed
unknown closed this pull request without merging on Oct 14, 2026 20:30 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 19:04 UTC
Author

Data Pruner publishes bare Start/Stop task names that collide with channel-control permissions. The web client also needs to load RBAC for users without an assigned role and recover the Roles panel after a temporary permission API failure.

  • Map Data Pruner Refresh, Save, Start, and Stop explicitly under settings_Data Pruner in Swing, JavaScript, and the parity catalog. Channel-control grants remain independent.

  • Allow authenticated users to discover and download web plugins through the exact native and Web Support discovery/resource operations. Validation, serialization, settings, role administration, and pruning operations retain their permission checks.

  • Mark RBAC as an authorization provider. Retry failed permission snapshots with one in-flight request and at most three automatic retries (preserving engine idle expiry), publish only after both prerequisite APIs succeed, register Roles once on recovery, and discard results after logout/account changes.

  • Exercise the real web bundle against Web Client v1.1.0, the next release containing the companion fixes.
  • Requires companion Web Client PR https://github.com/gibson9583/oie-web-client/pull/112 for permission-tagged controls/navigation, failure-closed plugin bootstrap, and reactive Settings/palette recovery. Browser CI targets the v1.1.0 release tag. Deploy both components together for the complete correction.

    Validation: 201 Java tests, 66 web unit tests, and 28 real-bundle browser tests passed without browser retries. The package build passed, and the archived web bundle matches the tested bundle. These local checks used the companion Web Client changes. CI checkout of v1.1.0 requires that release tag to be published. Browser engine responses are mocked; no live engine or database was modified.

    Refs gibson9583/oie-web-support-plugin#11

    Diff: 229 lines (+171 / -58) across 2 files Reviewer: pacmano1 Review duration: 2965m
    All Vouch review confidence checks passed
    Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.60 · 229 lines diff across 2 files
    0.60
    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.325
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.060
    Real PR Conversation Timeline
    1 comments
    "Review active on #21"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 60.2% (MEDIUM) · Higher = larger blast radius
    60.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: 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: 23.8% · Safe to merge
    23.8%