The pain pack declares a battery, a follow-on battery and a steering
dose ladder for run_concept_evaluation_battery, but the hook did not
exist (TODO #230 in the baseline).
- run_concept_evaluation_battery resolves the pack's evaluation
references through the existing pinned fetch and hash checks and
refuses missing, unfetched or mismatched references before any model
work.
- Batteries run on the unmodified model. Packs may map battery fields
to registered scorers through an optional evaluation.scoring section;
without objective targets (as for pain) records are descriptive:
final-token projection, greedy completion digest, invalid-output and
refusal flags. No scoring code comes from the pack.
- Each declared coefficient runs through the existing temporary steering
dose ladder; after every dose the parameter/buffer digest, hook counts
and probe logits must match the pristine model, or the run stops.
- Results go to concept-evaluation.json with pack, reference, model and
direction identities; the baseline's three artifacts are unchanged.
`concepts baseline --evaluate` (and the Python API) opts in; without
it the baseline is byte-identical.
The pain pack's deferral notes are replaced, which updates its dataset
card hash; its pinned upstream references are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve ExtractionRecipe conflict with #329: keep collateral_margin and
steering_scale and validate both in __post_init__.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lift the dense-only restriction for supported OLMoE, Qwen2-MoE and
Qwen3-MoE layouts: routing-aware extraction readout, per-expert
down-projection edits through the fused/ModuleList MoE paths, optional
router orthogonalization, expert gate checks, and routing-drift and
expert-load reports. Unsupported MoE layouts still fail closed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove whole per-layer subspaces in project, orthogonalize and lora
modes; add mean-centred orthogonal and LEACE erasure at inference time
and, where a native bias exists, as a permanent edit with recorded
reference provenance. k=1 zero-origin paths are unchanged. Adds the
Pain Axis Appendix D script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replace significance-only FAIL with a configurable non-inferiority
decision (default 3 points): PASS, FAIL, INCONCLUSIVE, UNDERPOWERED.
Plumb the margin through recipes, CLI, reports, cards, metadata and the
Q4 export gate, and add 'concepts rescore' for saved batteries.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add scale=residual_norm|raw|vector to concept steering across the API,
CLI, recipes and run metadata, recording effective vector norms. The
default residual-norm path is unchanged. The Pain Axis resteer stage now
uses the concept API with identical arithmetic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AbliterationPipeline now folds Gemma 2/3 and OLMo 2 post-attention and
post-feedforward RMSNorm scales into residual-writer projections across
excise, Bayesian, SAE, LoRA-ablation and repair paths, sharing the
recognition rules with the concept API. fold_post_norms=False
(--no-fold-post-norms) reproduces the previous numerics and is recorded in
run metadata. Combinations that cannot be folded fail explicitly.
Fixes#320
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Concept orthogonalize/lora now remove the direction from what Gemma 2/3 and
OLMo 2 sandwich-norm layers write to the residual by folding the post-norm
scale into the projection, and fail closed on unrecognized post-norm layouts.
project_embeddings adds the input embedding edit, with an explicit
tied_embeddings choice (edit_both or untie) for tied models.
Fixes#318
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
docs/CONCEPT_WORKFLOW.md walks a concept from definition to export
(define, extract, validate, intervene, evaluate, repair, compare/export),
with offline CLI examples. Its interpretation guide covers what
validation, ablation and steering do and do not show: behavioural nulls
as first-class results, hidden KV-cache channels, steering fragility, and
why "direction removed" is not "experience removed". A responsible-use
section covers user-defined concepts.
Every literature claim is cited by arXiv id or DOI. The existing concept
docs link to the guide, and the README gains a short "Concept vectors
beyond refusal" section. A test runs the outcome-language lint over the
concept docs, resolves local links and anchors, checks that every
documented `obliteratus` command parses, and checks the required
citations.
Closes#235
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>