mirror of
https://github.com/block/buzz.git
synced 2026-11-30 21:21:48 +00:00
## Summary Follow-up to #9912. Specification only: closes four gaps in NIP-SL and the NIP-FI "Deferred actions" section. **NIP-SL** - A send-later status (`kind:30361`) is the relay's record of how a scheduled send ended: `sent`, `failed`, `missed` or `cancelled`. It is how the author's client learns the outcome, since the relay posts the message while the client may be offline. The relay signs each status with its NIP-11 `self` key, which NIP-11 makes optional. A relay now serves the `send_later` descriptor only with a `self` key and keeps that key while a status signed with it is readable. A client treats the descriptor as absent when `self` is missing or malformed, and reads the NIP-11 document again, once per key, when a status is signed with another key. Without this, a relay with no `self` or a rotated one makes clients reject these statuses, and a failed send whose text is still retained reads as pending. - An agent admitted through its owner could schedule past the time bound of the NIP-OA `auth` tag that proved the owner, by leaving the tag off the message. The `created_at` conditions of that tag now hold at `T`, and an `auth` tag on the message names the stored owner. - Deleting an instruction covers the instruction's copy of the message, so the wording no longer reads as covering the posted event. **NIP-FI** - An admission's time is read no later than its deny-set check, and the connection's lifetime counts from that time. Otherwise an admission that checked the deny set just before a disconnect committed could be stamped after `recorded_at` and stay unfenced. ### Related issue Follow-up to #9912. ### Testing Documentation only. `git diff --check` passes and the section links in NIP-SL resolve. To review: read the diff; each change is one or two sentences. --------- Signed-off-by: Kalvin Chau <kalvin@block.xyz> Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>