✔ launch identity is stamped, payload identity is refused and stale holder cannot send (139.654375ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (247.063501ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (228.702372ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (152.589158ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (154.294352ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (128.295573ms)
✔ task action subjects and linked decision trail are complete and ordered (137.15036ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (64.285079ms)
✔ business isolation includes inherited object names and cross-business message references (146.396237ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (243.938983ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (94.170395ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (161.232705ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (101.449267ms)
✔ both arbiters require human resolution when their cross-role route is themselves (201.868218ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (1.792956ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (3.145636ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (1.852726ms)
✔ expiry refuses use and env references never become client data (1.151507ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.274286ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.249982ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (1.518729ms)
✔ process reader gets own kernel identity without exposing environment values (1.029208ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.603923ms)
✔ real pid 1 remains inspectable when its environment is protected (0.304814ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (170.40665ms)
✔ missing and foreign-business citations refuse and roll back message and grant (167.569254ms)
✔ cross-role sends still need a matching resolved decision and consume it once (202.66731ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (170.952763ms)
✔ startup token refusal returns safe code without value or partial listening broker (36.821787ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (165.196727ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (170.727787ms)
✔ trusted host registers later launches; socket clients never have a registration verb (164.592257ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (32.806422ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (153.089197ms)
✔ v3b prototype refusals, views and append-only mutations (947.370703ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (241.796595ms)
✔ another run cannot consume an approval; a failed check leaves it usable (198.279698ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (141.759733ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (271.282029ms)
✔ class drift gated to cross-role refuses before consumption (168.101142ms)
✔ class drift cross-role to gated refuses before consumption (161.738213ms)
✔ class drift gated to within-role refuses before consumption (157.073495ms)
✔ class drift cross-role to within-role refuses before consumption (206.009333ms)
✔ class drift within-role to gated refuses before consumption (144.380123ms)
✔ class drift within-role to cross-role refuses before consumption (121.658912ms)
✔ message.send consumes approval and prevents a later send or authorize (166.58839ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (221.729859ms)
✔ creates private WAL store and excludes a second writer until explicit close (115.826599ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (156.703344ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (170.059617ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (152.580868ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (92.676541ms)
✔ async transactions refuse before invoking their function (77.571318ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (136.661151ms)
✔ two wire claims serialize; a lost reply never automatically retries (177.631582ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (106.21344ms)
✔ client preserves UTF-8 when a response divides a multibyte character (12.320555ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (120.72807ms)
ℹ tests 58
ℹ suites 0
ℹ pass 58
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2281.14019
