✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (29.404522ms)
✔ agents: working counts what the holder received and has not read; routed alone is not working (29.794747ms)
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (55.807597ms)
✔ agents: working wins over waiting, and Input needed still shows (29.552927ms)
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (36.522295ms)
✔ agents: state reads only its own business, even for a run name both use (32.187717ms)
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (37.038939ms)
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (32.59149ms)
✔ agents: stranded is oldest first and capped at 50 for a role (170.263225ms)
✔ agents: stranded is per role and per business (60.026871ms)
✔ agents: a message routed to a held role and not yet received is not stranded (32.201867ms)
✔ REQ-DEC an approval outlives its run and a broker restart; a new run of the instance consumes it once (48.825912ms)
✔ REQ-DEC another instance of the same definition cannot consume an approval, and its refusal consumes nothing (25.844107ms)
✔ REQ-DEC REQ-THREAD-1 a thread approval is consumed only by a run holding the same thread (42.623876ms)
✔ REQ-DEC a later run of the same instance supersedes an open decision; another instance cannot (39.16661ms)
✔ REQ-DEC REQ-THREAD-1 a thread decision is superseded only from the same thread (40.168481ms)
✔ REQ-DEC REQ-THREAD-1 a thread instance decision raised before row 121 is not consumed or superseded by any thread run (62.072646ms)
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (28.422768ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (36.675769ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (48.333375ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (31.529502ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (26.061122ms)
✔ a recommendation that is not exactly one option key refuses invalid-recommendation after the options (42.891276ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (24.708267ms)
✔ task action subjects and linked decision trail are complete and ordered (35.773452ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (18.115305ms)
✔ business isolation includes inherited object names and cross-business message references (33.442368ms)
✔ authority never transfers between action, target, unresolved or replaced role holder; a later run of the instance keeps it (62.112322ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (30.693688ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (32.993709ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (27.108287ms)
✔ both arbiters require human resolution when their cross-role route is themselves (52.573887ms)
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (48.816534ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.156694ms)
✔ REQ-COS-1, REQ-ROLE-2: the chief of staff ends a run with a reason and no decision, and the reason is logged (39.631377ms)
✔ REQ-ROLE-2: a role without role.end still needs a resolved decision to revoke (52.531533ms)
✔ REQ-ROLE-2: storage accepts a revoke with a reason or a decision and aborts one with neither (36.779087ms)
✔ REQ-ROLE-2: the chief of staff may still cite a decision, and a decision alone is the old path (33.772017ms)
✔ REQ-ROLE-2: a role without role.end still ends a run through a resolved decision, which is recorded and has no reason (43.569662ms)
✔ REQ-ROLE-2: a reason is required, bounded, and never sent with a decision (41.331851ms)
✔ REQ-COS-1: the chief of staff cannot end its own run; its end of the assistant gets past the protection (35.68238ms)
✔ REQ-LIMIT-1, REQ-COS-1: organization.set from the chief of staff reaches the shared writer, named as the actor (33.114979ms)
✔ REQ-LIMIT-1, REQ-COS-1: a refused organization.set logs action.refused and no action.allowed, like a refused limits.set (77.199835ms)
✔ REQ-LIMIT-1: organization.set is refused for every caller whose role file lacks organization.change (47.399556ms)
✔ REQ-LIMIT-1: the chief of staff is logged as allowed, and organization.set takes only the human's keys (77.021432ms)
✔ 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 (136.603856ms)
✔ 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 (119.524433ms)
✔ comment cursors isolate businesses, move only forward and remain append-only (23.866885ms)
✔ only trusted sync writes validated cursors; events and cursor share rollback (16.408725ms)
✔ explicit 3b copy migration preserves evidence and opens as 3f; normal startup never migrates (88.10356ms)
✔ migration refuses active writers and drifted legacy schemas, with no partial upgrade (163.693555ms)
✔ named migration registry chains 3b through 3f to a fixture-only future version in order (102.817137ms)
✔ migration refuses mismatched source metadata without changing schema or evidence (98.799166ms)
✔ offline command migrates only the supplied fixture root and reports usage errors (294.163568ms)
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (22.635535ms)
✔ credentials refuses a role session and any argument (23.7757ms)
✔ credentials reads the status on each request, and a broker without one lists none (34.149066ms)
✔ the broker process answers credentials without a token, path or variable in its output, log or store (157.818191ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (3.955815ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.657584ms)
✔ expiry refuses use and env references never become client data (1.137225ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (2.067315ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.450322ms)
✔ each C-suite role file carries the same two lists: human, chief-of-staff, pm, cto (2.338667ms)
✔ chief-executive-officer: messages to and from the user, chief of staff, pm and cto pass (71.134636ms)
✔ chief-executive-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (66.243912ms)
✔ chief-executive-officer: another C-suite role isn't on the lists either (57.859697ms)
✔ chief-financial-officer: messages to and from the user, chief of staff, pm and cto pass (73.442707ms)
✔ chief-financial-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (62.579717ms)
✔ chief-financial-officer: another C-suite role isn't on the lists either (81.38491ms)
✔ chief-information-officer: messages to and from the user, chief of staff, pm and cto pass (78.909197ms)
✔ chief-information-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (88.973245ms)
✔ chief-information-officer: another C-suite role isn't on the lists either (85.675474ms)
✔ chief-information-security-officer: messages to and from the user, chief of staff, pm and cto pass (84.883539ms)
✔ chief-information-security-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (68.399326ms)
✔ chief-information-security-officer: another C-suite role isn't on the lists either (63.461954ms)
✔ chief-marketing-officer: messages to and from the user, chief of staff, pm and cto pass (71.708881ms)
✔ chief-marketing-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (80.182768ms)
✔ chief-marketing-officer: another C-suite role isn't on the lists either (95.244796ms)
✔ a human resolve sends the raising role one message from the human, and its request is the answer (50.206915ms)
✔ a cross-role decision resolved by its arbiter comes from that role and run, with no request (36.253717ms)
✔ a human withdraw sends one message with the note (37.542016ms)
✔ a human seen before the close leaves the request on the close's answer, not the seen (46.837353ms)
✔ the raising run's withdraw, a supersede, a within-role raise and seen send nothing (48.453966ms)
✔ refused closes send nothing: invalid-choice, decision-closed, not-resolver (47.945661ms)
✔ a raising role nobody holds at the close gets the message on the next claim (36.484785ms)
✔ a human DECISION send keeps its own instruction as the request, not a close's answer (36.4186ms)
✔ a cross-role raise whose arbiter the raiser does not hear from is refused and stores nothing (44.493673ms)
✔ a gated raise by a role that does not hear from the human is refused and stores nothing (42.382164ms)
✔ a route the raiser hears from is allowed, checked from the route to the raiser (53.974872ms)
✔ a refused supersede withdraws nothing (47.404475ms)
✔ the assistant's within-role and gated raises still work (49.688845ms)
✔ roles lists open decisions routed to a role, and never the human inbox (38.617451ms)
✔ recent lists closed decisions of every route, newest close first, with how each closed (49.207677ms)
✔ recent gives the closing event as closed when the decision was seen first (49.82948ms)
✔ recent stops at RECENT rows (140.809215ms)
✔ every row is what trail already gives the same session for that id (68.81794ms)
✔ a role session can't list decisions, so it can't read another role's open decisions (80.012865ms)
✔ decisions is a read: one business, strict arguments, nothing written (80.074484ms)
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (25.24138ms)
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (21.091679ms)
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (26.665473ms)
✔ endLaunch leaves a claim another run took alone (31.978384ms)
✔ refuse records action.refused against the caller with the code only (20.623966ms)
✔ launches off refuses role.launch with launch-revoked until launches on (28.941315ms)
✔ broker process: launch ops authorize role.launch, record refusals and end runs (176.918386ms)
✔ REQ-WAIT-1: the broker hard waits are exactly the list, and match the business vocabulary (1.763094ms)
✔ REQ-WAIT-2: a business granting a hard wait at either class is refused; the actions that left are grantable (20.970605ms)
✔ REQ-DEC-2: every hard wait goes to the human, cited or not, and the arbiter cannot resolve it (726.935788ms)
✔ REQ-DEC-2: a gated raise citing the current spec goes to the arbiter for its domain; uncited, to the human (411.277054ms)
✔ REQ-DEC-2: an arbiter-approved cited gated decision authorizes the raiser, and the human cannot resolve it (118.653671ms)
✔ REQ-DEC-2: a cited merge raised by merge-gate goes to the technical arbiter; a merge raised without the grant routes by citation (123.842882ms)
✔ REQ-DEC-2: a stale or unconfirmed citation refuses without a decision; an arbiter raising its own goes to the human (173.946549ms)
✔ Q169: the chief of staff's end of the assistant is not refused role-end-refused; its own run and another ender's are (55.879834ms)
✔ Q169: another role's cited revoke of the assistant, resolved by an arbiter, is refused (84.196029ms)
✔ Q169: a revoke of the assistant citing a decision the human resolved is not refused by the protection (54.968418ms)
✔ Q169: a cited revoke of a role not in END_PROTECTED still goes to the arbiter, and executes (50.851583ms)
✔ Q169: a role granted role.revoke at either class still sends a revoke of the assistant to the human (73.453751ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (1.881306ms)
✔ process reader gets own kernel identity without exposing environment values (0.567388ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.925069ms)
✔ real pid 1 remains inspectable when its environment is protected (0.352992ms)
✔ REQ-DEC-2: a merge-gate raise its arbiter resolved lands through the host op: checkLand answers the facts and a ticket, records nothing, and recordLand spends the decision once (58.790775ms)
✔ checkLand refuses on the decision and the review (58.059465ms)
✔ REQ-LAND-1: a gated merge decision refuses not-authorized, cited and approved by the arbiter or uncited and approved by the human (139.364391ms)
✔ REQ-LAND-1: a within-role merge grant refuses not-authorized at the land (60.518634ms)
✔ a cross-role merge that routes to the human, because merge-gate is its own arbiter, lands on the human's CLI answer (46.999552ms)
✔ a merge option with no first line refuses no-subject, as land-work does (45.074955ms)
✔ checkLand refuses with land-work's codes past the authority check, and a decision raised for refactor never lands (149.048886ms)
✔ a ticket outlives the run that asked, and recordLand checks the task again (50.527921ms)
✔ landRefused files the code on the task, tells the role only with notify, and ends the ticket (52.510314ms)
✔ landHeld is true only for an approved, unspent cross-role merge decision this role raised for a task in this thread (49.312336ms)
✔ no run may write the action.allowed for git.merge.protected itself (31.346811ms)
✔ a message to a stopped role sends launch.by one notice, and the result says so (45.987147ms)
✔ a message to a role outside launch.instances says so in its result and in the notice (25.636186ms)
✔ a message to a running role sends no notice and its result is unchanged (24.846218ms)
✔ a re-route at a claim, a release and claim, and a broker restart send no second notice (41.809393ms)
✔ a run launched but not yet claimed counts as no holder (18.443659ms)
✔ no notice for a message to launch.by, from it, from a tester, to the human, or in a thread to a thread instance (39.015226ms)
✔ a business with no launch block tells nobody and says there is no launcher (20.450679ms)
✔ the notice sender stays internal: no role is named _bus and no caller can send as it or to it (82.59255ms)
✔ limits binds actor from human proof and rejects role, reader, tester and forged actor (35.777146ms)
✔ runtime wires verified human settings to the actual shared file writer and actor receipt (97.644907ms)
✔ uncertain organization receipts leave bus startup and reads alone but refuse writes until reconciled (54.806269ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (62.335809ms)
✔ missing and foreign-business citations refuse and roll back message and grant (34.63312ms)
✔ cross-role sends still need a matching resolved decision and consume it once (39.689712ms)
✔ messages pages all human messages newest first without writes; read state is history (627.593306ms)
✔ messages refuses role callers, invalid paging and cursors outside this human feed (39.904265ms)
✔ views messages passes only its paging arguments through (0.569519ms)
✔ messages isolates businesses even with a valid foreign cursor (35.183382ms)
✔ the assistant sends to the user and to the chief of staff only (80.888244ms)
✔ an assistant send to any other role, or to the tester, is refused and logged (57.289685ms)
✔ only the user and the chief of staff may send to the assistant; the tester is refused by default (77.001812ms)
✔ REQ-ASSIST-2 REQ-THREAD-1 thread.send to an instance that does not hear from the user is refused and stores nothing (56.140717ms)
✔ a sender-side list alone refuses a send to a role that has no list (69.642035ms)
✔ a target-side list alone refuses a send from a role that has no list (61.368802ms)
✔ the sender list is checked before the target list (43.661355ms)
✔ roles without the field behave exactly as before (65.149913ms)
✔ a business with no role definitions at all is unlimited (55.972494ms)
✔ a malformed messaging field refuses at boot (22.010261ms)
✔ the assistant's review.request to a reviewer is refused and logged, even with an approved decision (56.962237ms)
✔ a review.verdict to the assistant from a role outside its receiveFrom is refused and logged (69.759257ms)
✔ review requests and verdicts between roles without the field are unchanged (63.30841ms)
✔ plugins and plugins.set refuse every non-human session and a forged actor, and pass only the patch with the verified actor (35.882428ms)
✔ 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 (141.353477ms)
✔ vikunja:19/309 through the broker, a patch switches the kinds it names and keeps the rest; null removes one kind and is trailed (78.358215ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (177.537101ms)
✔ startup token refusal returns safe code without value or partial listening broker (131.182246ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (154.069649ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (288.94513ms)
✔ trusted host registers later launches; socket clients never have a registration verb (172.395264ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (111.960891ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (133.910026ms)
✔ D1: committed write with a failed receipt refuses outcome-unknown without action.allowed (37.134023ms)
✔ D2: spec.read refuses without content if its role is released during the read (35.39751ms)
✔ D3: spec.read secret check refuses flagged content without content (34.070963ms)
✔ D3: spec.read secret check refuses flagged subject without content (22.821243ms)
✔ a human lists, opens and saves; the save is one commit by the business human (257.898364ms)
✔ an agent and a reader refuse every file verb and nothing is written (69.287004ms)
✔ a stale base refuses stale-base and writes nothing (139.66157ms)
✔ paths outside the spec and docs refuse, as do unknown projects, missing files and odd arguments (155.805337ms)
✔ without a project adapter the file verbs refuse project-not-configured (90.832432ms)
✔ on the socket a save may carry 1 MiB of text; every other request keeps the 64 KiB limit (284.14426ms)
✔ a request that names the save verb first and another verb last is refused at 64 KiB (62.782654ms)
✔ two saves racing for one repository make one commit (137.724554ms)
✔ Broker keeps the existing sandbox client import closure: no new imports or lazy project import (2.969349ms)
✔ without a trusted project adapter all three async paths refuse project-not-configured (83.556564ms)
✔ real startBroker injects the project adapter for socket reads and bound-author record writes (125.930647ms)
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (72.384569ms)
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (35.620333ms)
✔ a message with no reply gives an empty list (25.45752ms)
✔ replies come oldest first and stop at REPLIES (139.584513ms)
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (52.52298ms)
✔ strict arguments; a role session gets human-required (65.515284ms)
✔ views passes replies through as one call with the id (0.367475ms)
✔ requirements returns the committed list to a holding role session, and no one else (46.486016ms)
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (29.426227ms)
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (27.606593ms)
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (50.748011ms)
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (38.581815ms)
✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (45.942204ms)
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (61.181836ms)
✔ reviewFetch answers only the addressed reviewer, for the request it cites (42.710121ms)
✔ review.verdict answers one request once, to the role that asked (48.293178ms)
✔ task.close on a pushed task needs an approve verdict for the latest push (74.047561ms)
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (50.861331ms)
✔ v3b prototype refusals, views and append-only mutations (169.614609ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (47.688737ms)
✔ another run of the same instance consumes an approval once; a failed check leaves it usable (36.554225ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (29.393104ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (58.000226ms)
✔ class drift gated to cross-role refuses before consumption (38.207794ms)
✔ class drift cross-role to gated refuses before consumption (48.168503ms)
✔ class drift gated to within-role refuses before consumption (54.652277ms)
✔ class drift cross-role to within-role refuses before consumption (70.103331ms)
✔ class drift within-role to gated refuses before consumption (36.549228ms)
✔ class drift within-role to cross-role refuses before consumption (43.512448ms)
✔ message.send consumes approval and prevents a later send or authorize (48.95322ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (50.364854ms)
✔ 3e copy migrates to 3f preserving every old column/row and adding null spec citations (172.250406ms)
✔ real socket awaits spec reads, record writes and cited raises; other requests still return normally (183.790322ms)
✔ real socket preserves asynchronous refusal codes and disconnects its transient proof (68.694297ms)
✔ two real socket writes to one repository yield one commit and one project-busy refusal (131.599159ms)
✔ client disconnect during await tolerates late reply (119.431091ms)
✔ client disconnect during await tolerates late refusal (46.063207ms)
✔ N-a: slow admitted record.write returns its committed result after the idle deadline (233.571067ms)
✔ current citation is recorded; docs commits do not stale it and a new spec never reopens settlement (223.057606ms)
✔ stale, unconfirmed, missing and partial spec citations refuse without inserting a decision (241.146881ms)
✔ uncited raises retain their synchronous path and spec read is available to any held role in its business (76.414975ms)
✔ record writes bind the session author, require authority and refuse spec and impersonation paths (86.138989ms)
✔ REQ-COS-1: the pm asks the chief of staff for roles and counts; the chief receives a STAFF-REQUEST and answers it (47.034633ms)
✔ REQ-COS-1: only the pm can send a staff request; every other session is refused and the chief of staff hears nothing (48.095215ms)
✔ REQ-COS-1: a pm without message.send is refused like any other gated action (29.568124ms)
✔ REQ-COS-1: the request goes to the business launcher, and only when that is a chief of staff (77.824236ms)
✔ 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 (93.702166ms)
✔ 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 (74.358543ms)
✔ REQ-COS-1: a refused staff request leaves no staff.request action.allowed event (43.972133ms)
✔ REQ-ASSIST-2: the role definitions' messaging lists hold for a staff request, sender and recipient (94.013503ms)
✔ a staff request names a task, 1 to 10 distinct roles and counts of 1 to 20; nothing else is accepted (59.560125ms)
✔ REQ-COS-1: a staff request grants nothing: the pm still can't launch and the chief of staff launches as before (38.581103ms)
✔ a business that never switched launches reads allowed with no time and no event (26.46228ms)
✔ launches revoked and then restored read allowed, with the restore time and event id (23.999779ms)
✔ a task closed on the tracker leaves the open list, and total counts the open ones (28.995236ms)
✔ a tombstone is not open (29.474585ms)
✔ the open list stops at the cap and says so; total still counts every open task (36.819878ms)
✔ a role and a reader session read state; arguments, and an unbound cap, refuse (39.304624ms)
✔ a human session reads the same state, with the same cap (63.308004ms)
✔ reading state writes nothing: every table keeps its row count (30.591767ms)
✔ creates private WAL store and excludes a second writer until explicit close (22.236653ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (25.758992ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (30.618873ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (103.141491ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (44.449248ms)
✔ async transactions refuse before invoking their function (18.419725ms)
✔ the session default fits under the reply cap and pages to the end with next (264.258624ms)
✔ the short form: no description, assignees by role, every listed key (138.008693ms)
✔ each filter, alone and together, and total counts every match (243.269874ms)
✔ task_ref reads one task in full, as the whole board has it (112.345805ms)
✔ no arguments is the read the Console and mosaic make, unchanged (88.977076ms)
✔ an unknown argument or a bad value refuses invalid-request (335.41434ms)
✔ tasks rows carry priority and requirement for every session that reads tasks (70.993905ms)
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (88.385755ms)
✔ an empty business and one with snapshots but no task.created read cleanly (24.075323ms)
✔ recordTask keeps sync reads and a role write apart (42.586167ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (21.667683ms)
✔ a bad entry refuses the whole record (20.923612ms)
✔ taskView reads the projection for one business (27.610685ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (45.116503ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (292.048096ms)
✔ without an adapter the server refuses every task verb (28.91342ms)
✔ the runtime refuses an invalid adapter and closes a valid one (33.577939ms)
✔ the process loads the S3 adapter from plain-data trackers (196.613381ms)
✔ the tester binds only when the business sets bus.tester to exactly true (129.97823ms)
✔ a business may not name a role tester, so the tester address is never a role (36.07093ms)
✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (79.637023ms)
✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (27.747103ms)
✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (37.3538ms)
✔ the tester reads the human views a reader reads (43.928749ms)
✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (2.444039ms)
✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.58945ms)
✔ testerNonce reads only the tester's variable and gives null on any read error (0.334553ms)
✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (31.417119ms)
✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (719.494261ms)
✔ REQ-THREAD-1 REQ-ORG-2: the 3d→3e migration adds the thread tables and leaves messages from before threads as written (149.586015ms)
✔ REQ-THREAD-1: a 3d bus with a changed schema is refused and keeps its version and tables (85.761085ms)
✔ REQ-THREAD-1: the offline command prints the kept-message counts before the ready line (160.206185ms)
✔ REQ-ROLE-2 REQ-THREAD-1: one holder per thread, through the broker and the trigger (67.72308ms)
✔ REQ-ROLE-2 REQ-THREAD-1: the 3e triggers refuse writes that skip the broker (105.481905ms)
✔ REQ-MSG-1: a message to or from the assistant names its thread, or is refused (49.383366ms)
✔ REQ-MSG-1: the chief of staff's reply comes back to the thread that sent the work (684.279101ms)
✔ REQ-MSG-1: a reply can't carry one thread instance's thread to another thread instance (16.770492ms)
✔ REQ-THREAD-1 REQ-USER-2: one thread's messages never reach another thread's holder (23.621089ms)
✔ REQ-LAUNCH-1: a message to a thread with no holder waits, and the next holder gets it (25.161837ms)
✔ REQ-THREAD-2 REQ-LAUNCH-1: threadIdle releases only a thread with nothing waiting, and only for its holder (27.944192ms)
✔ REQ-THREAD-2 REQ-LAUNCH-1: a message delivered to a run that ended unread doesn't hold up the next holder (23.337022ms)
✔ REQ-ROLE-2 REQ-THREAD-1: an approved role.revoke never reaches a thread run, and the thread stays held (22.605968ms)
✔ REQ-USER-2: the human verbs refuse another owner's thread (24.21601ms)
✔ REQ-THREAD-1: thread.create refuses when the business has no thread instance or more than one (17.196901ms)
✔ REQ-ORG-2: projects and threads are named once, and the repo names a business project (21.689328ms)
✔ REQ-THREAD-2: thread.messages returns the thread's history in pages and writes nothing (73.688292ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (52.62986ms)
✔ two wire claims serialize; a lost reply never automatically retries (35.293338ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (17.35578ms)
✔ client preserves UTF-8 when a response divides a multibyte character (12.768505ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (27.580522ms)
✔ web.search: a granted role gets labelled results, and the call is trailed with role, run, verb and query (33.01988ms)
✔ web.fetch: a granted role gets the page as labelled text, and the call is trailed with the url (32.010658ms)
✔ a role without the grant is refused, the refusal is logged with the verb, and nothing is fetched (27.675697ms)
✔ a broker with no web service refuses a granted role (19.584157ms)
✔ bad requests are refused: unknown verb, extra or missing argument, not a string, a human or reader session (31.072152ms)
✔ a session that is not the role holder is refused (22.441952ms)
✔ web.mjs's fences hold on the broker side: refusals are normal results with the fixed reason (58.507089ms)
✔ web.search with no search source configured is a refused result, not an error (20.764335ms)
✔ a search source that fails with its own refusal, or that throws, is handled (25.686953ms)
✔ a slow search source ends in a refusal at the deadline (72.251252ms)
✔ a secret in the arguments is refused before anything is trailed or fetched (14.654254ms)
✔ over the socket: the server routes web verbs to the service; other roles are refused; no service is web-not-configured (32.481594ms)
✔ busBusiness: the web grant comes from "web" in the resolved tool limit (0.319824ms)
✔ webServices: the business's search-source plug-in and web.searxng var make web.search work; without either it is refused as not configured (36.79642ms)
✔ an ungranted call is refused at once: no admission, no wait, nothing touched (18.161666ms)
✔ over the socket an ungranted caller is dropped by the server timeout and a granted one gets the longer wait (319.275476ms)
✔ a search that never answers is aborted at the deadline, the module sees the signal, and the call is trailed as refused (timeout) (72.097016ms)
✔ a fetch that stalls is cut off at the deadline: the request is destroyed, not left running (92.87926ms)
✔ 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 (14.565877ms)
ℹ tests 325
ℹ suites 0
ℹ pass 325
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2535.788462
