✔ launch identity is stamped, payload identity is refused and stale holder cannot send (167.142297ms)
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (230.420936ms)
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (235.647129ms)
✔ launch events require a human CLI capability; generic emit cannot forge authority events (151.061215ms)
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (153.380732ms)
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (141.15041ms)
✔ task action subjects and linked decision trail are complete and ordered (152.693428ms)
✔ launch binding is durable and reconnecting requires the identical trusted record (86.297407ms)
✔ business isolation includes inherited object names and cross-business message references (148.976508ms)
✔ authority never transfers between action, run, target, unresolved or replaced role holder (210.77989ms)
✔ task projection uses schema current view, skipping earlier and equal-start polls (104.339254ms)
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (173.293573ms)
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (102.099882ms)
✔ both arbiters require human resolution when their cross-role route is themselves (159.939336ms)
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.227341ms)
✔ only validated broker references load; returned data and exceptions cannot expose a known token (4.907077ms)
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (8.415907ms)
✔ expiry refuses use and env references never become client data (0.601154ms)
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.194888ms)
✔ opaque tokens shorter than 16 characters refuse before use (0.261952ms)
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (130.971346ms)
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (111.098252ms)
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (131.39879ms)
✔ endLaunch leaves a claim another run took alone (157.697482ms)
✔ refuse records action.refused against the caller with the code only (125.302528ms)
✔ launches off refuses role.launch with launch-revoked until launches on (156.743888ms)
✔ broker process: launch ops authorize role.launch, record refusals and end runs (231.008594ms)
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.64164ms)
✔ process reader gets own kernel identity without exposing environment values (1.564657ms)
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.992806ms)
✔ real pid 1 remains inspectable when its environment is protected (0.366038ms)
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (192.270951ms)
✔ missing and foreign-business citations refuse and roll back message and grant (165.248188ms)
✔ cross-role sends still need a matching resolved decision and consume it once (225.177294ms)
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (181.027469ms)
✔ startup token refusal returns safe code without value or partial listening broker (37.780904ms)
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (157.839221ms)
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (164.036638ms)
✔ trusted host registers later launches; socket clients never have a registration verb (163.83318ms)
✔ runtime excludes declared project roots even when host supplies no repoRoots (37.888926ms)
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (145.998882ms)
✔ v3b prototype refusals, views and append-only mutations (931.868277ms)
✔ gated approval authorizes once, survives store reopen, and fresh approval works (234.144952ms)
✔ another run cannot consume an approval; a failed check leaves it usable (192.203781ms)
✔ two scheduled callers have exactly one grant and one consumed refusal (152.903468ms)
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (273.028459ms)
✔ class drift gated to cross-role refuses before consumption (176.737816ms)
✔ class drift cross-role to gated refuses before consumption (173.106468ms)
✔ class drift gated to within-role refuses before consumption (153.556383ms)
✔ class drift cross-role to within-role refuses before consumption (172.837053ms)
✔ class drift within-role to gated refuses before consumption (150.262194ms)
✔ class drift within-role to cross-role refuses before consumption (146.76894ms)
✔ message.send consumes approval and prevents a later send or authorize (166.63171ms)
✔ role.revoke consumes approval and prevents a later revoke or authorize (189.942568ms)
✔ creates private WAL store and excludes a second writer until explicit close (130.323883ms)
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (151.473064ms)
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (160.113086ms)
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (159.365395ms)
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (99.519215ms)
✔ async transactions refuse before invoking their function (75.624887ms)
✔ recordTask keeps sync reads and a role write apart (176.035958ms)
✔ read_at must be one canonical UTC format, so the projection compares strings safely (102.593544ms)
✔ a bad entry refuses the whole record (98.782671ms)
✔ taskView reads the projection for one business (98.322625ms)
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (226.263728ms)
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (390.207533ms)
✔ without an adapter the server refuses every task verb (165.545934ms)
✔ the runtime refuses an invalid adapter and closes a valid one (170.701529ms)
✔ the process loads the S3 adapter from plain-data trackers (226.542656ms)
✔ socket capability stamps launch identity; shared views use wire, no SQL client (145.169982ms)
✔ two wire claims serialize; a lost reply never automatically retries (164.806381ms)
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (104.686616ms)
✔ client preserves UTF-8 when a response divides a multibyte character (11.749373ms)
✔ committed mutation followed by dropped reply reports unknown and is never retried (127.787676ms)
ℹ tests 74
ℹ suites 0
ℹ pass 74
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2287.87016
