Add a direction-method registry that lists only available methods
(diff_means, svd, fisher_lda, leace, leace_exact; som stays unavailable).
The CLI and UI choices are generated from it. Unknown methods now fail at
construction with the available choices, instead of silently falling back.
fisher_lda is the canonical id for the existing Fisher LDA direction. leace
stays a permanent alias with bit-identical numerics, logs a notice pointing
to leace_exact, and saved metadata records both the requested method and
direction_method_effective.
leace_exact implements closed-form LEACE (Belrose et al., arXiv:2306.03819)
with an eigenvalue floor and a pseudo-inverse for rank-deficient covariance.
The full oblique eraser is exposed for tests and future interventions. The
pipeline uses its removal direction with the existing orthogonal
projection, and logs the eraser loss only as a reference value. Tests check
that, on anisotropic synthetic data, a linear probe is at chance after
erasure, class means coincide, and the eraser is idempotent.
Refs #226
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>