Repository navigation
[Backport 5.1] Add AGENTS.md with guidance for AI coding agents - #3582
Merged
Merged
Conversation
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)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Backport of #3528 to
5.1.