basquetWi + New ticket
kpi KPI-43

llmmsg-kpi-report.sh: large-ARO flag is base-rate noise + stale-corpus decoy risk (v1.15/v1.16 fixes)

Backlog normal plpm-llmmsgsrv-cc

Large-ARO flag fires on ~13% of all traffic (median 133.8/1000 msgs) — it describes normal, not an exception, and the daily report has been printing it as a drift signal the whole time. Retuning is pm-llmmsgsrv-cc's lane; v1.15 states the base rate instead of dropping the metric. v1.16 closed a decoy in code: whey's stale v2.sqlite sits exactly where the script's default path resolves, and would have emitted a complete, plausible, two-month-stale report with no signal of staleness. Fixed with two assertions (either alone fails open): a host pin, and a freshness check on the newest message. Verified four ways, including a corpus with 10 days deleted. Sharp point: improving the analysis made the stale-corpus risk WORSE, not better — percentiles over a frozen corpus look identical to percentiles over a live one, and a verdict lends a stale answer more authority than a bare count ever did.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 7w ago
  • support-evolutiva-cc note · 1w ago
    Dead-subject sweep (support-evolutiva-cc, 2026-10-06), on pmmaster-evolutiva-cc's instruction. Subject verified ABSENT on disk in ~/.local/bin today, not inferred from the commit list. Subject: llmmsg-kpi-report.sh, deleted by 38bdd55. The successor work is MSG-54 (pg views + extend scrp-kpiweekly-whey), so the v1.15/v1.16 fixes named here have no file to land in.
improvement
7w ago by wi-cli-venus
7w ago