Candidate on 56639c99b: waiting gains launchable, and a message to a role
outside launch.instances gets a notice saying the launch is refused and a
talk line saying launch.by can't launch it. Mutants 8/8 killed; gate green
(bus, cli, business, webui and every scripts/test-*.sh).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
285 lines
28 KiB
Plaintext
285 lines
28 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (154.908692ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (212.39013ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (337.629855ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (181.702722ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (198.68229ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (179.517533ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (233.134047ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (244.412716ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (976.732504ms)
|
||
✔ agents: stranded is per role and per business (362.294934ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (150.691375ms)
|
||
✔ REQ-DEC an approval outlives its run and a broker restart; a new run of the instance consumes it once (288.7355ms)
|
||
✔ REQ-DEC another instance of the same definition cannot consume an approval, and its refusal consumes nothing (179.769963ms)
|
||
✔ REQ-DEC REQ-THREAD-1 a thread approval is consumed only by a run holding the same thread (264.429162ms)
|
||
✔ REQ-DEC a later run of the same instance supersedes an open decision; another instance cannot (237.043456ms)
|
||
✔ REQ-DEC REQ-THREAD-1 a thread decision is superseded only from the same thread (245.450797ms)
|
||
✔ REQ-DEC REQ-THREAD-1 a thread instance decision raised before row 121 is not consumed or superseded by any thread run (374.868431ms)
|
||
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (188.637947ms)
|
||
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (274.642508ms)
|
||
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (295.770472ms)
|
||
✔ launch events require a human CLI capability; generic emit cannot forge authority events (169.695459ms)
|
||
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (178.399958ms)
|
||
✔ a recommendation that is not exactly one option key refuses invalid-recommendation after the options (279.265217ms)
|
||
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (194.922705ms)
|
||
✔ task action subjects and linked decision trail are complete and ordered (214.937162ms)
|
||
✔ launch binding is durable and reconnecting requires the identical trusted record (151.540023ms)
|
||
✔ business isolation includes inherited object names and cross-business message references (198.663289ms)
|
||
✔ authority never transfers between action, target, unresolved or replaced role holder; a later run of the instance keeps it (329.582276ms)
|
||
✔ task projection uses schema current view, skipping earlier and equal-start polls (206.263841ms)
|
||
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (235.675423ms)
|
||
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (172.275142ms)
|
||
✔ both arbiters require human resolution when their cross-role route is themselves (262.366935ms)
|
||
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (222.393933ms)
|
||
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.335873ms)
|
||
✔ REQ-COS-1, REQ-ROLE-2: the chief of staff ends a run with a reason and no decision, and the reason is logged (253.045704ms)
|
||
✔ REQ-ROLE-2: a role without role.end still needs a resolved decision to revoke (343.963994ms)
|
||
✔ REQ-ROLE-2: storage accepts a revoke with a reason or a decision and aborts one with neither (247.038759ms)
|
||
✔ REQ-ROLE-2: the chief of staff may still cite a decision, and a decision alone is the old path (231.07081ms)
|
||
✔ REQ-ROLE-2: a role without role.end still ends a run through a resolved decision, which is recorded and has no reason (249.753741ms)
|
||
✔ REQ-ROLE-2: a reason is required, bounded, and never sent with a decision (334.92577ms)
|
||
✔ REQ-COS-1: the chief of staff cannot end its own run or the assistant's through role.end (288.987398ms)
|
||
✔ REQ-LIMIT-1, REQ-COS-1: organization.set from the chief of staff reaches the shared writer, named as the actor (240.323801ms)
|
||
✔ REQ-LIMIT-1, REQ-COS-1: a refused organization.set logs action.refused and no action.allowed, like a refused limits.set (384.094393ms)
|
||
✔ REQ-LIMIT-1: organization.set is refused for every caller whose role file lacks organization.change (335.845595ms)
|
||
✔ REQ-LIMIT-1: the chief of staff is logged as allowed, and organization.set takes only the human's keys (398.20837ms)
|
||
✔ REQ-ROLE-3, REQ-LIMIT-1: a chief-of-staff change is validated, written and logged like a human's; an invalid one is refused (608.436018ms)
|
||
✔ REQ-ROLE-2, REQ-COS-1: the 3c→3d migration lets the chief of staff end a held role with a reason; neither is still refused (975.669857ms)
|
||
✔ comment cursors isolate businesses, move only forward and remain append-only (149.289339ms)
|
||
✔ only trusted sync writes validated cursors; events and cursor share rollback (128.153175ms)
|
||
✔ explicit 3b copy migration preserves evidence and opens as 3e; normal startup never migrates (873.767171ms)
|
||
✔ migration refuses active writers and drifted legacy schemas, with no partial upgrade (1602.793878ms)
|
||
✔ named migration registry chains 3b through 3e to a fixture-only future version in order (914.254697ms)
|
||
✔ migration refuses mismatched source metadata without changing schema or evidence (876.936722ms)
|
||
✔ offline command migrates only the supplied fixture root and reports usage errors (915.955501ms)
|
||
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (114.976001ms)
|
||
✔ credentials refuses a role session and any argument (184.979163ms)
|
||
✔ credentials reads the status on each request, and a broker without one lists none (227.475759ms)
|
||
✔ the broker process answers credentials without a token, path or variable in its output, log or store (224.772714ms)
|
||
✔ only validated broker references load; returned data and exceptions cannot expose a known token (3.840548ms)
|
||
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.940443ms)
|
||
✔ expiry refuses use and env references never become client data (0.821859ms)
|
||
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (2.064689ms)
|
||
✔ opaque tokens shorter than 16 characters refuse before use (0.556881ms)
|
||
✔ each C-suite role file carries the same two lists: human, chief-of-staff, pm, cto (2.366965ms)
|
||
✔ chief-executive-officer: messages to and from the user, chief of staff, pm and cto pass (513.59278ms)
|
||
✔ chief-executive-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (464.585661ms)
|
||
✔ chief-executive-officer: another C-suite role isn't on the lists either (392.082677ms)
|
||
✔ chief-financial-officer: messages to and from the user, chief of staff, pm and cto pass (527.506756ms)
|
||
✔ chief-financial-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (490.557192ms)
|
||
✔ chief-financial-officer: another C-suite role isn't on the lists either (462.108584ms)
|
||
✔ chief-information-officer: messages to and from the user, chief of staff, pm and cto pass (520.622547ms)
|
||
✔ chief-information-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (510.116945ms)
|
||
✔ chief-information-officer: another C-suite role isn't on the lists either (463.072467ms)
|
||
✔ chief-information-security-officer: messages to and from the user, chief of staff, pm and cto pass (503.171432ms)
|
||
✔ chief-information-security-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (486.361951ms)
|
||
✔ chief-information-security-officer: another C-suite role isn't on the lists either (408.168732ms)
|
||
✔ chief-marketing-officer: messages to and from the user, chief of staff, pm and cto pass (454.343186ms)
|
||
✔ chief-marketing-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (400.80893ms)
|
||
✔ chief-marketing-officer: another C-suite role isn't on the lists either (359.104508ms)
|
||
✔ a human resolve sends the raising role one message from the human, and its request is the answer (251.765471ms)
|
||
✔ a cross-role decision resolved by its arbiter comes from that role and run, with no request (247.929104ms)
|
||
✔ a human withdraw sends one message with the note (254.839038ms)
|
||
✔ a human seen before the close leaves the request on the close's answer, not the seen (285.546059ms)
|
||
✔ the raising run's withdraw, a supersede, a within-role raise and seen send nothing (270.310246ms)
|
||
✔ refused closes send nothing: invalid-choice, decision-closed, not-resolver (341.154617ms)
|
||
✔ a raising role nobody holds at the close gets the message on the next claim (293.727206ms)
|
||
✔ a human DECISION send keeps its own instruction as the request, not a close's answer (243.403725ms)
|
||
✔ a cross-role raise whose arbiter the raiser does not hear from is refused and stores nothing (314.457689ms)
|
||
✔ a gated raise by a role that does not hear from the human is refused and stores nothing (309.883814ms)
|
||
✔ a route the raiser hears from is allowed, checked from the route to the raiser (345.455132ms)
|
||
✔ a refused supersede withdraws nothing (279.810244ms)
|
||
✔ the assistant's within-role and gated raises still work (346.172834ms)
|
||
✔ roles lists open decisions routed to a role, and never the human inbox (260.852495ms)
|
||
✔ recent lists closed decisions of every route, newest close first, with how each closed (291.648323ms)
|
||
✔ recent gives the closing event as closed when the decision was seen first (311.058573ms)
|
||
✔ recent stops at RECENT rows (844.056921ms)
|
||
✔ every row is what trail already gives the same session for that id (300.440799ms)
|
||
✔ a role session can't list decisions, so it can't read another role's open decisions (433.454522ms)
|
||
✔ decisions is a read: one business, strict arguments, nothing written (442.454517ms)
|
||
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (158.740681ms)
|
||
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (142.855332ms)
|
||
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (148.343448ms)
|
||
✔ endLaunch leaves a claim another run took alone (198.403409ms)
|
||
✔ refuse records action.refused against the caller with the code only (140.490101ms)
|
||
✔ launches off refuses role.launch with launch-revoked until launches on (197.580063ms)
|
||
✔ broker process: launch ops authorize role.launch, record refusals and end runs (310.64086ms)
|
||
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.50335ms)
|
||
✔ process reader gets own kernel identity without exposing environment values (0.693821ms)
|
||
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.036132ms)
|
||
✔ real pid 1 remains inspectable when its environment is protected (0.410715ms)
|
||
✔ a message to a stopped role sends launch.by one notice, and the result says so (223.8843ms)
|
||
✔ a message to a role outside launch.instances says so in its result and in the notice (159.518298ms)
|
||
✔ a message to a running role sends no notice and its result is unchanged (172.539549ms)
|
||
✔ a re-route at a claim, a release and claim, and a broker restart send no second notice (237.912306ms)
|
||
✔ a run launched but not yet claimed counts as no holder (146.631478ms)
|
||
✔ no notice for a message to launch.by, from it, from a tester, to the human, or in a thread to a thread instance (259.320908ms)
|
||
✔ a business with no launch block tells nobody and says there is no launcher (132.897849ms)
|
||
✔ the notice sender stays internal: no role is named _bus and no caller can send as it or to it (391.612366ms)
|
||
✔ limits binds actor from human proof and rejects role, reader, tester and forged actor (231.926196ms)
|
||
✔ runtime wires verified human settings to the actual shared file writer and actor receipt (308.165334ms)
|
||
✔ uncertain organization receipts leave bus startup and reads alone but refuse writes until reconciled (421.210006ms)
|
||
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (222.386377ms)
|
||
✔ missing and foreign-business citations refuse and roll back message and grant (188.100629ms)
|
||
✔ cross-role sends still need a matching resolved decision and consume it once (264.848852ms)
|
||
✔ messages pages all human messages newest first without writes; read state is history (2737.721682ms)
|
||
✔ messages refuses role callers, invalid paging and cursors outside this human feed (295.238506ms)
|
||
✔ views messages passes only its paging arguments through (0.271947ms)
|
||
✔ messages isolates businesses even with a valid foreign cursor (227.03928ms)
|
||
✔ the assistant sends to the user and to the chief of staff only (312.596515ms)
|
||
✔ an assistant send to any other role, or to the tester, is refused and logged (367.601018ms)
|
||
✔ only the user and the chief of staff may send to the assistant; the tester is refused by default (408.561146ms)
|
||
✔ REQ-ASSIST-2 REQ-THREAD-1 thread.send to an instance that does not hear from the user is refused and stores nothing (331.398156ms)
|
||
✔ a sender-side list alone refuses a send to a role that has no list (391.532474ms)
|
||
✔ a target-side list alone refuses a send from a role that has no list (370.229458ms)
|
||
✔ the sender list is checked before the target list (316.492908ms)
|
||
✔ roles without the field behave exactly as before (485.246426ms)
|
||
✔ a business with no role definitions at all is unlimited (383.535966ms)
|
||
✔ a malformed messaging field refuses at boot (119.795255ms)
|
||
✔ the assistant's review.request to a reviewer is refused and logged, even with an approved decision (376.637639ms)
|
||
✔ a review.verdict to the assistant from a role outside its receiveFrom is refused and logged (401.827805ms)
|
||
✔ review requests and verdicts between roles without the field are unchanged (370.337023ms)
|
||
✔ plugins and plugins.set refuse every non-human session and a forged actor, and pass only the patch with the verified actor (201.210538ms)
|
||
✔ runtime: the switch changes the organization file, the receipt carries the actor, and a bad shape, an unknown module and a stale revision are refused with nothing written (486.882414ms)
|
||
✔ vikunja:19/309 through the broker, a patch switches the kinds it names and keeps the rest; null removes one kind and is trailed (469.231164ms)
|
||
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (183.630077ms)
|
||
✔ startup token refusal returns safe code without value or partial listening broker (62.851548ms)
|
||
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (218.732912ms)
|
||
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (241.086941ms)
|
||
✔ trusted host registers later launches; socket clients never have a registration verb (242.013703ms)
|
||
✔ runtime excludes declared project roots even when host supplies no repoRoots (62.977815ms)
|
||
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (228.870639ms)
|
||
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (258.203669ms)
|
||
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (214.531249ms)
|
||
✔ a message with no reply gives an empty list (197.714133ms)
|
||
✔ replies come oldest first and stop at REPLIES (838.439106ms)
|
||
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (317.784467ms)
|
||
✔ strict arguments; a role session gets human-required (441.945841ms)
|
||
✔ views passes replies through as one call with the id (0.229173ms)
|
||
✔ requirements returns the committed list to a holding role session, and no one else (240.446401ms)
|
||
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (178.394177ms)
|
||
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (183.156302ms)
|
||
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (257.511933ms)
|
||
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (263.724294ms)
|
||
✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (346.699176ms)
|
||
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (414.129395ms)
|
||
✔ reviewFetch answers only the addressed reviewer, for the request it cites (246.655258ms)
|
||
✔ review.verdict answers one request once, to the role that asked (356.743531ms)
|
||
✔ task.close on a pushed task needs an approve verdict for the latest push (410.897101ms)
|
||
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (288.079605ms)
|
||
✔ v3b prototype refusals, views and append-only mutations (1624.711466ms)
|
||
✔ gated approval authorizes once, survives store reopen, and fresh approval works (247.588947ms)
|
||
✔ another run of the same instance consumes an approval once; a failed check leaves it usable (269.246714ms)
|
||
✔ two scheduled callers have exactly one grant and one consumed refusal (192.777388ms)
|
||
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (326.638813ms)
|
||
✔ class drift gated to cross-role refuses before consumption (235.432736ms)
|
||
✔ class drift cross-role to gated refuses before consumption (303.255273ms)
|
||
✔ class drift gated to within-role refuses before consumption (245.327295ms)
|
||
✔ class drift cross-role to within-role refuses before consumption (305.293818ms)
|
||
✔ class drift within-role to gated refuses before consumption (233.018788ms)
|
||
✔ class drift within-role to cross-role refuses before consumption (225.003307ms)
|
||
✔ message.send consumes approval and prevents a later send or authorize (242.309318ms)
|
||
✔ role.revoke consumes approval and prevents a later revoke or authorize (266.378882ms)
|
||
✔ REQ-COS-1: the pm asks the chief of staff for roles and counts; the chief receives a STAFF-REQUEST and answers it (266.485672ms)
|
||
✔ REQ-COS-1: only the pm can send a staff request; every other session is refused and the chief of staff hears nothing (369.579236ms)
|
||
✔ REQ-COS-1: a pm without message.send is refused like any other gated action (169.003119ms)
|
||
✔ REQ-COS-1: the request goes to the business launcher, and only when that is a chief of staff (477.534065ms)
|
||
✔ REQ-COS-1: the sender is judged by definition: an instance `lead` of the pm definition can ask, an instance `pm` of the coder definition can't (421.360891ms)
|
||
✔ REQ-COS-1: the launcher is judged by definition: an instance `boss` of the chief-of-staff definition receives, a `chief` of the coder definition gives no-chief-of-staff (449.266298ms)
|
||
✔ REQ-COS-1: a refused staff request leaves no staff.request action.allowed event (250.990314ms)
|
||
✔ REQ-ASSIST-2: the role definitions' messaging lists hold for a staff request, sender and recipient (676.173728ms)
|
||
✔ a staff request names a task, 1 to 10 distinct roles and counts of 1 to 20; nothing else is accepted (459.780761ms)
|
||
✔ REQ-COS-1: a staff request grants nothing: the pm still can't launch and the chief of staff launches as before (227.135461ms)
|
||
✔ a business that never switched launches reads allowed with no time and no event (139.193708ms)
|
||
✔ launches revoked and then restored read allowed, with the restore time and event id (212.543725ms)
|
||
✔ a task closed on the tracker leaves the open list, and total counts the open ones (156.648156ms)
|
||
✔ a tombstone is not open (139.004831ms)
|
||
✔ the open list stops at the cap and says so; total still counts every open task (155.941463ms)
|
||
✔ a role and a reader session read state; arguments, and an unbound cap, refuse (149.634929ms)
|
||
✔ a human session reads the same state, with the same cap (165.238794ms)
|
||
✔ reading state writes nothing: every table keeps its row count (178.159594ms)
|
||
✔ creates private WAL store and excludes a second writer until explicit close (137.355479ms)
|
||
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (234.403563ms)
|
||
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (173.340443ms)
|
||
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (186.903789ms)
|
||
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (107.608926ms)
|
||
✔ async transactions refuse before invoking their function (110.569531ms)
|
||
✔ the session default fits under the reply cap and pages to the end with next (291.359329ms)
|
||
✔ the short form: no description, assignees by role, every listed key (286.295723ms)
|
||
✔ each filter, alone and together, and total counts every match (354.949192ms)
|
||
✔ task_ref reads one task in full, as the whole board has it (319.29922ms)
|
||
✔ no arguments is the read the Console and mosaic make, unchanged (279.810421ms)
|
||
✔ an unknown argument or a bad value refuses invalid-request (984.509234ms)
|
||
✔ tasks rows carry priority and requirement for every session that reads tasks (376.891538ms)
|
||
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (361.41104ms)
|
||
✔ an empty business and one with snapshots but no task.created read cleanly (138.320619ms)
|
||
✔ recordTask keeps sync reads and a role write apart (232.863401ms)
|
||
✔ read_at must be one canonical UTC format, so the projection compares strings safely (113.488524ms)
|
||
✔ a bad entry refuses the whole record (103.358172ms)
|
||
✔ taskView reads the projection for one business (150.865405ms)
|
||
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (281.038898ms)
|
||
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (441.965489ms)
|
||
✔ without an adapter the server refuses every task verb (231.403478ms)
|
||
✔ the runtime refuses an invalid adapter and closes a valid one (229.186245ms)
|
||
✔ the process loads the S3 adapter from plain-data trackers (382.33213ms)
|
||
✔ the tester binds only when the business sets bus.tester to exactly true (888.549975ms)
|
||
✔ a business may not name a role tester, so the tester address is never a role (267.344754ms)
|
||
✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (615.641964ms)
|
||
✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (242.046528ms)
|
||
✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (266.143866ms)
|
||
✔ the tester reads the human views a reader reads (177.707663ms)
|
||
✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (1.07901ms)
|
||
✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.34943ms)
|
||
✔ testerNonce reads only the tester's variable and gives null on any read error (0.218829ms)
|
||
✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (115.582448ms)
|
||
✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (904.291066ms)
|
||
✔ REQ-THREAD-1 REQ-ORG-2: the 3d→3e migration adds the thread tables and leaves messages from before threads as written (1061.393057ms)
|
||
✔ REQ-THREAD-1: a 3d bus with a changed schema is refused and keeps its version and tables (897.018349ms)
|
||
✔ REQ-THREAD-1: the offline command prints the kept-message counts before the ready line (789.475645ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: one holder per thread, through the broker and the trigger (364.496771ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: the 3e triggers refuse writes that skip the broker (1244.639016ms)
|
||
✔ REQ-MSG-1: a message to or from the assistant names its thread, or is refused (396.301411ms)
|
||
✔ REQ-MSG-1: the chief of staff's reply comes back to the thread that sent the work (3984.784063ms)
|
||
✔ REQ-MSG-1: a reply can't carry one thread instance's thread to another thread instance (103.979898ms)
|
||
✔ REQ-THREAD-1 REQ-USER-2: one thread's messages never reach another thread's holder (158.414362ms)
|
||
✔ REQ-LAUNCH-1: a message to a thread with no holder waits, and the next holder gets it (163.861003ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1: threadIdle releases only a thread with nothing waiting, and only for its holder (172.022656ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1: a message delivered to a run that ended unread doesn't hold up the next holder (148.417933ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: an approved role.revoke never reaches a thread run, and the thread stays held (135.323552ms)
|
||
✔ REQ-USER-2: the human verbs refuse another owner's thread (145.617444ms)
|
||
✔ REQ-THREAD-1: thread.create refuses when the business has no thread instance or more than one (109.817904ms)
|
||
✔ REQ-ORG-2: projects and threads are named once, and the repo names a business project (160.104333ms)
|
||
✔ REQ-THREAD-2: thread.messages returns the thread's history in pages and writes nothing (472.151424ms)
|
||
✔ socket capability stamps launch identity; shared views use wire, no SQL client (158.466321ms)
|
||
✔ two wire claims serialize; a lost reply never automatically retries (208.010206ms)
|
||
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (130.715712ms)
|
||
✔ client preserves UTF-8 when a response divides a multibyte character (11.796966ms)
|
||
✔ committed mutation followed by dropped reply reports unknown and is never retried (140.679026ms)
|
||
✔ web.search: a granted role gets labelled results, and the call is trailed with role, run, verb and query (151.466377ms)
|
||
✔ web.fetch: a granted role gets the page as labelled text, and the call is trailed with the url (202.52736ms)
|
||
✔ a role without the grant is refused, the refusal is logged with the verb, and nothing is fetched (217.336668ms)
|
||
✔ a broker with no web service refuses a granted role (157.005894ms)
|
||
✔ bad requests are refused: unknown verb, extra or missing argument, not a string, a human or reader session (216.927434ms)
|
||
✔ a session that is not the role holder is refused (128.904908ms)
|
||
✔ web.mjs's fences hold on the broker side: refusals are normal results with the fixed reason (414.209216ms)
|
||
✔ web.search with no search source configured is a refused result, not an error (178.468402ms)
|
||
✔ a search source that fails with its own refusal, or that throws, is handled (211.010558ms)
|
||
✔ a slow search source ends in a refusal at the deadline (194.002147ms)
|
||
✔ a secret in the arguments is refused before anything is trailed or fetched (126.703672ms)
|
||
✔ over the socket: the server routes web verbs to the service; other roles are refused; no service is web-not-configured (235.583377ms)
|
||
✔ busBusiness: the web grant comes from "web" in the resolved tool limit (0.233348ms)
|
||
✔ webServices: the business's search-source plug-in and web.searxng var make web.search work; without either it is refused as not configured (215.334338ms)
|
||
✔ an ungranted call is refused at once: no admission, no wait, nothing touched (179.754718ms)
|
||
✔ over the socket an ungranted caller is dropped by the server timeout and a granted one gets the longer wait (468.957576ms)
|
||
✔ a search that never answers is aborted at the deadline, the module sees the signal, and the call is trailed as refused (timeout) (167.18367ms)
|
||
✔ a fetch that stalls is cut off at the deadline: the request is destroyed, not left running (193.246924ms)
|
||
✔ one query limit: over SEARCH_MAX_QUERY_CHARS or empty is refused with the same reason before any backend, and the tool schema carries the same number (305.355951ms)
|
||
ℹ tests 276
|
||
ℹ suites 0
|
||
ℹ pass 276
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 11498.151929
|