167 lines
15 KiB
Plaintext
167 lines
15 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (14.844026ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (12.84997ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (24.058901ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (9.610497ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (12.163566ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (11.497937ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (13.045578ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (13.691207ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (60.514285ms)
|
||
✔ agents: stranded is per role and per business (22.578807ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (8.480099ms)
|
||
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (14.332615ms)
|
||
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (16.273286ms)
|
||
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (16.436354ms)
|
||
✔ launch events require a human CLI capability; generic emit cannot forge authority events (10.662472ms)
|
||
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (10.682626ms)
|
||
✔ a recommendation that is not exactly one option key refuses invalid-recommendation after the options (15.903014ms)
|
||
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (9.710863ms)
|
||
✔ task action subjects and linked decision trail are complete and ordered (17.117199ms)
|
||
✔ launch binding is durable and reconnecting requires the identical trusted record (6.66024ms)
|
||
✔ business isolation includes inherited object names and cross-business message references (12.1309ms)
|
||
✔ authority never transfers between action, run, target, unresolved or replaced role holder (16.039823ms)
|
||
✔ task projection uses schema current view, skipping earlier and equal-start polls (8.367375ms)
|
||
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (13.120536ms)
|
||
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (8.469146ms)
|
||
✔ both arbiters require human resolution when their cross-role route is themselves (14.163195ms)
|
||
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (14.202759ms)
|
||
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (1.277516ms)
|
||
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (11.733145ms)
|
||
✔ credentials refuses a role session and any argument (11.043972ms)
|
||
✔ credentials reads the status on each request, and a broker without one lists none (12.679265ms)
|
||
✔ the broker process answers credentials without a token, path or variable in its output, log or store (60.659373ms)
|
||
✔ only validated broker references load; returned data and exceptions cannot expose a known token (2.434158ms)
|
||
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (1.398852ms)
|
||
✔ expiry refuses use and env references never become client data (0.427332ms)
|
||
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (0.982795ms)
|
||
✔ opaque tokens shorter than 16 characters refuse before use (0.225205ms)
|
||
✔ a human resolve sends the raising role one message from the human, and its request is the answer (24.262806ms)
|
||
✔ a cross-role decision resolved by its arbiter comes from that role and run, with no request (13.779696ms)
|
||
✔ a human withdraw sends one message with the note (13.946399ms)
|
||
✔ a human seen before the close leaves the request on the close's answer, not the seen (16.592904ms)
|
||
✔ the raising run's withdraw, a supersede, a within-role raise and seen send nothing (16.832577ms)
|
||
✔ refused closes send nothing: invalid-choice, decision-closed, not-resolver (17.774439ms)
|
||
✔ a raising role nobody holds at the close gets the message on the next claim (15.435615ms)
|
||
✔ a human DECISION send keeps its own instruction as the request, not a close's answer (14.373193ms)
|
||
✔ roles lists open decisions routed to a role, and never the human inbox (18.826278ms)
|
||
✔ recent lists closed decisions of every route, newest close first, with how each closed (18.860754ms)
|
||
✔ recent gives the closing event as closed when the decision was seen first (18.099987ms)
|
||
✔ recent stops at RECENT rows (61.151889ms)
|
||
✔ every row is what trail already gives the same session for that id (25.72803ms)
|
||
✔ a role session can't list decisions, so it can't read another role's open decisions (26.245239ms)
|
||
✔ decisions is a read: one business, strict arguments, nothing written (24.325387ms)
|
||
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (11.888158ms)
|
||
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (12.142498ms)
|
||
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (11.299436ms)
|
||
✔ endLaunch leaves a claim another run took alone (11.192429ms)
|
||
✔ refuse records action.refused against the caller with the code only (8.878521ms)
|
||
✔ launches off refuses role.launch with launch-revoked until launches on (12.2991ms)
|
||
✔ broker process: launch ops authorize role.launch, record refusals and end runs (74.551448ms)
|
||
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (1.422526ms)
|
||
✔ process reader gets own kernel identity without exposing environment values (0.532394ms)
|
||
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.673358ms)
|
||
✔ real pid 1 remains inspectable when its environment is protected (0.226372ms)
|
||
✔ limits binds actor from human proof and rejects role, reader, tester and forged actor (14.707559ms)
|
||
✔ runtime wires verified human settings to the actual shared file writer and actor receipt (30.922283ms)
|
||
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (16.797386ms)
|
||
✔ missing and foreign-business citations refuse and roll back message and grant (11.38752ms)
|
||
✔ cross-role sends still need a matching resolved decision and consume it once (15.162452ms)
|
||
✔ messages pages all human messages newest first without writes; read state is history (221.892602ms)
|
||
✔ messages refuses role callers, invalid paging and cursors outside this human feed (17.100906ms)
|
||
✔ views messages passes only its paging arguments through (0.259275ms)
|
||
✔ messages isolates businesses even with a valid foreign cursor (11.524709ms)
|
||
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (63.405794ms)
|
||
✔ startup token refusal returns safe code without value or partial listening broker (45.269985ms)
|
||
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (60.060361ms)
|
||
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (86.501212ms)
|
||
✔ trusted host registers later launches; socket clients never have a registration verb (60.928301ms)
|
||
✔ runtime excludes declared project roots even when host supplies no repoRoots (45.211966ms)
|
||
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (62.162379ms)
|
||
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (23.889961ms)
|
||
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (12.39846ms)
|
||
✔ a message with no reply gives an empty list (9.48174ms)
|
||
✔ replies come oldest first and stop at REPLIES (49.716775ms)
|
||
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (20.072931ms)
|
||
✔ strict arguments; a role session gets human-required (22.342641ms)
|
||
✔ views passes replies through as one call with the id (0.260172ms)
|
||
✔ requirements returns the committed list to a holding role session, and no one else (16.641329ms)
|
||
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (9.395777ms)
|
||
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (9.59052ms)
|
||
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (19.512113ms)
|
||
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (14.089612ms)
|
||
✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (17.15279ms)
|
||
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (23.373996ms)
|
||
✔ reviewFetch answers only the addressed reviewer, for the request it cites (14.766611ms)
|
||
✔ review.verdict answers one request once, to the role that asked (19.524567ms)
|
||
✔ task.close on a pushed task needs an approve verdict for the latest push (24.137758ms)
|
||
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (16.089347ms)
|
||
✔ v3b prototype refusals, views and append-only mutations (49.431895ms)
|
||
✔ gated approval authorizes once, survives store reopen, and fresh approval works (19.654508ms)
|
||
✔ another run cannot consume an approval; a failed check leaves it usable (13.371078ms)
|
||
✔ two scheduled callers have exactly one grant and one consumed refusal (10.341648ms)
|
||
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (20.298967ms)
|
||
✔ class drift gated to cross-role refuses before consumption (14.035778ms)
|
||
✔ class drift cross-role to gated refuses before consumption (14.607792ms)
|
||
✔ class drift gated to within-role refuses before consumption (13.626736ms)
|
||
✔ class drift cross-role to within-role refuses before consumption (17.835935ms)
|
||
✔ class drift within-role to gated refuses before consumption (11.807707ms)
|
||
✔ class drift within-role to cross-role refuses before consumption (12.243654ms)
|
||
✔ message.send consumes approval and prevents a later send or authorize (14.383965ms)
|
||
✔ role.revoke consumes approval and prevents a later revoke or authorize (17.045277ms)
|
||
✔ a business that never switched launches reads allowed with no time and no event (11.499786ms)
|
||
✔ launches revoked and then restored read allowed, with the restore time and event id (8.844644ms)
|
||
✔ a task closed on the tracker leaves the open list, and total counts the open ones (9.451341ms)
|
||
✔ a tombstone is not open (7.491171ms)
|
||
✔ the open list stops at the cap and says so; total still counts every open task (10.774382ms)
|
||
✔ a role and a reader session read state; arguments, and an unbound cap, refuse (8.625774ms)
|
||
✔ a human session reads the same state, with the same cap (10.692408ms)
|
||
✔ reading state writes nothing: every table keeps its row count (8.892325ms)
|
||
✔ creates private WAL store and excludes a second writer until explicit close (9.611322ms)
|
||
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (9.573132ms)
|
||
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (8.974715ms)
|
||
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (39.250321ms)
|
||
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (7.215517ms)
|
||
✔ async transactions refuse before invoking their function (5.430372ms)
|
||
✔ the session default fits under the reply cap and pages to the end with next (122.72866ms)
|
||
✔ the short form: no description, assignees by role, every listed key (73.228304ms)
|
||
✔ each filter, alone and together, and total counts every match (158.759482ms)
|
||
✔ task_ref reads one task in full, as the whole board has it (91.831499ms)
|
||
✔ no arguments is the read the Console and mosaic make, unchanged (72.869861ms)
|
||
✔ an unknown argument or a bad value refuses invalid-request (323.431485ms)
|
||
✔ tasks rows carry priority and requirement for every session that reads tasks (26.185887ms)
|
||
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (28.12096ms)
|
||
✔ an empty business and one with snapshots but no task.created read cleanly (6.885219ms)
|
||
✔ recordTask keeps sync reads and a role write apart (15.927479ms)
|
||
✔ read_at must be one canonical UTC format, so the projection compares strings safely (6.046892ms)
|
||
✔ a bad entry refuses the whole record (7.099587ms)
|
||
✔ taskView reads the projection for one business (7.452228ms)
|
||
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (14.539223ms)
|
||
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (275.563631ms)
|
||
✔ without an adapter the server refuses every task verb (16.321608ms)
|
||
✔ the runtime refuses an invalid adapter and closes a valid one (16.333511ms)
|
||
✔ the process loads the S3 adapter from plain-data trackers (112.065291ms)
|
||
✔ the tester binds only when the business sets bus.tester to exactly true (47.309984ms)
|
||
✔ a business may not name a role tester, so the tester address is never a role (14.194129ms)
|
||
✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (30.940516ms)
|
||
✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (13.036098ms)
|
||
✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (16.731485ms)
|
||
✔ the tester reads the human views a reader reads (18.626743ms)
|
||
✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (1.222216ms)
|
||
✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.343674ms)
|
||
✔ testerNonce reads only the tester's variable and gives null on any read error (0.20371ms)
|
||
✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (16.118503ms)
|
||
✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (649.730112ms)
|
||
✔ socket capability stamps launch identity; shared views use wire, no SQL client (19.448606ms)
|
||
✔ two wire claims serialize; a lost reply never automatically retries (13.892211ms)
|
||
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (7.902246ms)
|
||
✔ client preserves UTF-8 when a response divides a multibyte character (11.78367ms)
|
||
✔ committed mutation followed by dropped reply reports unknown and is never retried (9.56165ms)
|
||
ℹ tests 158
|
||
ℹ suites 0
|
||
ℹ pass 158
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 5885.311646
|