Bifrost/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens c29c5d1a4e
Some checks failed
Publish Container / Build and publish Bifrost image (push) Has been cancelled
persona matrix mouth: a delivery's context is read from Matrix, not remembered
The per-room in-memory history map is gone: a restart emptied it and /sync resumed from the
cursor, so every room (a DM first) lost its past. When a delivery is built the mouth now reads
the room's timeline from the homeserver as that Persona (GET /messages dir=b, or the thread's
root plus /relations m.thread for a threaded message), keeps m.room.message from everyone
including her own, oldest first, ending before the delivered event. Newest lines are kept to a
16 KiB byte budget (each clipped to limits.contextBytes), at most the 20 lines the delivery
tuple carries. One fetch per room or thread per sync round. A failed fetch gives empty context
and a redacted log line; the delivery still goes out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 05:10:57 +01:00
..
Bifrost.Web.Tests Logout tests: pin the loop's own tick-failure catch now that subject faults are isolated 2026-10-28 01:57:31 +01:00
fixtures mouth-all-personas: one Matrix mouth serves every Persona; deliveries carry mentions and is_direct, refusals are typed; same-server DM invites accepted; the ring is deleted (Persona turns are the heartbeat's) (squash of eureka-body/mouth-all-personas 7b63031..5b628e2; Soul s1-s3) 2026-10-30 02:49:59 +01: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-feedback-cli.test.mjs persona-mouth: Matrix ear and mouth for Personas (brake-refusing sends, token only in the Authorization header, cursor after ack, one ring per idle window); delete the Discord posting actuator (squash of eureka-body/persona-mouth 1894f65..ab2bdc6; Soul s1) 2026-10-29 19:41:30 +01:00
persona-feedback-idunn-health.test.mjs Prove signed health transport identity 2026-07-22 02:53:44 +01:00
persona-matrix-mouth-runtime.test.mjs persona matrix mouth: one session per client on the many-peer RUDP server; every request answered on the connection it arrived on 2026-10-31 01:51:57 +01:00
persona-matrix-mouth.test.mjs persona matrix mouth: a delivery's context is read from Matrix, not remembered 2026-10-31 05:10:57 +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