Round 1 is a code and test review and won't land. land-work fails at BASE on the read.mjs 3b pin, which row 49 removes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
191 lines
17 KiB
Plaintext
191 lines
17 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (144.106297ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (212.221938ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (332.366729ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (156.095595ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (198.808461ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (204.552233ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (204.584477ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (212.560799ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (874.206871ms)
|
||
✔ agents: stranded is per role and per business (313.892126ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (127.968109ms)
|
||
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (151.790589ms)
|
||
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (277.651835ms)
|
||
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (278.398214ms)
|
||
✔ launch events require a human CLI capability; generic emit cannot forge authority events (185.846538ms)
|
||
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (178.296743ms)
|
||
✔ a recommendation that is not exactly one option key refuses invalid-recommendation after the options (260.94375ms)
|
||
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (184.970843ms)
|
||
✔ task action subjects and linked decision trail are complete and ordered (201.252393ms)
|
||
✔ launch binding is durable and reconnecting requires the identical trusted record (127.790773ms)
|
||
✔ business isolation includes inherited object names and cross-business message references (201.293737ms)
|
||
✔ authority never transfers between action, run, target, unresolved or replaced role holder (288.482139ms)
|
||
✔ task projection uses schema current view, skipping earlier and equal-start polls (144.075901ms)
|
||
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (210.46445ms)
|
||
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (142.583864ms)
|
||
✔ both arbiters require human resolution when their cross-role route is themselves (229.480173ms)
|
||
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (152.123808ms)
|
||
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (1.605707ms)
|
||
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (83.988712ms)
|
||
✔ credentials refuses a role session and any argument (186.964672ms)
|
||
✔ credentials reads the status on each request, and a broker without one lists none (219.66908ms)
|
||
✔ the broker process answers credentials without a token, path or variable in its output, log or store (190.726256ms)
|
||
✔ only validated broker references load; returned data and exceptions cannot expose a known token (3.887712ms)
|
||
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (4.930422ms)
|
||
✔ expiry refuses use and env references never become client data (1.091048ms)
|
||
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (1.860635ms)
|
||
✔ opaque tokens shorter than 16 characters refuse before use (0.414018ms)
|
||
✔ a human resolve sends the raising role one message from the human, and its request is the answer (226.511959ms)
|
||
✔ a cross-role decision resolved by its arbiter comes from that role and run, with no request (256.11502ms)
|
||
✔ a human withdraw sends one message with the note (241.726273ms)
|
||
✔ a human seen before the close leaves the request on the close's answer, not the seen (277.449182ms)
|
||
✔ the raising run's withdraw, a supersede, a within-role raise and seen send nothing (290.13872ms)
|
||
✔ refused closes send nothing: invalid-choice, decision-closed, not-resolver (297.054195ms)
|
||
✔ a raising role nobody holds at the close gets the message on the next claim (274.695033ms)
|
||
✔ a human DECISION send keeps its own instruction as the request, not a close's answer (244.219284ms)
|
||
✔ roles lists open decisions routed to a role, and never the human inbox (203.459774ms)
|
||
✔ recent lists closed decisions of every route, newest close first, with how each closed (305.428208ms)
|
||
✔ recent gives the closing event as closed when the decision was seen first (291.028168ms)
|
||
✔ recent stops at RECENT rows (817.852695ms)
|
||
✔ every row is what trail already gives the same session for that id (270.149792ms)
|
||
✔ a role session can't list decisions, so it can't read another role's open decisions (404.370479ms)
|
||
✔ decisions is a read: one business, strict arguments, nothing written (383.484323ms)
|
||
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (126.612467ms)
|
||
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (147.135425ms)
|
||
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (157.311946ms)
|
||
✔ endLaunch leaves a claim another run took alone (175.075342ms)
|
||
✔ refuse records action.refused against the caller with the code only (130.515399ms)
|
||
✔ launches off refuses role.launch with launch-revoked until launches on (186.34531ms)
|
||
✔ broker process: launch ops authorize role.launch, record refusals and end runs (310.743054ms)
|
||
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (2.283406ms)
|
||
✔ process reader gets own kernel identity without exposing environment values (0.555472ms)
|
||
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.987124ms)
|
||
✔ real pid 1 remains inspectable when its environment is protected (0.485029ms)
|
||
✔ limits binds actor from human proof and rejects role, reader, tester and forged actor (191.686035ms)
|
||
✔ runtime wires verified human settings to the actual shared file writer and actor receipt (294.224755ms)
|
||
✔ uncertain organization receipts leave bus startup and reads alone but refuse writes until reconciled (407.13035ms)
|
||
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (187.237364ms)
|
||
✔ missing and foreign-business citations refuse and roll back message and grant (198.09076ms)
|
||
✔ cross-role sends still need a matching resolved decision and consume it once (262.047564ms)
|
||
✔ messages pages all human messages newest first without writes; read state is history (2589.879382ms)
|
||
✔ messages refuses role callers, invalid paging and cursors outside this human feed (245.088949ms)
|
||
✔ views messages passes only its paging arguments through (0.307946ms)
|
||
✔ messages isolates businesses even with a valid foreign cursor (157.218306ms)
|
||
✔ the assistant sends to the user and to the chief of staff only (332.186593ms)
|
||
✔ an assistant send to any other role, or to the tester, is refused and logged (370.367095ms)
|
||
✔ only the user and the chief of staff may send to the assistant; the tester is refused by default (364.168818ms)
|
||
✔ a sender-side list alone refuses a send to a role that has no list (320.759526ms)
|
||
✔ a target-side list alone refuses a send from a role that has no list (348.341203ms)
|
||
✔ the sender list is checked before the target list (302.342187ms)
|
||
✔ roles without the field behave exactly as before (428.512574ms)
|
||
✔ a business with no role definitions at all is unlimited (306.108045ms)
|
||
✔ a malformed messaging field refuses at boot (93.721602ms)
|
||
✔ the assistant's review.request to a reviewer is refused and logged, even with an approved decision (321.937581ms)
|
||
✔ a review.verdict to the assistant from a role outside its receiveFrom is refused and logged (321.962777ms)
|
||
✔ review requests and verdicts between roles without the field are unchanged (235.205352ms)
|
||
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (191.579272ms)
|
||
✔ startup token refusal returns safe code without value or partial listening broker (42.463673ms)
|
||
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (176.188663ms)
|
||
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (195.297685ms)
|
||
✔ trusted host registers later launches; socket clients never have a registration verb (174.359739ms)
|
||
✔ runtime excludes declared project roots even when host supplies no repoRoots (44.582952ms)
|
||
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (180.648335ms)
|
||
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (240.521528ms)
|
||
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (222.597345ms)
|
||
✔ a message with no reply gives an empty list (161.181572ms)
|
||
✔ replies come oldest first and stop at REPLIES (756.113475ms)
|
||
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (308.561338ms)
|
||
✔ strict arguments; a role session gets human-required (377.503076ms)
|
||
✔ views passes replies through as one call with the id (0.234964ms)
|
||
✔ requirements returns the committed list to a holding role session, and no one else (243.860041ms)
|
||
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (153.643696ms)
|
||
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (190.345696ms)
|
||
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (255.264425ms)
|
||
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (250.606904ms)
|
||
✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (299.987466ms)
|
||
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (373.816028ms)
|
||
✔ reviewFetch answers only the addressed reviewer, for the request it cites (245.32091ms)
|
||
✔ review.verdict answers one request once, to the role that asked (323.185677ms)
|
||
✔ task.close on a pushed task needs an approve verdict for the latest push (367.460325ms)
|
||
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (260.999371ms)
|
||
✔ v3b prototype refusals, views and append-only mutations (1443.951342ms)
|
||
✔ gated approval authorizes once, survives store reopen, and fresh approval works (256.775933ms)
|
||
✔ another run cannot consume an approval; a failed check leaves it usable (224.573338ms)
|
||
✔ two scheduled callers have exactly one grant and one consumed refusal (158.575429ms)
|
||
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (329.461087ms)
|
||
✔ class drift gated to cross-role refuses before consumption (237.157184ms)
|
||
✔ class drift cross-role to gated refuses before consumption (246.319354ms)
|
||
✔ class drift gated to within-role refuses before consumption (230.76648ms)
|
||
✔ class drift cross-role to within-role refuses before consumption (249.744102ms)
|
||
✔ class drift within-role to gated refuses before consumption (188.575788ms)
|
||
✔ class drift within-role to cross-role refuses before consumption (194.111241ms)
|
||
✔ message.send consumes approval and prevents a later send or authorize (212.87613ms)
|
||
✔ role.revoke consumes approval and prevents a later revoke or authorize (226.015969ms)
|
||
✔ a business that never switched launches reads allowed with no time and no event (140.411764ms)
|
||
✔ launches revoked and then restored read allowed, with the restore time and event id (145.90977ms)
|
||
✔ a task closed on the tracker leaves the open list, and total counts the open ones (149.277021ms)
|
||
✔ a tombstone is not open (149.281574ms)
|
||
✔ the open list stops at the cap and says so; total still counts every open task (138.836315ms)
|
||
✔ a role and a reader session read state; arguments, and an unbound cap, refuse (137.568781ms)
|
||
✔ a human session reads the same state, with the same cap (154.442168ms)
|
||
✔ reading state writes nothing: every table keeps its row count (165.173848ms)
|
||
✔ creates private WAL store and excludes a second writer until explicit close (138.926326ms)
|
||
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (178.206283ms)
|
||
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (190.258456ms)
|
||
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (172.572461ms)
|
||
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (108.075384ms)
|
||
✔ async transactions refuse before invoking their function (104.911114ms)
|
||
✔ the session default fits under the reply cap and pages to the end with next (292.156918ms)
|
||
✔ the short form: no description, assignees by role, every listed key (239.634855ms)
|
||
✔ each filter, alone and together, and total counts every match (328.125258ms)
|
||
✔ task_ref reads one task in full, as the whole board has it (286.331155ms)
|
||
✔ no arguments is the read the Console and mosaic make, unchanged (258.084957ms)
|
||
✔ an unknown argument or a bad value refuses invalid-request (911.33054ms)
|
||
✔ tasks rows carry priority and requirement for every session that reads tasks (298.469081ms)
|
||
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (342.126176ms)
|
||
✔ an empty business and one with snapshots but no task.created read cleanly (130.487503ms)
|
||
✔ recordTask keeps sync reads and a role write apart (179.868396ms)
|
||
✔ read_at must be one canonical UTC format, so the projection compares strings safely (104.172719ms)
|
||
✔ a bad entry refuses the whole record (108.660687ms)
|
||
✔ taskView reads the projection for one business (137.276954ms)
|
||
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (238.605613ms)
|
||
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (411.381055ms)
|
||
✔ without an adapter the server refuses every task verb (209.709622ms)
|
||
✔ the runtime refuses an invalid adapter and closes a valid one (216.568231ms)
|
||
✔ the process loads the S3 adapter from plain-data trackers (298.183332ms)
|
||
✔ the tester binds only when the business sets bus.tester to exactly true (813.886759ms)
|
||
✔ a business may not name a role tester, so the tester address is never a role (244.22888ms)
|
||
✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (522.592589ms)
|
||
✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (203.609637ms)
|
||
✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (216.547593ms)
|
||
✔ the tester reads the human views a reader reads (128.617857ms)
|
||
✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (1.775012ms)
|
||
✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.482801ms)
|
||
✔ testerNonce reads only the tester's variable and gives null on any read error (0.244644ms)
|
||
✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (87.945597ms)
|
||
✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (891.089175ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: one holder per thread, through the broker and the trigger (334.747587ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: the 3e triggers refuse writes that skip the broker (1039.350596ms)
|
||
✔ REQ-MSG-1: a message to or from the assistant names its thread, or is refused (310.440802ms)
|
||
✔ REQ-MSG-1: the chief of staff's reply comes back to the thread that sent the work (2829.896629ms)
|
||
✔ REQ-MSG-1: a reply can't carry one thread instance's thread to another thread instance (100.161658ms)
|
||
✔ REQ-THREAD-1 REQ-USER-2: one thread's messages never reach another thread's holder (150.273716ms)
|
||
✔ REQ-LAUNCH-1: a message to a thread with no holder waits, and the next holder gets it (150.290169ms)
|
||
✔ REQ-USER-2: the human verbs refuse another owner's thread (147.182849ms)
|
||
✔ REQ-THREAD-1: thread.create refuses when the business has no thread instance or more than one (102.228668ms)
|
||
✔ REQ-ORG-2: projects and threads are named once, and the repo names a business project (140.873501ms)
|
||
✔ REQ-THREAD-2: thread.messages returns the thread's history in pages and writes nothing (448.299207ms)
|
||
✔ socket capability stamps launch identity; shared views use wire, no SQL client (146.816814ms)
|
||
✔ two wire claims serialize; a lost reply never automatically retries (174.244183ms)
|
||
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (109.303811ms)
|
||
✔ client preserves UTF-8 when a response divides a multibyte character (11.862239ms)
|
||
✔ committed mutation followed by dropped reply reports unknown and is never retried (151.547928ms)
|
||
ℹ tests 182
|
||
ℹ suites 0
|
||
ℹ pass 182
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 7495.22001
|