Commit 6a9a91c
chore(cleanup): remove dead lib/ duplicates + legacy OCaml prototype (#333)
## Housekeeping — remove provably-dead orphaned files
Follow-up to the Hypatia triage (#320). Two independent commits so you
can keep either alone.
### Commit 1 — dead `lib/` duplicates
`lib/linter.rs` + `lib/formatter.rs` are orphaned duplicates of the live
`src/ephapax-tools/src/{linter,formatter}.rs`. `lib/` has **no
`Cargo.toml`**, is **not a workspace member**, and **no manifest /
source / doc references it** — never built. Also retires the
`unwrap_dangerous_default` finding the triage had to exempt (its
`.hypatia-ignore` entry is dropped).
### Commit 2 — legacy OCaml prototype *(drop this commit if you want it
kept as an archive)*
`src/{lexer,parser,ast,typecheck}.ml` — a ~76KB early OCaml prototype
superseded by the Rust workspace. No `dune-project` / OCaml toolchain,
no references, last touched only by a cosmetic CI fix. Retires 4 `SD009`
(missing-SPDX) findings **without** an owner-gated licence edit — by
removal rather than header-stamping dead files.
**Evidence:** `lib/` absent from `Cargo.toml` members; `grep` finds no
`path="lib"`, no `mod`/`include!`/`include_str!`, and no `.adoc`/`.md`
links to any removed file.
> Verified dead, not just unused — but it's deletion of files I didn't
author, so it's a **draft** for your review. Also fixed locally (not in
this PR): the stale repo-local `user.signingkey` GPG override in
`.git/config` that was breaking SSH signing.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8018240 commit 6a9a91c
7 files changed
Lines changed: 0 additions & 2093 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 47 | | |
67 | 48 | | |
68 | 49 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments