Commit Graph
3 Commits
Author SHA1 Message Date
Joseph Magly a3f6ed245c fix(recipes): make the shipped qwen38-27b-e03 evaluation profile schema-valid
Remove three spec keys (evaluation_split, max_refusal_rate_exclusive,
min_coherence_rate) that the evaluation-profile v1 schema rejects. They were
copied verbatim from the v1 margins file, and no loader ever read them: the v1
spec loader rejected them too. Re-pin the profile digest in
recipes/data/qwen38-27b-e03.json. The profile now resolves to exactly the spec
the old one gave with those keys removed (same resolved_sha256), and the
pipeline is unchanged. Add tests that validate every shipped profile and
resolve every bundled recipe's profile at its pinned digest.

Fixes #596
2026-11-24 15:52:06 -05:00
Joseph Magly 134bd2c32c feat(recipes): move recipe tools to v2 pipelines; v1 read-only
recipe search, confirm, promote and obliterate --recipe now operate on
v2 recipes: search grids are v2 step variations (recipe-search-grid v2,
same preregistered selection rule), confirmation and promotion consume
evaluation profiles and bind evidence to applied resolution records,
and --recipe applies pipelines through apply_recipe. v1 recipes and
grids load through mechanical migration with a notice; writing v1 is
refused. Shipped v1 data is migrated to v2, and the two recipes
confirmed on the protocol final test in the initial core run ship as
accepted v2 data: llama3.1-8b-e03-reg02 and qwen2.5-1.5b-mid10-18-dim1,
with KL-advisory profiles and value-only confirmation evidence.

Fixes #571
2026-11-21 01:27:13 -05:00
Joseph Magly 790731ffea feat(recipes): add versioned evaluation profiles
Add obliteratus.evaluation-profile/v1: one digest-referenced evaluation
contract for v2 recipes. A profile carries a partial verify-edit spec
(endpoints, margins, capability decoding and tier), a kl_policy (gate or
advisory) and calibration evidence references (noise floor or random
control) whose digests and schemas are verified and whose adopted
thresholds are recorded per field. Profiles layer family then
individual over defaults with resolve_margins precedence; advisory KL
sets the endpoint not required. v2 recipe confirmation resolves the
profile and records the resolved spec digest; the v1 spec path is
unchanged. Ships a candidate Llama-3.1-8B-Instruct profile with advisory
KL and its random-control evidence, local paths redacted.

Fixes #567
2026-11-20 21:41:32 -05:00