✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (4821.548654ms)
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (4712.402677ms)
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (5063.478583ms)
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (333.96204ms)
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (95.492452ms)
✔ bus refusals map to statuses and never carry a path or a stack (146.016361ms)
✔ humanCall speaks the human transport protocol without blocking the server (2132.328901ms)
✔ busReader takes --business, else the live bus host, else refuses (179.840217ms)
✔ humanCall kills a transport that runs past its timeout (528.852334ms)
✔ serve refuses a --business value that is not a business id (183.777864ms)
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (4691.507317ms)
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (1782.431855ms)
✔ conversation view: a newer session with no readable history keeps the marker (1083.690064ms)
✔ conversation view: seats without history say so and offer no reply (905.133089ms)
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (4774.780471ms)
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (54058.753561ms)
✖ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (3.109248ms)
✔ credential state from the date alone, as the bus states it (0.312537ms)
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (1348.652243ms)
✔ queue: a refused read fails closed with the store's text, redacted (911.277874ms)
✔ business: names, vars on the allowlist, authority, credential metadata only (53.102001ms)
✖ business: missing or invalid file refuses with the module's text, redacted (13.446815ms)
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (58.631252ms)
✖ settings: release, board, loopback address, notifier binding name only (1725.215019ms)
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (4710.06304ms)
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (24419.701727ms)
✔ loopback host and board origin fail closed (7.568747ms)
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (127.869708ms)
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (109.641548ms)
✔ unreachable board reports URL; CLI rejects unsupported options (1109.060295ms)
✔ tokens.css and icons.svg are byte copies of docs/design (1.037359ms)
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (1.80034ms)
✔ shipped strings are unchanged, and the web keeps its write boundary (1.352675ms)
✔ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (7673.066897ms)
✔ five states on Board, Inbox, Tasks, Agents and Trail (2596.719124ms)
✔ Queue, Business and Settings in their five states, with no move button (4979.78513ms)
✖ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (1436.423592ms)
✔ the server log names no config path when the system config refuses (216.073464ms)
ℹ tests 38
ℹ suites 0
ℹ pass 34
ℹ fail 4
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 54464.117032

✖ failing tests:

test at tests/reads.test.mjs:19:1
✖ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (3.109248ms)
  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/r54a/mutwt/packages/webui/tests/reads.test.mjs:21: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:104:1
✖ business: missing or invalid file refuses with the module's text, redacted (13.446815ms)
  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/r54a/mutwt/packages/webui/tests/reads.test.mjs:110: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:139:1
✖ settings: release, board, loopback address, notifier binding name only (1725.215019ms)
  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/r54a/mutwt/packages/webui/tests/reads.test.mjs:155: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:185:1
✖ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (1436.423592ms)
  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/r54a/mutwt/packages/webui/tests/views.test.mjs:208: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'
  }
