Skip to content

pickSurvivor

pickSurvivor(members, anchorId?): Learning

Defined in: src/merge-suggest.ts:413

Deterministic survivor: the LLM’s anchor if it is a member, else the most-established member (highest injectedCount), tie-broken by earliest createdAt. Since the merge resets nothing (counters are preserved by mergeLearning), keeping the most-exercised member as the survivor makes the carried-forward record the most representative one.

Learning[]

string

Learning