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 f6531cd
Browse filesBrowse the repository at this point in the historyBrowse files
Use NIP-AR as the webhook channel subscription source (#10097)
## Summary
Channel subscriptions now come exclusively from NIP-AR artifacts on the
community relay. The gateway reads the posting agent’s current rules
before fan-out. Caller-selected deliveries resolve their destination
directly from the payload.
This removes the private subscription management endpoints, the feature
flag, and the subscription table from the undeployed spike’s initial SQL
and declarative schema. Use a fresh gateway database when testing this
revision. The message outbox still persists signed events for retries.
### Related work
Follows #10011, which introduced relay-backed channel subscriptions.
### Testing
- All 80 gateway tests passed, including three PostgreSQL tests run
against separate fresh databases. The schema test checks that the
subscription table is absent.
- Local end-to-end tests exercised a real relay and a remote signer with
test identity and custody fixtures. Both routing modes produced one
signed kind-9 post after a duplicate webhook and a forced retry.
- Editing and deleting a live NIP-AR artifact changed which subsequent
deliveries matched. The retired private subscription PUT returned HTTP
404.
- Full local CI stopped at three parallel OAuth tests in `buzz-agent`.
The pre-push run also failed one `buzz-dev-mcp` path test. Both full
library suites passed serially (550 and 78 tests). The push reused those
results and the successful pre-push lanes.
Signed-off-by: Shu Hui <shu@squareup.com>
0 commit comments