✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1441.467369ms)
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (81.538081ms)
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (157.147271ms)
✔ NO_COLOR: no escape codes, except reverse video on the selected row (247.307745ms)
✔ 1-9 shows the decide flow's own lines and question; only y resolves (55.018139ms)
✔ the app shows the same decide text as mosaic decide (23.560729ms)
✔ any key but y or Y at the question answers No; nothing is sent (208.574837ms)
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (66.611093ms)
✔ under 40 columns a tall terminal shows the too-small screen even where the decide box would fit; y sends nothing (Filbert N10) (273.011414ms)
✔ a hidden decide box names the way out, and the status line under it does not promise y (Filbert N12) (37.061379ms)
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (22.966079ms)
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (411.35367ms)
✔ quitting at the question answers No and sends nothing, armed or not (41.61611ms)
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (39.032811ms)
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (55.961178ms)
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (461.737785ms)
✔ at every size the decide box shows each line y depends on, or says it is hidden (8432.399036ms)
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (65.298268ms)
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (30.081428ms)
✔ help or a detail box cut to fit keeps its last line, Esc included (Dewey) (14.943089ms)
✔ keys: views, moving, trail of a selection, the command line, help and quit (75.726602ms)
✔ one option: the status line says Press 1, not 1-1 (17.6928ms)
✔ no business: the app says so and :business picks one (8.542377ms)
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.703266ms)
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (170.756276ms)
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.416464ms)
✔ decide with --note still asks; a No sends nothing (9.301045ms)
✔ the app's business comes from a live bus host only (0.956849ms)
✔ runApp leaves the terminal as it found it on q, end of input, SIGTERM, SIGINT, SIGHUP and an error, the first frame's included (6.785331ms)
✔ draw is pure: same state, same frame (0.737795ms)
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (34.910427ms)
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (24.533356ms)
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (21.418979ms)
✔ decide prints a declining choice as declining (29.825758ms)
✔ an unknown outcome is reported once and never resent (18.58138ms)
✔ a decision closed before the answer arrives exits 2 and points at its trail (19.194614ms)
✔ a prefix that matches two open decisions exits 2 and resolves neither (19.682591ms)
✔ without --business a command uses the live host's business, and a stale host.json is not a host (16.518183ms)
✔ every human command refuses inside an agent run before it touches the bus (18.481159ms)
✔ usage errors exit 4; no business and no host is a usage error (18.829099ms)
✔ agents and tasks print through the broker (13.894834ms)
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (3.600305ms)
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (76.774062ms)
✔ trackers come from the tracker.* variables of the one project that names a tracker project (111.275283ms)
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (48.839222ms)
✔ two projects that each name a tracker project refuse, since the boot shape holds one (48.132486ms)
✔ a business without tracker.baseUrl gets no trackers entry (51.025449ms)
✔ an unknown business and a broken system config refuse with exit 3 (76.809324ms)
✔ follow prints an unsolicited message after plain talk returned (44.779154ms)
✔ talk --follow continues after reply and prints a later unsolicited message (39.932226ms)
✔ inbox lists all unread human messages under decisions, does not deliver or read them (364.024937ms)
✔ follow refuses agent context and bad arguments (8.695053ms)
✔ follow Ctrl-C wakes the poll sleep and removes its handler; transport errors also clean up (10.215659ms)
✔ plain talk leaves the process SIGINT handlers unchanged (11.041138ms)
✔ empty views say so (1.052182ms)
✔ the trail keeps the broker's order and names a decision's task without its rows (1.482052ms)
✔ tasks print the tracker fields the snapshot carries (0.333555ms)
✔ the review loop: the coder pushes and asks, the reviewer fetches and approves, and the task's trail holds each step (514.333431ms)
✔ refusals: no action, non-fast-forward, an unknown commit or request, and a push for another task moves only that task's ref (330.059886ms)
✔ the size cap refuses a push before any byte (149.032053ms)
✔ a fetch over the cap refuses before any byte reaches the reviewer (314.465261ms)
✔ the socket refuses a request with no capability, an unknown one, and a bad request line (163.19369ms)
✔ a rigged clone runs nothing: hooks, fsmonitor, a filter, a gitlink and a symlinked .git/config leave no marker (264.185233ms)
✔ an identity with no role, or of another business, refuses not-a-role and moves no ref (204.536972ms)
✔ a review of a project the business no longer has refuses unknown-project (202.280999ms)
✔ past maxActive connections the socket refuses git-busy, and a hung-up connection frees its slot (142.662751ms)
✔ close() answers host-closing to a connection still sending its request line (130.588407ms)
✔ a bundle that trickles in refuses body-timeout at its deadline and frees its slot (548.24908ms)
✔ a reviewer gone before its bundle was sent is filed fetch-aborted, not as the host's fault (446.071201ms)
✔ a reviewer that hangs up the moment it has the whole bundle was served, not aborted (685.235911ms)
✔ send: a close after every byte left is served; one that fails a queued write is fetch-aborted (41.785803ms)
✔ a bundle with no bytes for bodyIdle refuses body-timeout long before its deadline (467.062158ms)
✔ send: a close once the loop is past its last chunk is served, and a failed write there is fetch-aborted (24.55142ms)
✔ letGo waits for an answer to leave for at most its cap, then destroys the socket (300.757404ms)
✔ a record that fails and can't be undone refuses rollback-failed, which the host logs (346.699387ms)
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (959.210648ms)
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (156.656008ms)
✔ a second host for the same data root refuses with exit 3 while the first runs (83.683945ms)
✔ two bus starts racing for one data root leave one host running; the other refuses that a host already runs (478.724196ms)
✔ a host takes over a host.lock its dead host left, and puts back a live claim that replaced it meanwhile (1.37734ms)
✔ a host.lock that goes between the check and the read is tried again; one that can't be parsed still refuses as unreadable (0.739053ms)
✔ a live host's lock stays, however old the file is (0.504995ms)
✔ a host.lock left by a host killed with SIGKILL doesn't stop the next bus start (771.855752ms)
✔ while a host boots, a reader sees no host: the human commands still ask for --business, stop and status find none (216.602659ms)
✔ a host started before host.lock existed, holding only host.json, still refuses a second start, which leaves no lock (30.601827ms)
✔ a broker fork that throws leaves no host.lock and no host.json (39.573308ms)
✔ a broker send that throws leaves no host.lock and no host.json (32.02317ms)
✔ a broker that misses its boot wait leaves no host.lock and no host.json (33.474007ms)
✔ a notifier fork that throws stops the broker and leaves no host.lock and no host.json (94.141862ms)
✔ a notifier send that throws stops the broker and leaves no host.lock and no host.json (101.763979ms)
✔ a boot reply with no reader for the business refuses with exit 3 naming it, before the notifier starts, and leaves no host.lock and no live broker (97.013325ms)
✔ a boot reply with no reader for the business refuses with exit 3 naming it, with no notifier, and leaves no host.lock and no live broker (96.92904ms)
✔ a host.json that can't be written stops both children and leaves no host.lock (207.218842ms)
✔ an error event on the broker before it replies fails the start at once, and leaves no host.lock and no live child (92.454961ms)
✔ an error event on the notifier before it replies fails the start at once, and leaves no host.lock and no live child (152.82228ms)
✔ an error event on the broker while the notifier starts fails the start once the notifier replies (266.667135ms)
✔ an error event on the broker once the host is up stops the host with exit 1, and leaves no host.lock and no host.json (211.917687ms)
✔ an error event on the notifier once the host is up stops the host with exit 1, and leaves no host.lock and no host.json (195.385678ms)
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1089.57928ms)
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (189.886761ms)
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (93.770546ms)
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (152.821995ms)
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (141.681556ms)
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (86.9077ms)
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (140.458798ms)
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (93.680669ms)
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (168.158495ms)
✔ watchChildren reports a child that died before it was called, and one that dies later (28.306748ms)
✔ bus stop refuses to signal a live pid that is not a bus host (202.298384ms)
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (277.181991ms)
✔ bus start refuses with exit 3 without a notifier config (118.516282ms)
✔ bus start runs until bus stop; status reports it while it runs (722.642531ms)
✔ bus-service.sh renders the unit and installs it into a given directory (54.304474ms)
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (62.637745ms)
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (12.533478ms)
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (8.066786ms)
✔ each launch rereads limits and model selections; lowered limits keep sessions and log exact hit (51.231981ms)
✔ bus start --pm: the launcher instance (the chief of staff) runs under its own PID namespace, registered, with a manifest (1306.190286ms)
✔ the chief of staff launches a coder through its launch tool; the coder answers; refusals name their code (528.849205ms)
✔ each launch makes sure the workspace has a clone of the project: cloned, fast-forwarded, or fetched and logged (3585.17238ms)
✔ a project clone that can't be made refuses checkout-failed, from --chief and from a session, with no run and no clone left (129.846817ms)
✔ a runner that stops at once ends its launch with the runner's reason (215.48375ms)
✔ a Claude Code launch with no session credential refuses before it starts (110.21756ms)
✔ a pi launch needs no session credential: pi logs in through its own ENV_ALLOW variables (181.263081ms)
✔ a runner killed from the host ends its launch as killed, not failed (251.379059ms)
✔ a missing or failing bwrap refuses sandbox-unavailable before anything starts; there is no unconfined fallback (110.783031ms)
✔ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (1218.591944ms)
✔ 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 (626.099572ms)
✔ 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 (3570.651695ms)
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (89.807687ms)
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (93.737954ms)
✔ a launch client that never closes its side doesn't hold the host's close (92.118422ms)
✔ a runner that ignores SIGTERM is killed when the host closes (1211.545787ms)
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (4.248334ms)
✔ migration needs no bus/config, prints whole converted document, is idempotent and never writes (17.626632ms)
✔ limits view/set use the human bus transport and pass only the explicit patch (2.099069ms)
✔ post-119 example and Jason fixture migrate with checked inherited models; wrong or absent config refuses (299.777968ms)
✔ zoned uses the IANA zone across DST (24.129137ms)
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (34.970589ms)
✔ two blocking decisions get two DMs with different nonces (28.529497ms)
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.357527ms)
✔ a failed DM is journaled, backs off, and is retried until it lands (25.953138ms)
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (30.944661ms)
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (27.991172ms)
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (22.535598ms)
✔ 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 (133.397194ms)
✔ a restart after the second refusal does not send before that refusal's 30 min are up (50.102045ms)
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (13.529563ms)
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (10.507222ms)
✔ an inbox read failure is logged and the next poll retries (0.759151ms)
✔ no Discord id reaches the journal or the log (11.542125ms)
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (2.481071ms)
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (2.908404ms)
✔ the journal: a whole file that is one torn line truncates to empty (1.63057ms)
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (0.504103ms)
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (2.439423ms)
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (2.599354ms)
✔ the journal: a symlinked directory refuses and says it is a link (0.371551ms)
✔ the journal: a dangling directory link, a parent that is a file and a journal that is a directory each refuse with exit 3 (0.489656ms)
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.387045ms)
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.45388ms)
✔ digest content stays within Discord's 2000 characters (0.315004ms)
✔ runLoop never overlaps ticks and stops after the one in flight (111.708167ms)
✔ a human command refused with human-required prints the other-tree line and exits 3 (3.464728ms)
✔ a --tester command refused with tester-required prints the other-tree line and exits 3 (1.459768ms)
✔ other exit-3 refusals print no other-tree line (2.368433ms)
✔ the line names no path (0.18329ms)
✔ shared copy: npm ci, pushed reachability, readonly/existing copy, webui delegation (582.156024ms)
✔ wrapper preserves Q81 lease and marker, rejects foreign/symlink; check uses effective roots (428.100659ms)
✔ bus unit copy/pm pins, install refuses all busy states and failed reads, drop-in refusal (434.091801ms)
✔ missing package manifest refuses before npm; npm failure removes the unpublished temp copy (293.322969ms)
✔ real pinned install loads bus and Console; same-copy mosaic talk passes proof, other trees refuse (3550.281634ms)
✔ bus status reads effective copy/pm/drop-ins without writes; check refuses an overridden ExecStart (498.870008ms)
✔ drop-ins in either override field and malformed metadata refuse; uninstall also checks --no-reload (194.745712ms)
✔ install never shows a template name on systemd 261; template drop-ins still refuse (163.826816ms)
✔ unlisted instance drop-in is found in another unit lookup directory; path discovery errors refuse (163.78909ms)
✔ inherited mosaic-.service.d override refuses without changing the unit (195.117471ms)
✔ inherited service.d override refuses without changing the unit (189.749972ms)
✔ inherited drop-in unreadable directory or file refuses before writing (165.591312ms)
✔ talk --tester sends a [mos test] message as tester from inside an agent and prints the role's reply (39.873223ms)
✔ talk --tester refuses text without the [mos test] prefix before any call (21.406982ms)
✔ the read verbs take --tester inside an agent, and the trail shows the tester as the sender (26.94186ms)
✔ decide, stop and launches take no --tester (19.977975ms)
✔ the tester transport runs tester-cli.mjs, and the tester's refusals exit 3 (0.441629ms)
✔ with no stand-in transport, --tester runs tester-cli.mjs on the data root's socket (0.792132ms)
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 (352.89883ms)
✔ the transport writes {business, verb, args} to the child and reads its JSON (47.224346ms)
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2236.872648ms)
✔ busExit and refuseInsideAgent (0.472514ms)
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (65.877724ms)
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1026.24375ms)
✔ a late reply the Console has listed still reaches the next talk (2033.328162ms)
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (13.209854ms)
✔ launches off and on go to the broker and change the business's launch state (13.145754ms)
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (11.534588ms)
ℹ tests 195
ℹ suites 0
ℹ pass 195
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 13491.102048
