command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/library-lookups.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ all five agent verbs read the configured served commit through real queries (137.997898ms)
✔ each verb refuses missing universe and unknown keys before host work (75.842489ms)
✔ no library, missing host adapter and undeclared project refuse library-not-configured (159.428755ms)
✔ reads need the current holder on each call; human/tester/reader are not agents (92.228125ms)
✔ releasing a claim during an async lookup fences the response (50.952204ms)
✔ a business library removed during an async read cannot leak its result (44.780288ms)
✔ freshness boundary, unknown last fetch and failed fetch still use immutable served state (135.702947ms)
✔ an unreadable sync state fails closed; a busy sync keeps serving the existing pin (75.158136ms)
✔ a stale lookup sees the commit published by its sync, not the prior served commit (86.989494ms)
✔ real socket awaits lookup results and rechecks rejected query arguments (102.484989ms)
✔ runtime actually injects the lookup adapter, without exposing human library.file (156.865012ms)
ℹ tests 11
ℹ suites 0
ℹ pass 11
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1273.752824
