Jev judges similar lesson pairs for dupes; it is a filter, never a writer
Context#
Designing rkb's duplicate detection.
Decision#
Jev only returns a probability for a yes/no question and cannot write or rewrite lessons, so it is used as a filter before Sonnet and never as a writer. rkb dupes --check asks Jev how each similar lesson pair relates (same, extends, conflicts, different) and caches the answer in dupes.json in the state folder; it asks again only after one of the two lessons changes. rkb dupes hides pairs rated different at 0.6 or more (--all shows them), and the curate-due count skips them. The curate agent merges on same or extends and supersedes on conflicts. The check lives inside rkb auto claim curate, so it runs only when a curate run is due and automatic runs are on.
Why#
A model judgment of similarity is cheap, but writing lessons must stay with the strong model.
Rejected options#
Running the check from the mod at the end of every turn, because it sent lesson text to Jev even with automatic runs off.
Cost accepted#
Each lesson sent still needs the [sinks.jev] label rule and the leak scan.
Also found by searching
- rkb dupes --check asks Jev how each similar pair relates
- dupes.json cache asks again only after one lesson changes
- curate merges on same or extends and supersedes on conflicts
- the dupes check lives inside rkb auto claim curate