Skip to content

ci(antipattern): TS check reads .claude/CLAUDE.md exemption table#24

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

ci(antipattern): TS check reads .claude/CLAUDE.md exemption table#24
hyperpolymath merged 1 commit intomainfrom
ci/antipattern-dynamic-exemptions

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

Replaces the static grep-chain TS check with a python step that:

  • Applies the universal builtin allowlist (bindings/, tests/, scripts/, mcp-adapter/, vscode/, cli/, mod.ts, lsp-server.ts, deno-*/, etc.)
  • Reads the per-repo .claude/CLAUDE.md 'TypeScript Exemptions' table at CI time and treats each Path row as allowed.

Why: the previous static allowlist required editing the workflow whenever a legitimate per-repo exemption was needed. This made the per-repo .claude/CLAUDE.md exemption table (the documented source of truth) and the workflow drift apart. Now they're the same single source.

To exempt a path going forward: add one row to .claude/CLAUDE.md's 'TypeScript Exemptions' table — no workflow edit required.

To migrate off TS: see Human_Programming_Guide.adoc migration chapter (in affinescript repo).

@hyperpolymath hyperpolymath merged commit 4188488 into main May 3, 2026
@hyperpolymath hyperpolymath deleted the ci/antipattern-dynamic-exemptions branch May 3, 2026 20:36
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 3, 2026

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