Implement new settings

Signed-off-by: denis0001-dev <denis0001.dev@ya.ru>
This commit is contained in:
2026-04-07 22:01:19 +03:00
Unverified
parent 135ac010c3
commit 87934c7448
30 changed files with 2752 additions and 271 deletions
+16 -4
View File
@@ -1,10 +1,22 @@
---
description: Never search Gradle dependency caches with grep or ripgrep
description: Never touch Gradle caches — no reads, writes, or searches there
alwaysApply: true
---
# Gradle caches — no grep/ripgrep
# Gradle caches — never touch
Do **not** run `grep`, `ripgrep` (`rg`), or similar searches inside Gradle cache directories (e.g. `~/.gradle/caches`, `**/.gradle/caches`, or paths under the Gradle user home) to find framework or dependency source.
The agent must **never interact with Gradle cache directories** in any way.
Use instead: project source under the workspace, official docs, IDE navigation, or dependency coordinates declared in `gradle/libs.versions.toml` / `*.gradle.kts`.
## Forbidden (including “read-only”)
- **Do not** read, open, list, traverse, copy, move, delete, or modify anything under Gradle cache paths (e.g. `~/.gradle/caches`, `**/.gradle/caches`, Gradle user home caches, transform outputs, jars that exist only under caches).
- **Do not** run `grep`, `ripgrep` (`rg`), `find`, `ls`, glob tools, or **any** search or directory listing **inside** those paths — even for “read-only” research.
- **Do not** cite cache paths as the source of truth for framework or dependency source code.
## Use instead
- Project source under the **workspace**
- Official documentation and dependency coordinates in **`gradle/libs.versions.toml`** / **`*.gradle.kts`**
- IDE navigation in the repo
Normal Gradle builds on the developer machine may still use the daemon and local caches; this rule governs **agent** behavior only.