Skip to content

ci(antipattern): fix top-level dir + benchmark/lsp filename matching#25

Merged
hyperpolymath merged 1 commit intomainfrom
ci/antipattern-dynamic-exemptions-v3-1
May 3, 2026
Merged

ci(antipattern): fix top-level dir + benchmark/lsp filename matching#25
hyperpolymath merged 1 commit intomainfrom
ci/antipattern-dynamic-exemptions-v3-1

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Fix-up for v3 (which used fnmatch globs that don't match top-level directories like tests/foo.ts).

Replaces fnmatch-based glob matching with explicit string predicates:

  • Allowed directory names match at any path depth (incl. top-level)
  • Filename suffixes for LSP servers (lsp-server.ts etc.) and benchmarks (*_bench.ts, *.bench.ts)
  • Per-repo .claude/CLAUDE.md exemption table parsed; * and ** both treated as 'any chars including /' (loose user-friendly interpretation).

Verified against the affinescript exemption table + ubicity tests/+benchmarks/ + various edge cases.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@hyperpolymath hyperpolymath merged commit 57b8807 into main May 3, 2026
15 of 19 checks passed
@hyperpolymath hyperpolymath deleted the ci/antipattern-dynamic-exemptions-v3-1 branch May 3, 2026 21:15
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.

1 participant