✔ launch identity is stamped, payload identity is refused and stale holder cannot send (170.666354ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (394.309817ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (326.492461ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (172.813274ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (189.609061ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (176.648402ms)
✔ task action subjects and linked decision trail are complete and ordered (172.591988ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (80.776489ms)
✔ business isolation includes inherited object names and cross-business message references (170.437603ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (277.298122ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (135.497652ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (215.612942ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (142.355196ms)
✔ both arbiters require human resolution when their cross-role route is themselves (214.598559ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (1.799032ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (5.141874ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (4.648869ms)
✔ expiry refuses use and env references never become client data (1.154111ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.649405ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.377095ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (1.882758ms)
✔ process reader gets own kernel identity without exposing environment values (1.477131ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.764004ms)
✔ real pid 1 remains inspectable when its environment is protected (0.359202ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (214.863831ms)
✔ missing and foreign-business citations refuse and roll back message and grant (294.387469ms)
✔ cross-role sends still need a matching resolved decision and consume it once (313.752636ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (208.475417ms)
✔ startup token refusal returns safe code without value or partial listening broker (38.977665ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (313.79539ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (178.589953ms)
✔ trusted host registers later launches; socket clients never have a registration verb (203.287089ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (41.181855ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (188.420883ms)
✔ v3b prototype refusals, views and append-only mutations (1252.380782ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (278.59556ms)
✔ another run cannot consume an approval; a failed check leaves it usable (361.323562ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (193.098426ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (340.740426ms)
✔ class drift gated to cross-role refuses before consumption (220.084537ms)
✔ class drift cross-role to gated refuses before consumption (200.125295ms)
✔ class drift gated to within-role refuses before consumption (195.894515ms)
✔ class drift cross-role to within-role refuses before consumption (198.566502ms)
✔ class drift within-role to gated refuses before consumption (202.64658ms)
✔ class drift within-role to cross-role refuses before consumption (174.286116ms)
✔ message.send consumes approval and prevents a later send or authorize (232.285473ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (241.195924ms)
✔ creates private WAL store and excludes a second writer until explicit close (135.208071ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (184.574622ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (319.995065ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (192.309934ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (107.289406ms)
✔ async transactions refuse before invoking their function (83.925884ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (163.982077ms)
✔ two wire claims serialize; a lost reply never automatically retries (289.817055ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (159.647655ms)
✔ client preserves UTF-8 when a response divides a multibyte character (11.84129ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (136.498667ms)
ℹ tests 58
ℹ suites 0
ℹ pass 58
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2940.307585
