Fix naming to use the more generic AGENTS.md context file The updated standard [1] uses a plural name `AGENTS.md` and we can add a Gemini CLI settings file to point to it as the context file, removing the need for a `GEMINI.md`. This change moves the little bit of non-duplicate content from GEMINI.md into AGENTS.md and then removes it. Tweak the gitignore rules to allow committing the .gemini/settings.json with that context.fileName setting. [1] https://agents.md/ Change-Id: Ieaff45ed4136a181b6c11ee45d39522a1f1d7698
diff --git a/.gemini/settings.json b/.gemini/settings.json new file mode 100644 index 0000000..5e535b2 --- /dev/null +++ b/.gemini/settings.json
@@ -0,0 +1,5 @@ +{ + "context": { + "fileName": ["AGENTS.md", "GEMINI.md"] + } +}
diff --git a/.gitignore b/.gitignore index 9c1bea9..b1671ea 100644 --- a/.gitignore +++ b/.gitignore
@@ -1,8 +1,11 @@ **/.gemini/ +!/.gemini/ +/.gemini/* +!/.gemini/settings.json gerrit_mcp_server.egg-info __pycache__/ server.log server.pid uv.lock context/ -gerrit_mcp_server/gerrit_config.json \ No newline at end of file +gerrit_mcp_server/gerrit_config.json
diff --git a/AGENT.md b/AGENTS.md similarity index 92% rename from AGENT.md rename to AGENTS.md index c0f5b92..68cf8e2 100644 --- a/AGENT.md +++ b/AGENTS.md
@@ -51,6 +51,12 @@ ./test.sh ``` +### Making any changes to source + +If any changes to source are ever made, you must run `./test.sh` to validate +that the changes did not break any tests. Ask the user first after any changes +are made. + ## Runtime & Configuration ### Configuration
diff --git a/GEMINI.md b/GEMINI.md deleted file mode 100644 index 8236c98..0000000 --- a/GEMINI.md +++ /dev/null
@@ -1,24 +0,0 @@ -## 🧪 Testing - -This project includes a suite of unit and integration tests to ensure the server -functions correctly. The following commands should be run from the root of the -`gerrit` project. - -### Running the Tests - -1. **Set up the test environment and install dependencies (if not already done):** - ```bash - ./build-gerrit.sh - ``` -2. **Run the tests:** - ```bash - ./test.sh - ``` - -This command will discover and run all tests in the `tests` directory. - -### Making any changes to source - -If any changes to source are ever made, you must run `./test.sh` to validate -that the changes did not break any tests. Ask the user first after any changes -are made.