Round 1 is a code and test review and won't land. land-work fails at BASE on the read.mjs 3b pin, which row 49 removes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
213 lines
21 KiB
Plaintext
213 lines
21 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1246.873903ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (61.567672ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (150.156535ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (216.934693ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (430.867165ms)
|
||
✔ the app shows the same decide text as mosaic decide (476.311017ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (2953.266487ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (617.527463ms)
|
||
✔ under 40 columns a tall terminal shows the too-small screen even where the decide box would fit; y sends nothing (Filbert N10) (1599.888439ms)
|
||
✔ a hidden decide box names the way out, and the status line under it does not promise y (Filbert N12) (103.362486ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (115.205025ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (841.841387ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (295.833505ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (202.282524ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (157.522528ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (1067.837647ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (7992.253745ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (157.438938ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (120.188453ms)
|
||
✔ help or a detail box cut to fit keeps its last line, Esc included (Dewey) (81.125784ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (257.555738ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (125.280449ms)
|
||
✔ no business: the app says so and :business picks one (63.824846ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.936579ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (169.969962ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.415076ms)
|
||
✔ decide with --note still asks; a No sends nothing (65.803746ms)
|
||
✔ the app's business comes from a live bus host only (1.09917ms)
|
||
✔ 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.085826ms)
|
||
✔ draw is pure: same state, same frame (0.718226ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (173.131372ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (134.224267ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (102.89139ms)
|
||
✔ decide prints a declining choice as declining (136.486447ms)
|
||
✔ an unknown outcome is reported once and never resent (165.513514ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (318.896952ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (308.156029ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (116.030648ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (269.723462ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (127.144777ms)
|
||
✔ agents and tasks print through the broker (653.340666ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (1.125765ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (65.672954ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (81.672462ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (38.236156ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (36.768001ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (33.921232ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (75.421272ms)
|
||
✔ follow prints an unsolicited message after plain talk returned (240.876411ms)
|
||
✔ talk --follow continues after reply and prints a later unsolicited message (194.284352ms)
|
||
✔ inbox lists all unread human messages under decisions, does not deliver or read them (5305.188984ms)
|
||
✔ follow refuses agent context and bad arguments (91.697139ms)
|
||
✔ follow Ctrl-C wakes the poll sleep and removes its handler; transport errors also clean up (214.330779ms)
|
||
✔ plain talk leaves the process SIGINT handlers unchanged (364.901336ms)
|
||
✔ empty views say so (0.966656ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (1.271022ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.223654ms)
|
||
✔ the review loop: the coder pushes and asks, the reviewer fetches and approves, and the task's trail holds each step (767.558591ms)
|
||
✔ refusals: no action, non-fast-forward, an unknown commit or request, and a push for another task moves only that task's ref (1117.075608ms)
|
||
✔ the size cap refuses a push before any byte (833.525324ms)
|
||
✔ a fetch over the cap refuses before any byte reaches the reviewer (1599.884544ms)
|
||
✔ the socket refuses a request with no capability, an unknown one, and a bad request line (833.103381ms)
|
||
✔ a rigged clone runs nothing: hooks, fsmonitor, a filter, a gitlink and a symlinked .git/config leave no marker (517.264392ms)
|
||
✔ an identity with no role, or of another business, refuses not-a-role and moves no ref (597.448422ms)
|
||
✔ a review of a project the business no longer has refuses unknown-project (431.131109ms)
|
||
✔ past maxActive connections the socket refuses git-busy, and a hung-up connection frees its slot (371.049212ms)
|
||
✔ close() answers host-closing to a connection still sending its request line (415.770501ms)
|
||
✔ a bundle that trickles in refuses body-timeout at its deadline and frees its slot (764.473583ms)
|
||
✔ a reviewer gone before its bundle was sent is filed fetch-aborted, not as the host's fault (644.848377ms)
|
||
✔ a reviewer that hangs up the moment it has the whole bundle was served, not aborted (872.396488ms)
|
||
✔ send: a close after every byte left is served; one that fails a queued write is fetch-aborted (42.871419ms)
|
||
✔ a bundle with no bytes for bodyIdle refuses body-timeout long before its deadline (592.428681ms)
|
||
✔ send: a close once the loop is past its last chunk is served, and a failed write there is fetch-aborted (22.80935ms)
|
||
✔ letGo waits for an answer to leave for at most its cap, then destroys the socket (301.365142ms)
|
||
✔ a record that fails and can't be undone refuses rollback-failed, which the host logs (433.665065ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (1025.043174ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (414.123172ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (360.717194ms)
|
||
✔ two bus starts racing for one data root leave one host running; the other refuses that a host already runs (1060.496664ms)
|
||
✔ a host takes over a host.lock its dead host left, and puts back a live claim that replaced it meanwhile (3.462709ms)
|
||
✔ 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.714239ms)
|
||
✔ a live host's lock stays, however old the file is (0.504318ms)
|
||
✔ a host.lock left by a host killed with SIGKILL doesn't stop the next bus start (1178.959042ms)
|
||
✔ while a host boots, a reader sees no host: the human commands still ask for --business, stop and status find none (193.964907ms)
|
||
✔ a host started before host.lock existed, holding only host.json, still refuses a second start, which leaves no lock (27.461289ms)
|
||
✔ a broker fork that throws leaves no host.lock and no host.json (31.595911ms)
|
||
✔ a broker send that throws leaves no host.lock and no host.json (28.148254ms)
|
||
✔ a broker that misses its boot wait leaves no host.lock and no host.json (31.303892ms)
|
||
✔ a notifier fork that throws stops the broker and leaves no host.lock and no host.json (559.908529ms)
|
||
✔ a notifier send that throws stops the broker and leaves no host.lock and no host.json (221.829803ms)
|
||
✔ 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 (166.079213ms)
|
||
✔ 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 (166.500506ms)
|
||
✔ a host.json that can't be written stops both children and leaves no host.lock (256.471328ms)
|
||
✔ an error event on the broker before it replies fails the start at once, and leaves no host.lock and no live child (27.919966ms)
|
||
✔ an error event on the notifier before it replies fails the start at once, and leaves no host.lock and no live child (182.011245ms)
|
||
✔ an error event on the broker while the notifier starts fails the start once the notifier replies (477.744278ms)
|
||
✔ 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 (271.74172ms)
|
||
✔ 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 (327.51071ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1236.199992ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (323.027726ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (192.543777ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (264.258998ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (259.879471ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (148.36981ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (358.058858ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (159.359333ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (285.165031ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (24.667631ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (202.464624ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (241.147388ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (108.03354ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (734.043677ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (59.018083ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (73.607124ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (15.305668ms)
|
||
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (9.366479ms)
|
||
✔ each launch rereads limits and model selections; lowered limits keep sessions and log exact hit (39.929563ms)
|
||
✔ bus start --pm: the launcher instance (the chief of staff) runs under its own PID namespace, registered, with a manifest (1382.230645ms)
|
||
✔ the chief of staff launches a coder through its launch tool; the coder answers; refusals name their code (1474.483313ms)
|
||
✔ each launch makes sure the workspace has a clone of the project: cloned, fast-forwarded, or fetched and logged (3211.869566ms)
|
||
✔ a project clone that can't be made refuses checkout-failed, from --chief and from a session, with no run and no clone left (391.915527ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (314.029667ms)
|
||
✔ a Claude Code launch with no session credential refuses before it starts (246.549486ms)
|
||
✔ a pi launch needs no session credential: pi logs in through its own ENV_ALLOW variables (352.143383ms)
|
||
✔ a runner killed from the host ends its launch as killed, not failed (375.727248ms)
|
||
✔ a missing or failing bwrap refuses sandbox-unavailable before anything starts; there is no unconfined fallback (181.858822ms)
|
||
✔ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (1337.891855ms)
|
||
✔ 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 (934.503737ms)
|
||
✔ 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 (3683.866557ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (121.45517ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (133.69423ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (160.13703ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1269.234627ms)
|
||
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (4.574685ms)
|
||
✔ migration needs no bus/config, prints whole converted document, is idempotent and never writes (16.27937ms)
|
||
✔ limits view/set use the human bus transport and pass only the explicit patch (1.991507ms)
|
||
✔ post-119 example and Jason fixture migrate with checked inherited models; wrong or absent config refuses (218.233916ms)
|
||
✔ zoned uses the IANA zone across DST (27.810269ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (169.563121ms)
|
||
✔ two blocking decisions get two DMs with different nonces (132.346816ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.217437ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (119.642304ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (117.890737ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (126.44429ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (257.644051ms)
|
||
✔ 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 (461.221036ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (159.589714ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (320.623762ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (664.552485ms)
|
||
✔ an inbox read failure is logged and the next poll retries (0.647429ms)
|
||
✔ no Discord id reaches the journal or the log (129.641948ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (27.588756ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (49.994378ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (142.169616ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (3.372543ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (0.697003ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (1.954025ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.35151ms)
|
||
✔ 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.479238ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.381549ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.463313ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.289345ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (111.117534ms)
|
||
✔ a human command refused with human-required prints the other-tree line and exits 3 (3.116017ms)
|
||
✔ a --tester command refused with tester-required prints the other-tree line and exits 3 (1.142411ms)
|
||
✔ other exit-3 refusals print no other-tree line (1.782719ms)
|
||
✔ the line names no path (0.152442ms)
|
||
✔ shared copy: npm ci, pushed reachability, readonly/existing copy, webui delegation (694.273143ms)
|
||
✔ wrapper preserves Q81 lease and marker, rejects foreign/symlink; check uses effective roots (422.534369ms)
|
||
✔ bus unit copy/pm pins, install refuses all busy states and failed reads, drop-in refusal (444.066689ms)
|
||
✔ missing package manifest refuses before npm; npm failure removes the unpublished temp copy (468.351034ms)
|
||
✔ real pinned install loads bus and Console; same-copy mosaic talk passes proof, other trees refuse (4297.092998ms)
|
||
✔ bus status reads effective copy/pm/drop-ins without writes; check refuses an overridden ExecStart (468.628151ms)
|
||
✔ drop-ins in either override field and malformed metadata refuse; uninstall also checks --no-reload (176.863223ms)
|
||
✔ install never shows a template name on systemd 261; template drop-ins still refuse (185.393773ms)
|
||
✔ unlisted instance drop-in is found in another unit lookup directory; path discovery errors refuse (180.483924ms)
|
||
✔ inherited mosaic-.service.d override refuses without changing the unit (202.637478ms)
|
||
✔ inherited service.d override refuses without changing the unit (200.29824ms)
|
||
✔ inherited drop-in unreadable directory or file refuses before writing (180.761978ms)
|
||
✔ talk --tester sends a [mos test] message as tester from inside an agent and prints the role's reply (201.418004ms)
|
||
✔ talk --tester refuses text without the [mos test] prefix before any call (117.611347ms)
|
||
✔ the read verbs take --tester inside an agent, and the trail shows the tester as the sender (110.369197ms)
|
||
✔ decide, stop and launches take no --tester (110.073823ms)
|
||
✔ the tester transport runs tester-cli.mjs, and the tester's refusals exit 3 (0.330523ms)
|
||
✔ with no stand-in transport, --tester runs tester-cli.mjs on the data root's socket (0.483489ms)
|
||
✔ 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 (6326.186122ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 a running thread counts against its model's limit and an idle-stopped one doesn't (1713.564818ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1 a turn longer than the idle time isn't stopped, and the thread idles out after it (4460.372926ms)
|
||
✔ REQ-ROLE-2 REQ-LAUNCH-1 a thread held by a run the launcher didn't start gets no second session (105.949885ms)
|
||
✔ REQ-LAUNCH-1 a run that ends without taking its thread's message isn't started again for that message (221.845555ms)
|
||
✔ 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 (242.594246ms)
|
||
✔ REQ-THREAD-1 REQ-LAUNCH-1 the chief can't launch the assistant outside a thread (93.243847ms)
|
||
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 (434.102376ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (40.450745ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2152.665894ms)
|
||
✔ busExit and refuseInsideAgent (0.493953ms)
|
||
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (231.87768ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1132.788723ms)
|
||
✔ a late reply the Console has listed still reaches the next talk (2365.850751ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (709.708671ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (355.944307ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (147.387257ms)
|
||
ℹ tests 202
|
||
ℹ suites 0
|
||
ℹ pass 202
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 19734.834486
|