runtime: outbox unico + relay-watcher (kill switch) + guard #28

Open
cayce wants to merge 1 commits from runtime/single-outbox-watcher into main
Owner

Ronda 7 punto 1. Un solo modulo outbox (imports absolutos, deploy.sh sin installs), relay-watcher cada 5 min (PUBLISH_OFF + DM + audit ante eventos sin aprobacion; excepciones metadata registrada), check single-outbox en el check diario. Probado: cazo 2 bypasses reales de kind0.

Ronda 7 punto 1. Un solo modulo outbox (imports absolutos, deploy.sh sin installs), relay-watcher cada 5 min (PUBLISH_OFF + DM + audit ante eventos sin aprobacion; excepciones metadata registrada), check single-outbox en el check diario. Probado: cazo 2 bypasses reales de kind0.
cayce added 1 commit 2026-11-02 00:41:57 +00:00
- outbox.mjs solo en /srv/cayce-core; daemon/social/mail/ops lo importan por ruta absoluta. deploy.sh ya no instala copias.
- relay-watcher.mjs: cada 5 min cruza eventos de la pubkey en 5 relays con outbound_drafts; sin aprobacion => PUBLISH_OFF + DM + audit. Probado: detecto 2 kind0 bypass reales (post-hoc registrados).
- guard R1-R8 (18 tests) + blocklist + check-single-outbox al check diario.
- stale duplicados archivados en forensics/scripts-archive-20261102 (nostr-daemon.mjs, dm-debug, publish-10050, dm-test2, find-followers).
Some required checks failed
ci / lint-test-leaks (pull_request) Failing after 3s
You are not authorized to merge this pull request.
This pull request can be merged automatically.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin runtime/single-outbox-watcher:runtime/single-outbox-watcher
git checkout runtime/single-outbox-watcher
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cayce/cayce-ops#28