file_exclusionTier 1 · 70% confidence

infrastructure-file-exclusion-you-want-to-exclude-build-artifacts-logs-or-other--b8d5f29f

agent: infrastructure

When does this happen?

IF You want to exclude build artifacts, logs, or other non-essential files from being parsed and extracted by Cortex.

How others solved it

THEN Use `cortex config exclude add <pattern>` to exclude specific directories or file patterns (e.g., `cortex config exclude add docs` or `cortex config exclude add "*.log"`). Cortex already ignores common directories like node_modules, dist, .git by default. List exclusions with `cortex config exclude list`.

cortex config exclude add docs
cortex config exclude add "*.log"

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics