✔ launch identity is stamped, payload identity is refused and stale holder cannot send (20.217177ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (23.913734ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (27.418015ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (20.095476ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (15.028242ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (13.46164ms)
✔ task action subjects and linked decision trail are complete and ordered (20.841526ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (8.013879ms)
✔ business isolation includes inherited object names and cross-business message references (14.650376ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (18.622725ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (9.427439ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (15.623429ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (10.401472ms)
✔ both arbiters require human resolution when their cross-role route is themselves (15.860762ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (1.726404ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (3.477977ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.348156ms)
✔ expiry refuses use and env references never become client data (0.808375ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.64772ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.37342ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.132056ms)
✔ process reader gets own kernel identity without exposing environment values (1.287166ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.788136ms)
✔ real pid 1 remains inspectable when its environment is protected (0.359006ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (24.288305ms)
✔ missing and foreign-business citations refuse and roll back message and grant (17.011547ms)
✔ cross-role sends still need a matching resolved decision and consume it once (28.381359ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (66.723278ms)
✔ startup token refusal returns safe code without value or partial listening broker (38.97226ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (49.827986ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (82.849468ms)
✔ trusted host registers later launches; socket clients never have a registration verb (54.101581ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (37.386095ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (48.361311ms)
✔ v3b prototype refusals, views and append-only mutations (82.523597ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (27.788071ms)
✔ another run cannot consume an approval; a failed check leaves it usable (20.309447ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (20.492887ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (29.50709ms)
✔ class drift gated to cross-role refuses before consumption (19.187248ms)
✔ class drift cross-role to gated refuses before consumption (14.978956ms)
✔ class drift gated to within-role refuses before consumption (16.443241ms)
✔ class drift cross-role to within-role refuses before consumption (16.072617ms)
✔ class drift within-role to gated refuses before consumption (15.064451ms)
✔ class drift within-role to cross-role refuses before consumption (15.61633ms)
✔ message.send consumes approval and prevents a later send or authorize (15.913262ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (16.694773ms)
✔ creates private WAL store and excludes a second writer until explicit close (15.558522ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (15.837274ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (15.430354ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (51.488693ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (9.684961ms)
✔ async transactions refuse before invoking their function (7.964162ms)
✔ recordTask keeps sync reads and a role write apart (20.233791ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (9.909358ms)
✔ a bad entry refuses the whole record (9.524417ms)
✔ taskView reads the projection for one business (16.739565ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (21.811716ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (269.121186ms)
✔ without an adapter the server refuses every task verb (15.529542ms)
✔ the runtime refuses an invalid adapter and closes a valid one (14.405829ms)
✔ the process loads the S3 adapter from plain-data trackers (87.38528ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (24.374712ms)
✔ two wire claims serialize; a lost reply never automatically retries (18.879726ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (16.264802ms)
✔ client preserves UTF-8 when a response divides a multibyte character (11.772894ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (13.790622ms)
ℹ tests 67
ℹ suites 0
ℹ pass 67
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 577.642302
