← Back to Pull requests

ci(require-checks): run the shared comment lint as a CI Status lane #472

Merged
kyle-sexton merged 1 files (20 lines) on Nov 29, 2026 02:11 UTC
View on GitHub
kyle-sexton kyle-sexton commented on Nov 29, 2026 01:55 UTC
Author

Closes #471

Summary

Comment lint is part of done in every repository, and a commit made without the git hook must be blocked too. This repository sets comment_lint: block, but only the lefthook hook enforced it: nothing in CI Status re-ran the lint.

Fix

  • New Check Comment Lint job in .github/workflows/pr-require-checks.yml: checkout without persisted credentials, then melodic-software/ci-workflows/.github/actions/check-comment-lint@main (from melodic-software/ci-workflows#1283).

  • The job holds contents: read only and runs no pull request code before the lint.

  • ci-status needs the job, logs its result, and fails unless it is success.

  • The ref is @main, as for every other ci-workflows action in this file. There is no SHA pin anywhere in this repository's workflows, and .github/workflows/actions.lock does not cover this file.
  • Verification

  • actionlint .github/workflows/pr-require-checks.yml: no findings.

  • zizmor --offline --min-severity=low --config=<standards>/.github/zizmor.yml (the config pr-audit-workflows uses): no findings, 3 suppressed, as on main.

  • The six node test files that read pr-require-checks.yml (ci-status-hold-ref, main-tip-carry, merge-risk-line, resolve-pr, log-api-budget, ci-workflows-at-pin): 129 tests, 104 pass and 25 fail, the same 25 on the base file and on this branch. The 25 are synced claude-code-plugins tests that assert claude-code-plugins' own ci-status shape.

  • The PR's own Check Comment Lint run is the end-to-end check: it should log the comment-lint commit and level block.
  • Related

    Refs: melodic-software/claude-code-plugins#18772

    Follow-ups

  • Pre-existing (advisory): no test asserts a lane's wiring in pr-require-checks.yml: that the job exists with only contents: read and calls its action, that ci-status.needs lists it, and that the Aggregate lane results step requires its result to be success. No existing lane has such a guard; a generic check over every needs entry would cover check-comment-lint and the next lane. The composite's own fail and skip behavior is covered upstream by run.test.sh.
  • 🤖 Generated with Claude Code

    Diff: 20 lines (+18 / -2) across 1 files Reviewer: kyle-sexton Review duration: 16m
    All Vouch review confidence checks passed
    Residual risk 0.09 = Change Risk (0.35) × (1 − Review Confidence (0.76)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.35 · 20 lines diff across 1 files
    0.35
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.80 · 1 substantive comment(s)
    0.80
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    75%
    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.182
    Self Review self_review
    0.140
    Real PR Conversation Timeline
    1 comments
    "Review active on #472"
    general weight: 0.35
    Reviewers
    Assignees
    kyle-sexton kyle-sexton
    Labels
    risk: low confidence: 75.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: 35.2% (MEDIUM) · Higher = larger blast radius
    35.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: 75.8% · Lower = rushed or shallow review
    75.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: 8.5% · Safe to merge
    8.5%