✔ launch identity is stamped, payload identity is refused and stale holder cannot send (158.150768ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (258.805434ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (247.340125ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (154.366458ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (141.971144ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (131.526953ms)
✔ task action subjects and linked decision trail are complete and ordered (132.519219ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (94.302493ms)
✔ business isolation includes inherited object names and cross-business message references (143.859485ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (215.909845ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (108.67248ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (165.948325ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (103.673551ms)
✔ both arbiters require human resolution when their cross-role route is themselves (179.340595ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (3.248662ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (7.094661ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (5.019312ms)
✔ expiry refuses use and env references never become client data (3.278188ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (2.965278ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.609186ms)
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (128.865172ms)
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (145.44321ms)
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (142.744227ms)
✔ endLaunch leaves a claim another run took alone (153.860535ms)
✔ refuse records action.refused against the caller with the code only (109.560376ms)
✔ launches off refuses role.launch with launch-revoked until launches on (158.905054ms)
✔ broker process: launch ops authorize role.launch, record refusals and end runs (203.667266ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (6.466732ms)
✔ process reader gets own kernel identity without exposing environment values (1.515607ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.392126ms)
✔ real pid 1 remains inspectable when its environment is protected (0.473384ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (182.153792ms)
✔ missing and foreign-business citations refuse and roll back message and grant (183.462033ms)
✔ cross-role sends still need a matching resolved decision and consume it once (225.561481ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (192.194069ms)
✔ startup token refusal returns safe code without value or partial listening broker (38.623009ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (167.701961ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (169.750172ms)
✔ trusted host registers later launches; socket clients never have a registration verb (166.888863ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (39.861791ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (149.249527ms)
✔ v3b prototype refusals, views and append-only mutations (942.242629ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (222.807767ms)
✔ another run cannot consume an approval; a failed check leaves it usable (216.443103ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (149.72494ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (276.865404ms)
✔ class drift gated to cross-role refuses before consumption (170.894519ms)
✔ class drift cross-role to gated refuses before consumption (158.250182ms)
✔ class drift gated to within-role refuses before consumption (177.520217ms)
✔ class drift cross-role to within-role refuses before consumption (185.093462ms)
✔ class drift within-role to gated refuses before consumption (144.027639ms)
✔ class drift within-role to cross-role refuses before consumption (152.049889ms)
✔ message.send consumes approval and prevents a later send or authorize (168.498462ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (198.374954ms)
✔ creates private WAL store and excludes a second writer until explicit close (116.738279ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (175.406652ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (182.907272ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (154.638962ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (94.948081ms)
✔ async transactions refuse before invoking their function (78.29418ms)
✔ recordTask keeps sync reads and a role write apart (155.00518ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (97.553598ms)
✔ a bad entry refuses the whole record (103.483603ms)
✔ taskView reads the projection for one business (126.462963ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (216.111452ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (389.096711ms)
✔ without an adapter the server refuses every task verb (159.18258ms)
✔ the runtime refuses an invalid adapter and closes a valid one (154.938435ms)
✔ the process loads the S3 adapter from plain-data trackers (236.701945ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (138.617926ms)
✔ two wire claims serialize; a lost reply never automatically retries (171.818149ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (110.874989ms)
✔ client preserves UTF-8 when a response divides a multibyte character (11.810021ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (120.128497ms)
ℹ tests 74
ℹ suites 0
ℹ pass 74
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2336.232793
