Stranded delivery list on the bus agents view. Built by Sage's Haiku
subagent (decision 129), rebased onto 57a2ddc5. Phase B, three runs:
the first failed the new test (node:sqlite null-prototype rows, fixed
by mapping to plain objects), the second stopped at cli on a missing
node_modules link, the third passed: 14 node suites, nine scripts,
15/15 mutants killed.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
142 lines
13 KiB
Plaintext
142 lines
13 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1265.579268ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (67.186993ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (144.182087ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (208.567287ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (45.649191ms)
|
||
✔ the app shows the same decide text as mosaic decide (19.827193ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (181.34658ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (59.627031ms)
|
||
✔ under 40 columns a tall terminal shows the too-small screen even where the decide box would fit; y sends nothing (Filbert N10) (233.248028ms)
|
||
✔ a hidden decide box names the way out, and the status line under it does not promise y (Filbert N12) (29.389913ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (19.796185ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (389.10762ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (30.067688ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (30.110909ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (43.317628ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (282.890597ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (8010.288446ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (65.020898ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (28.851687ms)
|
||
✔ help or a detail box cut to fit keeps its last line, Esc included (Dewey) (14.614477ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (75.188057ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (15.157831ms)
|
||
✔ no business: the app says so and :business picks one (9.038723ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.720743ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (171.182575ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.445278ms)
|
||
✔ decide with --note still asks; a No sends nothing (9.568365ms)
|
||
✔ the app's business comes from a live bus host only (0.975697ms)
|
||
✔ 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.963681ms)
|
||
✔ draw is pure: same state, same frame (0.790655ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (24.893961ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (19.679905ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (16.028893ms)
|
||
✔ decide prints a declining choice as declining (15.624645ms)
|
||
✔ an unknown outcome is reported once and never resent (13.074712ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (12.880733ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (13.729408ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (14.381117ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (22.600527ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (21.573157ms)
|
||
✔ agents and tasks print through the broker (13.911804ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (3.104624ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (55.696749ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (88.56858ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (45.978803ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (58.284977ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (39.194791ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (58.161518ms)
|
||
✔ follow prints an unsolicited message after plain talk returned (35.102903ms)
|
||
✔ talk --follow continues after reply and prints a later unsolicited message (32.362242ms)
|
||
✔ inbox lists all unread human messages under decisions, does not deliver or read them (290.404032ms)
|
||
✔ follow refuses agent context and bad arguments (8.689102ms)
|
||
✔ follow Ctrl-C wakes the poll sleep and removes its handler; transport errors also clean up (7.994932ms)
|
||
✔ plain talk leaves the process SIGINT handlers unchanged (9.611497ms)
|
||
✔ empty views say so (0.9434ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (1.315562ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.221558ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (896.966462ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (140.092444ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (78.503552ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1081.445402ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (141.681287ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (70.194863ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (121.236847ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (118.368267ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (71.236324ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (120.97663ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (78.542584ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (132.797956ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (21.026051ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (202.315724ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (253.479425ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (106.391234ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (637.589589ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (43.21602ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (55.06629ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (11.905229ms)
|
||
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (7.685124ms)
|
||
✔ bus start --pm: the PM runs under its own PID namespace, registered, with a manifest (1255.436873ms)
|
||
✔ the PM launches a coder through its launch tool; the coder answers; refusals name their code (492.110795ms)
|
||
✔ each launch makes sure the workspace has a clone of the project: cloned, fast-forwarded, or kept and logged (3467.256509ms)
|
||
✔ a project clone that can't be made refuses checkout-failed, from --pm and from a session, with no run and no clone left (109.268639ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (173.429681ms)
|
||
✔ a Claude Code launch with no session credential refuses before it starts (84.161832ms)
|
||
✔ a pi launch needs no session credential: pi logs in through its own ENV_ALLOW variables (160.62623ms)
|
||
✔ a runner killed from the host ends its launch as killed, not failed (226.688959ms)
|
||
✔ a missing or failing bwrap refuses sandbox-unavailable before anything starts; there is no unconfined fallback (88.970462ms)
|
||
✔ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (1029.399538ms)
|
||
✔ 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 (569.445101ms)
|
||
✔ 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 (3534.995888ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (80.226745ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (82.311723ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (85.254371ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1196.396688ms)
|
||
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (4.373715ms)
|
||
✔ zoned uses the IANA zone across DST (21.077771ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (25.834096ms)
|
||
✔ two blocking decisions get two DMs with different nonces (17.880527ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.309125ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (17.480147ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (20.965472ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (21.386645ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (15.23777ms)
|
||
✔ 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 (120.049165ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (41.800628ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (10.097953ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (8.180453ms)
|
||
✔ an inbox read failure is logged and the next poll retries (0.718422ms)
|
||
✔ no Discord id reaches the journal or the log (9.549512ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (2.044728ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (3.182204ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (1.627964ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (0.48609ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (0.60709ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (2.021938ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.340478ms)
|
||
✔ 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.489015ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.394826ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.440278ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.276851ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (111.180356ms)
|
||
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 (317.235756ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (39.927236ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2220.600617ms)
|
||
✔ busExit and refuseInsideAgent (0.51107ms)
|
||
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (51.769236ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1016.561095ms)
|
||
✔ a late reply the Console has listed still reaches the next talk (2032.121912ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (9.794877ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (7.955279ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (7.832957ms)
|
||
ℹ tests 131
|
||
ℹ suites 0
|
||
ℹ pass 131
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 12770.184737
|