The Unified and Autonomous Development Platform
chore: configure code agent instructions
Robin Shen98fc30ac2465
diff --git a/.codex/config.toml b/.codex/config.tomlnew file mode 100644index 0000000000..0ca20eb8a8--- /dev/null+++ b/.codex/config.toml@@ -0,0 +1,6 @@+developer_instructions = """+This is a multi-module Maven project. After modifying code, run an appropriate+Maven command for the affected module(s), including required reactor+dependencies (for example, with `-pl <module> -am`), and confirm that the+changes compile successfully.+"""diff --git a/.cursor/rules/no-translation-files.mdc b/.cursor/rules/no-translation-files.mdcdeleted file mode 100644index d9e733d5a5..0000000000--- a/.cursor/rules/no-translation-files.mdc+++ /dev/null@@ -1,15 +0,0 @@-----description: Do not edit translation files-alwaysApply: true------# Do Not Edit Translation Files--Never modify files under `server-core/src/main/java/io/onedev/server/web/translation/`,-including `Translation_*.java` (e.g. `Translation_de.java`, `Translation_fr.java`).--When adding or changing user-visible text:--If a task would require translation file updates, stop after the source-code-change and tell the user that translations need to be updated outside this-workflow.diff --git a/AGENTS.md b/AGENTS.mdnew file mode 100644index 0000000000..6e5dd3dc8c--- /dev/null+++ b/AGENTS.md@@ -0,0 +1,5 @@+# Project Instructions++Never modify files under+`server-core/src/main/java/io/onedev/server/web/translation/`, including+`Translation_*.java`. Translation files are generated automatically.