✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (13353.062302ms)
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (17505.077679ms)
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (21181.360792ms)
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (514.383962ms)
✔ decisions route serves the roles and recent lists from the reader view (266.757958ms)
✔ credentials route serves the broker credential status from the reader view (58.699559ms)
✔ replies route serves the replies to one message from the reader view (247.282253ms)
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (675.981643ms)
✔ bus refusals map to statuses and never carry a path or a stack (235.703397ms)
✖ humanCall speaks the human transport protocol without blocking the server (3361.135662ms)
✔ busReader takes --business, else the live bus host, else refuses (2944.918922ms)
✔ humanCall kills a transport that runs past its timeout (779.122407ms)
✔ serve refuses a --business value that is not a business id (2753.024234ms)
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (12928.611006ms)
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (5813.12294ms)
✔ conversation view: a newer session with no readable history keeps the marker (3096.668897ms)
✔ conversation view: seats without history say so and offer no reply (2649.397758ms)
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (11186.080048ms)
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (53058.506895ms)
✔ copy writes the Console paths at the full id, read-only, and leaves an existing copy alone (3644.410381ms)
✔ copy refuses a commit off refactor, an unknown one, a worktree and a bad copies directory (9728.174492ms)
✔ copy writes nothing when an archived path is missing at the commit (3970.533696ms)
✔ a copy that loses the rename race leaves no read-only temp directory behind (1362.906942ms)
✔ serve runs from a copy: /healthz 200, the config check, roles and RELEASE from the copy, the queue from --checkout (3048.775691ms)
✔ serve refuses a --checkout that is not an absolute directory path (999.704484ms)
✔ consoleReads runs the queue read under queueRoot and reads RELEASE under root (587.347684ms)
✔ preview options are all three or none, and each is checked (17.22235ms)
✔ the CLI refuses a partial or invalid preview flag set at start (8329.855ms)
✔ the CLI with all three flags serves the preview mode (2086.394744ms)
✔ a request for the public name needs the header equal to the user id, else 401 and nothing read (276.985812ms)
✔ the header name matches without regard to case, and the value compare is exact (196.690926ms)
✔ the public name with the header reads the bus views, and the Host and Origin are checked first (243.570901ms)
✔ in preview mode every write answers 403 read-only, from the public name and loopback, and reaches nothing (729.074769ms)
✔ loopback requests are unchanged in preview mode, and the bus views work with the board down (11.857127ms)
✔ a proxy that rewrites Host to the loopback port gets 403 on its first request, whatever the user (130.317131ms)
✔ a repeated Host is 400 before any other check, in preview mode and without it (35.076658ms)
✔ without the preview flags the public name is refused and writes still reach the board (118.636348ms)
✔ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (3.571251ms)
✔ credential state from the date alone, as the bus states it (0.458354ms)
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (6200.374865ms)
✔ queue: a refused read fails closed with the store's text, redacted (4773.698702ms)
✔ queue: a store that fails to load, or a child that dies, gives a fixed message with no path or stack (7089.238058ms)
✔ business: names, vars on the allowlist, authority, credential metadata only (53.019466ms)
✔ business: missing or invalid file refuses with the module's text, redacted (43.157373ms)
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (55.083594ms)
✔ settings: release, board, loopback address, notifier binding name only (692.232526ms)
✔ task fields: the committed table with no reads configured, GET only; a bad table refuses with no path (265.343821ms)
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (13140.177462ms)
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (30875.11132ms)
✔ the send box: held roles, the draft and caret across a refresh, each receipt, one POST per Send, and the trail link; the board Reply on a 4xx and a 5xx (17686.470718ms)
✔ a sent receipt lists its replies as the page refreshes, oldest first and capped, and marks none delivered or read (14649.112647ms)
✔ startServer takes send only as a function and only with the preview mode (83.297459ms)
✔ the CLI refuses --send without the preview flags, and without a configured bus (6801.340148ms)
✔ the CLI with --send and a configured bus sends through the human transport and logs one line (2992.652988ms)
✔ without --send the route is read-only like every other write, and config says no send (151.048723ms)
✔ with --send every other write is still 403 read-only, and nothing reaches the board or bus (101.145607ms)
✔ config says send only on the public name with --send on (23.158872ms)
✔ a send without the signed-in user is 401 and is neither sent nor logged, loopback included (137.394777ms)
✔ each request check refuses before anything is sent, and logs the refusal without the body (233.684497ms)
✔ a send passes exactly to, body and in_reply_to, answers the id, and logs it (66.595528ms)
✔ a crafted role name cannot forge a log line (50.322395ms)
✔ a bus refusal is not sent, with its status; an outcome the bus could not confirm is unknown and never retried (59.646091ms)
✔ through the human transport the request is exactly the business, message.send and the keys (1184.981285ms)
✔ against a real broker: the message is written once as a human send, and its refusals map (942.91515ms)
✔ loopback host and board origin fail closed (32.398348ms)
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (612.495128ms)
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (375.783908ms)
✔ unreachable board reports URL; CLI rejects unsupported options (6974.571769ms)
✔ render prints the unit without the preview flags (527.087753ms)
✔ render carries every serve flag, the preview set included (314.620671ms)
✔ a partial preview set is refused (1017.24355ms)
✔ a value the unit cannot carry is refused, for every flag (5937.492565ms)
✔ the rendered unit names none of the human proof agent markers and sets no agent variable (307.249806ms)
✔ install into --dir with --no-reload writes the file whole, then reports unchanged (957.169485ms)
✔ install without --no-reload runs daemon-reload and nothing that starts the unit (451.676692ms)
✔ uninstall refuses while the unit is running, with or without --no-reload, and removes it once it is not (1694.11373ms)
✔ status prints the unit state and GET /healthz on the installed port (927.078831ms)
✔ usage: an unknown verb or flag, and start or enable, exit 4 (593.176179ms)
✔ without --send, render is the template with its placeholders filled, byte for byte (626.057374ms)
✔ render --send with the preview set ends ExecStart with --send and changes nothing else (634.790175ms)
✔ --send without the whole preview set is refused and writes nothing (1047.147522ms)
✔ install --send into --dir with --no-reload writes the sending unit, and status says whether it sends (1416.030944ms)
✔ uninstall and status take no --send (292.176366ms)
✔ install refuses while the unit is running, in any state but inactive or failed, and changes nothing (3165.689542ms)
✔ when the state read fails, install and uninstall refuse with one line and change nothing (1008.734269ms)
✔ install needs --copy naming a copy that exists, and refuses outside the canonical checkout without --allow-worktree (646.89939ms)
✔ install refuses unless the bus unit runs from the same copy, naming both paths, and changes nothing (1106.818942ms)
✔ render --copy runs the copy and reads the queue in the checkout; without --copy the unit is unchanged (69.968863ms)
✔ the uid header takes only an Authentik uid; the username header still takes a username (1280.511271ms)
✔ a preview value cannot start with - or . (89.433601ms)
✔ status names the copy and whether refactor has moved past it, and says when the unit runs from no copy (475.249886ms)
✔ tokens.css and icons.svg are byte copies of docs/design (3.3454ms)
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (26.377882ms)
✔ shipped strings are unchanged, and the web keeps its write boundary (9.230331ms)
✔ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (14604.156031ms)
✔ five states on Board, Inbox, Tasks, Agents and Trail (6696.544258ms)
✔ Queue, Business and Settings in their five states, with no move button (11775.027569ms)
✔ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (5054.620031ms)
✔ the server log names no config path when the system config refuses (1573.285308ms)
ℹ tests 99
ℹ suites 0
ℹ pass 98
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 54658.862666

✖ failing tests:

test at packages/webui/tests/bus.test.mjs:266:1
✖ humanCall speaks the human transport protocol without blocking the server (3361.135662ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + 'outcome-unknown'
  - 'invalid-response'
  
      at TestContext.<anonymous> (file:///mnt/storage/scratch/rocko-r77/packages/webui/tests/bus.test.mjs:273:10)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: 'outcome-unknown',
    expected: 'invalid-response',
    operator: 'strictEqual',
    diff: 'simple'
  }
