Files
docker-docs/.github
David Karlsson e80099f5bc Fix PR-review bot false positives (80-char rule, enable/disable) (#25237)
## Summary

An audit of docker-agent review comments across recent merged PRs
surfaced two
recurring false positives, both traced to their source:

- The bot's prompt (`.github/workflows/pr-review.yml`) instructed it to
flag
lines over 80 characters, but no such rule exists — markdownlint MD013
is
  disabled and STYLE.md never mentions it. The bot itself conceded this
  mid-review on a past PR. Removed the instruction.
- STYLE.md's word list banned "enable" yet used it in a  example, so
the bot
flagged every "enable"/"disable" as a violation. Added a note clarifying
that
"turn on/off" is for UI toggles while "enable/disable" is fine in
general
  prose.

## Learnings

- The docker-agent PR reviewer is driven by the `additional-prompt`
block in
  `.github/workflows/pr-review.yml` (via `docker/cagent-action`), plus
`STYLE.md` and `COMPONENTS.md` loaded as prompt files. That prompt — not
just
the style guides — is the source of truth for what the bot flags, so
review
  noise can be tuned there directly.

Generated by Claude Code

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 08:10:35 +02:00
..
2025-10-24 11:04:23 +02:00