command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/messaging.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ the assistant sends to the user and to the chief of staff only (41.993409ms)
✔ an assistant send to any other role, or to the tester, is refused and logged (43.121841ms)
✔ only the user and the chief of staff may send to the assistant; the tester is refused by default (39.584296ms)
✔ REQ-ASSIST-2 REQ-THREAD-1 thread.send to an instance that does not hear from the user is refused and stores nothing (31.285133ms)
✔ a sender-side list alone refuses a send to a role that has no list (34.479897ms)
✔ a target-side list alone refuses a send from a role that has no list (35.130953ms)
✔ the sender list is checked before the target list (31.657428ms)
✔ roles without the field behave exactly as before (45.092982ms)
✔ a business with no role definitions at all is unlimited (40.831591ms)
✔ a malformed messaging field refuses at boot (15.511551ms)
✔ the assistant's review.request to a reviewer is refused and logged, even with an approved decision (38.211668ms)
✔ a review.verdict to the assistant from a role outside its receiveFrom is refused and logged (43.53497ms)
✔ review requests and verdicts between roles without the field are unchanged (33.169693ms)
ℹ tests 13
ℹ suites 0
ℹ pass 13
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 564.335441
