298 lines
30 KiB
Plaintext
298 lines
30 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1216.705679ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (71.196392ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (142.283672ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (222.74153ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (51.690451ms)
|
||
✔ the app shows the same decide text as mosaic decide (24.430699ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (206.285027ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (68.007548ms)
|
||
✔ under 40 columns a tall terminal shows the too-small screen even where the decide box would fit; y sends nothing (Filbert N10) (287.531159ms)
|
||
✔ a hidden decide box names the way out, and the status line under it does not promise y (Filbert N12) (39.469377ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (22.815341ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (443.284103ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (55.477126ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (40.549312ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (56.460673ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (304.775736ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (9032.141795ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (67.858908ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (34.177216ms)
|
||
✔ help or a detail box cut to fit keeps its last line, Esc included (Dewey) (16.805982ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (85.718537ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (19.583648ms)
|
||
✔ no business: the app says so and :business picks one (11.293551ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (2.097053ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (190.980013ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.560812ms)
|
||
✔ decide with --note still asks; a No sends nothing (12.484979ms)
|
||
✔ the app's business comes from a live bus host only (1.03717ms)
|
||
✔ 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.919776ms)
|
||
✔ draw is pure: same state, same frame (0.75669ms)
|
||
✔ recordBootRefused keeps the last good load across refusals; recordBootOk clears the refusal (2.576636ms)
|
||
✔ an unknown key and a JSON syntax error each leave the bus down with the reason and path in the status (629.663232ms)
|
||
✔ a missing file is recorded too, and a valid file clears the status on the next start (438.720467ms)
|
||
✔ CLI off, absent and other-only channel selections refuse every project/thread flow before any effect (10.645558ms)
|
||
✔ CLI enabled project/thread lists dispatch through selection without changing output (1.195239ms)
|
||
✔ both channels off recover through the existing human CLI, socket and organization writer (1868.596669ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (18.710265ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (15.180538ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (12.563219ms)
|
||
✔ decide prints a declining choice as declining (10.841932ms)
|
||
✔ an unknown outcome is reported once and never resent (10.24943ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (10.786958ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (11.283957ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (11.598347ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (9.739257ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (10.464349ms)
|
||
✔ agents and tasks print through the broker (11.387165ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (1.212679ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (36.091491ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (57.661583ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (30.24038ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (29.425344ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (30.24178ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (59.259437ms)
|
||
✔ follow prints an unsolicited message after plain talk returned (38.990708ms)
|
||
✔ talk --follow continues after reply and prints a later unsolicited message (35.77912ms)
|
||
✔ inbox lists all unread human messages under decisions, does not deliver or read them (290.862355ms)
|
||
✔ follow refuses agent context and bad arguments (10.062854ms)
|
||
✔ follow Ctrl-C wakes the poll sleep and removes its handler; transport errors also clean up (11.034453ms)
|
||
✔ plain talk leaves the process SIGINT handlers unchanged (11.768705ms)
|
||
✔ empty views say so (0.619544ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (0.76062ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.131767ms)
|
||
✔ the review loop: the coder pushes and asks, the reviewer fetches and approves, and the task's trail holds each step (368.864988ms)
|
||
✔ refusals: no action, non-fast-forward, an unknown commit or request, and a push for another task moves only that task's ref (384.320414ms)
|
||
✔ the size cap refuses a push before any byte (186.373275ms)
|
||
✔ a fetch over the cap refuses before any byte reaches the reviewer (370.835673ms)
|
||
✔ the socket refuses a request with no capability, an unknown one, and a bad request line (200.614804ms)
|
||
✔ a rigged clone runs nothing: hooks, fsmonitor, a filter, a gitlink and a symlinked .git/config leave no marker (342.779188ms)
|
||
✔ an identity with no role, or of another business, refuses not-a-role and moves no ref (246.239828ms)
|
||
✔ a review of a project the business no longer has refuses unknown-project (231.442348ms)
|
||
✔ past maxActive connections the socket refuses git-busy, and a hung-up connection frees its slot (181.676811ms)
|
||
✔ close() answers host-closing to a connection still sending its request line (189.053771ms)
|
||
✔ a bundle that trickles in refuses body-timeout at its deadline and frees its slot (595.147266ms)
|
||
✔ a reviewer gone before its bundle was sent is filed fetch-aborted, not as the host's fault (466.548432ms)
|
||
✔ a reviewer that hangs up the moment it has the whole bundle was served, not aborted (554.517189ms)
|
||
✔ send: a close after every byte left is served; one that fails a queued write is fetch-aborted (43.007713ms)
|
||
✔ a bundle with no bytes for bodyIdle refuses body-timeout long before its deadline (487.571047ms)
|
||
✔ send: a close once the loop is past its last chunk is served, and a failed write there is fetch-aborted (45.452023ms)
|
||
✔ letGo waits for an answer to leave for at most its cap, then destroys the socket (300.698358ms)
|
||
✔ a record that fails and can't be undone refuses rollback-failed, which the host logs (328.773068ms)
|
||
✔ land: the squash runs the gate in its own worktree, then main moves and the broker records it (310.997651ms)
|
||
✔ land: an arbiter-resolved landing's squash says the arbiter resolved it through the broker (295.593135ms)
|
||
✔ land: refusals before the gate answer the role at once and leave main and no worktree (316.404999ms)
|
||
✔ land: a failed gate is refused gate-failed with its step, told to the role, and main stays (304.41581ms)
|
||
✔ land: a record the broker refuses moves main back, and the landing is refused with the broker's code (310.913183ms)
|
||
✔ land: a second landing while one runs refuses land-busy, and close() stops the gate and refuses host-closing (306.301801ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (873.281735ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (190.522666ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (119.289603ms)
|
||
✔ two bus starts racing for one data root leave one host running; the other refuses that a host already runs (553.651165ms)
|
||
✔ a host takes over a host.lock its dead host left, and puts back a live claim that replaced it meanwhile (1.873122ms)
|
||
✔ 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.821148ms)
|
||
✔ a live host's lock stays, however old the file is (0.591062ms)
|
||
✔ a host.lock left by a host killed with SIGKILL doesn't stop the next bus start (825.597089ms)
|
||
✔ while a host boots, a reader sees no host: the human commands still ask for --business, stop and status find none (246.246563ms)
|
||
✔ a host started before host.lock existed, holding only host.json, still refuses a second start, which leaves no lock (31.830887ms)
|
||
✔ a broker fork that throws leaves no host.lock and no host.json (32.439961ms)
|
||
✔ a broker send that throws leaves no host.lock and no host.json (35.108302ms)
|
||
✔ a broker that misses its boot wait leaves no host.lock and no host.json (37.799543ms)
|
||
✔ a notifier fork that throws stops the broker and leaves no host.lock and no host.json (153.1232ms)
|
||
✔ a notifier send that throws stops the broker and leaves no host.lock and no host.json (184.84711ms)
|
||
✔ 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 (129.514146ms)
|
||
✔ 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 (141.368567ms)
|
||
✔ a host.json that can't be written stops both children and leaves no host.lock (267.056773ms)
|
||
✔ an error event on the broker before it replies fails the start at once, and leaves no host.lock and no live child (33.629571ms)
|
||
✔ an error event on the notifier before it replies fails the start at once, and leaves no host.lock and no live child (126.494708ms)
|
||
✔ an error event on the broker while the notifier starts fails the start once the notifier replies (260.280851ms)
|
||
✔ 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 (251.585208ms)
|
||
✔ 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 (258.13756ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1129.510217ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (226.680977ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (107.758381ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (169.439208ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (165.797823ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (109.50077ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (165.578091ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (108.952048ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (179.564621ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (25.390859ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (203.776173ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (282.192627ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (104.975981ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (711.476101ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (58.13971ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (71.592577ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (12.757608ms)
|
||
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (8.766771ms)
|
||
✔ each launch rereads limits and model selections; lowered limits keep sessions and log exact hit (20.344954ms)
|
||
✔ bus start --pm: the launcher instance (the chief of staff) runs under its own PID namespace, registered, with a manifest (1224.444057ms)
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r0e0e7c94b1aa","instance":"chief","turn":"9f643c13-b0eb-4fd6-a162-8371b11f83a0","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r7a6a820c1ca6","instance":"coder","turn":"55f24474-eadd-46fe-a6c6-694712f75e30","source":"@none","code":"baseline-unknown"}
|
||
✔ the chief of staff launches a coder through its launch tool; the coder answers; refusals name their code (646.292389ms)
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r18ed9de0ccdb","instance":"chief","turn":"cbd32d21-26c5-4b61-8b4a-e0aaabdc5b57","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"rdb196da3cd60","instance":"pm","turn":"77703330-0c1d-4d25-941a-a06e45e56c2e","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r18ed9de0ccdb","instance":"chief","turn":"bcf2fd73-6a5e-4a88-a801-45642ead91b9","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"rdb196da3cd60","instance":"pm","turn":"6827796e-3bd6-4b0c-a0d5-9b1854cae004","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"rdb196da3cd60","instance":"pm","turn":"9a8dec5f-c82d-4509-a633-61645e05c61f","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r18ed9de0ccdb","instance":"chief","turn":"54cebb09-14b0-4d76-8cf2-8ee275897bd6","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"rdb196da3cd60","instance":"pm","turn":"191711ea-b8a0-4529-b715-007f3c52b389","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r18ed9de0ccdb","instance":"chief","turn":"3d5730a3-d5af-4861-bace-8ce1dbe83a65","source":"@none","code":"baseline-unknown"}
|
||
✔ a launched pm's request_staff reaches the chief of staff; no other session has the tool and the launch limits still hold (1048.791782ms)
|
||
✔ each launch makes sure the workspace has a clone of the project: cloned, fast-forwarded, or fetched and logged (3709.755165ms)
|
||
✔ a role the broker says holds a merge decision gets land_work, its prompt line and the git socket; without it, none (425.38515ms)
|
||
✔ a project clone that can't be made refuses checkout-failed, from --chief and from a session, with no run and no clone left (150.336958ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (221.392664ms)
|
||
✔ a Claude Code launch with no session credential refuses before it starts (119.232045ms)
|
||
✔ a pi launch needs no session credential: pi logs in through its own ENV_ALLOW variables (214.724225ms)
|
||
✔ a runner killed from the host ends its launch as killed, not failed (273.043433ms)
|
||
✔ a missing or failing bwrap refuses sandbox-unavailable before anything starts; there is no unconfined fallback (130.792744ms)
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r10f7a21e7944","instance":"chief","turn":"8838f3f8-1e8f-4f05-815c-168bc280326f","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"rc57053c55311","instance":"coder","turn":"3e41d4a2-0c59-4964-b0a7-9329db2eb3a9","source":"@none","code":"baseline-unknown"}
|
||
✔ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (1188.51506ms)
|
||
✔ 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 (717.804479ms)
|
||
✔ 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 (3671.854043ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (121.728796ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (124.286613ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (121.421875ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1245.551836ms)
|
||
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (5.616116ms)
|
||
✔ migration needs no bus/config, prints whole converted document, is idempotent and never writes (10.527587ms)
|
||
✔ limits view/set use the human bus transport and pass only the explicit patch (0.9855ms)
|
||
✔ post-119 example and Jason fixture migrate with checked inherited models; wrong or absent config refuses (169.308388ms)
|
||
✔ plugins view/set use the human bus transport and pass only the explicit patch (vikunja:19/305) (1.940387ms)
|
||
✔ inbox --read marks one message by the id inbox prints, delivered or not, and leaves the rest unread (26.373086ms)
|
||
✔ inbox --read refuses an id that is not the human's, prints its code, still marks the rest and exits 2 (17.541429ms)
|
||
✔ inbox --read refuses an ambiguous or short prefix, names every match, reads nothing for them and marks the rest (0.794777ms)
|
||
✔ inbox --read-all marks every message the inbox walk lists, delivered or not, and inbox then shows 0 unread (621.932236ms)
|
||
✔ inbox --read stops on an error that is not about one message (0.715242ms)
|
||
✔ inbox --read and --read-all refuse bad combinations; other verbs refuse them (10.084999ms)
|
||
✔ the human names an instance, lists it, and talk's message.send reaches it by that name (18.47822ms)
|
||
✔ name and names refuse the wrong number of arguments with the usage (9.699173ms)
|
||
✔ zoned uses the IANA zone across DST (11.679355ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (16.894154ms)
|
||
✔ two blocking decisions get two DMs with different nonces (11.395161ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.166209ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (11.854709ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (14.176986ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (20.140471ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (12.019626ms)
|
||
✔ 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 (112.140465ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (51.804573ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (13.950554ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (9.95565ms)
|
||
✔ an inbox read failure is logged and the next poll retries (0.79733ms)
|
||
✔ no Discord id reaches the journal or the log (10.261347ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (1.779847ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (1.91639ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (1.178359ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (0.412077ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (0.547627ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (1.807493ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.300857ms)
|
||
✔ 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.46103ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.375955ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (1.535846ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.262676ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (111.368392ms)
|
||
✔ a human command refused with human-required prints the other-tree line and exits 3 (2.081516ms)
|
||
✔ a --tester command refused with tester-required prints the other-tree line and exits 3 (0.778363ms)
|
||
✔ other exit-3 refusals print no other-tree line (1.102127ms)
|
||
✔ the line names no path (0.080429ms)
|
||
✔ project init/check use declared business repo and never contact the bus (111.983045ms)
|
||
✔ project commands validate args and refuse undeclared projects and agent init (29.538588ms)
|
||
✖ project create and list validate their arguments before any bus call (30.652555ms)
|
||
✔ project dispatcher reaches the human CLI (81.327311ms)
|
||
✔ shared copy: npm ci, pushed reachability, readonly/existing copy, webui delegation (394.435053ms)
|
||
✔ wrapper preserves Q81 lease and marker, rejects foreign/symlink; check uses effective roots (467.390131ms)
|
||
✔ bus unit copy/pm pins, install refuses all busy states and failed reads, drop-in refusal (463.090996ms)
|
||
✔ missing package manifest refuses before npm; npm failure removes the unpublished temp copy (312.307466ms)
|
||
✔ real pinned install loads bus and Console; same-copy mosaic talk passes proof, other trees refuse (3617.75045ms)
|
||
✔ bus status reads effective copy/pm/drop-ins without writes; check refuses an overridden ExecStart (488.20695ms)
|
||
✔ drop-ins in either override field and malformed metadata refuse; uninstall also checks --no-reload (183.592729ms)
|
||
✔ install never shows a template name on systemd 261; template drop-ins still refuse (184.732256ms)
|
||
✔ unlisted instance drop-in is found in another unit lookup directory; path discovery errors refuse (180.417225ms)
|
||
✔ inherited mosaic-.service.d override refuses without changing the unit (196.876141ms)
|
||
✔ inherited service.d override refuses without changing the unit (193.355468ms)
|
||
✔ inherited drop-in unreadable directory or file refuses before writing (179.784516ms)
|
||
✔ talk --tester sends a [mos test] message as tester from inside an agent and prints the role's reply (26.293139ms)
|
||
✔ talk --tester refuses text without the [mos test] prefix before any call (10.441131ms)
|
||
✔ the read verbs take --tester inside an agent, and the trail shows the tester as the sender (13.485519ms)
|
||
✔ decide, stop and launches take no --tester (9.174362ms)
|
||
✔ the tester transport runs tester-cli.mjs, and the tester's refusals exit 3 (0.314403ms)
|
||
✔ with no stand-in transport, --tester runs tester-cli.mjs on the data root's socket (0.469496ms)
|
||
✔ talk --tester to a stopped role says nobody is told to launch it (9.240366ms)
|
||
✔ REQ-CLI-1 project create and list work on the bus record and refuse what the broker refuses (22.009577ms)
|
||
✔ REQ-CLI-1 thread create, list, open and read (35.288925ms)
|
||
✔ REQ-CLI-1 thread read pages through every message, oldest first (240.067581ms)
|
||
✔ REQ-CLI-1 the business needs exactly one threaded instance to create a thread (21.120822ms)
|
||
✔ REQ-CLI-1 a thread is its id, an id prefix of 8 characters or more, or <project>/<name>; anything else is refused before any write (31.213557ms)
|
||
✔ REQ-CLI-2 REQ-THREAD-2 talk --thread sends to the thread and prints only the reply to it; the rest stays unread (24.438371ms)
|
||
✔ REQ-CLI-2 talk --thread --wait gives up with exit 1 and leaves the thread's messages unread (1025.352174ms)
|
||
✔ REQ-CLI-2 talk --thread --follow and follow --thread print and read only that thread's messages (66.148921ms)
|
||
✔ REQ-CLI-2 plain talk to the assistant asks for a thread and exits 2 without a write (15.187706ms)
|
||
✔ REQ-USER-2 a thread of another user is refused for talk, open, read and follow, and nothing is written (29.698205ms)
|
||
✔ REQ-CLI-1 the new verbs refuse inside an agent run, as every human verb does (7.956874ms)
|
||
usage: {"event":"usage-unknown","business":"acme","run":"ra3567db03976","instance":"assistant","turn":"e9633d1e-ff66-4c8b-8585-7494e2ebb0ed","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r70434fda2f97","instance":"assistant","turn":"38de4177-747b-48d1-8791-7d0a70bcc66b","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r07721185bc0d","instance":"assistant","turn":"14fca89a-5fe3-484f-b3a2-c5befb972e71","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"rda954b933850","instance":"assistant","turn":"68d1820a-db6d-4fb8-bd77-34768f678051","source":"@none","code":"baseline-unknown"}
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 REQ-MSG-1 a thread message starts the thread's session, which stops when idle; its history survives the stop and a restart and no other thread sees it (5478.187824ms)
|
||
usage: {"event":"usage-unknown","business":"acme","run":"rde78b898fab5","instance":"assistant","turn":"33b1f8b6-9966-4774-ab08-f5ca3a2eb8e4","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r519129511790","instance":"assistant","turn":"383c802c-1169-425f-b74c-b7dbfa67d873","source":"@none","code":"baseline-unknown"}
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 a running thread counts against its model's limit and an idle-stopped one doesn't (1610.966867ms)
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r94622d601cf8","instance":"assistant","turn":"0ac3d169-d82a-4c80-98df-17dfb03f60dd","source":"@none","code":"baseline-unknown"}
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 a turn longer than the idle time isn't stopped, and the thread idles out after it (4408.636677ms)
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r338ce7341acd","instance":"assistant","turn":"01dca9af-e81b-4530-b847-56aeafe43585","source":"@none","code":"baseline-unknown"}
|
||
usage: {"event":"usage-unknown","business":"acme","run":"r338ce7341acd","instance":"assistant","turn":"1c8db4dd-019e-488f-8d6f-4c70453318c8","source":"@none","code":"baseline-unknown"}
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 a message sent after the idle snapshot keeps the session, which answers it (2761.23053ms)
|
||
✔ REQ-ROLE-2 REQ-LAUNCH-1 a thread held by a run the launcher didn't start gets no second session (55.727575ms)
|
||
✔ REQ-LAUNCH-1 a run that ends without taking its thread's message isn't started again for that message (151.219771ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 a thread id that isn't a safe segment, or a thread of a non-thread instance, launches nothing (182.455196ms)
|
||
✔ REQ-THREAD-1 REQ-LAUNCH-1 the chief can't launch the assistant outside a thread (51.807434ms)
|
||
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 (279.952949ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (31.996284ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2137.83551ms)
|
||
✔ busExit and refuseInsideAgent (0.477821ms)
|
||
✔ REQ-LIMIT-4 mosaic usage shows each token kind and unknown turns beside every total (54.945882ms)
|
||
✔ usage is dispatched by scripts/mosaic and the shared read adapter (74.212006ms)
|
||
✔ talk sends a REQUEST, prints and reads only the reply to it, and leaves other messages unread (46.153268ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1024.090855ms)
|
||
✔ a late reply the Console has listed stays unread for mosaic inbox, and the next talk skips it (2040.152459ms)
|
||
✔ talk says when the role isn't running, whether launch.by was told, and how to start launch.by (27.719526ms)
|
||
✔ talk to a role launch.by can't launch says it isn't in the launch block (11.226414ms)
|
||
✔ talk to a stopped role prints the waiting line once, skips a non-reply and prints the reply (39.864878ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (10.896617ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (10.776477ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (10.298873ms)
|
||
ℹ tests 247
|
||
ℹ suites 0
|
||
ℹ pass 246
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 80468.177234
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/cli/tests/project.test.mjs:37:1
|
||
✖ project create and list validate their arguments before any bus call (30.652555ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||
|
||
3 !== 0
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack-rocko-164-r1/packages/cli/tests/project.test.mjs:49:10)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 3,
|
||
expected: 0,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|