You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1a41859
Browse filesBrowse the repository at this point in the historyBrowse files
docs(spec): notify recipients state the computed-address screen and email-field delivery the runtime now makes
The runtime half landed in d1e329e. A computed recipient that reads as
an address, in a node whose channels include `email`, now resolves to the
user who holds it or fails the node pointing to `{ emailField }`. An
email-field recipient is mailed, read from the stored trigger row, one
plain ASCII mailbox, at most 5 sends per address per hour, best-effort.
The describes, the union description, the docblock and the changeset now
say so, in place of the "planned" and "not live yet" sentences.
Claude-Session: https://claude.ai/code/session_01PC4NPXPgPmpDRG9DdDnyXT
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .changeset/25696-notify-recipients-describe.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,16 @@
2
2
'@objectstack/spec': minor
3
3
---
4
4
5
-
docs(spec): a `notify` node's `recipients` names an email address written out as an author constant, not an audience selector
5
+
docs(spec): a `notify` node's `recipients` names an email address written out as an author constant, not an audience selector, and states the computed-address and email-field behaviour the runtime makes
6
6
7
7
Clause-②: no
8
8
Metadata-protocol: semantic
9
9
Ruling-ref: 6386629237
10
10
11
-
The `recipients` text of a `notify` node config — its `describe()` (read by the reference docs and the JSON Schema), the union's description, and the sentence a refused `recipients` value leads with — now says what an email address in `recipients` means:
11
+
The `recipients` text of a `notify` node config now says what an email address in `recipients` means, and what the notify node does with one. That text is the field's `describe()` (which the reference docs and the JSON Schema read), the union's description, and the sentence a refused `recipients` value leads with.
12
12
13
-
-**Written out as a string, it is an author constant.**`recipients: 'ops@example.com'` is no audience selector: it is sent as written, to the user who holds that address, or else, on the `email` channel, to the address itself. Nothing about it changes; the text stopped calling it an audience selector. The audience selectors are the prefixed forms, such as `team:ID`.
14
-
-**An address a CEL envelope evaluates to is not one.** It resolves to the user who holds it. Failing the node on an address that no user holds, with a message pointing to `{ emailField }`, is **planned and not made yet**: until the runtime check lands, such an address is still handed to the messaging service as written, and the text says so rather than claim a refusal the runtime does not make.
13
+
-**Written out as a string, it is an author constant.**`recipients: 'ops@example.com'` is no audience selector. It is sent as written: to the user who holds that address, or else, on the `email` channel, to the address itself. Nothing about it changes; the text no longer calls it an audience selector. The audience selectors are the prefixed forms, such as `team:ID`.
14
+
-**An address a CEL envelope evaluates to is not one.** In a node whose `channels` include `email`, a computed recipient that reads as an address, bare or as `user:ADDRESS`, must belong to a user. One a user holds resolves to that user. One that no user holds fails the node, and the message points to `{ emailField }`. A node that does not name `email` (`inbox` alone, the default) mails nobody, so its computed recipients go to the messaging service as before. This is the current behaviour of the notify node; the channel scope is with the maintainer for confirmation.
15
+
-**`{ emailField }` is delivered.** The text no longer says delivery is not live. The address is read from the stored trigger record when the node runs. It must be one plain ASCII mailbox, or the node fails and nothing is sent. One address receives at most 5 such emails per hour; the limit is best-effort.
15
16
16
-
No key, shape, default or accepted value changes; everything that parsed still parses, and authored metadata needs no change.
17
+
No key, shape, default or accepted value changes. Everything that parsed still parses, and authored metadata needs no change.
0 commit comments