Skip to content

feat: drain Ockham outbox notifications via Hermes scheduler#7402

Closed
mistakeknot wants to merge 1 commit into
NousResearch:mainfrom
mistakeknot:feat/ockham-outbox-drain
Closed

feat: drain Ockham outbox notifications via Hermes scheduler#7402
mistakeknot wants to merge 1 commit into
NousResearch:mainfrom
mistakeknot:feat/ockham-outbox-drain

Conversation

@mistakeknot

Copy link
Copy Markdown

Summary

  • add a small Ockham outbox reader for ~/.config/ockham/outbox.db
  • drain pending Ockham notifications from the existing Hermes scheduler tick
  • reuse Hermes delivery paths instead of adding a parallel sender
  • add targeted tests for quiet-hours and sent-state behavior

Behavior

  • alerts are deliverable immediately
  • approvals/digests remain pending during quiet hours and are delivered later
  • explicit Ockham telegram chat_id is respected when configured; otherwise Hermes uses the Telegram home channel
  • sent notifications are marked delivered in the Ockham outbox

Test plan

  • source venv/bin/activate
  • pytest tests/cron/test_ockham_outbox.py -q
  • python -m py_compile cron/ockham_outbox.py cron/scheduler.py

@mistakeknot mistakeknot force-pushed the feat/ockham-outbox-drain branch from 22a27f6 to a79d1c1 Compare April 10, 2026 21:53
@mistakeknot mistakeknot force-pushed the feat/ockham-outbox-drain branch from a79d1c1 to 7e930b5 Compare April 10, 2026 22:01
@mistakeknot

Copy link
Copy Markdown
Author

Closing for now because this references Ockham integration work before Ockham is public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant