Skip to content

fix(metisignore): support allowlist patterns consistently#181

Merged
mpekatsoula merged 1 commit intomainfrom
fix_metisignore
Apr 10, 2026
Merged

fix(metisignore): support allowlist patterns consistently#181
mpekatsoula merged 1 commit intomainfrom
fix_metisignore

Conversation

@mk-arm
Copy link
Copy Markdown
Contributor

@mk-arm mk-arm commented Apr 10, 2026

Normalize .metisignore checks to codebase-relative paths so negated
patterns like !src/keep.py work across code discovery, indexing, and
patch review.

Resolve the default .metisignore relative to codebase_path, and use
the shared matcher when counting indexable docs and filtering prepared
nodes.

Add regression tests for get_code_files(), count_index_items(),
index_prepare_nodes(), and review_patch().

@mk-arm mk-arm requested a review from mpekatsoula April 10, 2026 16:04
  Normalize .metisignore checks to codebase-relative paths so negated
  patterns like !src/keep.py work across code discovery, indexing, and
  patch review.

  Resolve the default .metisignore relative to codebase_path, and use
  the shared matcher when counting indexable docs and filtering prepared
  nodes.

  Add regression tests for get_code_files(), count_index_items(),
  index_prepare_nodes(), and review_patch().
@mpekatsoula mpekatsoula merged commit cc42aba into main Apr 10, 2026
7 checks passed
@mpekatsoula mpekatsoula deleted the fix_metisignore branch April 10, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants