command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/publish.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ a raise with no recorded push refuses no-push; a raise binds the latest push and shows it (41.555988ms)
✔ happy path: the fork is the upstream repo under the agent's own user, the destination is host-built (24.331189ms)
✔ a hard wait: no decision refuses, and a decision for another task refuses (23.035101ms)
✔ r4 B4: approve while the latest push is A, push B, publish refuses decision-mismatch (48.316791ms)
✔ grant and fork refusals (45.720037ms)
✔ remote-not-fork, compared without case, and remote-host-mismatch, at push (87.581486ms)
✔ two agents granted one project each get their own fork (42.93137ms)
✔ the request cannot name the fork, the user or the destination (20.753ms)
✔ one decision, one open publish: a second ticket refuses publish-busy, whatever its branch (49.437518ms)
✔ publishRefused files the code on the task's trail and drops the ticket (24.313389ms)
✔ git.push.remote is in neither ROUTED list and no shipped role grants it (0.86571ms)
✔ runtime: withGitea keys from the open ticket only, and the store root is the organization dir (104.414086ms)
✔ the bus process answers the publish ops from their own lines, not launch-op-refused (174.395717ms)
ℹ tests 13
ℹ suites 0
ℹ pass 13
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 767.321648
