mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 09:07:20 +01:00
Most people never review unless asked, and a track record nobody writes stays empty. - review-nudges cron (hourly systemd timer, deterministic, no model): asks each side that has not reviewed once 3 days after the deal settles, and once more in the last 5 days of the window. Sent in-app and by email (notification type deal_review). - deal_review_nudges records each nudge BEFORE sending, so a crash loses one and never sends a second. - When one side reviews, the other is told that it happened, never what was said. - The Cat's dashboard suggestions carry the most urgent unreviewed deal, using the same timing rule as the cron (EN + DE copy). Claude-Session: https://claude.ai/code/session_018wXxVRKVqzamrf61n6ctaQ Co-authored-by: Claude <noreply@anthropic.com>
15 lines
411 B
SYSTEMD
15 lines
411 B
SYSTEMD
# SSOT: repo scripts/systemd/ — installed by deploy-selfhost.sh.
|
|
# Instance of the generic orangecat-cron@.service template (curls
|
|
# /api/cron/review-nudges with CRON_SECRET). Asks people to review their deals
|
|
# (ADR-0010). Deterministic; spends no AI key.
|
|
[Unit]
|
|
Description=OrangeCat review nudges (hourly)
|
|
|
|
[Timer]
|
|
OnCalendar=hourly
|
|
RandomizedDelaySec=300
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|