Skip to main content

Module adapter_intake

Module adapter_intake 

Source
Expand description

Adapter intake (T0) — the tuning seam’s propose leg. areev tune registers a host-trained adapter as an mg:adapter Fact in agent:harness (the registry tuple, its Rule E1 evalset pin, and the corpus-manifest lineage all embedded in the object JSON); this analyzer turns each unpromoted candidate into an adapter_revision recommendation. The engine’s gates do the rest: apply is refused without a clean recorded run of the pinned evalset, the promotion is an immutable (model:X, mg:adapter_promotion) Fact hosts re-resolve from, and rollback retracts it.

Lifecycle (deliberate, dedup-shaped): one candidate per served model. A subject with a live promotion is skipped entirely — replacing a promoted adapter means rolling the promotion back first, which frees the dedup key; the next pass then proposes the newest unpromoted candidate. A rolled-back candidate is re-proposed while its registry grain stays live (“the situation returned”); retiring the mg:adapter grain is how a host silences it.

Structs§

AdapterIntake