Bifrost/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens a8c3ecf495 Vote budgets: monotonic windows, a key cap, 30 mints an hour and a readable 429
FixedWindowBudget times windows on the clock's monotonic timestamps so a wall-clock
step cannot stretch or reset one, expires windows from a start-ordered queue instead
of a periodic sweep, and holds at most MaxTrackedKeys keys: a new key at the cap is
denied with the true wait and a held key is never evicted. MintPermits is 30 per hour
per the operator ruling, and a 429 now carries a plain-text reason; a refused new
device is told it can sign in. Not yet built or tested at this commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 17:32:01 +02:00
..
Bifrost.Web.Tests Vote budgets: monotonic windows, a key cap, 30 mints an hour and a readable 429 2026-10-11 17:32:01 +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
fake-clock.mjs Watchdog notice reader: a future stamp is eligible now; no production clock seam 2026-10-01 02:19:01 +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 test: status reads the same fake clock as the runs 2026-10-01 02:25:13 +02:00