✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (4429.40732ms)
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (5312.273282ms)
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (5485.762034ms)
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (275.054415ms)
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (77.848536ms)
✔ bus refusals map to statuses and never carry a path or a stack (55.357571ms)
✔ humanCall speaks the human transport protocol without blocking the server (2290.13066ms)
✔ busReader takes --business, else the live bus host, else refuses (443.643787ms)
✔ humanCall kills a transport that runs past its timeout (529.38196ms)
✔ serve refuses a --business value that is not a business id (203.869284ms)
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (4480.17962ms)
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (2617.543798ms)
✔ conversation view: a newer session with no readable history keeps the marker (1778.415676ms)
✔ conversation view: seats without history say so and offer no reply (1148.889093ms)
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (5122.774685ms)
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (54151.79558ms)
✔ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (2.131276ms)
✔ credential state from the date alone, as the bus states it (0.273848ms)
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (1573.122796ms)
✖ queue: a refused read fails closed with the store's text, redacted (917.48889ms)
✖ queue: a store that fails to load, or a child that dies, gives a fixed message with no path or stack (3206.28123ms)
✔ business: names, vars on the allowlist, authority, credential metadata only (10.424364ms)
✔ business: missing or invalid file refuses with the module's text, redacted (15.729521ms)
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (40.43878ms)
✔ settings: release, board, loopback address, notifier binding name only (248.206273ms)
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (4525.101236ms)
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (23639.555408ms)
✔ loopback host and board origin fail closed (8.863177ms)
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (136.032222ms)
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (149.106678ms)
✔ unreachable board reports URL; CLI rejects unsupported options (1136.35831ms)
✔ tokens.css and icons.svg are byte copies of docs/design (1.215173ms)
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (1.776312ms)
✔ shipped strings are unchanged, and the web keeps its write boundary (1.544684ms)
✔ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (7924.244182ms)
✔ five states on Board, Inbox, Tasks, Agents and Trail (3020.961004ms)
✔ Queue, Business and Settings in their five states, with no move button (5692.379658ms)
✔ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (2383.936414ms)
✔ the server log names no config path when the system config refuses (278.783402ms)
ℹ tests 39
ℹ suites 0
ℹ pass 37
ℹ fail 2
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 54586.555323

✖ failing tests:

test at tests/reads.test.mjs:75:1
✖ queue: a refused read fails closed with the store's text, redacted (917.48889ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + 'read-failed'
  - 'queue-refused'
  
      at TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54b/mutwt/packages/webui/tests/reads.test.mjs:81:10)
      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: true,
    code: 'ERR_ASSERTION',
    actual: 'read-failed',
    expected: 'queue-refused',
    operator: 'strictEqual',
    diff: 'simple'
  }

test at tests/reads.test.mjs:87:1
✖ queue: a store that fails to load, or a child that dies, gives a fixed message with no path or stack (3206.28123ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
  + actual - expected
  
    Comparison {
  +   code: 'queue-refused',
  +   message: 'Error: boom\n    at main (file:///srv/q/x.mjs:1:1)'
  -   code: 'read-failed',
  -   message: 'the queue read failed (exit 3)'
    }
  
      at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
      at async TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54b/mutwt/packages/webui/tests/reads.test.mjs:103:3)
      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: Error: Error: boom
        at main (file:///srv/q/x.mjs:1:1)
        at ChildProcess.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54b/mutwt/packages/webui/src/reads.mjs:86:45)
        at ChildProcess.emit (node:events:514:20)
        at maybeClose (node:internal/child_process:1125:16)
        at ChildProcess._handle.onexit (node:internal/child_process:305:5),
    expected: { code: 'read-failed', message: 'the queue read failed (exit 3)' },
    operator: 'rejects',
    diff: 'simple'
  }
