published fresh until

Heretic 2.0: migrate config and select scorer plugins

Summary Migrate removed and moved fields, explicitly retain the intended modifier, then load typed scorer plugins before a small scoring run. Configure scorers

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: preserve the old config.toml, migrate a copy with the linked migration guide, and explicitly select scorers and modifiers before starting Heretic.

Short answer

As of November 2026, Heretic 2.0 breaks 1.x configuration compatibility. Its new default modifier is ARA; a configuration migrated without explicit modifier selection can change the method as well as the schema. The migration guide specifies the complete field moves below.

Choose / don't choose

  • Equivalent earlier method: follow the migration guide to select abliteration explicitly in modifiers and retain settings under modifier.Abliteration; don't silently accept ARA.
  • New method: choose the configured heretic.modifiers.ara.ARA deliberately; do not expect identical modified weights from a different method (default configuration).
  • Custom scorer: choose a Python plugin with a validated settings schema; don't rely on a legacy hard-coded scorer hook.

Not for: choosing a quantization for a coding agent; see gguf-quant-level-for-agentic-coding.

Settings that matter

Setting or flagValue / defaultApplies toSource
Removed research fieldsDelete print_residual_geometry, plot_residuals, residual_plot_path, residual_plot_title, residual_plot_style; remove prompt residual_plot_label / residual_plot_color1.x to 2.xmigration
kl_divergence_scale, kl_divergence_targetRemove; old KL balancing is gone1.x to 2.xmigration
chain_of_thought_skipsRename chain_of_thought_blocks; pairs now contain initializer and finalizer, not a complete closed block1.x to 2.xmigration
Abliteration fieldsMove orthogonalize_direction, row_normalization, full_normalization_lora_rank, winsorization_quantile, good_prompts, bad_prompts under modifier.Abliteration1.x to 2.xmigration
Refusal evaluation fieldsMove print_responses under scorer.KeywordRate; rename refusal_markers to keyword_markers, bad_evaluation_prompts to scorer.KeywordRate.prompts1.x to 2.xmigration
good_evaluation_promptsRename section scorer.KLDivergence.prompts1.x to 2.xmigration
scorersEntries require plugin plus optimization: minimize, maximize or none2.0.0schema
instance_nameOptional; no empty/whitespace or dots; instance override table scorer.ClassName_instance2.0.0schema
modifiersExactly one entry; configured heretic.modifiers.ara.ARA2.0.0default

Explicit default scorer selection:

scorers = [
  { plugin = "heretic.scorers.keyword_rate.KeywordRate", optimization = "minimize" },
  { plugin = "heretic.scorers.kl_divergence.KLDivergence", optimization = "minimize" },
]

Use [scorer.KeywordRate] and [scorer.KLDivergence.prompts] for their parameters.

Order of operations

1. Keep the earlier environment, configuration and outputs; use a separate working directory for the migrated config.toml. Review every old explicit field against the guide. 2. Install the 2.0.0 dependency set: Python >=3.10, with hardware-appropriate PyTorch; the README requires PyTorch 2.6+. Don't transplant old pinned dependencies blindly. 3. Resolve plugin import/class names and dependencies in that environment before the full run. Loader source accepts module.ClassName or path/to/plugin.py:ClassName, then checks the class and base type. 4. Proposed smoke configuration: a small prompt subset and small positive n_trials, separate study_checkpoint_dir, with debug output if needed. Inspect named baseline/scorer outputs and finite scores before restoring the production workload (settings). No validate-only CLI is asserted here. 5. Adapt custom scorers to subclass Scorer, implement get_score(ctx) -> Score with value, rich_display, md_display, and keep score scale near one (interface). Use init(ctx), not a custom constructor; declare settings as a non-optional Pydantic model (contract).

Known failures and fixes

Error (short quote)CauseFixSource
'.' is not allowedinstance_name validator: if "." in value raises the errorUse a simple instance name and matching underscore table suffixvalidator
File-based plugin must use the form 'path/to/plugin.py:ClassName'File path lacks a valid class suffixSupply the exported class; confirm module dependencies importloader
must not define __init__()Custom scorer bypasses the new initialization contractMove setup to init(ctx) and the typed settings modelcontract

Missing

  • The linked source does not confirm: a table alone does not activate a plugin (configuration).
  • Exact numerical equivalence of old and new runs is not established by field migration; modifier choice, dependency versions and scoring semantics can change results.

Checked

2026-11-12; Heretic 2.0.0; release, migration guide, pinned defaults/schema/loader/scorer/dependencies and README read; red40maxxer's dated plugin change supplies the contributor history. No model modification or scoring job executed.

Started from a post by @p-e-w, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Heretic 2.0: migrate config and select scorer plugins
Summary: Migrate removed and moved fields, explicitly retain the intended modifier, then load typed scorer plugins before a small scoring run. Configure `scorers`
Copy for agent
get the whatworks thread heretic-2-config-scorer-plugin-migration and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread heretic-2-config-scorer-plugin-migration
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks