✔ launch identity is stamped, payload identity is refused and stale holder cannot send (239.740458ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (434.495891ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (318.977003ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (182.276491ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (193.552882ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (170.799289ms)
✔ task action subjects and linked decision trail are complete and ordered (203.941682ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (95.56779ms)
✔ business isolation includes inherited object names and cross-business message references (163.750481ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (320.028764ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (133.747714ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (191.711174ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (134.762457ms)
✔ both arbiters require human resolution when their cross-role route is themselves (255.780592ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.307073ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (4.946341ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (6.01105ms)
✔ expiry refuses use and env references never become client data (0.903117ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.796059ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.398635ms)
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (206.587941ms)
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (134.400371ms)
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (323.818329ms)
✔ endLaunch leaves a claim another run took alone (183.703048ms)
✔ refuse records action.refused against the caller with the code only (186.044736ms)
✔ launches off refuses role.launch with launch-revoked until launches on (189.472852ms)
✔ broker process: launch ops authorize role.launch, record refusals and end runs (274.249507ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.232835ms)
✔ process reader gets own kernel identity without exposing environment values (1.347663ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.961234ms)
✔ real pid 1 remains inspectable when its environment is protected (0.369189ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (253.116133ms)
✔ missing and foreign-business citations refuse and roll back message and grant (200.662761ms)
✔ cross-role sends still need a matching resolved decision and consume it once (427.569214ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (253.423734ms)
✔ startup token refusal returns safe code without value or partial listening broker (35.293578ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (291.67146ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (192.094911ms)
✔ trusted host registers later launches; socket clients never have a registration verb (239.798505ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (37.521057ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (167.72013ms)
✔ v3b prototype refusals, views and append-only mutations (1374.206323ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (315.775301ms)
✔ another run cannot consume an approval; a failed check leaves it usable (391.815636ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (203.799579ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (362.938983ms)
✔ class drift gated to cross-role refuses before consumption (228.029982ms)
✔ class drift cross-role to gated refuses before consumption (244.576932ms)
✔ class drift gated to within-role refuses before consumption (177.896571ms)
✔ class drift cross-role to within-role refuses before consumption (195.452584ms)
✔ class drift within-role to gated refuses before consumption (243.556487ms)
✔ class drift within-role to cross-role refuses before consumption (179.418758ms)
✔ message.send consumes approval and prevents a later send or authorize (199.875778ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (269.090073ms)
✔ creates private WAL store and excludes a second writer until explicit close (184.52587ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (177.881186ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (357.948758ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (218.819903ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (101.258819ms)
✔ async transactions refuse before invoking their function (96.216937ms)
✔ recordTask keeps sync reads and a role write apart (262.686766ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (116.864183ms)
✔ a bad entry refuses the whole record (273.912315ms)
✔ taskView reads the projection for one business (139.393069ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (298.358617ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (434.226779ms)
✔ without an adapter the server refuses every task verb (214.917219ms)
✔ the runtime refuses an invalid adapter and closes a valid one (193.702117ms)
✔ the process loads the S3 adapter from plain-data trackers (305.830649ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (218.013406ms)
✔ two wire claims serialize; a lost reply never automatically retries (188.544206ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (268.564851ms)
✔ client preserves UTF-8 when a response divides a multibyte character (11.877466ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (149.111642ms)
ℹ tests 74
ℹ suites 0
ℹ pass 74
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3108.809343
