Build notes, patch and candidate manifest on BASE badfa52b9, the gate
logs (GATE_PASSED; the real bwrap tester case in seat sandbox.test.mjs
ran and passed) and the mutant runs (94 killed, b44 and b45 equivalent).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
156 lines
14 KiB
Plaintext
156 lines
14 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (174.703573ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (207.960853ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (331.739201ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (183.829234ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (244.24276ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (227.442337ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (219.876383ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (228.239085ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (863.459045ms)
|
||
✔ agents: stranded is per role and per business (309.621294ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (124.859987ms)
|
||
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (217.530615ms)
|
||
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (265.797612ms)
|
||
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (279.088319ms)
|
||
✔ launch events require a human CLI capability; generic emit cannot forge authority events (202.472167ms)
|
||
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (232.182401ms)
|
||
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (197.361931ms)
|
||
✔ task action subjects and linked decision trail are complete and ordered (210.233603ms)
|
||
✔ launch binding is durable and reconnecting requires the identical trusted record (121.987657ms)
|
||
✔ business isolation includes inherited object names and cross-business message references (208.964435ms)
|
||
✔ authority never transfers between action, run, target, unresolved or replaced role holder (293.278013ms)
|
||
✔ task projection uses schema current view, skipping earlier and equal-start polls (145.332266ms)
|
||
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (213.71772ms)
|
||
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (144.49446ms)
|
||
✔ both arbiters require human resolution when their cross-role route is themselves (207.630463ms)
|
||
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (149.546537ms)
|
||
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.438544ms)
|
||
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (152.452702ms)
|
||
✔ credentials refuses a role session and any argument (180.953814ms)
|
||
✔ credentials reads the status on each request, and a broker without one lists none (231.570351ms)
|
||
✔ the broker process answers credentials without a token, path or variable in its output, log or store (192.314452ms)
|
||
✔ only validated broker references load; returned data and exceptions cannot expose a known token (4.002256ms)
|
||
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (33.343757ms)
|
||
✔ expiry refuses use and env references never become client data (0.616904ms)
|
||
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.10348ms)
|
||
✔ opaque tokens shorter than 16 characters refuse before use (0.238454ms)
|
||
✔ roles lists open decisions routed to a role, and never the human inbox (274.566918ms)
|
||
✔ recent lists closed decisions of every route, newest close first, with how each closed (293.292804ms)
|
||
✔ recent gives the closing event as closed when the decision was seen first (316.21447ms)
|
||
✔ recent stops at RECENT rows (894.50638ms)
|
||
✔ every row is what trail already gives the same session for that id (273.534634ms)
|
||
✔ a role session can't list decisions, so it can't read another role's open decisions (417.641861ms)
|
||
✔ decisions is a read: one business, strict arguments, nothing written (356.225039ms)
|
||
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (190.302846ms)
|
||
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (140.826594ms)
|
||
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (161.515891ms)
|
||
✔ endLaunch leaves a claim another run took alone (174.445218ms)
|
||
✔ refuse records action.refused against the caller with the code only (145.783193ms)
|
||
✔ launches off refuses role.launch with launch-revoked until launches on (220.583184ms)
|
||
✔ broker process: launch ops authorize role.launch, record refusals and end runs (305.943118ms)
|
||
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.25284ms)
|
||
✔ process reader gets own kernel identity without exposing environment values (0.446441ms)
|
||
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.629684ms)
|
||
✔ real pid 1 remains inspectable when its environment is protected (0.251568ms)
|
||
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (253.682208ms)
|
||
✔ missing and foreign-business citations refuse and roll back message and grant (195.542553ms)
|
||
✔ cross-role sends still need a matching resolved decision and consume it once (259.811334ms)
|
||
✔ messages pages all human messages newest first without writes; read state is history (2736.844734ms)
|
||
✔ messages refuses role callers, invalid paging and cursors outside this human feed (231.199351ms)
|
||
✔ views messages passes only its paging arguments through (0.276023ms)
|
||
✔ messages isolates businesses even with a valid foreign cursor (155.802995ms)
|
||
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (238.913ms)
|
||
✔ startup token refusal returns safe code without value or partial listening broker (36.900181ms)
|
||
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (179.38059ms)
|
||
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (169.081035ms)
|
||
✔ trusted host registers later launches; socket clients never have a registration verb (175.962943ms)
|
||
✔ runtime excludes declared project roots even when host supplies no repoRoots (36.719072ms)
|
||
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (196.657708ms)
|
||
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (258.813285ms)
|
||
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (216.481508ms)
|
||
✔ a message with no reply gives an empty list (166.920117ms)
|
||
✔ replies come oldest first and stop at REPLIES (851.277175ms)
|
||
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (326.672265ms)
|
||
✔ strict arguments; a role session gets human-required (395.758422ms)
|
||
✔ views passes replies through as one call with the id (0.241892ms)
|
||
✔ requirements returns the committed list to a holding role session, and no one else (256.31338ms)
|
||
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (147.880515ms)
|
||
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (190.256759ms)
|
||
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (277.42873ms)
|
||
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (252.122937ms)
|
||
✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (311.836726ms)
|
||
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (453.503831ms)
|
||
✔ reviewFetch answers only the addressed reviewer, for the request it cites (256.001015ms)
|
||
✔ review.verdict answers one request once, to the role that asked (339.838017ms)
|
||
✔ task.close on a pushed task needs an approve verdict for the latest push (381.172524ms)
|
||
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (253.920316ms)
|
||
✔ v3b prototype refusals, views and append-only mutations (1144.399307ms)
|
||
✔ gated approval authorizes once, survives store reopen, and fresh approval works (281.238795ms)
|
||
✔ another run cannot consume an approval; a failed check leaves it usable (231.197988ms)
|
||
✔ two scheduled callers have exactly one grant and one consumed refusal (175.316794ms)
|
||
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (369.8025ms)
|
||
✔ class drift gated to cross-role refuses before consumption (267.780413ms)
|
||
✔ class drift cross-role to gated refuses before consumption (272.787008ms)
|
||
✔ class drift gated to within-role refuses before consumption (246.584773ms)
|
||
✔ class drift cross-role to within-role refuses before consumption (259.212607ms)
|
||
✔ class drift within-role to gated refuses before consumption (229.266798ms)
|
||
✔ class drift within-role to cross-role refuses before consumption (186.992516ms)
|
||
✔ message.send consumes approval and prevents a later send or authorize (206.162695ms)
|
||
✔ role.revoke consumes approval and prevents a later revoke or authorize (224.372868ms)
|
||
✔ a business that never switched launches reads allowed with no time and no event (153.957179ms)
|
||
✔ launches revoked and then restored read allowed, with the restore time and event id (159.62271ms)
|
||
✔ a task closed on the tracker leaves the open list, and total counts the open ones (166.458039ms)
|
||
✔ a tombstone is not open (137.394129ms)
|
||
✔ the open list stops at the cap and says so; total still counts every open task (156.340443ms)
|
||
✔ a role and a reader session read state; arguments, and an unbound cap, refuse (167.235628ms)
|
||
✔ a human session reads the same state, with the same cap (182.568049ms)
|
||
✔ reading state writes nothing: every table keeps its row count (171.226677ms)
|
||
✔ creates private WAL store and excludes a second writer until explicit close (157.9811ms)
|
||
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (154.212196ms)
|
||
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (187.07101ms)
|
||
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (164.550822ms)
|
||
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (135.485804ms)
|
||
✔ async transactions refuse before invoking their function (115.3258ms)
|
||
✔ the session default fits under the reply cap and pages to the end with next (334.274018ms)
|
||
✔ the short form: no description, assignees by role, every listed key (290.998336ms)
|
||
✔ each filter, alone and together, and total counts every match (338.042576ms)
|
||
✔ task_ref reads one task in full, as the whole board has it (295.855091ms)
|
||
✔ no arguments is the read the Console and mosaic make, unchanged (261.435112ms)
|
||
✔ an unknown argument or a bad value refuses invalid-request (912.003342ms)
|
||
✔ tasks rows carry priority and requirement for every session that reads tasks (353.483186ms)
|
||
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (377.783263ms)
|
||
✔ an empty business and one with snapshots but no task.created read cleanly (131.349302ms)
|
||
✔ recordTask keeps sync reads and a role write apart (213.631835ms)
|
||
✔ read_at must be one canonical UTC format, so the projection compares strings safely (131.056397ms)
|
||
✔ a bad entry refuses the whole record (143.496891ms)
|
||
✔ taskView reads the projection for one business (134.52588ms)
|
||
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (260.554285ms)
|
||
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (411.510467ms)
|
||
✔ without an adapter the server refuses every task verb (221.654684ms)
|
||
✔ the runtime refuses an invalid adapter and closes a valid one (223.926189ms)
|
||
✔ the process loads the S3 adapter from plain-data trackers (255.421512ms)
|
||
✔ the tester binds only when the business sets bus.tester to exactly true (848.155648ms)
|
||
✔ a business may not name a role tester, so the tester address is never a role (260.761489ms)
|
||
✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (545.674908ms)
|
||
✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (191.631078ms)
|
||
✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (234.862255ms)
|
||
✔ the tester reads the human views a reader reads (88.91548ms)
|
||
✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (1.188673ms)
|
||
✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.377195ms)
|
||
✔ testerNonce reads only the tester's variable and gives null on any read error (0.199719ms)
|
||
✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (45.500833ms)
|
||
✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (713.376622ms)
|
||
✔ socket capability stamps launch identity; shared views use wire, no SQL client (192.039953ms)
|
||
✔ two wire claims serialize; a lost reply never automatically retries (186.099508ms)
|
||
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (122.488904ms)
|
||
✔ client preserves UTF-8 when a response divides a multibyte character (12.545821ms)
|
||
✔ committed mutation followed by dropped reply reports unknown and is never retried (142.787389ms)
|
||
ℹ tests 147
|
||
ℹ suites 0
|
||
ℹ pass 147
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 4040.253103
|