Skip to content
C.W.K.
Stream
Lesson 03 of 05 · published

Radar Finds Candidates; Drift Finds Gaps

~12 min · radar, drift, duplicates, orphans

Level 0Trace
0 XP0/36 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete

Radar does not calculate meaning

Vector similarity places related prose together and a link graph can mark notes with no inbound references as orphan candidates. Both narrow a curation queue well, but neither can justify merge or archive.

Similar notes may be accidental duplication or a principle deliberately repeated for separate souls. An orphan may be residue or a canonical source that no summary should replace.

Drift is the gap between index and reality

Find files with no index line, index lines with no file, and stale paths after rename through two-way set differences. These are deterministic enough for automatic surfacing.

Fixes still differ. A new note may require a human summary, while a line for a deleted file may permit mechanical removal. The detector classifies gaps; an approved actuator performs changes.

Attach candidate provenance

A Radar card should name the signal: cosine score, exact title collision, or zero inbound links. Threshold and index revision make the candidate reproducible and limit overconfidence.

Several signals may coexist, but do not collapse similarity 0.91 and orphan true into one risk score. They ask different questions and should remain visible in parallel.

Dismissal is evidence too

A false positive can retain reason and fingerprint so the identical cluster does not return every scan. The suppression must expire when content hashes change; otherwise an old judgment hides a new note.

Do not automatically convert every dismissal into a model-training label. Preserve free-form reason and policy version, then validate detector changes separately. Judgment history and training data are different characters.

Radar and Drift narrow the place to read; they do not manufacture an answer. Expose raw signals and provenance while disposition remains in a live session.

Code

Find two-way drift with set difference·python
files = {"core/a.md", "memory/b.md"}
indexed = {"core/a.md", "memory/old.md"}
missing_from_index = files - indexed
stale_index_lines = indexed - files
assert missing_from_index == {"memory/b.md"}
assert stale_index_lines == {"memory/old.md"}

External links

Exercise

Choose a duplicate or orphan detector and add raw signal, threshold, index revision, content hash, and disposition reason to its candidate record.
Hint
Expose different signals before combining them into any score.

Progress

Progress is local-only — sign in to sync across devices.
Spotted a bug or have feedback on this page?Report an Issue

Comments 0

🔔 Reply notifications (sign in)
Sign inPlease sign in to comment.

No comments yet — be the first.