Maintainer decisions for epic #223 (2026-10-15):
- Q1: `leace` is a deprecated alias of the Fisher LDA direction. It keeps
its numerical behaviour, warns once per public resolution with a
DeprecationWarning naming `fisher_lda` and `leace_exact`, and will be
removed in a future minor release.
- Q4: a collateral FAIL blocks both the model card and any Hub push of
modified weights or adapters on every path (pipeline, export_run, both
CLIs, Concept Lab, the Hub UI and tourney uploads), checked before any
network call. `--allow-collateral-fail REASON` (and the matching API
argument and UI field) overrides the block and stamps the FAIL and
reason into the card, checkpoint metadata and provenance. Local save
and export are never blocked.
- Q5: research-tier packs no longer carry publication or local-export
restrictions; the tier is provenance only and Q4 applies to every pack.
- Steering defaults are removal-first: `steer` defaults to alpha -1 and
the default dose ladder is non-positive. Positive doses stay available
explicitly; `project` keeps its positive removal strength.
- Q3 (gate modes) and Q7 (dense only, follow-up #310) are unchanged and
documented.
Refs #223
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>