command: ["timeout", "-k", "10", "1800", "node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/access.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/s4G6iY
begin: {"utc": "2026-10-24T21:31:52.859+00:00", "load1": "2.77"}
launch nice: 19
✔ list prints the revision and the users (30.884889ms)
✔ grant writes one revision up, a receipt line, and the id in the file (53.432378ms)
✔ a viewer grant writes the viewer level, one revision up (49.096379ms)
✔ a second write appends a second receipt and leaves the first intact (101.603945ms)
✔ a stale revision refuses with revision-conflict and writes nothing (83.940791ms)
✔ a live holder's lock refuses and leaves the file and the lock alone (26.646541ms)
✔ an empty or unreadable lock refuses, since its holder may still be writing (48.38942ms)
✔ a lock left by a dead pid refuses, names the pid, and is not reclaimed (44.806221ms)
✔ a failed rename leaves the old bytes, removes the temp file, and writes no receipt (27.622276ms)
✔ a group-writable access file refuses with exit 3, names the file, and changes nothing (25.675821ms)
✔ an agent or tester caller is refused before the context or the access file is read (1.123585ms)
✔ the lock is mode 0600 while held and removed after a refused write (25.901843ms)
✔ a grant naming an unknown instance is refused before any write (28.872833ms)
✔ a project name resolves to its id at grant time (70.593649ms)
✔ an unknown project name refuses before any write (27.132406ms)
✔ revoke removes the user's grants and leaves a revision behind (102.987012ms)
✔ revoke of a user with no grant refuses and writes nothing (26.453788ms)
✔ an agent caller is refused before the bus is asked (0.841163ms)
✔ --tester is refused on every verb before the bus is asked (0.974632ms)
✔ a bus that refuses the human proof blocks the write (29.972291ms)
✔ the context reads console.sso subjects and the business files, and peers stay empty (7.670929ms)
✔ the real human-cli, run from agent ancestry, refuses and writes nothing (5144.734757ms)
✔ T1 user add writes the user one revision up, prints it and appends a user.add receipt (30.211574ms)
✔ T2 a bad user add refuses before any write (330.199967ms)
✔ T3 user remove of a user with no grant drops them one revision up, with a user.remove receipt (25.778981ms)
✔ T4 user remove refuses with user-has-grants while the user holds a grant, and writes nothing (75.914593ms)
✔ T5 user remove of an id not in the file refuses and writes nothing (24.019065ms)
✔ T6 a stale revision refuses both user verbs with revision-conflict (50.984347ms)
✔ T7 --tester and an agent caller are refused on both user verbs before the bus is asked (1.193819ms)
✔ T8 a user verb of the wrong shape prints the help (0.907517ms)
✔ T9 a bus that refuses the human proof blocks both user verbs (51.964775ms)
✔ R4 grant and revoke call access.reload after the write, and nothing else does (149.163477ms)
✔ R4 a refused access.reload after a good write exits 0, stdout reports the write, stderr names the code and the 30 s timer (49.394655ms)
✔ R4 the help keeps the provider-removal order and says what a refused reload means (0.831348ms)
ℹ tests 34
ℹ suites 0
ℹ pass 34
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 6879.396434
