✔ launch identity is stamped, payload identity is refused and stale holder cannot send (22.380445ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (26.652343ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (26.817512ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (16.912593ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (17.484361ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (14.390004ms)
✔ task action subjects and linked decision trail are complete and ordered (22.844639ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (8.901475ms)
✔ business isolation includes inherited object names and cross-business message references (14.697023ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (18.867203ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (16.611621ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (17.131669ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (15.160447ms)
✔ both arbiters require human resolution when their cross-role route is themselves (21.001418ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.412021ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (4.936616ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.671535ms)
✔ expiry refuses use and env references never become client data (0.864599ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.892674ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.544106ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.134541ms)
✔ process reader gets own kernel identity without exposing environment values (1.32011ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.011074ms)
✔ real pid 1 remains inspectable when its environment is protected (0.390425ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (28.53858ms)
✔ missing and foreign-business citations refuse and roll back message and grant (18.196485ms)
✔ cross-role sends still need a matching resolved decision and consume it once (25.135814ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (79.108955ms)
✔ startup token refusal returns safe code without value or partial listening broker (48.829337ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (60.908712ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (107.873418ms)
✔ trusted host registers later launches; socket clients never have a registration verb (56.981582ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (42.470637ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (60.65868ms)
✔ v3b prototype refusals, views and append-only mutations (80.57291ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (28.953415ms)
✔ another run cannot consume an approval; a failed check leaves it usable (21.466123ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (17.097423ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (31.814084ms)
✔ class drift gated to cross-role refuses before consumption (20.59826ms)
✔ class drift cross-role to gated refuses before consumption (18.052394ms)
✔ class drift gated to within-role refuses before consumption (15.486208ms)
✔ class drift cross-role to within-role refuses before consumption (18.124738ms)
✔ class drift within-role to gated refuses before consumption (13.419772ms)
✔ class drift within-role to cross-role refuses before consumption (20.491545ms)
✔ message.send consumes approval and prevents a later send or authorize (18.817052ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (25.541538ms)
✔ creates private WAL store and excludes a second writer until explicit close (18.268778ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (17.236638ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (15.924833ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (58.344101ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (9.566566ms)
✔ async transactions refuse before invoking their function (7.56334ms)
✔ recordTask keeps sync reads and a role write apart (23.135531ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (10.143766ms)
✔ a bad entry refuses the whole record (10.400234ms)
✔ taskView reads the projection for one business (14.293611ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (24.359955ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (275.793239ms)
✔ without an adapter the server refuses every task verb (16.577329ms)
✔ the runtime refuses an invalid adapter and closes a valid one (17.478752ms)
✔ the process loads the S3 adapter from plain-data trackers (115.152403ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (28.115562ms)
✔ two wire claims serialize; a lost reply never automatically retries (19.883232ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (12.093017ms)
✔ client preserves UTF-8 when a response divides a multibyte character (12.273179ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (18.390612ms)
ℹ tests 67
ℹ suites 0
ℹ pass 67
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 596.109045
