Skip to content

[Backport 5.1] Add AGENTS.md with guidance for AI coding agents - #3582

Merged
akrherz merged 4 commits into
5.1from
backport-3528-to-5.1
Nov 29, 2026
Merged

akrherz merged 4 commits into
5.1from
backport-3528-to-5.1

Conversation

@github-actions

Copy link
Copy Markdown

Description

Backport of #3528 to 5.1.

viv added 4 commits November 29, 2026 19:46
Distils the conventions that contributors working with AI assistants are
already applying (build and test commands, code style, test and i18n
conventions, and commit/PR naming) into a single advisory file at the
repository root. It is a starting point for discussion, not a standard.

(cherry picked from commit 8ab32cf)
The opening line tried to say in one clause both that the file is
guidance rather than hard rules and that local style wins where the
two differ. Reviewer akrherz flagged it as unclear. Spell it out:
these are conventions, not hard rules, and the surrounding code wins
on conflict.

(cherry picked from commit b6f6b63)
The strawman said Javadoc should be plain text with no HTML tags and
blank lines between paragraphs. Openfire does not follow that: raw
<p> appears in ~196 main-source files and inline {@code}/{@link} in
~365, including StanzaHandler. Reviewer (Copilot) flagged the clash.
Describe the actual convention instead.

(cherry picked from commit 837fc1a)
openfire.sh uses OPENFIRE_HOME when it names an existing directory, so
an agent with the variable set would start the build output against
another server's configuration and data. With -demoboot it also copies
the demo configuration over that home's conf/openfire.xml, with no
backup. Unsetting the variable addresses both cases, not only the
-demoboot overwrite raised in review.

(cherry picked from commit 1384084)
@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a53fbafd-b369-431a-b11a-e523fec1a710

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@akrherz
akrherz merged commit 52f590e into 5.1 Nov 29, 2026
1 check passed
@akrherz
akrherz deleted the backport-3528-to-5.1 branch November 29, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants