command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/rooms.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ room.open sorts all threaded instances, creates defaults, and reuses caller-owned threads (36.614633ms)
✔ room.open preflights instance collisions atomically (17.304098ms)
✔ room.open preflights owner collisions atomically (16.079724ms)
✔ room verbs require the human, and none is a tester verb (21.707989ms)
✔ room verbs refuse missing projects and zero member businesses (32.083555ms)
✔ send/read refuse a missing canonical member without effects (17.404496ms)
✔ send/read refuse a foreign-owner canonical member without effects (17.90246ms)
✔ send/read refuse a wrong-instance canonical member without effects (22.449594ms)
✔ room.send targets a key, broadcasts without tags, and preserves original text and ordinary route/input rows (20.796721ms)
✔ current display names and repeated tags resolve once; a replaced display name is unknown (29.2526ms)
✔ a legacy name colliding with another member key is ambiguous; its own key resolves once (28.630448ms)
✔ unknown or non-member addressees and tags-only bodies leave no message effects (24.46772ms)
✔ messaging denial on the last target rolls back the entire broadcast; allowed subset still works (17.635664ms)
✔ a clearing last member fences the whole send; another active target still accepts (23.555513ms)
✔ room.read groups one send, pages by the last grouped id, and rejects foreign or absent cursors (43.300172ms)
✔ room.read keeps identical sends at the same timestamp separate and includes every session (35.058643ms)
✔ room.read defaults and caps the number of merged entries, not recipient rows (556.160658ms)
✔ room.read includes an agent reply with its thread and instance without merging it with human rows (24.74217ms)
ℹ tests 18
ℹ suites 0
ℹ pass 18
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1075.663431
