✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1673.410949ms)
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (82.440573ms)
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (196.160942ms)
✔ NO_COLOR: no escape codes, except reverse video on the selected row (286.462458ms)
✔ 1-9 shows the decide flow's own lines and question; only y resolves (167.836473ms)
✔ the app shows the same decide text as mosaic decide (97.685135ms)
✔ any key but y or Y at the question answers No; nothing is sent (1182.186682ms)
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (461.03673ms)
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (115.577359ms)
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (846.047328ms)
✔ quitting at the question answers No and sends nothing, armed or not (230.178383ms)
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (136.542143ms)
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (112.42533ms)
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (908.285447ms)
✔ at every size the decide box shows each line y depends on, or says it is hidden (11834.654425ms)
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (260.84321ms)
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (215.873188ms)
✔ keys: views, moving, trail of a selection, the command line, help and quit (500.325643ms)
✔ one option: the status line says Press 1, not 1-1 (134.119457ms)
✔ no business: the app says so and :business picks one (85.34718ms)
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.549331ms)
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (181.832308ms)
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.714608ms)
✔ decide with --note still asks; a No sends nothing (85.137918ms)
✔ the app's business comes from a live bus host only (1.107905ms)
✔ runApp leaves the terminal as it found it on q, end of input, SIGTERM, SIGINT, SIGHUP and an error, the first frame's included (7.871332ms)
✔ draw is pure: same state, same frame (0.940144ms)
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (118.883379ms)
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (124.388544ms)
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (116.404965ms)
✔ decide prints a declining choice as declining (110.381547ms)
✔ an unknown outcome is reported once and never resent (95.061928ms)
✔ a decision closed before the answer arrives exits 2 and points at its trail (103.931272ms)
✔ a prefix that matches two open decisions exits 2 and resolves neither (97.965957ms)
✔ without --business a command uses the live host's business, and a stale host.json is not a host (89.12093ms)
✔ every human command refuses inside an agent run before it touches the bus (95.813626ms)
✔ usage errors exit 4; no business and no host is a usage error (92.87798ms)
✔ agents and tasks print through the broker (81.54836ms)
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (1.352666ms)
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (73.690253ms)
✔ trackers come from the tracker.* variables of the one project that names a tracker project (92.406068ms)
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (43.641582ms)
✔ two projects that each name a tracker project refuse, since the boot shape holds one (49.46238ms)
✔ a business without tracker.baseUrl gets no trackers entry (45.89956ms)
✔ an unknown business and a broken system config refuse with exit 3 (111.307457ms)
✔ empty views say so (1.476436ms)
✔ the trail keeps the broker's order and names a decision's task without its rows (1.8302ms)
✔ tasks print the tracker fields the snapshot carries (0.421406ms)
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (1036.922051ms)
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (284.848868ms)
✔ a second host for the same data root refuses with exit 3 while the first runs (218.319085ms)
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1203.91489ms)
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (406.172536ms)
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (251.846781ms)
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (264.617581ms)
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (226.054405ms)
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (168.913338ms)
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (216.583026ms)
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (168.431042ms)
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (262.610597ms)
✔ watchChildren reports a child that died before it was called, and one that dies later (31.048136ms)
✔ bus stop refuses to signal a live pid that is not a bus host (203.811843ms)
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (286.158484ms)
✔ bus start refuses with exit 3 without a notifier config (127.821958ms)
✔ bus start runs until bus stop; status reports it while it runs (814.138214ms)
✔ bus-service.sh renders the unit and installs it into a given directory (59.324083ms)
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (76.72669ms)
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (21.974109ms)
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (12.961002ms)
✔ bus start --pm: the PM runs under its own PID namespace, registered, with a manifest (1339.102936ms)
✔ the PM launches a coder through its launch tool; the coder answers; refusals name their code (743.682747ms)
✔ a runner that stops at once ends its launch with the runner's reason (259.151979ms)
✔ a host that died hard leaves its sessions to the next host, which kills them and ends their runs so the role can be launched again (847.132648ms)
✔ a host that died hard leaves its sessions to the next host, which finds one already exited (23) and ends their runs so the role can be launched again (3872.561901ms)
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (181.12886ms)
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (179.839447ms)
✔ a launch client that never closes its side doesn't hold the host's close (174.340008ms)
✔ a runner that ignores SIGTERM is killed when the host closes (1296.82585ms)
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (6.622259ms)
✔ zoned uses the IANA zone across DST (27.29447ms)
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (127.300238ms)
✔ two blocking decisions get two DMs with different nonces (125.569035ms)
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.274918ms)
✔ a failed DM is journaled, backs off, and is retried until it lands (109.506177ms)
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (103.838398ms)
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (110.85142ms)
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (101.0714ms)
✔ polled every POLL_MS against a permanent 403, a DM is sent at 0, 30, 60, 90 and 120 min and gives up only then (180.107464ms)
✔ a restart after the second refusal does not send before that refusal's 30 min are up (136.551252ms)
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (115.17664ms)
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (97.775802ms)
✔ an inbox read failure is logged and the next poll retries (0.859233ms)
✔ no Discord id reaches the journal or the log (101.42341ms)
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (25.964237ms)
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (34.324809ms)
✔ the journal: a whole file that is one torn line truncates to empty (19.565659ms)
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (1.961214ms)
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (1.168092ms)
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (12.959481ms)
✔ the journal: a symlinked directory refuses and says it is a link (0.864183ms)
✔ the journal: a dangling directory link, a parent that is a file and a journal that is a directory each refuse with exit 3 (1.347884ms)
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.795563ms)
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.940249ms)
✔ digest content stays within Discord's 2000 characters (0.497644ms)
✔ runLoop never overlaps ticks and stops after the one in flight (111.669611ms)
task.close {} answered: invalid-request; fake saw 18 requests, first GET /info 200, GET /projects/1 200, GET /projects/1/views 200
task.close on a missing task answered: task-not-found; it made GET /tasks/999 404
✔ bootConfig trackers reach the S3 adapter in the real broker child, which goes ready against a fake Vikunja (480.312515ms)
✔ the transport writes {business, verb, args} to the child and reads its JSON (56.059311ms)
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2210.523424ms)
✔ busExit and refuseInsideAgent (0.501162ms)
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (210.496829ms)
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1130.454413ms)
✔ a late reply the Console has listed still reaches the next talk (2147.440955ms)
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (104.67927ms)
✔ launches off and on go to the broker and change the business's launch state (117.073492ms)
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (104.944973ms)
ℹ tests 115
ℹ suites 0
ℹ pass 115
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 19972.560678
