Files
app/.cursor/rules/no-gradle-cache-grep.mdc
T
2026-04-21 14:49:35 +03:00

23 lines
1.1 KiB
Plaintext

---
description: Never touch Gradle caches — no reads, writes, or searches there
alwaysApply: true
---
# Gradle caches — never touch
The agent must **never interact with Gradle cache directories** in any way.
## 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.