Files
orangecat/scripts/systemd
Georgy ButaevandClaude Fable 5 181772da9e ops(cat): nightly Cat-judgment eval gate — 8 canonical probes vs prod + systemd timer
scripts/eval-cat.mjs runs the 8 canonical entity-type probes (PR #375) against
the production /api/cat/chat streaming path and scores right-type / why-line /
duplicate-drafts, exiting non-zero below 7/8 on either axis.

Hygiene learned from the ad-hoc PR #375 harness: per-probe throwaway
conversations (shared history made the model answer the PREVIOUS unanswered
probe), run-window cat_memories purge (recall is per-user), full cleanup of
cat_conversations/cat_messages after, and daily platform_api_usage reset
before+after so the rail and the cap stay clean. Transient free-tier 429s get
backoff retries; the eval pins the platform default model so the gate measures
the judgment pipeline, not free-model roulette.

Box side: scripts/systemd/orangecat-cat-eval.{service,timer} (04:30 UTC,
Persistent) — repo is the SSOT; deploy-selfhost.sh now ships the script to
/opt/orangecat/scripts/ and (re)installs the units each deploy. On failure the
script inserts an in-app notification for the founder via the notifications
schema the NotificationDispatcher uses and logs to the unit journal.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 20:26:57 +02:00
..