✔ launch identity is stamped, payload identity is refused and stale holder cannot send (220.957629ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (227.441268ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (256.477003ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (152.974929ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (153.019134ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (148.24436ms)
✔ task action subjects and linked decision trail are complete and ordered (134.557177ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (86.508128ms)
✔ business isolation includes inherited object names and cross-business message references (145.63958ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (209.966328ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (103.089921ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (179.260873ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (106.37895ms)
✔ both arbiters require human resolution when their cross-role route is themselves (175.276721ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.23085ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (5.510591ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.644612ms)
✔ expiry refuses use and env references never become client data (1.017741ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (2.409037ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.585379ms)
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (190.502933ms)
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (122.686404ms)
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (131.085157ms)
✔ endLaunch leaves a claim another run took alone (167.025936ms)
✔ refuse records action.refused against the caller with the code only (128.483213ms)
✔ launches off refuses role.launch with launch-revoked until launches on (166.469245ms)
✔ broker process: launch ops authorize role.launch, record refusals and end runs (246.29235ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.214793ms)
✔ process reader gets own kernel identity without exposing environment values (1.485511ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.31949ms)
✔ real pid 1 remains inspectable when its environment is protected (0.399904ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (244.629581ms)
✔ missing and foreign-business citations refuse and roll back message and grant (164.388067ms)
✔ cross-role sends still need a matching resolved decision and consume it once (240.284956ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (200.539371ms)
✔ startup token refusal returns safe code without value or partial listening broker (37.144047ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (154.358827ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (147.005744ms)
✔ trusted host registers later launches; socket clients never have a registration verb (180.844124ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (37.498785ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (163.513745ms)
✔ v3b prototype refusals, views and append-only mutations (1032.775158ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (288.534795ms)
✔ another run cannot consume an approval; a failed check leaves it usable (203.213167ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (163.083798ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (287.356285ms)
✔ class drift gated to cross-role refuses before consumption (195.331539ms)
✔ class drift cross-role to gated refuses before consumption (173.765127ms)
✔ class drift gated to within-role refuses before consumption (152.22207ms)
✔ class drift cross-role to within-role refuses before consumption (173.73842ms)
✔ class drift within-role to gated refuses before consumption (150.684848ms)
✔ class drift within-role to cross-role refuses before consumption (139.457096ms)
✔ message.send consumes approval and prevents a later send or authorize (174.93086ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (189.975834ms)
✔ creates private WAL store and excludes a second writer until explicit close (177.263297ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (160.612044ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (168.487262ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (162.687402ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (96.912755ms)
✔ async transactions refuse before invoking their function (83.602723ms)
✔ recordTask keeps sync reads and a role write apart (210.413533ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (102.424219ms)
✔ a bad entry refuses the whole record (91.011323ms)
✔ taskView reads the projection for one business (125.015906ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (242.31508ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (387.647203ms)
✔ without an adapter the server refuses every task verb (176.993898ms)
✔ the runtime refuses an invalid adapter and closes a valid one (155.975359ms)
✔ the process loads the S3 adapter from plain-data trackers (222.273341ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (195.530481ms)
✔ two wire claims serialize; a lost reply never automatically retries (156.979483ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (105.724575ms)
✔ client preserves UTF-8 when a response divides a multibyte character (12.436632ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (141.636338ms)
ℹ tests 74
ℹ suites 0
ℹ pass 74
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2380.39928
