Add server/AGENTS.md (#35903)

* Add root AGENTS.md with modules-tidy directive

* Clarify modules-tidy rationale in AGENTS.md

* Move AGENTS.md from root to server/ directory

* Document i18n-extract requirement in AGENTS.md

* Drop redundant 'from the server/ directory' from AGENTS.md

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
Jesse Hallam
2026-04-21 06:33:20 -03:00
committed by GitHub
parent 52fa113dfc
commit bfaff4da7e
+5
View File
@@ -0,0 +1,5 @@
# AGENTS.md
Never run `go mod tidy` directly. Always run `make modules-tidy` instead — it excludes private enterprise imports that would otherwise break the tidy.
After editing `i18n/en.json`, always run `make i18n-extract` — it regenerates the file with strings in the required order.