Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 05d59163aeb3464845191007d14d0f2391b050d2
parent f49b9e3105791d69ba3169d0f3559c0b4cf958fa
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sat, 21 Nov 2026 17:47:59 -0500

verify-resume review 3: a complete listing is fresh by its end, the moment it contradicts from

Co-Authored-By: Claude <noreply@anthropic.com>

Diffstat:
Mcommon/controller/listingEvidence.ts | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/controller/listingEvidence.ts b/common/controller/listingEvidence.ts @@ -405,7 +405,8 @@ export function freshListingIndex(record: ListingEvidence, nowMs: number, maxAge // PURE: is there a COMPLETE whole-channel listing inside the window? Then a // candidate it does not name is a suspect (unlisted or gone) to confirm by // itself — no second listing is needed to learn that. The record's -// `lastComplete`, whatever has been listed since; fresh by its start. +// `lastComplete`, whatever has been listed since; fresh by its END, the moment it +// contradicts from, so a sighting made while it ran never outlives it (review 3). export function freshCompleteListing( record: ListingEvidence, nowMs: number, @@ -413,7 +414,7 @@ export function freshCompleteListing( ): CompleteListing | null { if (maxAgeHours <= 0) return null; const c = record.lastComplete; - return c && isFresh(c.at, nowMs, maxAgeHours) && !inFuture(c.endedAt, nowMs) ? c : null; + return c && isFresh(c.endedAt, nowMs, maxAgeHours) && !inFuture(c.endedAt, nowMs) ? c : null; } // WHERE A CUT-SHORT LISTING CONTINUES, per platform — read from yt-dlp's