Folds Filbert's N1 per Sage's comment 28355: the envelope test sends a role cap with a tester proof. The narrowing mutant at server.mjs:50 survives the full bus suite on round 1 and is killed on round 2. Full gate passed with the real bwrap tester case running. Co-Authored-By: Claude Opus 5.5 <[email protected]>
195 lines
19 KiB
Plaintext
195 lines
19 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1231.482493ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (64.243185ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (160.596665ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (234.07442ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (162.228232ms)
|
||
✔ the app shows the same decide text as mosaic decide (122.733407ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (3105.773075ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (438.633164ms)
|
||
✔ under 40 columns a tall terminal shows the too-small screen even where the decide box would fit; y sends nothing (Filbert N10) (1739.092101ms)
|
||
✔ a hidden decide box names the way out, and the status line under it does not promise y (Filbert N12) (89.890458ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (104.322708ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (798.559587ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (192.497464ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (115.69507ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (115.046952ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (1068.634792ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (8106.672333ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (144.549807ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (100.748669ms)
|
||
✔ help or a detail box cut to fit keeps its last line, Esc included (Dewey) (56.384534ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (217.183474ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (90.688333ms)
|
||
✔ no business: the app says so and :business picks one (47.085473ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.782808ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (160.371739ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.442282ms)
|
||
✔ decide with --note still asks; a No sends nothing (56.231536ms)
|
||
✔ the app's business comes from a live bus host only (1.015013ms)
|
||
✔ 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.128704ms)
|
||
✔ draw is pure: same state, same frame (0.769797ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (138.059274ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (122.847093ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (103.599025ms)
|
||
✔ decide prints a declining choice as declining (149.692148ms)
|
||
✔ an unknown outcome is reported once and never resent (110.73959ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (93.118869ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (95.05583ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (141.219256ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (102.85709ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (86.627848ms)
|
||
✔ agents and tasks print through the broker (118.844086ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (1.502228ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (63.244278ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (75.021839ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (30.363921ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (34.205723ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (30.133129ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (59.84621ms)
|
||
✔ follow prints an unsolicited message after plain talk returned (186.197775ms)
|
||
✔ talk --follow continues after reply and prints a later unsolicited message (180.271111ms)
|
||
✔ inbox lists all unread human messages under decisions, does not deliver or read them (3748.561211ms)
|
||
✔ follow refuses agent context and bad arguments (576.254299ms)
|
||
✔ follow Ctrl-C wakes the poll sleep and removes its handler; transport errors also clean up (113.673948ms)
|
||
✔ plain talk leaves the process SIGINT handlers unchanged (164.211255ms)
|
||
✔ empty views say so (1.201883ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (1.381506ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.221282ms)
|
||
✔ the review loop: the coder pushes and asks, the reviewer fetches and approves, and the task's trail holds each step (681.058946ms)
|
||
✔ refusals: no action, non-fast-forward, an unknown commit or request, and a push for another task moves only that task's ref (599.728422ms)
|
||
✔ the size cap refuses a push before any byte (307.740161ms)
|
||
✔ a fetch over the cap refuses before any byte reaches the reviewer (559.060466ms)
|
||
✔ the socket refuses a request with no capability, an unknown one, and a bad request line (1116.240787ms)
|
||
✔ a rigged clone runs nothing: hooks, fsmonitor, a filter, a gitlink and a symlinked .git/config leave no marker (1602.036344ms)
|
||
✔ an identity with no role, or of another business, refuses not-a-role and moves no ref (392.203363ms)
|
||
✔ a review of a project the business no longer has refuses unknown-project (367.24176ms)
|
||
✔ past maxActive connections the socket refuses git-busy, and a hung-up connection frees its slot (652.1578ms)
|
||
✔ close() answers host-closing to a connection still sending its request line (266.336563ms)
|
||
✔ a bundle that trickles in refuses body-timeout at its deadline and frees its slot (792.600342ms)
|
||
✔ a reviewer gone before its bundle was sent is filed fetch-aborted, not as the host's fault (618.072905ms)
|
||
✔ a reviewer that hangs up the moment it has the whole bundle was served, not aborted (595.38103ms)
|
||
✔ send: a close after every byte left is served; one that fails a queued write is fetch-aborted (40.680002ms)
|
||
✔ a bundle with no bytes for bodyIdle refuses body-timeout long before its deadline (587.785535ms)
|
||
✔ send: a close once the loop is past its last chunk is served, and a failed write there is fetch-aborted (23.027872ms)
|
||
✔ letGo waits for an answer to leave for at most its cap, then destroys the socket (301.367952ms)
|
||
✔ a record that fails and can't be undone refuses rollback-failed, which the host logs (452.415059ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (923.2611ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (230.076068ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (201.706442ms)
|
||
✔ two bus starts racing for one data root leave one host running; the other refuses that a host already runs (566.310693ms)
|
||
✔ a host takes over a host.lock its dead host left, and puts back a live claim that replaced it meanwhile (3.463068ms)
|
||
✔ 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.768882ms)
|
||
✔ a live host's lock stays, however old the file is (0.512946ms)
|
||
✔ a host.lock left by a host killed with SIGKILL doesn't stop the next bus start (876.929057ms)
|
||
✔ while a host boots, a reader sees no host: the human commands still ask for --business, stop and status find none (389.52544ms)
|
||
✔ a host started before host.lock existed, holding only host.json, still refuses a second start, which leaves no lock (34.397395ms)
|
||
✔ a broker fork that throws leaves no host.lock and no host.json (29.316905ms)
|
||
✔ a broker send that throws leaves no host.lock and no host.json (76.847964ms)
|
||
✔ a broker that misses its boot wait leaves no host.lock and no host.json (30.489295ms)
|
||
✔ a notifier fork that throws stops the broker and leaves no host.lock and no host.json (646.391124ms)
|
||
✔ a notifier send that throws stops the broker and leaves no host.lock and no host.json (664.954718ms)
|
||
✔ 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 (188.169846ms)
|
||
✔ 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 (167.391442ms)
|
||
✔ a host.json that can't be written stops both children and leaves no host.lock (265.102533ms)
|
||
✔ an error event on the broker before it replies fails the start at once, and leaves no host.lock and no live child (27.610871ms)
|
||
✔ an error event on the notifier before it replies fails the start at once, and leaves no host.lock and no live child (173.679434ms)
|
||
✔ an error event on the broker while the notifier starts fails the start once the notifier replies (303.440939ms)
|
||
✔ 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 (450.799067ms)
|
||
✔ 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 (259.565375ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1251.141486ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (334.138797ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (144.739981ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (210.375812ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (183.486708ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (152.056606ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (259.017438ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (206.666818ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (189.511393ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (21.766775ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (202.229778ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (229.698187ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (98.355949ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (696.052792ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (54.321025ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (63.359975ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (12.831036ms)
|
||
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (8.527185ms)
|
||
✔ bus start --pm: the PM runs under its own PID namespace, registered, with a manifest (1345.627828ms)
|
||
✔ the PM launches a coder through its launch tool; the coder answers; refusals name their code (770.051832ms)
|
||
✔ each launch makes sure the workspace has a clone of the project: cloned, fast-forwarded, or kept and logged (2344.630458ms)
|
||
✔ a project clone that can't be made refuses checkout-failed, from --pm and from a session, with no run and no clone left (354.684107ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (288.885595ms)
|
||
✔ a Claude Code launch with no session credential refuses before it starts (176.037471ms)
|
||
✔ a pi launch needs no session credential: pi logs in through its own ENV_ALLOW variables (254.757418ms)
|
||
✔ a runner killed from the host ends its launch as killed, not failed (539.805712ms)
|
||
✔ a missing or failing bwrap refuses sandbox-unavailable before anything starts; there is no unconfined fallback (206.509601ms)
|
||
✔ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (1375.395745ms)
|
||
✔ 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 (808.140435ms)
|
||
✔ 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 (3687.465836ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (125.448135ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (131.909875ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (148.150525ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1333.577795ms)
|
||
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (4.475106ms)
|
||
✔ zoned uses the IANA zone across DST (24.530162ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (128.595103ms)
|
||
✔ two blocking decisions get two DMs with different nonces (119.593947ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.275645ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (109.768762ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (107.440724ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (124.113696ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (100.407921ms)
|
||
✔ 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 (157.248372ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (189.500841ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (107.487359ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (102.984888ms)
|
||
✔ an inbox read failure is logged and the next poll retries (0.714545ms)
|
||
✔ no Discord id reaches the journal or the log (144.687409ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (22.953932ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (38.288973ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (24.233195ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (2.176637ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (0.672998ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (4.63535ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.345614ms)
|
||
✔ 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.486333ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.382938ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.469359ms)
|
||
✔ digest content stays within Discord's 2000 characters (2.316541ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (110.800184ms)
|
||
✔ shared copy: npm ci, pushed reachability, readonly/existing copy, webui delegation (479.922365ms)
|
||
✔ wrapper preserves Q81 lease and marker, rejects foreign/symlink; check uses effective roots (385.37172ms)
|
||
✔ bus unit copy/pm pins, install refuses all busy states and failed reads, drop-in refusal (411.967563ms)
|
||
✔ missing package manifest refuses before npm; npm failure removes the unpublished temp copy (280.434458ms)
|
||
✔ real pinned install loads bus and Console; same-copy mosaic talk passes proof, other trees refuse (4533.320153ms)
|
||
✔ bus status reads effective copy/pm/drop-ins without writes; check refuses an overridden ExecStart (519.01742ms)
|
||
✔ drop-ins in either override field and malformed metadata refuse; uninstall also checks --no-reload (188.526308ms)
|
||
✔ install never shows a template name on systemd 261; template drop-ins still refuse (193.269833ms)
|
||
✔ unlisted instance drop-in is found in another unit lookup directory; path discovery errors refuse (172.239224ms)
|
||
✔ talk --tester sends a [mos test] message as tester from inside an agent and prints the role's reply (160.667337ms)
|
||
✔ talk --tester refuses text without the [mos test] prefix before any call (96.497708ms)
|
||
✔ the read verbs take --tester inside an agent, and the trail shows the tester as the sender (103.460593ms)
|
||
✔ decide, stop and launches take no --tester (123.312262ms)
|
||
✔ the tester transport runs tester-cli.mjs, and the tester's refusals exit 3 (0.326688ms)
|
||
✔ with no stand-in transport, --tester runs tester-cli.mjs on the data root's socket (0.513551ms)
|
||
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 (391.756875ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (48.64863ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2169.559517ms)
|
||
✔ busExit and refuseInsideAgent (0.525827ms)
|
||
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (217.947094ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1114.401227ms)
|
||
✔ a late reply the Console has listed still reaches the next talk (2163.247717ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (519.04819ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (648.344357ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (123.918929ms)
|
||
ℹ tests 184
|
||
ℹ suites 0
|
||
ℹ pass 184
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 18879.944578
|