Skip to content

feat(notify): support configurable journal admission rates - #158

Draft
777genius wants to merge 1 commit into
feat/agent-notify-journalfrom
feat/agent-notify-configurable-rates
Draft

777genius wants to merge 1 commit into
feat/agent-notify-journalfrom
feat/agent-notify-configurable-rates

Conversation

@777genius

Copy link
Copy Markdown
Owner

Explicit notifications need configurable limits shared across processes. Add a validated per-admission policy with the existing 6/session/minute, 30/runtime/minute and burst 3 defaults. Changes preserve accrued counters, stable request identity and replay; storage validation supports bounded expanded histories without quadratic rate scans.

Stacked on #156. This adds the journal contract; configuration activation and the compatible admission-writer floor are subsequent integration work. Old writers cannot safely enforce custom rates, despite unchanged disk JSON shape.

Validation: independent source review found no actionable issues; focused Linux package/race/vet passed with actual unprivileged process fixtures; macOS journal tests passed, including configured limits and contention. No native notifications or installed-feature completion is claimed.

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

鉂わ笍 Share

Comment @coderabbitai help to get the list of available commands.

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