← back to Tk 10821 Enrichment Health Classifier
README.md
19 lines
# TK-10821 enrichment-health classifier
This pure local guard prevents the Phase-3 monitor from equating a flat or
growing **net pending count** with a dead enrichment cron. New work can enter
while old work is processed, so backlog delta alone is not liveness.
The classifier requires direct signals: time since `phase3_ai_at` advanced,
completed rows in 24 hours, cron completion/exit state, and a sampled run's
attempted/updated/no-data counts. It never calls an API or database.
Current authoritative snapshot (2026-08-30): the cron is alive, with the last
advance 8.81 hours ago and 543 completions in seven days. Throughput is low; a
Wolf Gordon sample attempted 42 products and returned no AI data for all 42.
That is `ALIVE_UPSTREAM_CONSTRAINED`, not `STALLED`.
The three vendors named in the original ticket are excluded from this pipeline
by rule and prior read-only evidence shows they are materially enriched. No paid
drain should be started from this ticket's old premise.