diff --git a/scripts/install_orion_assistant_crons.sh b/scripts/install_orion_assistant_crons.sh index ab5d1b8..7c69dba 100755 --- a/scripts/install_orion_assistant_crons.sh +++ b/scripts/install_orion_assistant_crons.sh @@ -173,7 +173,7 @@ upsert_job() { CMD1="Use system.run exactly once, without elevated mode and without a TTY, to execute exactly: python3 scripts/assistant_status.py --cmd refresh --json. Do not request elevated execution. Ignore stdout/stderr unless it fails. Then respond exactly NO_REPLY." CMD2="Use system.run exactly once, without elevated mode and without a TTY, to execute exactly: python3 scripts/email_triage_router.py --from-inbox orion_gatewaybot@agentmail.to --limit 20 --apply. Do not request elevated execution. Ignore stdout/stderr unless it fails. Then respond exactly NO_REPLY." -CMD3="Use system.run exactly once, without elevated mode and without a TTY, to execute exactly: python3 scripts/inbox_cycle.py --repo-root . --runner-max-packets 4 --stale-hours 24 --notify-max-per-run 8. Do not request elevated execution. Ignore stdout/stderr unless it fails. Then respond exactly NO_REPLY." +CMD3="Use system.run exactly once, without elevated mode and without a TTY, to execute exactly: ORION_SUPPRESS_TELEGRAM=1 python3 scripts/inbox_cycle.py --repo-root . --runner-max-packets 4 --stale-hours 24 --notify-max-per-run 8. Do not request elevated execution. Ignore stdout/stderr unless it fails. Then respond exactly NO_REPLY." CMD4="Use system.run exactly once, without elevated mode and without a TTY, to execute exactly: python3 scripts/orion_error_db.py --repo-root . review --window-hours 24 --apply-safe-fixes --escalate-incidents --json. Do not request elevated execution. Ignore stdout/stderr unless it fails. Then respond exactly NO_REPLY." CMD5="Use system.run exactly once, without elevated mode and without a TTY, to execute exactly: AUTO_OK=1 python3 scripts/session_maintenance.py --repo-root . --agent main --fix-missing --apply --doctor --min-missing 50 --min-reclaim 25 --json. Do not request elevated execution. Ignore stdout/stderr unless it fails. Then respond exactly NO_REPLY." CMD6="Use system.run exactly once, without elevated mode and without a TTY, to execute exactly: python3 scripts/orion_incident_bundle.py --repo-root . --write-latest --json. Do not request elevated execution. Ignore stdout/stderr unless it fails. Then respond exactly NO_REPLY." diff --git a/scripts/orion_local_maintenance_runner.sh b/scripts/orion_local_maintenance_runner.sh index 25208ef..f628f4e 100755 --- a/scripts/orion_local_maintenance_runner.sh +++ b/scripts/orion_local_maintenance_runner.sh @@ -53,7 +53,7 @@ PY case "${job}" in assistant-inbox-notify) - exec /usr/bin/python3 scripts/inbox_cycle.py --repo-root "${repo_root}" --runner-max-packets 4 --stale-hours 24 --notify-max-per-run 8 + exec /usr/bin/env ORION_SUPPRESS_TELEGRAM=1 /usr/bin/python3 scripts/inbox_cycle.py --repo-root "${repo_root}" --runner-max-packets 4 --stale-hours 24 --notify-max-per-run 8 ;; assistant-email-triage) exec /usr/bin/python3 scripts/email_triage_router.py --from-inbox orion_gatewaybot@agentmail.to --limit 20 --apply