Repository navigation
docs(aggregator): state the alert throat's truth contract in alerts.ts (#3703) - #4977
Conversation
…ts.ts header (#3703, #3702) Phase 3 of design #3702: the contract the throat's records and responses must keep — transitions recorded only when the named event happened (delivered/escalated need an accepted send, gone is not a send), key material never leaves the server and HTTP surfaces project, preferences validated as values with per-field fallback to default. Comment-only: no behaviour changes.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
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. CodeRabbit Verify
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Phase 3 of design #3702 (closing audit). Contract statement only — no behaviour change.
What
Adds the #3702 contract statement to the
pm-stack/aggregator/src/alerts.tsmodule header, beside the #3676 design notes: records tell the truth and keep their secrets — a transition is recorded only when its event happened (delivered/escalatedrequire at least one accepted send,goneis not a send);p256dh/authnever leave the server and any HTTP surface projects; preferences are validated as values with per-field fallback to the default.Why
#3702 named the contract in the design doc; #3703 is the phase that puts it where the next editor of the throat will read it. Phases 1–2 have landed (#3693 via PR #4413, #3686 via PR #4786), so the audit gate is clear.
Verification
bun test pm-stack/aggregator/test/alerts.test.ts— 34 pass, 0 fail.git diffis the header block.Closes #3703.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.