✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (98.278528ms)
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (125.163588ms)
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (92.707937ms)
✔ decide prints a declining choice as declining (95.741332ms)
✔ an unknown outcome is reported once and never resent (81.962323ms)
✔ every human command refuses inside an agent run before it touches the bus (45.953551ms)
✔ usage errors exit 4; no business and no host is a usage error (46.449623ms)
✔ agents and tasks print through the broker (83.023299ms)
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (7.967045ms)
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (64.626568ms)
✔ trackers come from the tracker.* variables of the one project that names a tracker project (50.171832ms)
✔ two projects that each name a tracker project refuse, since the boot shape holds one (42.368165ms)
✔ a business without tracker.baseUrl gets no trackers entry (42.066317ms)
✔ an unknown business and a broken system config refuse with exit 3 (78.66042ms)
✔ empty views say so (1.355696ms)
✔ the trail keeps the broker's order and names a decision's task without its rows (1.687364ms)
✔ tasks print the tracker fields the snapshot carries (0.278509ms)
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (979.495158ms)
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (224.208015ms)
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (228.13232ms)
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (272.223452ms)
✔ bus start refuses with exit 3 without a notifier config (120.733662ms)
✔ bus start runs until bus stop; status reports it while it runs (771.564129ms)
✔ bus-service.sh renders the unit and installs it into a given directory (50.72064ms)
✔ zoned uses the IANA zone across DST (24.109218ms)
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (103.574053ms)
✔ a failed DM is journaled, backs off, and is retried until it lands (91.244207ms)
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (95.320613ms)
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (80.705267ms)
✔ an inbox read failure is logged and the next poll retries (0.857406ms)
✔ no Discord id reaches the journal or the log (93.864798ms)
✔ the journal: a torn last line is skipped, a malformed line or a loose mode refuses (1.377894ms)
✔ digest content stays within Discord's 2000 characters (0.386801ms)
✔ runLoop never overlaps ticks and stops after the one in flight (110.566277ms)
✔ the transport writes {business, verb, args} to the child and reads its JSON (45.086525ms)
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2187.431879ms)
✔ busExit and refuseInsideAgent (0.520981ms)
ℹ tests 37
ℹ suites 0
ℹ pass 37
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2803.844436
