Base da6f1166, r1 patch applied clean with --index, +/- and context lines identical.
Bus suite 127/127, mutants 15 of 15 killed.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
136 lines
12 KiB
Plaintext
136 lines
12 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (28.850456ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (25.950478ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (40.124738ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (18.841393ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (26.567608ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (26.226792ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (25.374916ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (25.348226ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (102.957295ms)
|
||
✔ agents: stranded is per role and per business (34.984157ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (13.10151ms)
|
||
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (33.35906ms)
|
||
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (29.135763ms)
|
||
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (31.300996ms)
|
||
✔ launch events require a human CLI capability; generic emit cannot forge authority events (19.811423ms)
|
||
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (22.599272ms)
|
||
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (25.400108ms)
|
||
✔ task action subjects and linked decision trail are complete and ordered (30.968353ms)
|
||
✔ launch binding is durable and reconnecting requires the identical trusted record (14.61573ms)
|
||
✔ business isolation includes inherited object names and cross-business message references (26.337654ms)
|
||
✔ authority never transfers between action, run, target, unresolved or replaced role holder (30.663888ms)
|
||
✔ task projection uses schema current view, skipping earlier and equal-start polls (15.494337ms)
|
||
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (23.321581ms)
|
||
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (12.418832ms)
|
||
✔ both arbiters require human resolution when their cross-role route is themselves (23.437939ms)
|
||
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (19.013415ms)
|
||
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (1.919809ms)
|
||
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (22.036894ms)
|
||
✔ credentials refuses a role session and any argument (20.898089ms)
|
||
✔ credentials reads the status on each request, and a broker without one lists none (25.414938ms)
|
||
✔ the broker process answers credentials without a token, path or variable in its output, log or store (86.113751ms)
|
||
✔ only validated broker references load; returned data and exceptions cannot expose a known token (3.923796ms)
|
||
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (2.514317ms)
|
||
✔ expiry refuses use and env references never become client data (0.821612ms)
|
||
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.862003ms)
|
||
✔ opaque tokens shorter than 16 characters refuse before use (0.411543ms)
|
||
✔ roles lists open decisions routed to a role, and never the human inbox (38.302998ms)
|
||
✔ recent lists closed decisions of every route, newest close first, with how each closed (35.730009ms)
|
||
✔ recent gives the closing event as closed when the decision was seen first (33.859094ms)
|
||
✔ recent stops at RECENT rows (121.35887ms)
|
||
✔ every row is what trail already gives the same session for that id (43.958557ms)
|
||
✔ a role session can't list decisions, so it can't read another role's open decisions (40.758066ms)
|
||
✔ decisions is a read: one business, strict arguments, nothing written (38.568074ms)
|
||
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (22.478181ms)
|
||
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (16.945686ms)
|
||
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (17.429192ms)
|
||
✔ endLaunch leaves a claim another run took alone (19.233864ms)
|
||
✔ refuse records action.refused against the caller with the code only (16.516819ms)
|
||
✔ launches off refuses role.launch with launch-revoked until launches on (20.857816ms)
|
||
✔ broker process: launch ops authorize role.launch, record refusals and end runs (107.012401ms)
|
||
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (3.208104ms)
|
||
✔ process reader gets own kernel identity without exposing environment values (0.700624ms)
|
||
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (1.014972ms)
|
||
✔ real pid 1 remains inspectable when its environment is protected (0.469097ms)
|
||
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (30.577464ms)
|
||
✔ missing and foreign-business citations refuse and roll back message and grant (22.701747ms)
|
||
✔ cross-role sends still need a matching resolved decision and consume it once (29.137333ms)
|
||
✔ messages pages all human messages newest first without writes; read state is history (374.426935ms)
|
||
✔ messages refuses role callers, invalid paging and cursors outside this human feed (18.507172ms)
|
||
✔ views messages passes only its paging arguments through (0.253538ms)
|
||
✔ messages isolates businesses even with a valid foreign cursor (10.639526ms)
|
||
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (90.421648ms)
|
||
✔ startup token refusal returns safe code without value or partial listening broker (53.49301ms)
|
||
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (85.750514ms)
|
||
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (102.78912ms)
|
||
✔ trusted host registers later launches; socket clients never have a registration verb (58.169052ms)
|
||
✔ runtime excludes declared project roots even when host supplies no repoRoots (41.294145ms)
|
||
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (52.867407ms)
|
||
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (41.812722ms)
|
||
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (22.411282ms)
|
||
✔ a message with no reply gives an empty list (19.261881ms)
|
||
✔ replies come oldest first and stop at REPLIES (98.408411ms)
|
||
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (38.607871ms)
|
||
✔ strict arguments; a role session gets human-required (39.461786ms)
|
||
✔ views passes replies through as one call with the id (0.255807ms)
|
||
✔ requirements returns the committed list to a holding role session, and no one else (32.768416ms)
|
||
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (18.533559ms)
|
||
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (21.318731ms)
|
||
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (32.851181ms)
|
||
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (28.26103ms)
|
||
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (47.894246ms)
|
||
✔ reviewFetch answers only the addressed reviewer, for the request it cites (32.514957ms)
|
||
✔ review.verdict answers one request once, to the role that asked (32.952745ms)
|
||
✔ task.close on a pushed task needs an approve verdict for the latest push (50.017638ms)
|
||
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (27.900102ms)
|
||
✔ v3b prototype refusals, views and append-only mutations (94.359391ms)
|
||
✔ gated approval authorizes once, survives store reopen, and fresh approval works (35.84911ms)
|
||
✔ another run cannot consume an approval; a failed check leaves it usable (26.125971ms)
|
||
✔ two scheduled callers have exactly one grant and one consumed refusal (26.948956ms)
|
||
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (38.992167ms)
|
||
✔ class drift gated to cross-role refuses before consumption (29.787033ms)
|
||
✔ class drift cross-role to gated refuses before consumption (30.891386ms)
|
||
✔ class drift gated to within-role refuses before consumption (23.437157ms)
|
||
✔ class drift cross-role to within-role refuses before consumption (26.103376ms)
|
||
✔ class drift within-role to gated refuses before consumption (19.75232ms)
|
||
✔ class drift within-role to cross-role refuses before consumption (19.812696ms)
|
||
✔ message.send consumes approval and prevents a later send or authorize (19.605373ms)
|
||
✔ role.revoke consumes approval and prevents a later revoke or authorize (20.702931ms)
|
||
✔ creates private WAL store and excludes a second writer until explicit close (18.464549ms)
|
||
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (19.584761ms)
|
||
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (20.851901ms)
|
||
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (68.3658ms)
|
||
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (13.971615ms)
|
||
✔ async transactions refuse before invoking their function (12.347706ms)
|
||
✔ the session default fits under the reply cap and pages to the end with next (180.020167ms)
|
||
✔ the short form: no description, assignees by role, every listed key (89.833222ms)
|
||
✔ each filter, alone and together, and total counts every match (162.873155ms)
|
||
✔ task_ref reads one task in full, as the whole board has it (86.170052ms)
|
||
✔ no arguments is the read the Console and mosaic make, unchanged (67.640008ms)
|
||
✔ an unknown argument or a bad value refuses invalid-request (284.211316ms)
|
||
✔ tasks rows carry priority and requirement for every session that reads tasks (43.378945ms)
|
||
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (59.817601ms)
|
||
✔ an empty business and one with snapshots but no task.created read cleanly (13.060277ms)
|
||
✔ recordTask keeps sync reads and a role write apart (26.779804ms)
|
||
✔ read_at must be one canonical UTC format, so the projection compares strings safely (14.289016ms)
|
||
✔ a bad entry refuses the whole record (14.108876ms)
|
||
✔ taskView reads the projection for one business (15.834154ms)
|
||
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (27.786318ms)
|
||
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (274.241659ms)
|
||
✔ without an adapter the server refuses every task verb (15.759583ms)
|
||
✔ the runtime refuses an invalid adapter and closes a valid one (15.467031ms)
|
||
✔ the process loads the S3 adapter from plain-data trackers (98.397273ms)
|
||
✔ socket capability stamps launch identity; shared views use wire, no SQL client (35.694185ms)
|
||
✔ two wire claims serialize; a lost reply never automatically retries (25.258957ms)
|
||
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (12.411913ms)
|
||
✔ client preserves UTF-8 when a response divides a multibyte character (13.001424ms)
|
||
✔ committed mutation followed by dropped reply reports unknown and is never retried (16.590033ms)
|
||
ℹ tests 127
|
||
ℹ suites 0
|
||
ℹ pass 127
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 1022.490245
|