The site's promise is that it tells you what changed, and it has been reading
"Updated 2026-09-14" for four days because the sweep only ran when a person ran
it. 92% of company profiles carry no dated event at all. That is the deepest
problem on the site: a research service that is visibly stale has stopped being
the thing it claims to be.
The sweep now runs unattended, and deliberately cannot publish.
Where it writes is the whole design. The corpus stays files in git, accepted by
a person in a commit, because "a human read this and accepted it" is the claim
every row on the site makes. A timer writing into it would publish rows nobody
read, and a release directory is replaced by the next deploy anyway. So findings
land in `research_sweep_candidates`: a queue of leads, none of which reaches a
page until somebody promotes it. A test greps the scheduled path for `writeFile`
and the corpus paths to keep that true.
It is a route rather than a script because the box runs releases, not checkouts,
and the fleet's cron convention calls an authenticated route. A missing
CRON_SECRET refuses with 503 rather than running: an open sweep endpoint spends
web and model budget for whoever finds it.
Runs are bounded to four nodes and rotate by least-recently-swept, so a run fits
the wrapper's 300s and coverage still moves across all 33 bottlenecks. Each run
records what it did, so "how fresh is this" is answerable from evidence instead
of inferred from the newest event — and a node the search backend could not
reach is recorded as blindness, not as a quiet week.
What decides whether something IS an event moved to `lib/sweep.ts`, shared by
the script and the timer. Two copies of that judgement would have drifted, and
the hand-run and scheduled sweeps would have quietly stopped agreeing.
Claude-Session: https://claude.ai/code/session_01Y6ecRd91ZsPPcjuNkKTFV2
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>