Skip to content

Chore: Bump the aislop hook to 0.22.1 - #249

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-248
Nov 25, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-248

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #248

Authored by an AI agent; human review required; changes the lint gate, .pre-commit-config.yaml
Command Exit
uv run python -B -m unittest discover -s tests 0
prek run --hook-stage commit-msg --commit-msg-filename msg.txt 0
prek run --files .pre-commit-config.yaml 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds per antagonistic review round; after that a maintainer, or the next antagonistic review, takes on any finding that remains, and a maintainer reviews every round before merge.


Summary

The local aislop hook in .pre-commit-config.yaml pinned aislop@0.16.0, while the author job (tools/copilot-cli/) and the organisation's "AI Slop Scan" check already run aislop 0.22.1. This bumps the hook's additional_dependencies pin to aislop@0.22.1 so contributors check locally with the same version.

The only change is that one pin. The comment above the hook, every other hook and every rev are unchanged.

Validation

Run with AISLOP_NO_TELEMETRY=1 set:

  • uv run python -B -m unittest discover -s tests: exit 0
  • prek run --hook-stage commit-msg on the commit message: exit 0 (gitlint passed)
  • prek run --files .pre-commit-config.yaml: exit 0, with every hook passing or skipped for lack of matching files. The aislop hook ran aislop ci across the whole repository and passed at the failBelow: 100 threshold. I checked that the prek hook environment had installed aislop 0.22.1.

No hooks were excluded.

Two other places already run aislop 0.22.1: the author job's
tools/copilot-cli/ install and the organisation's AI Slop Scan
check. Bump the local hook's pin to match so contributors check
with the same version.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>
@lf-releng-code-monkey-bot
lf-releng-code-monkey-bot Bot requested a review from a team November 24, 2026 21:30
@github-actions github-actions Bot added the chore Code chores (dependency updates, etc) label Nov 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the aislop dependency-pin update.

No open issues 🎉

What changed in this PR

Aligns the local aislop hook with version 0.22.1 already used by the author job and organisation CI, addressing issue #248.

Changes:

  • Updates the hook dependency from aislop@0.16.0 to aislop@0.22.1.
  • Leaves the existing comment, hook settings, and all other hooks unchanged.
File Description
.pre-commit-config.yaml Bumps the aislop dependency pin to 0.22.1.

Review effort: Balanced

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Antagonistic review by agent: no line-level findings; the summary below is the verdict.

The one-line version bump matches the existing aislop 0.22.1 dependency in tools/copilot-cli and preserves the hook command and gate configuration. No actionable defects found in the diff or its surrounding configuration.

Antagonistic round 1 of 3.


Automated antagonistic review by lf-releng-antagonistic-review-bot[bot] using model gpt-6-astra; see the run. This is not a human review and never an approval: a maintainer must still review and approve this pull request.

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 7398ce3 into lfreleng-actions:main Nov 25, 2026
36 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-248 branch November 25, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Code chores (dependency updates, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chore: Bump the aislop hook to 0.22.1

2 participants