Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
754 lines
61 KiB
Plaintext
754 lines
61 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (2360.106852ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (151.607868ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (299.072161ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (357.339264ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (214.234121ms)
|
||
✔ the app shows the same decide text as mosaic decide (149.605331ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (1511.358393ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (704.659742ms)
|
||
✔ under 40 columns a tall terminal shows the too-small screen even where the decide box would fit; y sends nothing (Filbert N10) (2653.602592ms)
|
||
✔ a hidden decide box names the way out, and the status line under it does not promise y (Filbert N12) (90.178105ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (133.590982ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (1212.202162ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (382.60744ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (153.994055ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (203.54203ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (1211.006827ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (9251.859275ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (168.927793ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (133.445917ms)
|
||
✔ help or a detail box cut to fit keeps its last line, Esc included (Dewey) (69.736255ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (298.612712ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (100.136475ms)
|
||
✔ no business: the app says so and :business picks one (53.783133ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.989229ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (189.917862ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.502953ms)
|
||
✔ decide with --note still asks; a No sends nothing (81.103763ms)
|
||
✔ the app's business comes from a live bus host only (1.067875ms)
|
||
✔ 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.003732ms)
|
||
✔ draw is pure: same state, same frame (0.808099ms)
|
||
✔ recordBootRefused keeps the last good load across refusals; recordBootOk clears the refusal (6.383389ms)
|
||
✔ an unknown key and a JSON syntax error each leave the bus down with the reason and path in the status (1217.564338ms)
|
||
✔ a missing file is recorded too, and a valid file clears the status on the next start (727.20947ms)
|
||
✔ CLI off, absent and other-only channel selections refuse every project/thread flow before any effect (34.146356ms)
|
||
✔ CLI enabled project/thread lists dispatch through selection without changing output (2.985735ms)
|
||
✔ both channels off recover through the existing human CLI, socket and organization writer (3501.737555ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (165.368394ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (175.489012ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (135.40209ms)
|
||
✔ decide prints a declining choice as declining (142.586045ms)
|
||
✔ an unknown outcome is reported once and never resent (135.581728ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (115.400125ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (248.010068ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (164.655335ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (127.883693ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (119.86865ms)
|
||
✔ agents and tasks print through the broker (132.834891ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (3.195571ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (100.438018ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (135.696752ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (85.182493ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (92.161061ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (82.574963ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (128.607808ms)
|
||
✔ follow prints an unsolicited message after plain talk returned (220.674215ms)
|
||
✔ talk --follow continues after reply and prints a later unsolicited message (225.896669ms)
|
||
✔ inbox lists all unread human messages under decisions, does not deliver or read them (2839.617282ms)
|
||
✔ follow refuses agent context and bad arguments (101.316095ms)
|
||
✔ follow Ctrl-C wakes the poll sleep and removes its handler; transport errors also clean up (113.236561ms)
|
||
✔ plain talk leaves the process SIGINT handlers unchanged (163.521888ms)
|
||
✔ empty views say so (1.003196ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (1.369055ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.251938ms)
|
||
✔ the review loop: the coder pushes and asks, the reviewer fetches and approves, and the task's trail holds each step (1298.083715ms)
|
||
✔ refusals: no action, non-fast-forward, an unknown commit or request, and a push for another task moves only that task's ref (1067.532701ms)
|
||
✔ the size cap refuses a push before any byte (598.626834ms)
|
||
✔ a fetch over the cap refuses before any byte reaches the reviewer (770.778517ms)
|
||
✔ the socket refuses a request with no capability, an unknown one, and a bad request line (553.09505ms)
|
||
✔ a rigged clone runs nothing: hooks, fsmonitor, a filter, a gitlink and a symlinked .git/config leave no marker (671.929413ms)
|
||
✔ an identity with no role, or of another business, refuses not-a-role and moves no ref (617.313869ms)
|
||
✔ a review of a project the business no longer has refuses unknown-project (1354.162545ms)
|
||
✔ past maxActive connections the socket refuses git-busy, and a hung-up connection frees its slot (650.745185ms)
|
||
✔ close() answers host-closing to a connection still sending its request line (359.261402ms)
|
||
✔ a bundle that trickles in refuses body-timeout at its deadline and frees its slot (852.055851ms)
|
||
✔ a reviewer gone before its bundle was sent is filed fetch-aborted, not as the host's fault (894.145936ms)
|
||
✔ a reviewer that hangs up the moment it has the whole bundle was served, not aborted (901.562271ms)
|
||
✔ send: a close after every byte left is served; one that fails a queued write is fetch-aborted (42.027105ms)
|
||
✔ a bundle with no bytes for bodyIdle refuses body-timeout long before its deadline (783.408476ms)
|
||
✔ send: a close once the loop is past its last chunk is served, and a failed write there is fetch-aborted (68.002479ms)
|
||
✔ letGo waits for an answer to leave for at most its cap, then destroys the socket (300.88051ms)
|
||
✔ a record that fails and can't be undone refuses rollback-failed, which the host logs (490.952333ms)
|
||
✔ land: the squash runs the gate in its own worktree, then main moves and the broker records it (460.124944ms)
|
||
✔ land: an arbiter-resolved landing's squash says the arbiter resolved it through the broker (447.227112ms)
|
||
✔ land: refusals before the gate answer the role at once and leave main and no worktree (438.357367ms)
|
||
✔ land: a failed gate is refused gate-failed with its step, told to the role, and main stays (461.539063ms)
|
||
✔ land: a record the broker refuses moves main back, and the landing is refused with the broker's code (415.320073ms)
|
||
✔ land: a second landing while one runs refuses land-busy, and close() stops the gate and refuses host-closing (427.708366ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (1331.194137ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (453.370599ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (315.518271ms)
|
||
✔ two bus starts racing for one data root leave one host running; the other refuses that a host already runs (880.020445ms)
|
||
✔ a host takes over a host.lock its dead host left, and puts back a live claim that replaced it meanwhile (3.544406ms)
|
||
✔ a host.lock that goes between the check and the read is tried again; one that can't be parsed still refuses as unreadable (1.035396ms)
|
||
✔ a live host's lock stays, however old the file is (0.656168ms)
|
||
✔ a host.lock left by a host killed with SIGKILL doesn't stop the next bus start (1000.559896ms)
|
||
✔ while a host boots, a reader sees no host: the human commands still ask for --business, stop and status find none (270.729621ms)
|
||
✔ a host started before host.lock existed, holding only host.json, still refuses a second start, which leaves no lock (39.373167ms)
|
||
✔ a broker fork that throws leaves no host.lock and no host.json (34.722773ms)
|
||
✔ a broker send that throws leaves no host.lock and no host.json (38.403736ms)
|
||
✔ a broker that misses its boot wait leaves no host.lock and no host.json (40.813106ms)
|
||
✔ a notifier fork that throws stops the broker and leaves no host.lock and no host.json (240.097231ms)
|
||
✔ a notifier send that throws stops the broker and leaves no host.lock and no host.json (244.600467ms)
|
||
✔ 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 (229.985005ms)
|
||
✔ 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 (257.306515ms)
|
||
✔ a host.json that can't be written stops both children and leaves no host.lock (466.047109ms)
|
||
✔ an error event on the broker before it replies fails the start at once, and leaves no host.lock and no live child (47.062922ms)
|
||
✔ an error event on the notifier before it replies fails the start at once, and leaves no host.lock and no live child (593.898755ms)
|
||
✔ an error event on the broker while the notifier starts fails the start once the notifier replies (808.105609ms)
|
||
✔ 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 (343.97544ms)
|
||
✔ 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 (356.462717ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1237.922722ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (434.268988ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (262.212307ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (344.738761ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (293.646795ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (272.26531ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (303.14323ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (196.207211ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (278.816785ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (21.087798ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (202.919262ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (307.596598ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (123.814985ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (860.686287ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (61.220506ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (78.903487ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (16.686777ms)
|
||
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (10.170451ms)
|
||
✔ row 165 CLI: instance add puts an instance in the file, validate exits 0, and the log names the human (538.223447ms)
|
||
✔ row 165 CLI: instance set passes the vars file and --no-launch, and a vars-only change needs no restart (361.295023ms)
|
||
✔ row 165 CLI: a refusal names its code and why, exits 2 and keeps the bytes (394.164607ms)
|
||
✔ row 165 CLI: usage errors exit 4 before any bus call, and an agent session is refused (117.140156ms)
|
||
✔ row 165: scripts/mosaic sends business instances and instance to packages/cli, and validate still to packages/business (178.521015ms)
|
||
✔ REQ-LIMIT-2 a claude-code launch asks mayLaunch with launch.account.name (36.186386ms)
|
||
✔ REQ-LIMIT-2 each login set the account can name is accepted when the bus host holds exactly it (83.673893ms)
|
||
✔ REQ-LIMIT-2 account-credential-missing: the named set is not a login set, or the bus host lacks part of it (64.324757ms)
|
||
✔ REQ-LIMIT-2 account-credential-ambiguous: the bus host sets a credential variable outside the named set, ANTHROPIC_BASE_URL included (28.728973ms)
|
||
✔ REQ-LIMIT-2 account-is-credential: launch.account.name is the value of a credential variable the bus host sets (22.599841ms)
|
||
✔ REQ-LIMIT-2 a pi launch carries account null and skips both account checks (25.120147ms)
|
||
✔ REQ-LIMIT-2 with no launch.account a claude-code launch carries null and the environment is not checked for ambiguity (16.758553ms)
|
||
✔ REQ-LIMIT-4 the launcher asks mayLaunch with the instance, provider, model and account (row 126), and goes on to authorization on an allow (44.457891ms)
|
||
✔ REQ-LIMIT-3 REQ-LIMIT-4 a launch whose subject is at its limit is refused limit-reached and logged with the check, limit and count (32.410478ms)
|
||
✔ REQ-LIMIT-4 fail closed: a refused op, a check failure or a malformed answer refuses limit-check-failed, naming the check and the code (117.651261ms)
|
||
✔ REQ-LIMIT-4 the launcher reaches token-limit only through the bus: launcher.mjs imports no limit check (0.85868ms)
|
||
✔ each launch rereads limits and model selections; lowered limits keep sessions and log exact hit (79.775048ms)
|
||
✔ row 65 a passing primary is the route: its provider and model reach mayLaunch, and a stated fallback is never used (33.8849ms)
|
||
✔ row 65 a failed primary preflight takes the stated fallback, and the limit checks see the fallback route (28.028469ms)
|
||
✔ row 65 a failed primary with no fallback refuses with the preflight code and never asks mayLaunch (20.274519ms)
|
||
✔ row 65 a fallback whose own preflight fails refuses with its code and names both reasons (15.400675ms)
|
||
✔ row 65 the fallback route spends launch.account when its module counts the account (16.167216ms)
|
||
✔ row 65 a missing harness, model or thinking var refuses no-route naming it, and the system execution keys never fill it (30.897208ms)
|
||
✔ row 65 a harness that is not switched on refuses harness-off, primary or fallback, and an off primary never falls back (47.808878ms)
|
||
✔ row 65 the loader refusing a module refuses harness-refused and names it; a module that throws refuses harness-failed (42.067819ms)
|
||
✔ row 65 a thinking level the route harness does not apply refuses thinking-unsupported, on the primary or a fallback taken (62.793815ms)
|
||
✖ bus start --pm: the launcher instance (the chief of staff) runs under its own PID namespace, registered, with a manifest (530.444357ms)
|
||
✖ the chief of staff launches a coder through its launch tool; the coder answers; refusals name their code (435.967932ms)
|
||
✖ a launched pm's request_staff reaches the chief of staff; no other session has the tool and the launch limits still hold (385.55765ms)
|
||
✖ each launch makes sure the workspace has a clone of the project: cloned, fast-forwarded, or fetched and logged (395.434425ms)
|
||
✖ a role the broker says holds a merge decision gets land_work, its prompt line, its landing and the git socket; without it, none (423.300453ms)
|
||
✖ REQ-LAUNCH-1 the tick starts a listed merge decision holder once, with land_work, the Landing line and its landing turn; an unlisted holder starts nothing (438.164765ms)
|
||
✖ a holder running since before the resolution is stopped once the broker releases it, land-relaunch, and the next tick starts it: landing turn first, then the message that waited (423.435217ms)
|
||
✖ a landing run that ended isn't started again for its decision, a spent decision starts nothing, and a new decision starts the holder (351.815025ms)
|
||
✖ after a restart, the new host's first tick starts a holder whose decision is still held (296.505542ms)
|
||
✖ a refused landing start is logged once per code with its decision, isn't a start, and the next tick with room starts the holder (355.305631ms)
|
||
✔ a project clone that can't be made refuses checkout-failed, from --chief and from a session, with no run and no clone left (394.098034ms)
|
||
✖ a runner that stops at once ends its launch with the runner's reason (343.517319ms)
|
||
✔ a Claude Code launch with no session credential refuses before it starts (270.586093ms)
|
||
✖ a pi launch needs no session credential: pi logs in through its own ENV_ALLOW variables (319.029099ms)
|
||
usage: {"event":"plugin-refused","kind":"harness","name":"down","code":"missing","message":"/home/jwoltje/dewey-scratch/b177/packages/plugins/harness/down is missing","kept":[]}
|
||
plugins: {"event":"plugin-refused","kind":"harness","name":"down","code":"missing","message":"/home/jwoltje/dewey-scratch/b177/packages/plugins/harness/down is missing","kept":[]}
|
||
✖ row 65 a failed primary preflight launches the fallback on a fixture harness module, recording the route and the reason (527.050932ms)
|
||
✖ a runner killed from the host ends its launch as killed, not failed (690.453743ms)
|
||
✔ a missing or failing bwrap refuses sandbox-unavailable before anything starts; there is no unconfined fallback (721.976555ms)
|
||
✔ row 64 a role skill that isn't enabled refuses skill-not-enabled, and one that isn't a plain directory skill-refused, before anything starts (279.187828ms)
|
||
✔ row 64 on Claude Code a role skill that isn't enabled refuses the same way, before anything starts (280.014885ms)
|
||
✖ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (301.349461ms)
|
||
file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119
|
||
if (Buffer.byteLength(join(runDir, "tools.sock")) > 107) throw new SeatError(`data root path too long for a socket: ${runDir}`, 2);
|
||
^
|
||
|
||
SeatError: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-GRarOr/data/launches/acme/rae5fd60a26cd
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
Node.js v26.8.1
|
||
✖ 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 (30041.319441ms)
|
||
file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119
|
||
if (Buffer.byteLength(join(runDir, "tools.sock")) > 107) throw new SeatError(`data root path too long for a socket: ${runDir}`, 2);
|
||
^
|
||
|
||
SeatError: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-Kte8kK/data/launches/acme/rc780a8d93113
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
Node.js v26.8.1
|
||
✖ 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 (30028.902086ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (159.878111ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (166.788699ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (177.784546ms)
|
||
✖ a runner that ignores SIGTERM is killed when the host closes (219.770344ms)
|
||
✔ REQ-LIMIT-3 REQ-LIMIT-4 formatTokens shows each limit counted, not enforced, or check failed, in reset path words (1.35396ms)
|
||
✔ REQ-LIMIT-2 row 126: any daily quota row adds one line after the list saying the count is this stack's own use (0.418742ms)
|
||
✔ REQ-LIMIT-3 the view prints the limits then the token lines; --json keeps tokens in the result (6.079218ms)
|
||
✔ REQ-LIMIT-3 reset reads the revision, then sends limits.set with one path per limit, a word per level (1.172064ms)
|
||
✔ REQ-LIMIT-3 reset with no path, or with --file, is refused before the bus (2.374549ms)
|
||
✔ migration needs no bus/config, prints whole converted document, is idempotent and never writes (31.722427ms)
|
||
✔ limits view/set use the human bus transport and pass only the explicit patch (2.335538ms)
|
||
✔ limits set passes an assistants patch through unchanged, and the usage names the key (1.608549ms)
|
||
✔ post-119 example and Jason fixture migrate with checked inherited models; wrong or absent config refuses (402.226745ms)
|
||
✔ plugins view/set use the human bus transport and pass only the explicit patch (vikunja:19/305) (4.365227ms)
|
||
✔ inbox --read marks one message by the id inbox prints, delivered or not, and leaves the rest unread (253.944727ms)
|
||
✔ inbox --read refuses an id that is not the human's, prints its code, still marks the rest and exits 2 (199.439549ms)
|
||
✔ inbox --read refuses an ambiguous or short prefix, names every match, reads nothing for them and marks the rest (1.548599ms)
|
||
✔ inbox --read-all marks every message the inbox walk lists, delivered or not, and inbox then shows 0 unread (7275.634237ms)
|
||
✔ inbox --read stops on an error that is not about one message (0.823457ms)
|
||
✔ inbox --read and --read-all refuse bad combinations; other verbs refuse them (97.872533ms)
|
||
✔ the human names an instance, lists it, and talk's message.send reaches it by that name (169.212013ms)
|
||
✔ name and names refuse the wrong number of arguments with the usage (109.823995ms)
|
||
✔ zoned uses the IANA zone across DST (28.20552ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (159.191154ms)
|
||
✔ two blocking decisions get two DMs with different nonces (127.730512ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.339375ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (120.115522ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (290.524343ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (150.296842ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (136.58271ms)
|
||
✔ 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 (317.286639ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (287.044122ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (153.770565ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (127.327867ms)
|
||
✔ an inbox read failure is logged and the next poll retries (19.439128ms)
|
||
✔ no Discord id reaches the journal or the log (117.823927ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (26.247968ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (49.051639ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (26.261325ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (1.843615ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (1.130007ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (7.231679ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.826465ms)
|
||
✔ 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.960211ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.863448ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.844291ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.528575ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (114.431124ms)
|
||
✔ a human command refused with human-required prints the other-tree line and exits 3 (3.837087ms)
|
||
✔ a --tester command refused with tester-required prints the other-tree line and exits 3 (1.418175ms)
|
||
✔ other exit-3 refusals print no other-tree line (2.211029ms)
|
||
✔ the line names no path (0.134871ms)
|
||
✔ threads project resolution explains a business repository and falls back if its file cannot load (424.098309ms)
|
||
✔ project create prints the repository-name refusal and exits two without writing (154.084242ms)
|
||
✔ project init/check use declared business repo and never contact the bus (177.253436ms)
|
||
✔ project commands validate args and refuse undeclared projects and agent init (33.91887ms)
|
||
✔ project create and list validate their arguments before any bus call (33.831735ms)
|
||
✔ project dispatcher reaches the human CLI (107.874267ms)
|
||
✔ shared copy: npm ci, pushed reachability, readonly/existing copy, webui delegation (914.468636ms)
|
||
✔ wrapper preserves Q81 lease and marker, rejects foreign/symlink; check uses effective roots (945.567009ms)
|
||
✔ bus unit copy/pm pins, install refuses all busy states and failed reads, drop-in refusal (1051.398404ms)
|
||
✔ missing package manifest refuses before npm; npm failure removes the unpublished temp copy (444.227437ms)
|
||
✔ real pinned install loads bus and Console; same-copy mosaic talk passes proof, other trees refuse (4780.031253ms)
|
||
✔ bus status reads effective copy/pm/drop-ins without writes; check refuses an overridden ExecStart (630.982795ms)
|
||
✔ drop-ins in either override field and malformed metadata refuse; uninstall also checks --no-reload (330.611715ms)
|
||
✔ install never shows a template name on systemd 261; template drop-ins still refuse (309.074983ms)
|
||
✔ unlisted instance drop-in is found in another unit lookup directory; path discovery errors refuse (330.619158ms)
|
||
✔ inherited mosaic-.service.d override refuses without changing the unit (352.835824ms)
|
||
✔ inherited service.d override refuses without changing the unit (309.123516ms)
|
||
✔ inherited drop-in unreadable directory or file refuses before writing (330.201673ms)
|
||
✔ T1 adopt writes the pointer from the units once; a failing check refuses check-failed (1923.868142ms)
|
||
✔ T2 activate installs exactly the pointer's pm, claude and Console flags (2000.38175ms)
|
||
▶ T3 a hand-edited unit refuses unit-flags-drift, names the difference and changes nothing
|
||
✔ pm (1106.119522ms)
|
||
✔ claude (1537.451333ms)
|
||
✔ console (886.778562ms)
|
||
✔ T3 a hand-edited unit refuses unit-flags-drift, names the difference and changes nothing (3531.266901ms)
|
||
▶ T4 each item 3 refusal changes nothing and logs one line with its code
|
||
✔ copy-missing (849.102655ms)
|
||
✔ copy-unreachable (786.891197ms)
|
||
✔ copy-schema-unknown (824.312306ms)
|
||
✔ already-active (722.639519ms)
|
||
✔ instance-busy (another business active) (774.976358ms)
|
||
✔ instance-busy (this business activating) (774.890597ms)
|
||
✔ drop-in-override (809.080247ms)
|
||
✔ no-pointer (442.687501ms)
|
||
✔ T4 each item 3 refusal changes nothing and logs one line with its code (5986.09435ms)
|
||
✔ T5 an activate with no migration stops the Console then the bus, installs, starts the bus then the Console (1759.320633ms)
|
||
✔ T6 a migration without --migrate rolls back with migration-needs-flag (1691.165906ms)
|
||
✔ T7 --migrate takes the backup before the migration runs (1867.293025ms)
|
||
✔ T8 a failed migration restores the backup and keeps the store it replaced (1727.314791ms)
|
||
✔ T9 a store outside the target's chain rolls back with store-newer (1497.913062ms)
|
||
▶ T10 each gate check failing alone rolls back and puts every file back
|
||
✔ units-inactive (4834.468226ms)
|
||
✔ bus-status (5193.473888ms)
|
||
✔ healthz (4443.497229ms)
|
||
✔ copy-check (5732.713687ms)
|
||
✔ pm-launch-unconfirmed (4632.583849ms)
|
||
✔ T10 each gate check failing alone rolls back and puts every file back (24837.628606ms)
|
||
▶ T10b the PM check needs exactly one launched line for a live run of this start
|
||
✔ no launched line (4716.273951ms)
|
||
✔ two lines (4702.754356ms)
|
||
✔ a changed word (6109.983909ms)
|
||
✔ run not in launches list (4802.106284ms)
|
||
✔ run started before the start (4732.1725ms)
|
||
✔ a human launch with no journal line (4585.453328ms)
|
||
✔ run for another business (4749.045587ms)
|
||
✔ run not live (4740.365783ms)
|
||
✔ one well-formed line and a live run pass (1575.111502ms)
|
||
✔ T10b the PM check needs exactly one launched line for a live run of this start (40714.769309ms)
|
||
✔ T11 a rollback whose gate fails too: rollback-failed, exit 2, both units stopped, no retry (8997.415009ms)
|
||
✔ T12 rollback takes the previous copy from the log (2547.288602ms)
|
||
✔ T13 a rollback across a migration needs --restore, then restores and goes live (2992.723063ms)
|
||
✔ T14 events written after the backup need --events N with the right N (3424.124928ms)
|
||
✔ T14b a rollback --restore whose gate fails stops both units and skips item 6 (5243.457846ms)
|
||
✔ T14c a rollback without --restore whose gate fails runs item 6 (6431.762084ms)
|
||
✔ T15 --plan names the migration and the restore and changes nothing (2045.458428ms)
|
||
✔ T26 --plan lists the commits an activate adds, after the migration lines (1053.213764ms)
|
||
✔ T27 --plan names each migration step, or says the steps cannot be read (820.809822ms)
|
||
✔ T25 --plan refuses copies-unrelated when neither copy is an ancestor of the other (407.345768ms)
|
||
▶ T23 --plan reads the store without changing a file, stopped or held
|
||
✔ stopped store (479.976654ms)
|
||
✔ held store (479.390044ms)
|
||
✔ T23 --plan reads the store without changing a file, stopped or held (959.884099ms)
|
||
✔ T24 business-mismatch and capture-failed refuse with exit 3; a short id is a usage error (1094.340551ms)
|
||
✔ T16 status prints the pointer, the log, the check, bus status and drift, and writes nothing (752.977537ms)
|
||
✔ T19 a started line with no final line: status shows it and every changing verb refuses (1040.618961ms)
|
||
✔ T20 a held run lock refuses run-locked without a log line; status and --plan still run (1131.74218ms)
|
||
✔ T21 a bus unit with no MOSAIC_CLAUDE_BIN: adopt and activate refuse no-claude-pin (1441.615825ms)
|
||
▶ T22 the stopped store read: a -wal or -shm refuses store-unclean and is left alone; a clean read adds no file
|
||
✔ bus.sqlite-wal (1541.285769ms)
|
||
✔ bus.sqlite-shm (1469.256243ms)
|
||
✔ clean (1594.362874ms)
|
||
✔ T22 the stopped store read: a -wal or -shm refuses store-unclean and is left alone; a clean read adds no file (4605.563245ms)
|
||
▶ T28 a unit path, drop-in directory or drop-in file that cannot be read, or a relative unit path, refuses drop-in-override before any stop
|
||
✔ unit path (652.387102ms)
|
||
✔ drop-in directory (648.312615ms)
|
||
✔ drop-in file (723.440676ms)
|
||
✔ relative unit path (707.311072ms)
|
||
✔ T28 a unit path, drop-in directory or drop-in file that cannot be read, or a relative unit path, refuses drop-in-override before any stop (2732.209352ms)
|
||
▶ T29 a bus that stops during the held-store read: --plan says so, rollback --restore refuses restore-mismatch
|
||
✔ --plan (709.930594ms)
|
||
✔ rollback --restore (1940.689073ms)
|
||
✔ T29 a bus that stops during the held-store read: --plan says so, rollback --restore refuses restore-mismatch (2651.115571ms)
|
||
✔ T30 a copy check that agrees on another copy fails the gate with copy-check and rolls back (4275.426797ms)
|
||
▶ T31 a quoted or escaped Environment= or ExecStart= is unreadable: refusals by name, nothing read from /a
|
||
✔ Environment double quotes (1475.113814ms)
|
||
✔ Environment single quotes (1419.98553ms)
|
||
✔ Environment backslash (1462.51775ms)
|
||
✔ ExecStart quotes (1528.030481ms)
|
||
✔ Console ExecStart quotes (1479.952118ms)
|
||
✔ T31 a quoted or escaped Environment= or ExecStart= is unreadable: refusals by name, nothing read from /a (7366.73053ms)
|
||
▶ T32 item 1: --pm-after-harness refuses a target without harness or a file that sets it, and passes without the PM
|
||
✔ usage: not with --pm, and only for activate (541.232924ms)
|
||
✔ pm-after-harness-target (762.07427ms)
|
||
✔ pm-after-harness-set (1077.516893ms)
|
||
✔ a pointer without pm (712.357433ms)
|
||
✔ phase 1 installs without --pm, skips pm_launched and writes the pending pointer (1561.795122ms)
|
||
✔ T32 item 1: --pm-after-harness refuses a target without harness or a file that sets it, and passes without the PM (4655.830282ms)
|
||
▶ T33 item 2: read_pointer takes pmPending only as true beside pm false; a pending pointer refuses activate and shows in status
|
||
✔ read_pointer (1142.001688ms)
|
||
✔ pm-pending, already-adopted and the status line (2147.782446ms)
|
||
✔ T33 item 2: read_pointer takes pmPending only as true beside pm false; a pending pointer refuses activate and shows in status (3290.263578ms)
|
||
▶ T34 item 3: pm-on refuses before any stop, passes with the PM, or puts the phase-1 bus back
|
||
✔ not-pending (604.792503ms)
|
||
✔ harness-unset (1844.549153ms)
|
||
✔ a launched line passes: the bus alone restarts with --pm (2600.567191ms)
|
||
✔ a failed pm_launched puts the phase-1 unit back: exit 1, still pending (6490.995534ms)
|
||
✔ a failed phase-1 gate too: pm-on-down, exit 2, both units stopped (8515.145892ms)
|
||
✔ T34 item 3: pm-on refuses before any stop, passes with the PM, or puts the phase-1 bus back (20056.949094ms)
|
||
▶ T35 item 4: rollback from pending installs --pm; a plug-in kind the target lacks refuses by name
|
||
✔ rollback from pending gates pm_launched on the old copy (2620.775381ms)
|
||
✔ after the harness set, rollback refuses until harness is gone (3773.113899ms)
|
||
✔ activate names every kind the target lacks (953.625107ms)
|
||
✔ T35 item 4: rollback from pending installs --pm; a plug-in kind the target lacks refuses by name (7348.104702ms)
|
||
✔ T36 --plan shows the pending state and lists the row 169 refusals it can see (2610.105429ms)
|
||
✔ T37 tester-port activate writes pointer and unit, replaces the port, and supported re-pin and rollback keep it (5156.343369ms)
|
||
✔ T38 tester-port rollback to unsupported target drops flag in plan, steps, unit and pointer (2957.722988ms)
|
||
✔ T39 tester-port explicit unsupported target reads target copy and refuses before stopping either unit (609.283604ms)
|
||
✔ T40 tester-port invalid values refuse exit 4 before stopping, including tunnel and main ports (627.046723ms)
|
||
✔ T41 tester-port inherited activate to unsupported target drops it and retains drift refusal and failed-run recovery (6850.272762ms)
|
||
✖ T42 tester-port pm-on preserves pointer Console flags (1871.213898ms)
|
||
✔ row 175: each read with --tester inside an agent prints the human form's output, and refuses without --tester (385.149204ms)
|
||
✔ row 175: --tester on limits set, reset and migrate and every write form outside W1-W7 exits 4 before any call (111.167645ms)
|
||
✔ row 175: scripts/mosaic sends plugins, name, names, follow, threads and thread to packages/cli, not the seat CLI (834.728102ms)
|
||
✔ row 175 W7: project init --tester makes the repository under the project area, committed by tester (546.987501ms)
|
||
✔ row 175 W7: a repo outside the project area refuses tester-project-area before any bus call, and nothing changes (266.960325ms)
|
||
✔ row 175 W7: the tester bind refuses tester-off and tester-required before any directory (1343.131761ms)
|
||
✔ talk --tester sends a message as tester from inside an agent and prints the role's reply (201.770097ms)
|
||
✔ talk --tester sends text with no prefix, and follow --tester reads (204.971167ms)
|
||
✔ the read verbs take --tester inside an agent, and the trail shows the tester as the sender (149.216602ms)
|
||
✔ decide, stop and launches take no --tester (118.263069ms)
|
||
✔ the tester transport runs tester-cli.mjs, and the tester's refusals exit 3 (0.910652ms)
|
||
✔ with no stand-in transport, --tester runs tester-cli.mjs on the data root's socket (1.302692ms)
|
||
✔ talk --tester to a stopped role exits 3, prints no sent line and stores nothing (130.589101ms)
|
||
✔ only a --tester send refused tester-target-not-running is rewritten (107.514348ms)
|
||
✔ REQ-CLI-1 project create and list work on the bus record and refuse what the broker refuses (239.108607ms)
|
||
✔ REQ-CLI-1 thread create, list, open and read (280.013135ms)
|
||
✔ REQ-CLI-1 thread read pages through every message, oldest first (2718.169573ms)
|
||
✔ REQ-CLI-1 the business needs exactly one threaded instance to create a thread (260.617219ms)
|
||
✔ 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 (449.919444ms)
|
||
✔ REQ-CLI-2 REQ-THREAD-2 talk --thread sends to the thread and prints only the reply to it; the rest stays unread (1064.523153ms)
|
||
✔ REQ-CLI-2 talk --thread --wait gives up with exit 1 and leaves the thread's messages unread (1700.813197ms)
|
||
✔ REQ-CLI-2 talk --thread --follow and follow --thread print and read only that thread's messages (898.37653ms)
|
||
✔ REQ-CLI-2 plain talk to the assistant asks for a thread and exits 2 without a write (182.178394ms)
|
||
✔ REQ-USER-2 a thread of another user is refused for talk, open, read and follow, and nothing is written (371.450905ms)
|
||
✔ REQ-CLI-1 the new verbs refuse inside an agent run, as every human verb does (178.890737ms)
|
||
✖ 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 (20293.172053ms)
|
||
✖ REQ-THREAD-2 REQ-LAUNCH-1 a running thread counts against its model's limit and an idle-stopped one doesn't (265.629622ms)
|
||
✖ REQ-THREAD-2 REQ-LAUNCH-1 a turn longer than the idle time isn't stopped, and the thread idles out after it (30119.371583ms)
|
||
✖ REQ-THREAD-2 REQ-LAUNCH-1 a message sent after the idle snapshot keeps the session, which answers it (20179.758627ms)
|
||
✔ REQ-ROLE-2 REQ-LAUNCH-1 a thread held by a run the launcher didn't start gets no second session (138.757004ms)
|
||
✖ REQ-LAUNCH-1 a thread run's session file has no landing, even when landHolders names its instance (20126.041286ms)
|
||
✖ REQ-LAUNCH-1 a run that ends without taking its thread's message isn't started again for that message (20141.756984ms)
|
||
✔ 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 (258.65358ms)
|
||
✔ REQ-THREAD-1 REQ-LAUNCH-1 the chief can't launch the assistant outside a thread (105.301958ms)
|
||
limits: {"event":"limit-reached","business":"acme","check":"token-limit","export":"mayLaunch","subject":{"instance":"assistant","provider":"zai","model":"claude-sonnet-5-5","account":null},"path":["tokens","instances","assistant"],"limit":0,"count":0,"unknownTurns":0}
|
||
limits: {"event":"limit-reached","business":"acme","check":"token-limit","export":"mayLaunch","subject":{"instance":"assistant","provider":"zai","model":"claude-sonnet-5-5","account":null},"path":["tokens","instances","assistant"],"limit":0,"count":0,"unknownTurns":0}
|
||
✔ REQ-LIMIT-3 REQ-LIMIT-4 a thread start whose instance is at its token limit is refused, logged once with the limit and the count (203.957282ms)
|
||
✖ REQ-LIMIT-4 a thread run at its token limit stops at the end of its turn: the reply lands, and the end record names the limit (20135.805574ms)
|
||
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 (510.869896ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (57.215843ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2201.770176ms)
|
||
✔ busExit and refuseInsideAgent (0.707029ms)
|
||
✔ REQ-LIMIT-4 mosaic usage shows each token kind and unknown turns beside every total (98.751487ms)
|
||
✔ usage is dispatched by scripts/mosaic and the shared read adapter (131.236351ms)
|
||
✔ talk sends a REQUEST, prints and reads only the reply to it, and leaves other messages unread (249.004581ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1157.933605ms)
|
||
✔ a late reply the Console has listed stays unread for mosaic inbox, and the next talk skips it (2274.914792ms)
|
||
✔ talk says when the role isn't running, whether launch.by was told, and how to start launch.by (930.787621ms)
|
||
✔ talk to a role launch.by can't launch says it isn't in the launch block (133.994884ms)
|
||
✔ talk to a stopped role prints the waiting line once, skips a non-reply and prints the reply (238.925979ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (99.652849ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (122.934067ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (104.166263ms)
|
||
ℹ tests 396
|
||
ℹ suites 0
|
||
ℹ pass 370
|
||
ℹ fail 24
|
||
ℹ cancelled 2
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 207393.278268
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:136:1
|
||
✖ bus start --pm: the launcher instance (the chief of staff) runs under its own PID namespace, registered, with a manifest (530.444357ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-5vNhzo/data/launches/acme/r88e759d8fcd7
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:220:1
|
||
✖ the chief of staff launches a coder through its launch tool; the coder answers; refusals name their code (435.967932ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-aArrnD/data/launches/acme/r4b160c8d0a82
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:302:1
|
||
✖ a launched pm's request_staff reaches the chief of staff; no other session has the tool and the launch limits still hold (385.55765ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-KvFWDc/data/launches/acme/r85ef7a0ed071
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:336:1
|
||
✖ each launch makes sure the workspace has a clone of the project: cloned, fast-forwarded, or fetched and logged (395.434425ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-lM9HVB/data/launches/acme/r34a028e05cc5
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:397:1
|
||
✖ a role the broker says holds a merge decision gets land_work, its prompt line, its landing and the git socket; without it, none (423.300453ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-Xnxutc/data/launches/acme/r29c85ec58852
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:449:1
|
||
✖ REQ-LAUNCH-1 the tick starts a listed merge decision holder once, with land_work, the Landing line and its landing turn; an unlisted holder starts nothing (438.164765ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
+ []
|
||
- [
|
||
- [
|
||
- 'coder',
|
||
- 'jason'
|
||
- ]
|
||
- ]
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:453:10)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
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: [],
|
||
expected: [ [ 'coder', 'jason' ] ],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:468:1
|
||
✖ a holder running since before the resolution is stopped once the broker releases it, land-relaunch, and the next tick starts it: landing turn first, then the message that waited (423.435217ms)
|
||
AssertionError [ERR_ASSERTION]: {"ok":false,"error":"launch-failed"}
|
||
|
||
false !== true
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:474:10)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: false,
|
||
code: 'ERR_ASSERTION',
|
||
actual: false,
|
||
expected: true,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:532:1
|
||
✖ a landing run that ended isn't started again for its decision, a spent decision starts nothing, and a new decision starts the holder (351.815025ms)
|
||
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
|
||
at join (node:path:1339:7)
|
||
at runnerText (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:443:44)
|
||
at file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:537:21
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:45:21)
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:537:9)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
code: 'ERR_INVALID_ARG_TYPE'
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:558:1
|
||
✖ after a restart, the new host's first tick starts a holder whose decision is still held (296.505542ms)
|
||
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
|
||
at join (node:path:1339:7)
|
||
at runnerText (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:443:44)
|
||
at file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:564:21
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:45:21)
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:564:9)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
code: 'ERR_INVALID_ARG_TYPE'
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:583:1
|
||
✖ a refused landing start is logged once per code with its decision, isn't a start, and the next tick with room starts the holder (355.305631ms)
|
||
AssertionError [ERR_ASSERTION]: {"ok":false,"error":"launch-failed"}
|
||
|
||
false !== true
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:589:10)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: false,
|
||
code: 'ERR_ASSERTION',
|
||
actual: false,
|
||
expected: true,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:628:1
|
||
✖ a runner that stops at once ends its launch with the runner's reason (343.517319ms)
|
||
AssertionError [ERR_ASSERTION]: {"ok":false,"error":"launch-failed"}
|
||
|
||
false !== true
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/launcher.test.mjs:639:10)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: false,
|
||
code: 'ERR_ASSERTION',
|
||
actual: false,
|
||
expected: true,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:663:1
|
||
✖ a pi launch needs no session credential: pi logs in through its own ENV_ALLOW variables (319.029099ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-0jLdwM/data/launches/acme/r74c2f0fe6cbe
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:676:1
|
||
✖ row 65 a failed primary preflight launches the fallback on a fixture harness module, recording the route and the reason (527.050932ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-E8bsvF/data/launches/acme/rf95173f8dd96
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:703:1
|
||
✖ a runner killed from the host ends its launch as killed, not failed (690.453743ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-CL2rCO/data/launches/acme/ra3a9ed03eeda
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:774:1
|
||
✖ a real Claude Code coder's shell can't read a stand-in secret or anything else its sandbox doesn't hold (301.349461ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-Q81TZM/data/launches/acme/r39af31b7d922
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:843:3
|
||
✖ 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 (30041.319441ms)
|
||
'test timed out after 30000ms'
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:843:3
|
||
✖ 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 (30028.902086ms)
|
||
'test timed out after 30000ms'
|
||
|
||
test at packages/cli/tests/launcher.test.mjs:959:1
|
||
✖ a runner that ignores SIGTERM is killed when the host closes (219.770344ms)
|
||
Error [SeatError]: data root path too long for a socket: /home/jwoltje/dewey-scratch/tmp/b177-suites/mosaic-launch-HFTgNx/data/launches/acme/r0352a760277b
|
||
at newRun (file:///home/jwoltje/dewey-scratch/b177/packages/seat/src/session.mjs:119:68)
|
||
at start (file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:357:29)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async file:///home/jwoltje/dewey-scratch/b177/packages/cli/src/launcher.mjs:663:16 {
|
||
exitCode: 2
|
||
}
|
||
|
||
test at packages/cli/tests/stack-release.test.mjs:1091:1
|
||
✖ T42 tester-port pm-on preserves pointer Console flags (1871.213898ms)
|
||
AssertionError [ERR_ASSERTION]: stack-release: refusing capture-failed: could not write the rollback set /home/jwoltje/dewey-scratch/tmp/b177-suites/sr-1SP51Z/data/state/stack-rollback/20261020T022431Z-3ca91b00b9c6; nothing was stopped
|
||
|
||
|
||
3 !== 0
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/stack-release.test.mjs:1095:39)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: false,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 3,
|
||
expected: 0,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/cli/tests/thread-launch.test.mjs:160:1
|
||
✖ 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 (20293.172053ms)
|
||
Error: timed out waiting
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:41:9)
|
||
at async ask (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:146:17)
|
||
at async TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:172:17)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
|
||
|
||
test at packages/cli/tests/thread-launch.test.mjs:208:1
|
||
✖ REQ-THREAD-2 REQ-LAUNCH-1 a running thread counts against its model's limit and an idle-stopped one doesn't (265.629622ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||
+ actual - expected
|
||
|
||
+ 'launch-failed'
|
||
- 'capacity-full'
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:219: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: 'launch-failed',
|
||
expected: 'capacity-full',
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at packages/cli/tests/thread-launch.test.mjs:233:1
|
||
✖ REQ-THREAD-2 REQ-LAUNCH-1 a turn longer than the idle time isn't stopped, and the thread idles out after it (30119.371583ms)
|
||
Error: timed out waiting
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:41:9)
|
||
at async TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:243:3)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||
|
||
test at packages/cli/tests/thread-launch.test.mjs:250:1
|
||
✖ REQ-THREAD-2 REQ-LAUNCH-1 a message sent after the idle snapshot keeps the session, which answers it (20179.758627ms)
|
||
Error: timed out waiting
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:41:9)
|
||
at async TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:271:3)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||
|
||
test at packages/cli/tests/thread-launch.test.mjs:308:1
|
||
✖ REQ-LAUNCH-1 a thread run's session file has no landing, even when landHolders names its instance (20126.041286ms)
|
||
Error: timed out waiting
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:41:9)
|
||
at async TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:316:3)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||
|
||
test at packages/cli/tests/thread-launch.test.mjs:325:1
|
||
✖ REQ-LAUNCH-1 a run that ends without taking its thread's message isn't started again for that message (20141.756984ms)
|
||
Error: timed out waiting
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:41:9)
|
||
at async TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:339:15)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||
|
||
test at packages/cli/tests/thread-launch.test.mjs:420:1
|
||
✖ REQ-LIMIT-4 a thread run at its token limit stops at the end of its turn: the reply lands, and the end record names the limit (20135.805574ms)
|
||
Error: timed out waiting
|
||
at until (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:41:9)
|
||
at async ask (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:146:17)
|
||
at async TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/b177/packages/cli/tests/thread-launch.test.mjs:428:21)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|