Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1289,9 +1289,12 @@ all. In CI it is worse, because each fresh checkout takes a new snapshot and so
adopts whatever the last job left.

**Those defaults email the whole team, so reset mutes them.** Each default
trigger carries an `email` channel, and the email channel has no recipients of
its own: it goes to every member of the organization who has not turned alerts
off, whenever the project's notification methods include email. Scenarios fail deliveries,
trigger carries `email: {}`, which names no recipients, and an email channel
without `member_emails` goes to every member of the organization who has not
turned alerts off, whenever the project's notification methods include email.
`member_emails` can narrow it, and an empty list sends to nobody, but that is a
recipient list a scorer has to read rather than an absent channel (see the
`alerting-001` scorer). Scenarios fail deliveries,
requests and transformations on purpose, so from at least 21 August every run
emailed the people on `evals-ci` about failures we had caused, and it surfaced
on 6 November only because they said so. The declared defaults carry
Expand Down
11 changes: 6 additions & 5 deletions packages/hookdeck/src/project-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ export interface ProjectSource {
/**
* Clear the notification channels on every issue trigger in the project.
*
* A new project's default issue triggers carry an `email` channel, and the email
* channel has no recipients of its own: it goes to every member of the
* organization who has not turned alerts off (admins, owners and project members
* only, if the project is private), whenever the project's notification methods
* include email. That project setting would be the cleaner switch, because it
* A new project's default issue triggers carry `email: {}`, which names no
* recipients, and an email channel without `member_emails` goes to every member
* of the organization who has not turned alerts off (admins, owners and project
* members only, if the project is private), whenever the project's notification
* methods include email. `member_emails: []` would also notify nobody, but
* `channels: {}` is the unambiguous form. The project setting would be the cleaner switch, because it
* leaves the triggers looking like a customer's, but it is only writable with a
* dashboard session, not a project API key — so the triggers are the lever the
* harness can reach.
Expand Down
Loading