Commit c4ced06
authored
chore(claude.md): add TypeScript exemption for playground/ sandbox (#44)
## Summary
The \`governance / Language / package anti-pattern policy\` check flags
**6 TypeScript files** in \`playground/\` as undocumented exemptions to
the estate-wide "no new TypeScript" rule:
- \`playground/src/probability.ts\`
- \`playground/src/ternary.ts\`
- \`playground/src/main.ts\`
- \`playground/test/ternary_test.ts\`
- \`playground/test/probability_test.ts\`
- \`playground/examples/uncertainty.ts\`
Per [\`playground/README.adoc\`](../tree/main/playground/README.adoc),
the directory is an **intentional experimental sandbox** "decoupled from
the main compiler to allow rapid experimentation". TypeScript was one of
several languages explored alongside Deno/Nickel/Idris2/Zig in the
sandbox. The primary Betlang implementation in \`core/\`, \`lib/\`, and
\`tests/\` remains Racket-only.
## Fix
Adds the exemption to \`.claude/CLAUDE.md\` using the canonical
"TypeScript Exemptions" table format from
[standards](https://github.com/hyperpolymath/standards/blob/main/.claude/CLAUDE.md).
Unblock condition is owner decision to either:
(a) migrate the playground sample to AffineScript, or
(b) delete the TypeScript files once the experimental questions they
answer are settled.
## Why this approach
This is a **documentation-only exemption record** — it does not change
estate policy. It just makes the existing carve-out auditable, which is
what the governance check requires.
The alternative (rewriting all 6 files into AffineScript) is real
engineering — out of scope for a CI unblock. The other alternative
(deleting them) loses experimental work that may still be referenced.
## After this lands
\`governance / Language / package anti-pattern policy\` will pass on
betlang PRs. Combined with
[#43](#43) (setup-racket
SHA fix), this clears two of the three baseline-rot blockers on every
betlang PR. The remaining one is \`governance / Workflow security
linter\` — a separate investigation.
## Test plan
- [x] Single addition to \`.claude/CLAUDE.md\`
- [x] GPG-signed commit (key 4A03639C…2867091E, noreply email)
- [x] Auto-merge SQUASH enabled
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent e59272b commit c4ced06
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
75 | 85 | | |
76 | 86 | | |
77 | 87 | | |
| |||
0 commit comments