✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (132.264851ms) ✔ agents: working counts what the holder received and has not read; routed alone is not working (213.559523ms) ✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (334.063627ms) ✔ agents: working wins over waiting, and Input needed still shows (187.982772ms) ✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (229.731005ms) ✔ agents: state reads only its own business, even for a run name both use (200.253713ms) ✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (236.281043ms) ✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (216.257905ms) ✔ agents: stranded is oldest first and capped at 50 for a role (1012.433718ms) ✔ agents: stranded is per role and per business (544.379539ms) ✔ agents: a message routed to a held role and not yet received is not stranded (148.7665ms) ✔ launch identity is stamped, payload identity is refused and stale holder cannot send (172.438397ms) ✔ decision classes route from policy; gated resolution is human-only, choice and target must match (271.571897ms) ✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (289.374843ms) ✔ launch events require a human CLI capability; generic emit cannot forge authority events (192.156575ms) ✔ within-role decisions close atomically and invalid options or blocking omissions refuse (216.181566ms) ✔ a recommendation that is not exactly one option key refuses invalid-recommendation after the options (298.35435ms) ✔ observer capabilities read human inbox but cannot mutate or forge launch identity (176.266651ms) ✔ task action subjects and linked decision trail are complete and ordered (220.908454ms) ✔ launch binding is durable and reconnecting requires the identical trusted record (130.365974ms) ✔ business isolation includes inherited object names and cross-business message references (261.964601ms) ✔ authority never transfers between action, run, target, unresolved or replaced role holder (299.399522ms) ✔ task projection uses schema current view, skipping earlier and equal-start polls (171.343305ms) ✔ revocation permanently bars the old run from reclaiming first, including after broker restart (426.558461ms) ✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (165.62934ms) ✔ both arbiters require human resolution when their cross-role route is themselves (263.023499ms) ✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (166.289505ms) ✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.236125ms) ✔ REQ-COS-1, REQ-ROLE-2: the chief of staff ends a run with a reason and no decision, and the reason is logged (216.655294ms) ✔ REQ-ROLE-2: a role without role.end still needs a resolved decision to revoke (316.479121ms) ✔ REQ-ROLE-2: storage accepts a revoke with a reason or a decision and aborts one with neither (225.824474ms) ✔ REQ-ROLE-2: the chief of staff may still cite a decision, and a decision alone is the old path (230.376525ms) ✔ REQ-ROLE-2: a role without role.end still ends a run through a resolved decision, which is recorded and has no reason (262.071177ms) ✔ REQ-ROLE-2: a reason is required, bounded, and never sent with a decision (301.447835ms) ✔ REQ-COS-1: the chief of staff cannot end its own run or the assistant's through role.end (268.774777ms) ✔ REQ-LIMIT-1, REQ-COS-1: organization.set from the chief of staff reaches the shared writer, named as the actor (263.957034ms) ✔ REQ-LIMIT-1, REQ-COS-1: a refused organization.set logs action.refused and no action.allowed, like a refused limits.set (327.822023ms) ✔ REQ-LIMIT-1: organization.set is refused for every caller whose role file lacks organization.change (326.642994ms) ✔ REQ-LIMIT-1: the chief of staff is logged as allowed, and organization.set takes only the human's keys (558.955586ms) ✔ 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 (529.367284ms) ✔ 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 (806.337085ms) ✔ comment cursors isolate businesses, move only forward and remain append-only (135.825145ms) ✔ only trusted sync writes validated cursors; events and cursor share rollback (131.538477ms) ✔ explicit 3b copy migration preserves evidence and opens as 3d; normal startup never migrates (873.126347ms) ✔ migration refuses active writers and drifted legacy schemas, with no partial upgrade (1675.117192ms) ✔ named migration registry chains 3b through 3d to a fixture-only future version in order (1016.47104ms) ✔ migration refuses mismatched source metadata without changing schema or evidence (720.762803ms) ✔ offline command migrates only the supplied fixture root and reports usage errors (706.388955ms) ✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (112.037206ms) ✔ credentials refuses a role session and any argument (170.034547ms) ✔ credentials reads the status on each request, and a broker without one lists none (223.310474ms) ✔ the broker process answers credentials without a token, path or variable in its output, log or store (194.696042ms) ✔ only validated broker references load; returned data and exceptions cannot expose a known token (4.350137ms) ✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.468261ms) ✔ expiry refuses use and env references never become client data (0.828109ms) ✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.828517ms) ✔ opaque tokens shorter than 16 characters refuse before use (0.49973ms) ✔ a human resolve sends the raising role one message from the human, and its request is the answer (255.34505ms) ✔ a cross-role decision resolved by its arbiter comes from that role and run, with no request (236.284342ms) ✔ a human withdraw sends one message with the note (239.359032ms) ✔ a human seen before the close leaves the request on the close's answer, not the seen (300.992446ms) ✔ the raising run's withdraw, a supersede, a within-role raise and seen send nothing (310.488755ms) ✔ refused closes send nothing: invalid-choice, decision-closed, not-resolver (314.734151ms) ✔ a raising role nobody holds at the close gets the message on the next claim (300.94416ms) ✔ a human DECISION send keeps its own instruction as the request, not a close's answer (304.872382ms) ✔ a cross-role raise whose arbiter the raiser does not hear from is refused and stores nothing (272.613227ms) ✔ a gated raise by a role that does not hear from the human is refused and stores nothing (283.162504ms) ✔ a route the raiser hears from is allowed, checked from the route to the raiser (333.974075ms) ✔ a refused supersede withdraws nothing (307.34247ms) ✔ the assistant's within-role and gated raises still work (303.000256ms) ✔ roles lists open decisions routed to a role, and never the human inbox (223.514552ms) ✔ recent lists closed decisions of every route, newest close first, with how each closed (296.623159ms) ✔ recent gives the closing event as closed when the decision was seen first (300.053077ms) ✔ recent stops at RECENT rows (879.027385ms) ✔ every row is what trail already gives the same session for that id (296.002935ms) ✔ a role session can't list decisions, so it can't read another role's open decisions (477.541353ms) ✔ decisions is a read: one business, strict arguments, nothing written (604.899669ms) ✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (144.939003ms) ✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (149.232694ms) ✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (144.038781ms) ✔ endLaunch leaves a claim another run took alone (188.8422ms) ✔ refuse records action.refused against the caller with the code only (148.725904ms) ✔ launches off refuses role.launch with launch-revoked until launches on (206.248507ms) ✔ broker process: launch ops authorize role.launch, record refusals and end runs (291.96435ms) ✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.506128ms) ✔ process reader gets own kernel identity without exposing environment values (0.495843ms) ✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.672786ms) ✔ real pid 1 remains inspectable when its environment is protected (0.267512ms) ✔ limits binds actor from human proof and rejects role, reader, tester and forged actor (189.347603ms) ✔ runtime wires verified human settings to the actual shared file writer and actor receipt (278.906431ms) ✔ uncertain organization receipts leave bus startup and reads alone but refuse writes until reconciled (447.115224ms) ✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (209.269792ms) ✔ missing and foreign-business citations refuse and roll back message and grant (186.98284ms) ✔ cross-role sends still need a matching resolved decision and consume it once (261.366123ms) ✔ messages pages all human messages newest first without writes; read state is history (2976.581845ms) ✔ messages refuses role callers, invalid paging and cursors outside this human feed (298.247964ms) ✔ views messages passes only its paging arguments through (0.228953ms) ✔ messages isolates businesses even with a valid foreign cursor (200.201271ms) ✔ the assistant sends to the user and to the chief of staff only (301.837205ms) ✔ an assistant send to any other role, or to the tester, is refused and logged (344.286075ms) ✔ only the user and the chief of staff may send to the assistant; the tester is refused by default (363.642955ms) ✔ a sender-side list alone refuses a send to a role that has no list (332.694829ms) ✔ a target-side list alone refuses a send from a role that has no list (357.330265ms) ✔ the sender list is checked before the target list (334.693627ms) ✔ roles without the field behave exactly as before (467.705514ms) ✔ a business with no role definitions at all is unlimited (483.428124ms) ✔ a malformed messaging field refuses at boot (123.811638ms) ✔ the assistant's review.request to a reviewer is refused and logged, even with an approved decision (355.577487ms) ✔ a review.verdict to the assistant from a role outside its receiveFrom is refused and logged (348.388419ms) ✔ review requests and verdicts between roles without the field are unchanged (265.146356ms) ✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (193.772766ms) ✔ startup token refusal returns safe code without value or partial listening broker (45.002777ms) ✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (192.764971ms) ✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (185.704393ms) ✔ trusted host registers later launches; socket clients never have a registration verb (203.133669ms) ✔ runtime excludes declared project roots even when host supplies no repoRoots (46.55421ms) ✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (198.492348ms) ✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (246.603321ms) ✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (208.40342ms) ✔ a message with no reply gives an empty list (178.252316ms) ✔ replies come oldest first and stop at REPLIES (820.665433ms) ✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (364.236175ms) ✔ strict arguments; a role session gets human-required (432.919603ms) ✔ views passes replies through as one call with the id (0.211792ms) ✔ requirements returns the committed list to a holding role session, and no one else (236.61128ms) ✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (183.801135ms) ✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (196.254517ms) ✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (267.572808ms) ✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (272.986832ms) ✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (312.665046ms) ✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (439.791259ms) ✔ reviewFetch answers only the addressed reviewer, for the request it cites (296.718619ms) ✔ review.verdict answers one request once, to the role that asked (324.378815ms) ✔ task.close on a pushed task needs an approve verdict for the latest push (578.588124ms) ✔ a refusal the host decided is filed on the task it names, and only a task ref counts (278.907499ms) ✔ v3b prototype refusals, views and append-only mutations (1275.857393ms) ✔ gated approval authorizes once, survives store reopen, and fresh approval works (279.66094ms) ✔ another run cannot consume an approval; a failed check leaves it usable (231.547873ms) ✔ two scheduled callers have exactly one grant and one consumed refusal (198.625113ms) ✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (395.101211ms) ✔ class drift gated to cross-role refuses before consumption (248.251006ms) ✔ class drift cross-role to gated refuses before consumption (266.501889ms) ✔ class drift gated to within-role refuses before consumption (406.710027ms) ✔ class drift cross-role to within-role refuses before consumption (276.272561ms) ✔ class drift within-role to gated refuses before consumption (192.118822ms) ✔ class drift within-role to cross-role refuses before consumption (189.973561ms) ✔ message.send consumes approval and prevents a later send or authorize (209.681081ms) ✔ role.revoke consumes approval and prevents a later revoke or authorize (239.861226ms) ✔ a business that never switched launches reads allowed with no time and no event (148.456882ms) ✔ launches revoked and then restored read allowed, with the restore time and event id (160.465793ms) ✔ a task closed on the tracker leaves the open list, and total counts the open ones (173.182716ms) ✔ a tombstone is not open (157.073494ms) ✔ the open list stops at the cap and says so; total still counts every open task (180.650302ms) ✔ a role and a reader session read state; arguments, and an unbound cap, refuse (167.83733ms) ✔ a human session reads the same state, with the same cap (142.834056ms) ✔ reading state writes nothing: every table keeps its row count (176.699696ms) ✔ creates private WAL store and excludes a second writer until explicit close (132.917151ms) ✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (159.068011ms) ✔ existing empty database and symlink runtime directory refuse, never initialize over damage (213.859877ms) ✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (198.71312ms) ✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (143.403416ms) ✔ async transactions refuse before invoking their function (104.036271ms) ✔ the session default fits under the reply cap and pages to the end with next (325.461761ms) ✔ the short form: no description, assignees by role, every listed key (301.964857ms) ✔ each filter, alone and together, and total counts every match (344.750204ms) ✔ task_ref reads one task in full, as the whole board has it (339.52689ms) ✔ no arguments is the read the Console and mosaic make, unchanged (373.280247ms) ✔ an unknown argument or a bad value refuses invalid-request (921.168517ms) ✔ tasks rows carry priority and requirement for every session that reads tasks (323.146813ms) ✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (540.95522ms) ✔ an empty business and one with snapshots but no task.created read cleanly (130.18417ms) ✔ recordTask keeps sync reads and a role write apart (191.988789ms) ✔ read_at must be one canonical UTC format, so the projection compares strings safely (119.564388ms) ✔ a bad entry refuses the whole record (119.851003ms) ✔ taskView reads the projection for one business (292.788123ms) ✔ requestTask hands only a holder and a task verb to the handler, and records refusals (273.877559ms) ✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (438.742663ms) ✔ without an adapter the server refuses every task verb (209.803759ms) ✔ the runtime refuses an invalid adapter and closes a valid one (194.172048ms) ✔ the process loads the S3 adapter from plain-data trackers (259.920503ms) ✔ the tester binds only when the business sets bus.tester to exactly true (1039.656457ms) ✔ a business may not name a role tester, so the tester address is never a role (229.831799ms) ✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (538.146557ms) ✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (193.803683ms) ✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (233.987093ms) ✔ the tester reads the human views a reader reads (144.148141ms) ✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (1.047927ms) ✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.329127ms) ✔ testerNonce reads only the tester's variable and gives null on any read error (0.178096ms) ✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (83.632446ms) ✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (762.785749ms) ✔ socket capability stamps launch identity; shared views use wire, no SQL client (169.797833ms) ✔ two wire claims serialize; a lost reply never automatically retries (365.153809ms) ✔ malformed, oversized and identity-forging envelopes refuse without echoing input (122.464801ms) ✔ client preserves UTF-8 when a response divides a multibyte character (11.391348ms) ✔ committed mutation followed by dropped reply reports unknown and is never retried (169.723138ms) ℹ tests 196 ℹ suites 0 ℹ pass 196 ℹ fail 0 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 5717.555599