← Back to Pull requests

ops(ar_archive_writer): Opt in to 11 new lints #104

Merged
hashcatHitman merged 1 files (24 lines) on Oct 17, 2026 17:04 UTC
View on GitHub
hashcatHitman hashcatHitman commented on Oct 17, 2026 16:10 UTC
Author

This PR opts rust-lang/ar_archive_writer into 11 lints:

  • artipacked, fixed in https://github.com/rust-lang/ar_archive_writer/pull/38

  • concurrency-limits, fixed in https://github.com/rust-lang/ar_archive_writer/pull/38

  • excessive-permissions, fixed in https://github.com/rust-lang/ar_archive_writer/pull/38

  • github-app, which it was already passing

  • ref-version-mismatch, which it was already passing

  • stale-action-refs, which it was already passing

  • superfluous-actions, which it was already passing

  • template-injection, which it was already passing

  • undocumented-permissions, fixed in https://github.com/rust-lang/ar_archive_writer/pull/38

  • unpinned-images, which it was already passing

  • unpinned-uses, fixed in https://github.com/rust-lang/ar_archive_writer/pull/38
  • https://github.com/rust-lang/ar_archive_writer/pull/38 actually fixed all auditor-persona findings as of zizmor 1.31.1 except anonymous-definition. The only lints we have disabled-by-default that this PR does not enable are:

  • anonymous-definition, as it was decided in review to not be useful

  • dependabot-cooldown, as Dependabot isn't in use

  • forbidden-uses, as we don't forbid anything yet

  • secrets-outside-env, as it requires the auditor persona, which crabwatch doesn't use
  • Diff: 24 lines (+24 / -0) across 1 files Reviewer: marcoieni Review duration: 53m
    All Vouch review confidence checks passed
    Residual risk 0.11 = Change Risk (0.22) × (1 − Review Confidence (0.48)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.22 · 24 lines diff across 1 files
    0.22
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.00 · 1 substantive comment(s)
    0.00
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    48%
    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
    Shallow Review Depth shallow_review_depth
    0.350
    Diff Size diff_size
    0.193
    Real PR Conversation Timeline
    2 items
    marcoieni marcoieni approved these changes on Oct 17, 2026 17:04 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    hashcatHitman hashcatHitman
    Labels
    risk: low confidence: 48.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: 22.2% (LOW) · Higher = larger blast radius
    22.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: 48.5% · Lower = rushed or shallow review
    48.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: 11.5% · Safe to merge
    11.5%