You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ignore): built-in ignores for dependencies, build output, minified files and lockfiles, applied to review, scan and index; skills teach ignoring first #767
Audit of what review, scan and the index include by default (a project with nested node_modules, vendor, build, coverage, dist, a minified file and lockfiles; secrets planted in all of them):
The built-in ignore.files are four root-anchored globs (node_modules/**, dist/**, target/**, .git/**). cora scan and cora index still include packages/app/node_modules, vendor/, build/, coverage/ and *.min.js: their symbols land in the index (so the brain finds "related code" in dependencies) and their contents are scanned and sent to the judge.
cora review on a diff does not apply ignore.files to the diff at all: a secret added under node_modules/ or dist/ is a CRITICAL finding, and lockfiles are scanned and sent to the model.
docs/configuration.md says ignore.files excludes files from everything, which is not true for the review diff.
Vendored and generated content is the main source of noise and of untrusted text in the prompt ("poisoning" review, scan and the brain).
How
A larger built-in list: dependencies (**/node_modules/**, **/vendor/**, **/bower_components/**, **/__pycache__/**, virtualenvs, **/Pods/**), build output (dist/**, build/**, out/**, target/** anchored at the root; **/.next/**, **/.nuxt/**, **/coverage/**), minified and generated files (**/*.min.js, **/*.min.css, **/*.map), and the common lockfiles. ignore.defaults: false turns the built-ins off; user ignore.files still add to them.
The built-ins also filter the reviewed diff (before the scanners and the model see it), with a one-line note of how many files were skipped and why. User ignore.files keep their meaning; review.exclude stays the explicit diff filter.
Skills (cora-code, cora-review): recommend setting up ignores before the first review or scan, with a reference file on what to ignore and how (ignore.files, ignore.rules with a reason, inline cora-ignore:), and how to check the effective list.
Skills restructured to the Agent Skills layout: a short SKILL.md plus references/ files loaded on demand; the installer writes and refreshes all files of a skill; tests enforce the standard (name equals directory, description limit, size limit, every reference linked, nothing orphaned, one level deep) and the existing drift checks run over every file.
Acceptance
In the polluted project above, scan and index include only src/; a diff touching the ignored paths produces no findings and sends nothing about them; ignore.defaults: false brings them back.
docs/configuration.md states precisely what each of ignore.files, ignore.defaults, review.exclude and index_skip_files does.
Skills pass the standard checks; an older installed skill is refreshed, an edited one kept.
Activity
docs(ignore): describe the built-in ignores and which setting does what
feat(skills): restructure the skills to the Agent Skills layout and t…
fix(skills): state exactly what cora review --ci does
fix(ignore): keep the built-in list to names that are never your own …
fix(ci-docs): take .cora.yaml from the base branch in pull_request_ta…
fix(review): record the commit-gate verdict for the whole staged diff