✔ launch identity is stamped, payload identity is refused and stale holder cannot send (243.688933ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (394.370236ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (378.259124ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (190.030177ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (166.414908ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (196.029388ms)
✔ task action subjects and linked decision trail are complete and ordered (271.039591ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (105.692018ms)
✔ business isolation includes inherited object names and cross-business message references (299.44263ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (336.471786ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (116.7184ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (212.071404ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (170.936558ms)
✔ both arbiters require human resolution when their cross-role route is themselves (230.085428ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.483051ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (8.861539ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.423716ms)
✔ expiry refuses use and env references never become client data (0.639165ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.507093ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.344056ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.87ms)
✔ process reader gets own kernel identity without exposing environment values (1.745649ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.199018ms)
✔ real pid 1 remains inspectable when its environment is protected (0.454652ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (284.772283ms)
✔ missing and foreign-business citations refuse and roll back message and grant (284.754519ms)
✔ cross-role sends still need a matching resolved decision and consume it once (363.897447ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (267.365284ms)
✔ startup token refusal returns safe code without value or partial listening broker (46.571245ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (259.065468ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (239.167291ms)
✔ trusted host registers later launches; socket clients never have a registration verb (198.566643ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (36.014187ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (191.712893ms)
✔ v3b prototype refusals, views and append-only mutations (1386.640134ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (350.424385ms)
✔ another run cannot consume an approval; a failed check leaves it usable (346.173632ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (237.542781ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (353.298622ms)
✔ class drift gated to cross-role refuses before consumption (253.337442ms)
✔ class drift cross-role to gated refuses before consumption (323.574906ms)
✔ class drift gated to within-role refuses before consumption (319.086942ms)
✔ class drift cross-role to within-role refuses before consumption (293.421268ms)
✔ class drift within-role to gated refuses before consumption (200.739612ms)
✔ class drift within-role to cross-role refuses before consumption (190.277177ms)
✔ message.send consumes approval and prevents a later send or authorize (228.418852ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (248.932208ms)
✔ creates private WAL store and excludes a second writer until explicit close (198.246349ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (220.628917ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (284.709518ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (209.202587ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (125.001422ms)
✔ async transactions refuse before invoking their function (94.629513ms)
✔ recordTask keeps sync reads and a role write apart (250.930381ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (152.088447ms)
✔ a bad entry refuses the whole record (161.177091ms)
✔ taskView reads the projection for one business (203.275656ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (295.117707ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (453.779089ms)
✔ without an adapter the server refuses every task verb (305.000273ms)
✔ the runtime refuses an invalid adapter and closes a valid one (278.560511ms)
✔ the process loads the S3 adapter from plain-data trackers (340.686837ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (233.452782ms)
✔ two wire claims serialize; a lost reply never automatically retries (265.170068ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (152.168362ms)
✔ client preserves UTF-8 when a response divides a multibyte character (12.521387ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (229.685316ms)
ℹ tests 67
ℹ suites 0
ℹ pass 67
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3438.917252
