← Back to Pull requests

feat(workflows): add fleet-canonical ci.yml + weekly-update + dependabot.yml #12

Merged
jdalton merged 3 files (63 lines) on May 07, 2026 00:24 UTC
View on GitHub
jdalton jdalton commented on May 07, 2026 00:19 UTC
Author

What this PR does

Brings skills' \.github/\ in line with the SocketDev fleet workflow pattern (matches stuie's shape — single-package, npm-only, no monorepo).

| File | Purpose |
|---|---|
| \.github/workflows/ci.yml\ | Thin caller — delegates to \SocketDev/socket-registry/.github/workflows/ci.yml@5b672d3b\. Fires on push/PR/workflow_dispatch. Runs \pnpm exec vitest run --config tests/vitest.config.ts\. |
| \.github/workflows/weekly-update.yml\ | Cron caller (Mon 9 AM UTC) — delegates to the canonical reusable weekly-update workflow. Sends a Claude-Code-driven dependency update PR each week. |
| \.github/dependabot.yml\ | Disables Dependabot version updates (\open-pull-requests-limit: 0\, \interval: yearly\). The fleet manages updates via weekly-update.yml + Claude Code, not Dependabot. |

Why this matters for someone reading the diff

The two workflow files are thin callers — they don't contain the actual CI/update logic. That logic lives in \SocketDev/socket-registry/.github/workflows/{ci,weekly-update}.yml\. Pinning to a 40-char SHA (\5b672d3b...\) freezes the version of that reusable workflow that this repo runs, so a future change to the canonical doesn't auto-deploy here. When the fleet cascades a new propagation SHA, this file's pin updates as part of that cascade.

The dependabot.yml file isn't deleting Dependabot — it's configuring it off. GitHub falls back to a default Dependabot config when no \.github/dependabot.yml\ exists, which is why the file is present rather than absent. The \yearly\ schedule + \open-pull-requests-limit: 0\ combo means Dependabot effectively never opens an update PR; weekly-update.yml does that work via Claude Code instead.

What's NOT in this PR

  • Disabling the GitHub-managed "Copilot code review" workflow. That toggle lives at \Settings → Code Security → Code review → Copilot\ in the GitHub UI. There's no public REST API for the toggle as of writing, so disabling it is a one-click manual flip. Once flipped, the dynamic workflow will stop running on PRs automatically.
  • Existing files left alone

  • \.github/workflows/generate-agents.yml\ — skills-specific validator for plugin artifacts (AGENTS.md regeneration, marketplace shape, vitest tier separation). Domain logic; not a fleet concern.

  • \.github/zizmor.yml\ — canonical fleet zizmor config; pre-existing.
  • Verification

  • Pin \5b672d3b\ matches every other fleet repo's current pin (verified via fleet survey 2026-05-06):

  • \socket-btm\, \socket-cli\, \socket-lib\, \socket-packageurl-js\, \socket-sdk-js\, \socket-sdxgen\, \socket-stuie\, \ultrathink\ — all on \5b672d3b\.
  • Three new files; no deletions; no edits to existing workflows.

  • Workflow files reference secrets that already exist in the repo's secret store (\ANTHROPIC_API_KEY\, \BOT_GPG_PRIVATE_KEY\, \SOCKET_API_TOKEN\ / \SOCKET_API_KEY\).
  • Diff: 63 lines (+63 / -0) across 3 files Reviewer: None requested Review duration: 5m
    All Vouch review confidence checks passed
    Residual risk 0.38 = Change Risk (0.58) × (1 − Review Confidence (0.34)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.58 · 63 lines diff across 3 files
    0.58
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    34%
    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.344
    Diff Size diff_size
    0.249
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Rapid Merge rapid_merge
    0.100
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #12"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    jdalton jdalton
    Labels
    risk: medium confidence: 34.2% 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: 57.8% (MEDIUM) · Higher = larger blast radius
    57.8%
    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: 34.2% · Lower = rushed or shallow review
    34.2%
    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: 38% · Moderate risk
    38%