✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (4722.268365ms)
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (5400.932358ms)
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (5778.666337ms)
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (263.664355ms)
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (125.445744ms)
✔ bus refusals map to statuses and never carry a path or a stack (43.840408ms)
✔ humanCall speaks the human transport protocol without blocking the server (2331.699754ms)
✔ busReader takes --business, else the live bus host, else refuses (309.594864ms)
✔ humanCall kills a transport that runs past its timeout (531.213591ms)
✔ serve refuses a --business value that is not a business id (195.01894ms)
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (4727.096661ms)
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (2170.952575ms)
✔ conversation view: a newer session with no readable history keeps the marker (1853.995345ms)
✔ conversation view: seats without history say so and offer no reply (920.933734ms)
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (4725.348709ms)
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (53969.84547ms)
✖ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (5.237736ms)
✔ credential state from the date alone, as the bus states it (0.306016ms)
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (1517.775138ms)
✔ queue: a refused read fails closed with the store's text, redacted (993.552147ms)
✔ queue: a store that fails to load, or a child that dies, gives a fixed message with no path or stack (3562.394769ms)
✔ business: names, vars on the allowlist, authority, credential metadata only (8.729812ms)
✖ business: missing or invalid file refuses with the module's text, redacted (2.779218ms)
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (6.561618ms)
✖ settings: release, board, loopback address, notifier binding name only (339.833526ms)
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (5289.213889ms)
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (23306.13427ms)
✔ loopback host and board origin fail closed (9.493386ms)
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (167.027399ms)
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (175.030721ms)
✔ unreachable board reports URL; CLI rejects unsupported options (1121.549859ms)
✔ tokens.css and icons.svg are byte copies of docs/design (1.53641ms)
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (6.446344ms)
✔ shipped strings are unchanged, and the web keeps its write boundary (8.171333ms)
✔ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (7825.244186ms)
✔ five states on Board, Inbox, Tasks, Agents and Trail (2546.776066ms)
✔ Queue, Business and Settings in their five states, with no move button (5798.424176ms)
✖ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (2211.462107ms)
✔ the server log names no config path when the system config refuses (317.455796ms)
ℹ tests 39
ℹ suites 0
ℹ pass 35
ℹ fail 4
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 54509.985201

✖ failing tests:

test at tests/reads.test.mjs:21:1
✖ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (5.237736ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + 'business file not found: <path>'
  - 'business file not found: <config>/businesses/a.json'
  
      at TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54b/mutwt/packages/webui/tests/reads.test.mjs:23: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: 'business file not found: <path>',
    expected: 'business file not found: <config>/businesses/a.json',
    operator: 'strictEqual',
    diff: 'simple'
  }

test at tests/reads.test.mjs:136:1
✖ business: missing or invalid file refuses with the module's text, redacted (2.779218ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
  + actual - expected
  
    {
      error: 'not-configured',
  +   message: 'business file not found: <path>'
  -   message: 'business file not found: <config>/businesses/acme.json'
    }
  
      at TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54b/mutwt/packages/webui/tests/reads.test.mjs:142: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: { error: 'not-configured', message: 'business file not found: <path>' },
    expected: { error: 'not-configured', message: 'business file not found: <config>/businesses/acme.json' },
    operator: 'deepStrictEqual',
    diff: 'simple'
  }

test at tests/reads.test.mjs:171:1
✖ settings: release, board, loopback address, notifier binding name only (339.833526ms)
  AssertionError [ERR_ASSERTION]: The input did not match the regular expression /^no notifier config at <dataRoot>\/notify\/acme\/notify\.json/. Input:
  
  'no notifier config at <path>; write {"notifyVersion": 1, "binding": "<discord binding>"} there, mode 0600, or "binding": null to run without DMs'
  
      at TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54b/mutwt/packages/webui/tests/reads.test.mjs:187: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: 'no notifier config at <path>; write {"notifyVersion": 1, "binding": "<discord binding>"} there, mode 0600, or "binding": null to run without DMs',
    expected: /^no notifier config at <dataRoot>\/notify\/acme\/notify\.json/,
    operator: 'match',
    diff: 'simple'
  }

test at tests/views.test.mjs:205:1
✖ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (2211.462107ms)
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
  + actual - expected
  
  + 'business file not found: <path>'
  - 'business file not found: <config>/businesses/acme.json'
  
      at TestContext.<anonymous> (file:///home/jwoltje/darkwing-scratch/r54b/mutwt/packages/webui/tests/views.test.mjs:239: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: true,
    code: 'ERR_ASSERTION',
    actual: 'business file not found: <path>',
    expected: 'business file not found: <config>/businesses/acme.json',
    operator: 'strictEqual',
    diff: 'simple'
  }
