← Back to Pull requests

Update agent tooling #10202

Closed
unknown closed this pull request without merging on Sep 18, 2026 15:06 UTC
View on GitHub
unknown unknown commented on Aug 30, 2026 03:15 UTC
Author

Connections

Closes #10055

Description

Please review this commit-by-commit, these are standalone commits. A lot of this PR is adding duplicate files.

This reworks our agent tooling:

  • Rewrites our AGENTS.md to include more useful and accurate information for agents.

  • We had a .claude for skills and an AGENTS.md. Codex/Pi read the AGENTS.md but not the .claude; claude reads the .claude but not the AGENTS.md. We can't use symlinks due to problems on windows, so this wholesale duplicates everything to AGENTS.md. (It is possible to just include references that the LLM evaluates, but that wastes valuable context on extra tool calls, and it doesn't always follow instructions).

  • We have using an esoteric and never checked nushell script for syncing up files (like broadcast_license.nu) this adds a proper xtask sync-metadata and CI job to check that this stays up to date.

  • Also updated our copyright date on the MIT license.

  • This also adds a check for LLM-authored commits, which I vendored in from https://github.com/Jondolf/ai-commit-check
  • Testing

    Checked that new claude sessions have the CLAUDE.md context, checked that Codex has the webgpu-spec skill. Tests exist for the sync-metadata xtask

    Squash or Rebase?

    Rebase, each commit is standalone.

    Checklist

    <!-- Note that checking all the boxes is not necessary to open a PR. -->

  • I self-reviewed and fully understand this PR.

  • WebGPU implementations built with wgpu may be affected behaviorally.

  • Validation and feature gates are in place to confine behavioral changes.

  • Tests demonstrate the validation and altered logic works. <!-- See docs/testing.md -->

  • CHANGELOG.md entries for the user-facing effects of this change are present. <!-- See instructions at the top of CHANGELOG.md. -->

  • The PR is minimal, and doesn't make sense to land as multiple PRs.

  • Commits are logically scoped and individually reviewable.

  • The PR description has enough context to understand the motivation and solution implemented.
  • Diff: 261 lines (+195 / -66) across 3 files Reviewer: kpreid Review duration: 28070m
    All Vouch review confidence checks passed
    Residual risk 0.19 = Change Risk (0.44) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.44 · 261 lines diff across 3 files
    0.44
    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%
    56%
    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.333
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #10202"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 44.2% (MEDIUM) · Higher = larger blast radius
    44.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: 56.8% · Lower = rushed or shallow review
    56.8%
    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.1% · Safe to merge
    19.1%
    Repository