Folds Filbert's N1 per Sage's comment 28355: the envelope test sends a role cap with a tester proof. The narrowing mutant at server.mjs:50 survives the full bus suite on round 1 and is killed on round 2. Full gate passed with the real bwrap tester case running. 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 (141.508943ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (205.734691ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (338.818973ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (176.473643ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (207.918719ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (209.094691ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (215.956919ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (213.224082ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (782.782848ms)
|
||
✔ agents: stranded is per role and per business (292.17445ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (108.703304ms)
|
||
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (159.476678ms)
|
||
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (267.688344ms)
|
||
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (279.425081ms)
|
||
✔ launch events require a human CLI capability; generic emit cannot forge authority events (187.135921ms)
|
||
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (187.539681ms)
|
||
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (196.213168ms)
|
||
✔ task action subjects and linked decision trail are complete and ordered (198.75758ms)
|
||
✔ launch binding is durable and reconnecting requires the identical trusted record (112.063085ms)
|
||
✔ business isolation includes inherited object names and cross-business message references (215.706925ms)
|
||
✔ authority never transfers between action, run, target, unresolved or replaced role holder (250.789896ms)
|
||
✔ task projection uses schema current view, skipping earlier and equal-start polls (131.747706ms)
|
||
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (193.487993ms)
|
||
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (131.13833ms)
|
||
✔ both arbiters require human resolution when their cross-role route is themselves (209.313351ms)
|
||
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (149.926828ms)
|
||
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (2.416018ms)
|
||
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (92.748744ms)
|
||
✔ credentials refuses a role session and any argument (171.937969ms)
|
||
✔ credentials reads the status on each request, and a broker without one lists none (219.354783ms)
|
||
✔ the broker process answers credentials without a token, path or variable in its output, log or store (196.462691ms)
|
||
✔ only validated broker references load; returned data and exceptions cannot expose a known token (5.108764ms)
|
||
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (3.129039ms)
|
||
✔ expiry refuses use and env references never become client data (0.829989ms)
|
||
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.706077ms)
|
||
✔ opaque tokens shorter than 16 characters refuse before use (0.439239ms)
|
||
✔ roles lists open decisions routed to a role, and never the human inbox (223.215045ms)
|
||
✔ recent lists closed decisions of every route, newest close first, with how each closed (292.984298ms)
|
||
✔ recent gives the closing event as closed when the decision was seen first (307.542491ms)
|
||
✔ recent stops at RECENT rows (822.534811ms)
|
||
✔ every row is what trail already gives the same session for that id (263.144175ms)
|
||
✔ a role session can't list decisions, so it can't read another role's open decisions (354.397973ms)
|
||
✔ decisions is a read: one business, strict arguments, nothing written (336.357996ms)
|
||
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (128.85552ms)
|
||
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (131.847206ms)
|
||
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (155.113914ms)
|
||
✔ endLaunch leaves a claim another run took alone (188.242019ms)
|
||
✔ refuse records action.refused against the caller with the code only (143.537293ms)
|
||
✔ launches off refuses role.launch with launch-revoked until launches on (189.210449ms)
|
||
✔ broker process: launch ops authorize role.launch, record refusals and end runs (275.058565ms)
|
||
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.539177ms)
|
||
✔ process reader gets own kernel identity without exposing environment values (0.840522ms)
|
||
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.04976ms)
|
||
✔ real pid 1 remains inspectable when its environment is protected (0.403969ms)
|
||
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (185.870084ms)
|
||
✔ missing and foreign-business citations refuse and roll back message and grant (190.488162ms)
|
||
✔ cross-role sends still need a matching resolved decision and consume it once (247.987919ms)
|
||
✔ messages pages all human messages newest first without writes; read state is history (2500.143178ms)
|
||
✔ messages refuses role callers, invalid paging and cursors outside this human feed (229.801984ms)
|
||
✔ views messages passes only its paging arguments through (0.245814ms)
|
||
✔ messages isolates businesses even with a valid foreign cursor (151.2364ms)
|
||
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (190.858588ms)
|
||
✔ startup token refusal returns safe code without value or partial listening broker (38.640467ms)
|
||
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (178.458986ms)
|
||
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (183.39908ms)
|
||
✔ trusted host registers later launches; socket clients never have a registration verb (182.613114ms)
|
||
✔ runtime excludes declared project roots even when host supplies no repoRoots (38.076899ms)
|
||
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (174.221812ms)
|
||
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (221.643564ms)
|
||
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (208.436042ms)
|
||
✔ a message with no reply gives an empty list (171.005944ms)
|
||
✔ replies come oldest first and stop at REPLIES (790.298172ms)
|
||
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (309.506205ms)
|
||
✔ strict arguments; a role session gets human-required (350.978081ms)
|
||
✔ views passes replies through as one call with the id (0.253194ms)
|
||
✔ requirements returns the committed list to a holding role session, and no one else (197.490825ms)
|
||
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (158.400262ms)
|
||
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (184.969656ms)
|
||
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (238.013653ms)
|
||
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (255.997651ms)
|
||
✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (300.897868ms)
|
||
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (392.876413ms)
|
||
✔ reviewFetch answers only the addressed reviewer, for the request it cites (257.235254ms)
|
||
✔ review.verdict answers one request once, to the role that asked (321.532673ms)
|
||
✔ task.close on a pushed task needs an approve verdict for the latest push (327.034732ms)
|
||
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (222.374419ms)
|
||
✔ v3b prototype refusals, views and append-only mutations (1068.741806ms)
|
||
✔ gated approval authorizes once, survives store reopen, and fresh approval works (267.892969ms)
|
||
✔ another run cannot consume an approval; a failed check leaves it usable (229.449498ms)
|
||
✔ two scheduled callers have exactly one grant and one consumed refusal (171.004849ms)
|
||
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (329.116627ms)
|
||
✔ class drift gated to cross-role refuses before consumption (248.15602ms)
|
||
✔ class drift cross-role to gated refuses before consumption (262.507549ms)
|
||
✔ class drift gated to within-role refuses before consumption (237.817592ms)
|
||
✔ class drift cross-role to within-role refuses before consumption (226.987416ms)
|
||
✔ class drift within-role to gated refuses before consumption (179.443596ms)
|
||
✔ class drift within-role to cross-role refuses before consumption (169.687333ms)
|
||
✔ message.send consumes approval and prevents a later send or authorize (200.474188ms)
|
||
✔ role.revoke consumes approval and prevents a later revoke or authorize (226.511089ms)
|
||
✔ a business that never switched launches reads allowed with no time and no event (140.860705ms)
|
||
✔ launches revoked and then restored read allowed, with the restore time and event id (167.762188ms)
|
||
✔ a task closed on the tracker leaves the open list, and total counts the open ones (157.255213ms)
|
||
✔ a tombstone is not open (143.743669ms)
|
||
✔ the open list stops at the cap and says so; total still counts every open task (151.981088ms)
|
||
✔ a role and a reader session read state; arguments, and an unbound cap, refuse (141.553662ms)
|
||
✔ a human session reads the same state, with the same cap (149.56023ms)
|
||
✔ reading state writes nothing: every table keeps its row count (167.019249ms)
|
||
✔ creates private WAL store and excludes a second writer until explicit close (114.309446ms)
|
||
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (187.8324ms)
|
||
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (185.470377ms)
|
||
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (177.83601ms)
|
||
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (109.257187ms)
|
||
✔ async transactions refuse before invoking their function (91.39401ms)
|
||
✔ the session default fits under the reply cap and pages to the end with next (301.609634ms)
|
||
✔ the short form: no description, assignees by role, every listed key (250.108375ms)
|
||
✔ each filter, alone and together, and total counts every match (321.784793ms)
|
||
✔ task_ref reads one task in full, as the whole board has it (288.130339ms)
|
||
✔ no arguments is the read the Console and mosaic make, unchanged (232.532681ms)
|
||
✔ an unknown argument or a bad value refuses invalid-request (869.018207ms)
|
||
✔ tasks rows carry priority and requirement for every session that reads tasks (317.205631ms)
|
||
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (358.105476ms)
|
||
✔ an empty business and one with snapshots but no task.created read cleanly (122.109779ms)
|
||
✔ recordTask keeps sync reads and a role write apart (182.807882ms)
|
||
✔ read_at must be one canonical UTC format, so the projection compares strings safely (108.663637ms)
|
||
✔ a bad entry refuses the whole record (119.811385ms)
|
||
✔ taskView reads the projection for one business (144.711528ms)
|
||
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (258.147844ms)
|
||
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (392.047995ms)
|
||
✔ without an adapter the server refuses every task verb (199.61229ms)
|
||
✔ the runtime refuses an invalid adapter and closes a valid one (193.013972ms)
|
||
✔ the process loads the S3 adapter from plain-data trackers (238.815371ms)
|
||
✔ the tester binds only when the business sets bus.tester to exactly true (810.079923ms)
|
||
✔ a business may not name a role tester, so the tester address is never a role (221.033807ms)
|
||
✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (484.811362ms)
|
||
✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (195.088848ms)
|
||
✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (221.448931ms)
|
||
✔ the tester reads the human views a reader reads (73.220618ms)
|
||
✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (1.115371ms)
|
||
✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.389404ms)
|
||
✔ testerNonce reads only the tester's variable and gives null on any read error (0.195776ms)
|
||
✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (50.694886ms)
|
||
✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (696.439765ms)
|
||
✔ socket capability stamps launch identity; shared views use wire, no SQL client (175.481657ms)
|
||
✔ two wire claims serialize; a lost reply never automatically retries (179.89021ms)
|
||
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (115.406737ms)
|
||
✔ client preserves UTF-8 when a response divides a multibyte character (11.992367ms)
|
||
✔ committed mutation followed by dropped reply reports unknown and is never retried (143.082664ms)
|
||
ℹ tests 147
|
||
ℹ suites 0
|
||
ℹ pass 147
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 3802.497134
|