✔ launch identity is stamped, payload identity is refused and stale holder cannot send (26.846644ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (24.410589ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (27.415485ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (17.322612ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (15.214254ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (14.265276ms)
✔ task action subjects and linked decision trail are complete and ordered (19.069327ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (7.77888ms)
✔ business isolation includes inherited object names and cross-business message references (14.751071ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (18.821953ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (9.51298ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (16.665953ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (10.381636ms)
✔ both arbiters require human resolution when their cross-role route is themselves (16.060798ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.260303ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (4.662176ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.274841ms)
✔ expiry refuses use and env references never become client data (0.846181ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.886071ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.380255ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (3.142096ms)
✔ process reader gets own kernel identity without exposing environment values (0.587722ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.90547ms)
✔ real pid 1 remains inspectable when its environment is protected (0.332779ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (26.991803ms)
✔ missing and foreign-business citations refuse and roll back message and grant (17.104311ms)
✔ cross-role sends still need a matching resolved decision and consume it once (24.686477ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (71.175386ms)
✔ startup token refusal returns safe code without value or partial listening broker (40.729917ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (54.183712ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (78.772711ms)
✔ trusted host registers later launches; socket clients never have a registration verb (45.867398ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (32.232364ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (48.104217ms)
✔ v3b prototype refusals, views and append-only mutations (81.348764ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (29.934609ms)
✔ another run cannot consume an approval; a failed check leaves it usable (20.555999ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (15.996108ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (28.92796ms)
✔ class drift gated to cross-role refuses before consumption (18.925789ms)
✔ class drift cross-role to gated refuses before consumption (15.067399ms)
✔ class drift gated to within-role refuses before consumption (17.375127ms)
✔ class drift cross-role to within-role refuses before consumption (15.892017ms)
✔ class drift within-role to gated refuses before consumption (14.067652ms)
✔ class drift within-role to cross-role refuses before consumption (14.605399ms)
✔ message.send consumes approval and prevents a later send or authorize (16.732989ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (17.644261ms)
✔ creates private WAL store and excludes a second writer until explicit close (16.034473ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (17.001735ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (16.692012ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (45.916215ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (9.472638ms)
✔ async transactions refuse before invoking their function (6.980829ms)
✔ recordTask keeps sync reads and a role write apart (20.710101ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (10.109562ms)
✔ a bad entry refuses the whole record (10.378294ms)
✔ taskView reads the projection for one business (13.335375ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (22.935167ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (275.637672ms)
✔ without an adapter the server refuses every task verb (16.580658ms)
✔ the runtime refuses an invalid adapter and closes a valid one (15.966457ms)
✔ the process loads the S3 adapter from plain-data trackers (93.982671ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (27.361245ms)
✔ two wire claims serialize; a lost reply never automatically retries (18.975306ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (11.699018ms)
✔ client preserves UTF-8 when a response divides a multibyte character (10.659184ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (14.223015ms)
ℹ tests 67
ℹ suites 0
ℹ pass 67
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 589.325424
