Skip to content

Commit 18af40b

Browse files
committed
docs(gemini): add permanent and conditional file exclusions
1 parent 64f787f commit 18af40b

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

sdk-platform-java/GEMINI.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,16 @@ Showcase integration tests are run against a local server that implements the Sh
154154
- **Issues:** All significant changes should start with a GitHub issue.
155155
- **Pull Requests:** All code changes must be submitted via a pull request and require review. Before creating a PR, always pull latest from main, merge main to local branch and resolve any conflicts.
156156
- **Testing:** All new logic should be accompanied by tests.
157-
- For more details, see `CONTRIBUTING.md`.
157+
- For more details, see `CONTRIBUTING.md`.
158+
159+
## 8. File Exclusions & Loading Constraints
160+
161+
To maintain a highly focused context window and prevent memory overload:
162+
163+
* **Permanent Exclusions (Always Ignore):**
164+
* Do **NOT** load, read, or search through files under the directories `java-showcase-3.21.0/` and `java-showcase-3.25.8/`. Treat these folders as completely out of scope.
165+
* **Conditional Exclusions (Ignore by Default):**
166+
* By default, do **NOT** load, read, or search through files in the `test/` folder (which contains massive auto-generated integration golden files).
167+
* **Exceptions:** You are only authorized to load or modify files under `test/` when:
168+
1. The user explicitly asks you to *"update the golden files"* or *"inspect test files"*.
169+
2. You are actively executing the Golden Integration Update commands (e.g. `bazelisk run //test/integration:update_...`).

0 commit comments

Comments
 (0)