Skip to content

Commit 6782246

Browse files
committed
chore(hypatia): allowlist the 6 documented TS MCP-adapter exemptions
The "no new TypeScript" rule in .claude/CLAUDE.md carries 6 approved exemptions — all MCP cartridge adapters that use the TS-native @anthropic/sdk (academic-workflow / bofig / ephapax / fireflag / hesiod / sanctify). The exemption table is canonical there with rationale, audit lineage (TS-elimination audit, 2026-05-02), and an unblock condition (AffineScript bindings to MCP). Until now that exemption only lived in CLAUDE.md; the Hypatia scanner kept flagging the 6 files as critical "banned_language_file" findings on every PR (18 critical → 12 critical after this). Mirror the exemption into .hypatia-ignore using the same rule + path format as the existing ReScript-migration entries, so policy and scanner agree. This is the existing-state allowlist; not adding new TS. Adding new entries to this file still requires explicit user approval and an unblock condition per the file's own header. Removes a real but noise-level barrier to merging PR #146.
1 parent 0eb16b8 commit 6782246

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.hypatia-ignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,22 @@ cicd_rules/banned_language_file:panll/src/modules/BojModule.res
3939
cicd_rules/banned_language_file:cartridges/orchestrator-lsp-mcp/panels/src/Extension.res
4040
cicd_rules/banned_language_file:cartridges/orchestrator-lsp-mcp/panels/src/LanguageClient.res
4141
cicd_rules/banned_language_file:cartridges/orchestrator-lsp-mcp/panels/src/VscodeApi.res
42+
43+
# ─── MCP cartridge adapters — TypeScript exemption (CLAUDE.md §TS Exemptions) ─
44+
#
45+
# The "no new TypeScript" rule has 6 approved exemptions, all MCP cartridge
46+
# adapters that use the TypeScript-native @anthropic/sdk. The exemption is
47+
# documented in .claude/CLAUDE.md with full rationale, audit lineage
48+
# (TS-elimination audit, 2026-05-02) and an unblock condition (AffineScript
49+
# bindings to MCP). Mirroring it here so the Hypatia scanner stops
50+
# flagging them as critical "banned_language_file" findings — the
51+
# governance policy and the scanner exemption must agree.
52+
#
53+
# Adding new entries requires explicit user approval and an unblock
54+
# condition (per CLAUDE.md). The 6 files below are the closed set.
55+
cicd_rules/banned_language_file:cartridges/academic-workflow-mcp/adapter/mod.ts
56+
cicd_rules/banned_language_file:cartridges/bofig-mcp/adapter/mod.ts
57+
cicd_rules/banned_language_file:cartridges/ephapax-mcp/adapter/mod.ts
58+
cicd_rules/banned_language_file:cartridges/fireflag-mcp/adapter/mod.ts
59+
cicd_rules/banned_language_file:cartridges/hesiod-mcp/adapter/mod.ts
60+
cicd_rules/banned_language_file:cartridges/sanctify-mcp/adapter/mod.ts

0 commit comments

Comments
 (0)