✔ launch identity is stamped, payload identity is refused and stale holder cannot send (141.265652ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (256.147039ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (246.534686ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (145.552624ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (142.905147ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (126.014714ms)
✔ task action subjects and linked decision trail are complete and ordered (124.901599ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (82.577206ms)
✔ business isolation includes inherited object names and cross-business message references (158.98533ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (214.172783ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (115.636835ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (155.986702ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (100.211715ms)
✔ both arbiters require human resolution when their cross-role route is themselves (170.699063ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.448913ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (5.338933ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (3.616005ms)
✔ expiry refuses use and env references never become client data (0.835552ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.509074ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.363752ms)
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (112.749681ms)
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (132.696513ms)
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (148.142442ms)
✔ endLaunch leaves a claim another run took alone (158.162757ms)
✔ refuse records action.refused against the caller with the code only (124.764072ms)
✔ launches off refuses role.launch with launch-revoked until launches on (163.377777ms)
✔ broker process: launch ops authorize role.launch, record refusals and end runs (222.275652ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.812658ms)
✔ process reader gets own kernel identity without exposing environment values (2.022907ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.21422ms)
✔ real pid 1 remains inspectable when its environment is protected (0.432171ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (175.291927ms)
✔ missing and foreign-business citations refuse and roll back message and grant (174.715701ms)
✔ cross-role sends still need a matching resolved decision and consume it once (235.165957ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (180.878894ms)
✔ startup token refusal returns safe code without value or partial listening broker (39.45217ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (171.063865ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (164.432592ms)
✔ trusted host registers later launches; socket clients never have a registration verb (159.992085ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (46.259516ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (143.94251ms)
✔ v3b prototype refusals, views and append-only mutations (942.561092ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (234.75139ms)
✔ another run cannot consume an approval; a failed check leaves it usable (205.88139ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (157.200154ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (270.865391ms)
✔ class drift gated to cross-role refuses before consumption (176.065011ms)
✔ class drift cross-role to gated refuses before consumption (169.649872ms)
✔ class drift gated to within-role refuses before consumption (169.582233ms)
✔ class drift cross-role to within-role refuses before consumption (164.357356ms)
✔ class drift within-role to gated refuses before consumption (143.054783ms)
✔ class drift within-role to cross-role refuses before consumption (136.84595ms)
✔ message.send consumes approval and prevents a later send or authorize (163.811431ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (184.763789ms)
✔ creates private WAL store and excludes a second writer until explicit close (92.384573ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (170.88004ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (167.724067ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (156.6242ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (100.089282ms)
✔ async transactions refuse before invoking their function (84.719282ms)
✔ recordTask keeps sync reads and a role write apart (164.288089ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (102.184227ms)
✔ a bad entry refuses the whole record (99.082849ms)
✔ taskView reads the projection for one business (114.742986ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (230.908121ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (381.414015ms)
✔ without an adapter the server refuses every task verb (165.28934ms)
✔ the runtime refuses an invalid adapter and closes a valid one (178.819415ms)
✔ the process loads the S3 adapter from plain-data trackers (213.587599ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (132.432256ms)
✔ two wire claims serialize; a lost reply never automatically retries (171.083375ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (104.965622ms)
✔ client preserves UTF-8 when a response divides a multibyte character (11.948306ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (136.629406ms)
ℹ tests 74
ℹ suites 0
ℹ pass 74
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2281.398677
