Unclaimed files left in the canonical checkout. Inventory: canonical-cleanup-inventory.md (commit-as-evidence groups). detect-secrets scan clean on 2026-11-02: hits are sha256 pins, git object ids, test sentinels already in tracked tests and unit-file lines.
402 lines
38 KiB
Plaintext
402 lines
38 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (16.968543ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (16.667113ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (26.685265ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (11.697893ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (14.750744ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (12.33943ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (14.871848ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (14.315681ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (72.377882ms)
|
||
✔ agents: stranded is per role and per business (23.775091ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (9.616104ms)
|
||
✔ REQ-DEC an approval outlives its run and a broker restart; a new run of the instance consumes it once (25.353492ms)
|
||
✔ REQ-DEC another instance of the same definition cannot consume an approval, and its refusal consumes nothing (13.317481ms)
|
||
✔ REQ-DEC REQ-THREAD-1 a thread approval is consumed only by a run holding the same thread (18.492651ms)
|
||
✔ REQ-DEC a later run of the same instance supersedes an open decision; another instance cannot (16.185984ms)
|
||
✔ REQ-DEC REQ-THREAD-1 a thread decision is superseded only from the same thread (17.614815ms)
|
||
✔ REQ-DEC REQ-THREAD-1 a thread instance decision raised before row 121 is not consumed or superseded by any thread run (22.069556ms)
|
||
✔ launch identity is stamped, payload identity is refused and stale holder cannot send (16.349493ms)
|
||
✔ decision classes route from policy; gated resolution is human-only, choice and target must match (18.676358ms)
|
||
✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (19.010663ms)
|
||
✔ launch events require a human CLI capability; generic emit cannot forge authority events (11.989003ms)
|
||
✔ within-role decisions close atomically and invalid options or blocking omissions refuse (11.389425ms)
|
||
✔ a recommendation that is not exactly one option key refuses invalid-recommendation after the options (18.320665ms)
|
||
✔ observer capabilities read human inbox but cannot mutate or forge launch identity (11.895264ms)
|
||
✔ task action subjects and linked decision trail are complete and ordered (19.1691ms)
|
||
✔ launch binding is durable and reconnecting requires the identical trusted record (8.249703ms)
|
||
✔ business isolation includes inherited object names and cross-business message references (13.089097ms)
|
||
✔ authority never transfers between action, target, unresolved or replaced role holder; a later run of the instance keeps it (19.094493ms)
|
||
✔ task projection uses schema current view, skipping earlier and equal-start polls (10.728693ms)
|
||
✔ revocation permanently bars the old run from reclaiming first, including after broker restart (16.417489ms)
|
||
✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (10.243031ms)
|
||
✔ both arbiters require human resolution when their cross-role route is themselves (16.714774ms)
|
||
✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (16.474092ms)
|
||
✔ S1 adapter takes resolved limits and refs, rejects mismatched instance, never mutates input (1.14201ms)
|
||
✔ REQ-COS-1, REQ-ROLE-2: the chief of staff ends a run with a reason and no decision, and the reason is logged (22.54358ms)
|
||
✔ REQ-ROLE-2: a role without role.end still needs a resolved decision to revoke (21.832491ms)
|
||
✔ REQ-ROLE-2: storage accepts a revoke with a reason or a decision and aborts one with neither (14.912072ms)
|
||
✔ REQ-ROLE-2: the chief of staff may still cite a decision, and a decision alone is the old path (15.881014ms)
|
||
✔ REQ-ROLE-2: a role without role.end still ends a run through a resolved decision, which is recorded and has no reason (18.575544ms)
|
||
✔ REQ-ROLE-2: a reason is required, bounded, and never sent with a decision (22.011765ms)
|
||
✔ REQ-COS-1: the chief of staff cannot end its own run; its end of the assistant gets past the protection (17.834352ms)
|
||
✔ REQ-LIMIT-1, REQ-COS-1: organization.set from the chief of staff reaches the shared writer, named as the actor (14.37493ms)
|
||
✔ REQ-LIMIT-1, REQ-COS-1: a refused organization.set logs action.refused and no action.allowed, like a refused limits.set (19.463564ms)
|
||
✔ REQ-LIMIT-1: organization.set is refused for every caller whose role file lacks organization.change (18.612519ms)
|
||
✔ REQ-LIMIT-1: the chief of staff is logged as allowed, and organization.set takes only the human's keys (23.68809ms)
|
||
✔ REQ-ROLE-3, REQ-LIMIT-1: a chief-of-staff change is validated, written and logged like a human's; an invalid one is refused (43.470102ms)
|
||
✖ REQ-ROLE-2, REQ-COS-1: the 3c→3d migration lets the chief of staff end a held role with a reason; neither is still refused (30.544754ms)
|
||
✔ comment cursors isolate businesses, move only forward and remain append-only (12.491234ms)
|
||
✔ only trusted sync writes validated cursors; events and cursor share rollback (9.079768ms)
|
||
✔ explicit 3b copy migration preserves evidence and opens as 3g; normal startup never migrates (48.796951ms)
|
||
✔ migration refuses active writers and drifted legacy schemas, with no partial upgrade (66.918158ms)
|
||
✔ named migration registry chains 3b through 3g to a fixture-only future version in order (50.468126ms)
|
||
✔ migration refuses mismatched source metadata without changing schema or evidence (32.525551ms)
|
||
✔ offline command migrates only the supplied fixture root and reports usage errors (124.613721ms)
|
||
✔ credentials gives human and reader sessions service, account, role, date and state, and nothing else (12.778233ms)
|
||
✔ credentials refuses a role session and any argument (11.34224ms)
|
||
✔ credentials reads the status on each request, and a broker without one lists none (13.867823ms)
|
||
✔ the broker process answers credentials without a token, path or variable in its output, log or store (89.47017ms)
|
||
✔ only validated broker references load; returned data and exceptions cannot expose a known token (2.190724ms)
|
||
✔ bad file modes, symlinks, repository/data paths, malformed tokens and missing dates refuse (1.344135ms)
|
||
✔ expiry refuses use and env references never become client data (0.423237ms)
|
||
✔ S1 parsed service refs work, service mismatch refuses, Gitea rotation due is a warning state (0.908019ms)
|
||
✔ opaque tokens shorter than 16 characters refuse before use (0.229811ms)
|
||
✔ each C-suite role file carries the same two lists: human, chief-of-staff, pm, cto (1.167341ms)
|
||
✔ chief-executive-officer: messages to and from the user, chief of staff, pm and cto pass (37.54261ms)
|
||
✔ chief-executive-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (30.073794ms)
|
||
✔ chief-executive-officer: another C-suite role isn't on the lists either (25.682465ms)
|
||
✔ chief-financial-officer: messages to and from the user, chief of staff, pm and cto pass (34.052567ms)
|
||
✔ chief-financial-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (27.964103ms)
|
||
✔ chief-financial-officer: another C-suite role isn't on the lists either (24.659243ms)
|
||
✔ chief-information-officer: messages to and from the user, chief of staff, pm and cto pass (31.056445ms)
|
||
✔ chief-information-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (27.862226ms)
|
||
✔ chief-information-officer: another C-suite role isn't on the lists either (23.711252ms)
|
||
✔ chief-information-security-officer: messages to and from the user, chief of staff, pm and cto pass (29.158581ms)
|
||
✔ chief-information-security-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (28.481115ms)
|
||
✔ chief-information-security-officer: another C-suite role isn't on the lists either (22.914232ms)
|
||
✔ chief-marketing-officer: messages to and from the user, chief of staff, pm and cto pass (30.752686ms)
|
||
✔ chief-marketing-officer: a message to or from the coder, reviewer or assistant is refused and logged, and nothing is stored (29.020608ms)
|
||
✔ chief-marketing-officer: another C-suite role isn't on the lists either (23.867513ms)
|
||
✔ a human resolve sends the raising role one message from the human, and its request is the answer (29.242953ms)
|
||
✔ a cross-role decision resolved by its arbiter comes from that role and run, with no request (15.202119ms)
|
||
✔ a human withdraw sends one message with the note (15.368508ms)
|
||
✔ a human seen before the close leaves the request on the close's answer, not the seen (20.749449ms)
|
||
✔ the raising run's withdraw, a supersede, a within-role raise and seen send nothing (19.908271ms)
|
||
✔ refused closes send nothing: invalid-choice, decision-closed, not-resolver (20.435401ms)
|
||
✔ a raising role nobody holds at the close gets the message on the next claim (17.569513ms)
|
||
✔ a human DECISION send keeps its own instruction as the request, not a close's answer (16.099327ms)
|
||
✔ a cross-role raise whose arbiter the raiser does not hear from is refused and stores nothing (24.356004ms)
|
||
✔ a gated raise by a role that does not hear from the human is refused and stores nothing (17.979002ms)
|
||
✔ a route the raiser hears from is allowed, checked from the route to the raiser (22.567713ms)
|
||
✔ a refused supersede withdraws nothing (19.334808ms)
|
||
✔ the assistant's within-role and gated raises still work (19.771624ms)
|
||
✔ roles lists open decisions routed to a role, and never the human inbox (23.885922ms)
|
||
✔ recent lists closed decisions of every route, newest close first, with how each closed (20.393694ms)
|
||
✔ recent gives the closing event as closed when the decision was seen first (21.176891ms)
|
||
✔ recent stops at RECENT rows (68.467521ms)
|
||
✔ every row is what trail already gives the same session for that id (30.414445ms)
|
||
✔ a role session can't list decisions, so it can't read another role's open decisions (30.663499ms)
|
||
✔ decisions is a read: one business, strict arguments, nothing written (29.461626ms)
|
||
✔ endLaunch writes session.ended, releases the run claim and kills its capabilities (13.586926ms)
|
||
✔ endLaunch refuses an unknown run, a second end and a rebind of the ended run (8.25129ms)
|
||
✔ a restarted broker refuses to rebind an ended run; a refused rebind leaves the run unbound (9.871063ms)
|
||
✔ endLaunch leaves a claim another run took alone (10.919203ms)
|
||
✔ refuse records action.refused against the caller with the code only (8.205329ms)
|
||
✔ launches off refuses role.launch with launch-revoked until launches on (11.992682ms)
|
||
✔ broker process: launch ops authorize role.launch, record refusals and end runs (97.335671ms)
|
||
✔ REQ-WAIT-1: the broker hard waits are exactly the list, and match the business vocabulary (1.028692ms)
|
||
✔ REQ-WAIT-2: a business granting a hard wait at either class is refused; the actions that left are grantable (16.346559ms)
|
||
✔ REQ-DEC-2: every hard wait goes to the human, cited or not, and the arbiter cannot resolve it (301.437245ms)
|
||
✔ REQ-DEC-2: a gated raise citing the current spec goes to the arbiter for its domain; uncited, to the human (150.657976ms)
|
||
✔ REQ-DEC-2: an arbiter-approved cited gated decision authorizes the raiser, and the human cannot resolve it (39.719144ms)
|
||
✔ REQ-DEC-2: a cited merge raised by merge-gate goes to the technical arbiter; a merge raised without the grant routes by citation (56.889553ms)
|
||
✔ REQ-DEC-2: a stale or unconfirmed citation refuses without a decision; an arbiter raising its own goes to the human (87.314854ms)
|
||
✔ Q169: the chief of staff's end of the assistant is not refused role-end-refused; its own run and another ender's are (25.183089ms)
|
||
✔ Q169: another role's cited revoke of the assistant, resolved by an arbiter, is refused (54.035801ms)
|
||
✔ Q169: a revoke of the assistant citing a decision the human resolved is not refused by the protection (38.386784ms)
|
||
✔ Q169: a cited revoke of a role not in END_PROTECTED still goes to the arbiter, and executes (38.340569ms)
|
||
✔ Q169: a role granted role.revoke at either class still sends a revoke of the assistant to the human (58.39701ms)
|
||
✔ human proof binds CLI entry, process start and nonce; agents and incomplete ancestry refuse (1.31561ms)
|
||
✔ process reader gets own kernel identity without exposing environment values (0.377094ms)
|
||
✔ EACCES ancestor environments skip only markers; commands and registered launches still refuse (0.557519ms)
|
||
✔ real pid 1 remains inspectable when its environment is protected (0.210254ms)
|
||
✔ REQ-DEC-2: a merge-gate raise its arbiter resolved lands through the host op: checkLand answers the facts and a ticket, records nothing, and recordLand spends the decision once (26.631865ms)
|
||
✔ checkLand refuses on the decision and the review (25.512587ms)
|
||
✔ REQ-LAND-1: a gated merge decision refuses not-authorized, cited and approved by the arbiter or uncited and approved by the human (72.397802ms)
|
||
✔ REQ-LAND-1: a within-role merge grant refuses not-authorized at the land (17.313884ms)
|
||
✔ a cross-role merge that routes to the human, because merge-gate is its own arbiter, lands on the human's CLI answer (19.601352ms)
|
||
✔ a merge option with no first line refuses no-subject, as land-work does (17.759631ms)
|
||
✔ checkLand refuses with land-work's codes past the authority check, and a decision raised for refactor never lands (45.423413ms)
|
||
✔ a ticket outlives the run that asked, and recordLand checks the task again (19.930271ms)
|
||
✔ landRefused files the code on the task, tells the role only with notify, and ends the ticket (21.521017ms)
|
||
✔ landHeld is true only for an approved, unspent cross-role merge decision this role raised for a task in this thread (20.825926ms)
|
||
✔ no run may write the action.allowed for git.merge.protected itself (12.980578ms)
|
||
✔ a message to a stopped role sends launch.by one notice, and the result says so (20.381563ms)
|
||
✔ a message to a role outside launch.instances says so in its result and in the notice (11.920954ms)
|
||
✔ a message to a running role sends no notice and its result is unchanged (9.59238ms)
|
||
✔ a re-route at a claim, a release and claim, and a broker restart send no second notice (16.466456ms)
|
||
✔ a run launched but not yet claimed counts as no holder (8.646063ms)
|
||
✔ no notice for a message to launch.by, from it, from a tester, to the human, or in a thread to a thread instance (18.687871ms)
|
||
✔ a business with no launch block tells nobody and says there is no launcher (7.528355ms)
|
||
✔ the notice sender stays internal: no role is named _bus and no caller can send as it or to it (25.074577ms)
|
||
✔ limits binds actor from human proof and rejects role, reader, tester and forged actor (17.998392ms)
|
||
✔ runtime wires verified human settings to the actual shared file writer and actor receipt (47.940719ms)
|
||
✔ uncertain organization receipts leave bus startup and reads alone but refuse writes until reconciled (24.981542ms)
|
||
✔ within-role sends cite an open gated launch decision without spending it or naming it in grants (19.905996ms)
|
||
✔ missing and foreign-business citations refuse and roll back message and grant (12.603549ms)
|
||
✔ cross-role sends still need a matching resolved decision and consume it once (16.106053ms)
|
||
✔ messages pages all human messages newest first without writes; read state is history (250.060791ms)
|
||
✔ messages refuses role callers, invalid paging and cursors outside this human feed (18.290688ms)
|
||
✔ views messages passes only its paging arguments through (0.225104ms)
|
||
✔ messages isolates businesses even with a valid foreign cursor (12.304541ms)
|
||
✔ the assistant sends to the user and to the chief of staff only (28.363196ms)
|
||
✔ an assistant send to any other role, or to the tester, is refused and logged (23.930146ms)
|
||
✔ only the user and the chief of staff may send to the assistant; the tester is refused by default (24.738274ms)
|
||
✔ REQ-ASSIST-2 REQ-THREAD-1 thread.send to an instance that does not hear from the user is refused and stores nothing (19.503702ms)
|
||
✔ a sender-side list alone refuses a send to a role that has no list (20.019899ms)
|
||
✔ a target-side list alone refuses a send from a role that has no list (21.832871ms)
|
||
✔ the sender list is checked before the target list (19.367039ms)
|
||
✔ roles without the field behave exactly as before (28.335998ms)
|
||
✔ a business with no role definitions at all is unlimited (20.412326ms)
|
||
✔ a malformed messaging field refuses at boot (8.357832ms)
|
||
✔ the assistant's review.request to a reviewer is refused and logged, even with an approved decision (23.049556ms)
|
||
✔ a review.verdict to the assistant from a role outside its receiveFrom is refused and logged (24.532269ms)
|
||
✔ review requests and verdicts between roles without the field are unchanged (20.677834ms)
|
||
✔ 3f copy migrates to 3g preserving every old column/row, with an empty instance_names and null to_name (63.546035ms)
|
||
✔ REQ-MSG-2: the chief of staff names an instance under its within-role grant, and the write is logged (17.661807ms)
|
||
✔ REQ-MSG-2: the human names an instance through the CLI (13.267352ms)
|
||
✔ REQ-MSG-2: a role without the grant, or holding it cross-role, is refused not-authorized (15.193687ms)
|
||
✔ REQ-MSG-2: a name is unique in the business and is never an instance key or a role name (26.085311ms)
|
||
✔ REQ-MSG-2: a send by name reaches the instance and records both; a send by instance key is unchanged (22.089072ms)
|
||
✔ REQ-MSG-2: an instance key beats a name that equals it, as when a later instance takes the key (14.063405ms)
|
||
✔ REQ-MSG-2: a role name beats a name that equals it, as when a later definition takes the word (sage-0590) (15.012451ms)
|
||
✔ plugins and plugins.set refuse every non-human session and a forged actor, and pass only the patch with the verified actor (16.22796ms)
|
||
✔ runtime: the switch changes the organization file, the receipt carries the actor, and a bad shape, an unknown module and a stale revision are refused with nothing written (57.31198ms)
|
||
✔ vikunja:19/309 through the broker, a patch switches the kinds it names and keeps the rest; null removes one kind and is trailed (23.367192ms)
|
||
✔ broker process binds trusted launches, offers reader capabilities, refuses human mutation, closes cleanly (103.893985ms)
|
||
✔ startup token refusal returns safe code without value or partial listening broker (71.609546ms)
|
||
✔ loaded fixture token is absent from socket replies and SQLite, including refusal evidence (101.972341ms)
|
||
✔ killed broker leaves an explicit stale lock; another process cannot silently reclaim it (140.189566ms)
|
||
✔ trusted host registers later launches; socket clients never have a registration verb (93.238329ms)
|
||
✔ runtime excludes declared project roots even when host supplies no repoRoots (64.036718ms)
|
||
✔ a refused launch binding leaves the broker and existing capabilities alive; bad protocol stops it (96.814879ms)
|
||
✔ D1: committed write with a failed receipt refuses outcome-unknown without action.allowed (16.826934ms)
|
||
✔ D2: spec.read refuses without content if its role is released during the read (10.90268ms)
|
||
✔ D3: spec.read secret check refuses flagged content without content (9.554406ms)
|
||
✔ D3: spec.read secret check refuses flagged subject without content (9.315795ms)
|
||
✔ a human lists, opens and saves; the save is one commit by the business human (511.413828ms)
|
||
✔ an agent and a reader refuse every file verb and nothing is written (38.424821ms)
|
||
✔ a stale base refuses stale-base and writes nothing (70.686528ms)
|
||
✔ paths outside the spec and docs refuse, as do unknown projects, missing files and odd arguments (58.558513ms)
|
||
✔ without a project adapter the file verbs refuse project-not-configured (32.216006ms)
|
||
✔ on the socket a save may carry 1 MiB of text; every other request keeps the 64 KiB limit (146.490158ms)
|
||
✔ a request that names the save verb first and another verb last is refused at 64 KiB (38.958098ms)
|
||
✔ two saves racing for one repository make one commit (72.733998ms)
|
||
✔ Broker keeps the existing sandbox client import closure: no new imports or lazy project import (1.466295ms)
|
||
✔ without a trusted project adapter all three async paths refuse project-not-configured (34.362042ms)
|
||
✔ real startBroker injects the project adapter for socket reads and bound-author record writes (62.609642ms)
|
||
✔ a reply is listed for human and reader sessions, and its delivery rows are unchanged (30.271228ms)
|
||
✔ the reply still reaches the human message.receive (mosaic talk) after the Console showed it (14.742905ms)
|
||
✔ a message with no reply gives an empty list (12.244278ms)
|
||
✔ replies come oldest first and stop at REPLIES (59.35279ms)
|
||
✔ an id that names no message in the business refuses message-not-found, and the refusal is recorded (21.449254ms)
|
||
✔ strict arguments; a role session gets human-required (24.739858ms)
|
||
✔ views passes replies through as one call with the id (0.187503ms)
|
||
✔ requirements returns the committed list to a holding role session, and no one else (19.342174ms)
|
||
✔ the PM's prd.approve with no task, when no id fits, reaches the human's Inbox (10.700378ms)
|
||
✔ the PM's non-blocking role.revoke with no task reaches the human's Inbox (11.136989ms)
|
||
✔ a push is recorded as the action.allowed for git.push.working on the task, and only the host records one (22.902849ms)
|
||
✔ review.request names the latest pushed commit and sends the reviewer a REVIEW-REQUEST (16.566829ms)
|
||
✔ review.request says which run holds the reviewer role, or null, and a null request waits for a claim (19.781515ms)
|
||
✔ review.request refuses a commit that isn't the latest push, a non-reviewer and a role without the action (25.192887ms)
|
||
✔ reviewFetch answers only the addressed reviewer, for the request it cites (16.130446ms)
|
||
✔ review.verdict answers one request once, to the role that asked (18.863379ms)
|
||
✔ task.close on a pushed task needs an approve verdict for the latest push (27.113868ms)
|
||
✔ a refusal the host decided is filed on the task it names, and only a task ref counts (17.099993ms)
|
||
✖ v3b prototype refusals, views and append-only mutations (69.24568ms)
|
||
✔ gated approval authorizes once, survives store reopen, and fresh approval works (22.77421ms)
|
||
✔ another run of the same instance consumes an approval once; a failed check leaves it usable (14.486314ms)
|
||
✔ two scheduled callers have exactly one grant and one consumed refusal (11.401254ms)
|
||
✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (23.790721ms)
|
||
✔ class drift gated to cross-role refuses before consumption (16.049829ms)
|
||
✔ class drift cross-role to gated refuses before consumption (16.147473ms)
|
||
✔ class drift gated to within-role refuses before consumption (14.813494ms)
|
||
✔ class drift cross-role to within-role refuses before consumption (16.03649ms)
|
||
✔ class drift within-role to gated refuses before consumption (13.500289ms)
|
||
✔ class drift within-role to cross-role refuses before consumption (13.404786ms)
|
||
✔ message.send consumes approval and prevents a later send or authorize (16.606678ms)
|
||
✔ role.revoke consumes approval and prevents a later revoke or authorize (18.94061ms)
|
||
✔ 3e copy migrates through 3f to 3g preserving every old column/row and adding null spec citations (67.286827ms)
|
||
✔ a human spec save sends one notice to each pm and cto, naming the commit, and each commit sends its own (104.160462ms)
|
||
✔ no notice for a docs save, an agent record commit, a git commit outside the Console, or a refused save (126.361397ms)
|
||
✔ a notice to a role no run holds waits for a claim, and launches nobody and tells nobody (60.530553ms)
|
||
✔ a business without a pm or a cto saves the spec and sends nothing (53.945002ms)
|
||
✔ a notice that cannot be stored answers outcome-unknown, and the commit stands (62.511597ms)
|
||
✔ a BLOCK reaches the chief of staff, the chief relays it to the assistant in the user's thread, and the commit stands (68.441424ms)
|
||
✔ with no thread a BLOCK still reaches the chief of staff, and the relay to the assistant is refused (64.959202ms)
|
||
✔ within the notice's project the relay lands in the user's most recently opened thread (66.056859ms)
|
||
✔ a more recently opened thread in another project does not take the relay (65.03497ms)
|
||
✔ a BLOCK is refused from anyone but a pm or cto, to anyone but the chief of staff, and outside a reply to its own notice (72.492237ms)
|
||
✔ a role cannot forge a spec notice: its text opens neither a BLOCK nor the assistant's thread (64.550924ms)
|
||
✔ the bus receives nothing: a reply to a notice addressed to _bus is refused (61.736437ms)
|
||
✔ real socket awaits spec reads, record writes and cited raises; other requests still return normally (84.694732ms)
|
||
✔ real socket preserves asynchronous refusal codes and disconnects its transient proof (24.169354ms)
|
||
✔ two real socket writes to one repository yield one commit and one project-busy refusal (38.020717ms)
|
||
✔ client disconnect during await tolerates late reply (37.240771ms)
|
||
✔ client disconnect during await tolerates late refusal (22.480858ms)
|
||
✔ N-a: slow admitted record.write returns its committed result after the idle deadline (189.51681ms)
|
||
✔ current citation is recorded; docs commits do not stale it and a new spec never reopens settlement (88.470594ms)
|
||
✔ stale, unconfirmed, missing and partial spec citations refuse without inserting a decision (87.043313ms)
|
||
✔ uncited raises retain their synchronous path and spec read is available to any held role in its business (37.843114ms)
|
||
✔ record writes bind the session author, require authority and refuse spec and impersonation paths (42.364855ms)
|
||
✔ REQ-COS-1: the pm asks the chief of staff for roles and counts; the chief receives a STAFF-REQUEST and answers it (23.016835ms)
|
||
✔ REQ-COS-1: only the pm can send a staff request; every other session is refused and the chief of staff hears nothing (22.201232ms)
|
||
✔ REQ-COS-1: a pm without message.send is refused like any other gated action (11.146646ms)
|
||
✔ REQ-COS-1: the request goes to the business launcher, and only when that is a chief of staff (28.200268ms)
|
||
✔ REQ-COS-1: the sender is judged by definition: an instance `lead` of the pm definition can ask, an instance `pm` of the coder definition can't (26.604743ms)
|
||
✔ REQ-COS-1: the launcher is judged by definition: an instance `boss` of the chief-of-staff definition receives, a `chief` of the coder definition gives no-chief-of-staff (24.526374ms)
|
||
✔ REQ-COS-1: a refused staff request leaves no staff.request action.allowed event (15.192823ms)
|
||
✔ REQ-ASSIST-2: the role definitions' messaging lists hold for a staff request, sender and recipient (38.4485ms)
|
||
✔ a staff request names a task, 1 to 10 distinct roles and counts of 1 to 20; nothing else is accepted (29.477218ms)
|
||
✔ REQ-COS-1: a staff request grants nothing: the pm still can't launch and the chief of staff launches as before (15.547513ms)
|
||
✔ a business that never switched launches reads allowed with no time and no event (13.415788ms)
|
||
✔ launches revoked and then restored read allowed, with the restore time and event id (11.145501ms)
|
||
✔ a task closed on the tracker leaves the open list, and total counts the open ones (12.366447ms)
|
||
✔ a tombstone is not open (10.276757ms)
|
||
✔ the open list stops at the cap and says so; total still counts every open task (11.839719ms)
|
||
✔ a role and a reader session read state; arguments, and an unbound cap, refuse (9.585266ms)
|
||
✔ a human session reads the same state, with the same cap (11.863802ms)
|
||
✔ reading state writes nothing: every table keeps its row count (10.300837ms)
|
||
✔ creates private WAL store and excludes a second writer until explicit close (10.161596ms)
|
||
✔ rollback is atomic and schema metadata is checked against trusted DDL, not just itself (10.197865ms)
|
||
✔ existing empty database and symlink runtime directory refuse, never initialize over damage (10.793225ms)
|
||
✔ crash during a transaction recovers no partial event after explicit fixture-only lock removal (47.856674ms)
|
||
✔ writer refuses mixed at/read_at forms atomically, even through trusted SQL helpers (7.620229ms)
|
||
✔ async transactions refuse before invoking their function (5.944623ms)
|
||
✔ the session default fits under the reply cap and pages to the end with next (114.620233ms)
|
||
✔ the short form: no description, assignees by role, every listed key (74.747908ms)
|
||
✔ each filter, alone and together, and total counts every match (144.228653ms)
|
||
✔ task_ref reads one task in full, as the whole board has it (90.134059ms)
|
||
✔ no arguments is the read the Console and mosaic make, unchanged (70.268672ms)
|
||
✔ an unknown argument or a bad value refuses invalid-request (371.006695ms)
|
||
✔ tasks rows carry priority and requirement for every session that reads tasks (29.802322ms)
|
||
✔ the read model rebuilds from the ledger: a reopened bus and each trail give the same values (33.779232ms)
|
||
✔ an empty business and one with snapshots but no task.created read cleanly (8.382562ms)
|
||
✔ recordTask keeps sync reads and a role write apart (19.378557ms)
|
||
✔ read_at must be one canonical UTC format, so the projection compares strings safely (7.295689ms)
|
||
✔ a bad entry refuses the whole record (7.232181ms)
|
||
✔ taskView reads the projection for one business (9.675282ms)
|
||
✔ requestTask hands only a holder and a task verb to the handler, and records refusals (17.685919ms)
|
||
✔ the server sends task verbs to the adapter with its own timeout; other verbs stay synchronous (281.42431ms)
|
||
✔ without an adapter the server refuses every task verb (18.625923ms)
|
||
✔ the runtime refuses an invalid adapter and closes a valid one (22.910721ms)
|
||
✔ the process loads the S3 adapter from plain-data trackers (177.661615ms)
|
||
✔ the tester binds only when the business sets bus.tester to exactly true (71.399306ms)
|
||
✔ a business may not name a role tester, so the tester address is never a role (17.21382ms)
|
||
✔ every verb outside the tester list refuses tester-refused and is recorded against the tester (38.73037ms)
|
||
✔ a tester message is from tester, starts [mos test], and writes no human.input or authority (16.573489ms)
|
||
✔ a role answers a tester only in reply to a tester message, and the answer never reaches the human (20.992742ms)
|
||
✔ the tester reads the human views a reader reads (23.656612ms)
|
||
✔ tester proof binds its own CLI, start time and nonce, refuses a managed run and allows an agent (1.303739ms)
|
||
✔ neither CLI's nonce proves the other: each proof is bound to its own CLI and nonce variable (0.430129ms)
|
||
✔ testerNonce reads only the tester's variable and gives null on any read error (0.25007ms)
|
||
✔ an envelope carries exactly one of cap, human and tester; no tester authenticator refuses (18.991108ms)
|
||
✔ tester-cli.mjs binds through the runtime when the switch is on, and refuses off or under a run marker (658.07598ms)
|
||
✔ REQ-THREAD-1 REQ-ORG-2: the 3d→3e migration adds the thread tables and leaves messages from before threads as written (65.502158ms)
|
||
✔ REQ-THREAD-1: a 3d bus with a changed schema is refused and keeps its version and tables (37.635964ms)
|
||
✔ REQ-THREAD-1: the offline command prints the kept-message counts before the ready line (86.642116ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: one holder per thread, through the broker and the trigger (27.945059ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: the 3e triggers refuse writes that skip the broker (47.545397ms)
|
||
✔ REQ-MSG-1: a message to or from the assistant names its thread, or is refused (24.536783ms)
|
||
✔ REQ-MSG-1: the chief of staff's reply comes back to the thread that sent the work (532.694672ms)
|
||
✔ REQ-MSG-1: a reply can't carry one thread instance's thread to another thread instance (16.096738ms)
|
||
✔ REQ-THREAD-1 REQ-USER-2: one thread's messages never reach another thread's holder (23.133094ms)
|
||
✔ REQ-LAUNCH-1: a message to a thread with no holder waits, and the next holder gets it (24.173315ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1: threadIdle releases only a thread with nothing waiting, and only for its holder (26.064003ms)
|
||
✔ REQ-THREAD-2 REQ-LAUNCH-1: a message delivered to a run that ended unread doesn't hold up the next holder (22.184181ms)
|
||
✔ REQ-ROLE-2 REQ-THREAD-1: an approved role.revoke never reaches a thread run, and the thread stays held (18.737551ms)
|
||
✔ REQ-USER-2: the human verbs refuse another owner's thread (20.082577ms)
|
||
✔ REQ-THREAD-1: thread.create refuses when the business has no thread instance or more than one (15.880139ms)
|
||
✔ REQ-ORG-2: projects and threads are named once, and the repo names a business project (19.620955ms)
|
||
✔ REQ-THREAD-2: thread.messages returns the thread's history in pages and writes nothing (70.065992ms)
|
||
✔ socket capability stamps launch identity; shared views use wire, no SQL client (20.634849ms)
|
||
✔ two wire claims serialize; a lost reply never automatically retries (15.339464ms)
|
||
✔ malformed, oversized and identity-forging envelopes refuse without echoing input (8.040963ms)
|
||
✔ client preserves UTF-8 when a response divides a multibyte character (11.261729ms)
|
||
✔ committed mutation followed by dropped reply reports unknown and is never retried (10.693746ms)
|
||
✔ REQ-LIMIT-4 usage protocol binds run identity, requires a delivered turn and isolates businesses (20.582569ms)
|
||
✔ REQ-LIMIT-4 3g copy migrates to 3h preserving every old column, row and sequence; new usage table is empty (64.007138ms)
|
||
✔ REQ-PLUG-1 runtime reaches transcript only through loader, over the real bus socket (26.845212ms)
|
||
✔ REQ-LIMIT-4 loader source records new turn kinds, excludes history and retries exactly once (13.469902ms)
|
||
✔ REQ-LIMIT-4 cut: unknown is durable and logged next to every total (8.461054ms)
|
||
✔ REQ-LIMIT-4 disabled: unknown is durable and logged next to every total (7.869555ms)
|
||
✔ REQ-LIMIT-4 missing-begin: unknown is durable and logged next to every total (7.464497ms)
|
||
✔ REQ-LIMIT-4 no-new-usage: unknown is durable and logged next to every total (8.063605ms)
|
||
✔ REQ-LIMIT-4 rewrite: unknown is durable and logged next to every total (7.899025ms)
|
||
✔ REQ-LIMIT-4 unfinished turn remains visibly unknown after accounting restarts (6.937756ms)
|
||
✔ usage records are append-only (7.413354ms)
|
||
✔ REQ-LIMIT-4 parse failure logs its safe code, never transcript content (7.632334ms)
|
||
✔ REQ-LIMIT-4 resumed run baselines history and exact totals do not overflow (9.488695ms)
|
||
✔ REQ-PLUG-1 core has no transcript import and disabled sources do not read any transcript (7.427948ms)
|
||
✔ REQ-LIMIT-4 a resumed thread bills only new assistant messages to its next run (7.679862ms)
|
||
✔ web.search: a granted role gets labelled results, and the call is trailed with role, run, verb and query (15.043597ms)
|
||
✔ web.fetch: a granted role gets the page as labelled text, and the call is trailed with the url (14.932694ms)
|
||
✔ a role without the grant is refused, the refusal is logged with the verb, and nothing is fetched (13.405975ms)
|
||
✔ a broker with no web service refuses a granted role (8.601027ms)
|
||
✔ bad requests are refused: unknown verb, extra or missing argument, not a string, a human or reader session (13.357858ms)
|
||
✔ a session that is not the role holder is refused (8.246764ms)
|
||
✔ web.mjs's fences hold on the broker side: refusals are normal results with the fixed reason (29.939831ms)
|
||
✔ web.search with no search source configured is a refused result, not an error (9.533004ms)
|
||
✔ a search source that fails with its own refusal, or that throws, is handled (11.837063ms)
|
||
✔ a slow search source ends in a refusal at the deadline (59.518244ms)
|
||
✔ a secret in the arguments is refused before anything is trailed or fetched (9.39331ms)
|
||
✔ over the socket: the server routes web verbs to the service; other roles are refused; no service is web-not-configured (23.131368ms)
|
||
✔ busBusiness: the web grant comes from "web" in the resolved tool limit (0.228742ms)
|
||
✔ webServices: the business's search-source plug-in and web.searxng var make web.search work; without either it is refused as not configured (26.921739ms)
|
||
✔ an ungranted call is refused at once: no admission, no wait, nothing touched (13.366775ms)
|
||
✔ over the socket an ungranted caller is dropped by the server timeout and a granted one gets the longer wait (324.60512ms)
|
||
✔ a search that never answers is aborted at the deadline, the module sees the signal, and the call is trailed as refused (timeout) (70.938528ms)
|
||
✔ a fetch that stalls is cut off at the deadline: the request is destroyed, not left running (91.970845ms)
|
||
✔ one query limit: over SEARCH_MAX_QUERY_CHARS or empty is refused with the same reason before any backend, and the tool schema carries the same number (13.568473ms)
|
||
ℹ tests 360
|
||
ℹ suites 0
|
||
ℹ pass 358
|
||
ℹ fail 2
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 16510.007003
|
||
|
||
✖ failing tests:
|
||
|
||
test at packages/bus/tests/chief-of-staff.test.mjs:385:1
|
||
✖ REQ-ROLE-2, REQ-COS-1: the 3c→3d migration lets the chief of staff end a held role with a reason; neither is still refused (30.544754ms)
|
||
Error: migration-target-mismatch
|
||
at file:///mnt/storage/scratch/rocko-124/tmp/bus-chief-migrate-oOe3ez/engine-3c/src/store.mjs:68:9
|
||
at ModuleJob.run (node:internal/modules/esm/module_job:569:25)
|
||
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
||
at async node:internal/modules/esm/loader:650:26
|
||
at async database3c (file:///mnt/storage/src/mosaic-stack-rocko-124/packages/bus/tests/chief-of-staff.test.mjs:380:30)
|
||
at async TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack-rocko-124/packages/bus/tests/chief-of-staff.test.mjs:386:26)
|
||
at async Test.run (node:internal/test_runner/test:1409:7)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7)
|
||
|
||
test at packages/bus/tests/schema.test.mjs:11:1
|
||
✖ v3b prototype refusals, views and append-only mutations (69.24568ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||
|
||
16 !== 15
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/src/mosaic-stack-rocko-124/packages/bus/tests/schema.test.mjs:521:10)
|
||
at Test.runInAsyncScope (node:async_hooks:226:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.start (node:internal/test_runner/test:1262:17)
|
||
at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: 16,
|
||
expected: 15,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|