Skip to content

docs(aggregator): state the alert throat's truth contract in alerts.ts (#3703) - #4977

Merged
dezren39 merged 1 commit into
mainfrom
queue/5613-3703-alert-throat-contract
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/5613-3703-alert-throat-contract

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

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.ts module header, beside the #3676 design notes: records tell the truth and keep their secrets — a transition is recorded only when its event happened (delivered/escalated require at least one accepted send, gone is not a send); p256dh/auth never 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

Closes #3703.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…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.
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 15:04
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b94135d2-a1ca-44d4-bb11-a21795bc0e16
Commits

Reviewing files that changed from the base of the PR and between d3476bc and 5b954a7.

Files selected for processing: 1
  • pm-stack/aggregator/src/alerts.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T15:04:07.574956Z
We couldn’t complete this review. Comment @codex review to try again.
5b954a7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

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.

Phase 3 (audit) of #3702 — alert-throat contract statement, seam check + dispositions

1 participant