✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (4615.719375ms)
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (4585.514852ms)
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (7271.250051ms)
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (242.896934ms)
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (220.669235ms)
✔ bus refusals map to statuses and never carry a path or a stack (141.578121ms)
✔ humanCall speaks the human transport protocol without blocking the server (2988.599285ms)
✔ busReader takes --business, else the live bus host, else refuses (126.433258ms)
✔ humanCall kills a transport that runs past its timeout (527.917971ms)
✔ serve refuses a --business value that is not a business id (195.271174ms)
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (4479.853577ms)
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (3174.276657ms)
✔ conversation view: a newer session with no readable history keeps the marker (1640.838159ms)
✔ conversation view: seats without history say so and offer no reply (775.790906ms)
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (4595.451589ms)
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (55470.169655ms)
✔ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (2.614121ms)
✔ credential state from the date alone, as the bus states it (0.223081ms)
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (2109.365496ms)
✔ queue: a refused read fails closed with the store's text, redacted (2184.175929ms)
✔ business: names, vars on the allowlist, authority, credential metadata only (8.080197ms)
✔ business: missing or invalid file refuses with the module's text, redacted (25.283905ms)
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (17.008779ms)
✔ settings: release, board, loopback address, notifier binding name only (335.452271ms)
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (4597.129667ms)
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (22498.542313ms)
✔ loopback host and board origin fail closed (9.263759ms)
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (136.050609ms)
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (128.243855ms)
✔ unreachable board reports URL; CLI rejects unsupported options (2210.233039ms)
✔ tokens.css and icons.svg are byte copies of docs/design (1.315777ms)
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (2.867949ms)
✔ shipped strings are unchanged, and the web keeps its write boundary (1.844346ms)
✖ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (4472.420123ms)
✔ five states on Board, Inbox, Tasks, Agents and Trail (4783.30299ms)
✔ Queue, Business and Settings in their five states, with no move button (5506.470634ms)
✔ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (2600.39773ms)
✔ the server log names no config path when the system config refuses (260.593252ms)
ℹ tests 38
ℹ suites 0
ℹ pass 37
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 56411.185578

✖ failing tests:

test at tests/shell.test.mjs:96:1
✖ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (4472.420123ms)
  AssertionError [ERR_ASSERTION]: focus after a refusal closes the conversation
  
  '' !== 'main'
  
      at TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54a/mutwt/packages/webui/tests/shell.test.mjs:231:12)
      at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    generatedMessage: false,
    code: 'ERR_ASSERTION',
    actual: '',
    expected: 'main',
    operator: 'strictEqual',
    diff: 'simple'
  }
