✔ launch identity is stamped, payload identity is refused and stale holder cannot send (230.298902ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (495.596263ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (295.350922ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (209.247055ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (201.016991ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (146.820046ms)
✔ task action subjects and linked decision trail are complete and ordered (186.279171ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (124.058295ms)
✔ business isolation includes inherited object names and cross-business message references (201.009327ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (325.185099ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (123.998135ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (220.538954ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (170.419881ms)
✔ both arbiters require human resolution when their cross-role route is themselves (217.901165ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.544455ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (4.455749ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (6.670204ms)
✔ expiry refuses use and env references never become client data (0.783979ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.944049ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.278578ms)
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (212.9763ms)
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (283.135446ms)
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (239.880561ms)
✔ endLaunch leaves a claim another run took alone (189.377591ms)
✔ refuse records action.refused against the caller with the code only (148.68694ms)
✔ launches off refuses role.launch with launch-revoked until launches on (221.873558ms)
✔ broker process: launch ops authorize role.launch, record refusals and end runs (234.098929ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (1.844295ms)
✔ process reader gets own kernel identity without exposing environment values (1.229094ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.718827ms)
✔ real pid 1 remains inspectable when its environment is protected (0.280884ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (336.734778ms)
✔ missing and foreign-business citations refuse and roll back message and grant (356.763341ms)
✔ cross-role sends still need a matching resolved decision and consume it once (272.056987ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (271.449396ms)
✔ startup token refusal returns safe code without value or partial listening broker (38.528737ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (319.293579ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (181.982551ms)
✔ trusted host registers later launches; socket clients never have a registration verb (178.757199ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (35.654181ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (188.093502ms)
✔ v3b prototype refusals, views and append-only mutations (1445.847272ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (478.15649ms)
✔ another run cannot consume an approval; a failed check leaves it usable (310.533789ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (193.236882ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (384.018937ms)
✔ class drift gated to cross-role refuses before consumption (200.035157ms)
✔ class drift cross-role to gated refuses before consumption (257.75596ms)
✔ class drift gated to within-role refuses before consumption (192.144254ms)
✔ class drift cross-role to within-role refuses before consumption (267.10218ms)
✔ class drift within-role to gated refuses before consumption (197.394414ms)
✔ class drift within-role to cross-role refuses before consumption (210.140443ms)
✔ message.send consumes approval and prevents a later send or authorize (243.201049ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (221.001388ms)
✔ creates private WAL store and excludes a second writer until explicit close (190.861398ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (370.583805ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (240.634985ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (172.61397ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (114.410444ms)
✔ async transactions refuse before invoking their function (124.463303ms)
✔ recordTask keeps sync reads and a role write apart (290.376296ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (254.023515ms)
✔ a bad entry refuses the whole record (152.38741ms)
✔ taskView reads the projection for one business (132.084924ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (283.971235ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (431.972902ms)
✔ without an adapter the server refuses every task verb (229.494873ms)
✔ the runtime refuses an invalid adapter and closes a valid one (221.815058ms)
✔ the process loads the S3 adapter from plain-data trackers (297.187861ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (247.764449ms)
✔ two wire claims serialize; a lost reply never automatically retries (371.117662ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (125.675324ms)
✔ client preserves UTF-8 when a response divides a multibyte character (11.780579ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (155.539343ms)
ℹ tests 74
ℹ suites 0
ℹ pass 74
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3244.829626
