Bifrost/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 417454c28f Watchdog notice reader: Idunn incidents become owner DMs through Bifrost's own journal
tools/watchdog-notice.mjs is a one-shot reader. It reads Idunn's incident
store unlocked with SingleFileMessagePackBackingStore.pullAll, sends one opening
and one closing DM per incident through bifrost-bridge.mjs, and keeps a
bifrost.watchdog_notice_execution.v1 journal: a running entry becomes unknown
and is never re-posted, a failed one is retried with the same nonce up to five
times, terminal entries are pruned once Idunn retires the incident. The exit
status is the delivery-failure signal.

discord-dm accepts --nonce (at most 25 chars) and sends nonce with
enforce_nonce so a retry inside Discord's window returns the original message.

The tests run the CLI against the store bytes Idunn wrote (fixture from
GameCult/Idunn 7f7528b3) with a counting bridge double, and once through the
real bridge with fetch stubbed. docs/watchdog-notice.md states the CultLib
>= 8cb3b728 floor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-09-30 21:15:18 +02:00
..
Bifrost.Web.Tests Delete Epiphany operator bridge 2026-08-22 06:16:39 +02:00
fixtures Watchdog notice reader: Idunn incidents become owner DMs through Bifrost's own journal 2026-09-30 21:15:18 +02:00
cultmesh-bridge-commands.test.mjs Bifrost pump: one verb, one path; refuse anything else with a failed receipt 2026-09-30 16:59:51 +02:00
persona-discord-crossing-rust-smoke.test.mjs Bifrost suite: drop the hard-coded CARGO_TARGET_DIR override from the Rust fixture tests 2026-09-30 17:16:55 +02:00
persona-discord-delivery.test.mjs Bifrost suite: load @gamecult/cultcache-ts; skip Rust fixture tests with a stated reason 2026-09-30 17:16:39 +02:00
persona-discord-permit.test.mjs persona: align permit bodies with Rust wire tuples 2026-08-08 21:15:57 +01:00
persona-discord-rudp-cross-language.test.mjs Bifrost suite: drop the hard-coded CARGO_TARGET_DIR override from the Rust fixture tests 2026-09-30 17:16:55 +02:00
persona-feedback-cli.test.mjs Bifrost suite: load @gamecult/cultcache-ts; skip Rust fixture tests with a stated reason 2026-09-30 17:16:39 +02:00
persona-feedback-idunn-health.test.mjs Prove signed health transport identity 2026-07-22 02:53:44 +01:00
watchdog-notice.test.mjs Watchdog notice reader: Idunn incidents become owner DMs through Bifrost's own journal 2026-09-30 21:15:18 +02:00