229 lines
22 KiB
Plaintext
229 lines
22 KiB
Plaintext
✔ the Board: held roles with no machine sessions, a claim with no address, the toggle kept across a reload, and Message addressed to the role (8700.415179ms)
|
||
✔ a redirect answer on a Board read, a bus read, a conversation read, a board POST, a module read and a send signs the page out: one line, nothing stale, no further reads (10663.725644ms)
|
||
✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (5672.51966ms)
|
||
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
|
||
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (7785.83926ms)
|
||
✔ the README says a refused field table names the file or the key at fault, never a path (4.013403ms)
|
||
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (12845.346207ms)
|
||
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (163.047297ms)
|
||
✔ decisions route serves the roles and recent lists from the reader view (96.081444ms)
|
||
✔ credentials route serves the broker credential status from the reader view (94.853315ms)
|
||
✔ replies route serves the replies to one message from the reader view (235.531021ms)
|
||
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (314.804225ms)
|
||
✔ bus refusals map to statuses and never carry a path or a stack (324.041617ms)
|
||
✔ humanCall speaks the human transport protocol without blocking the server (2816.55706ms)
|
||
✔ busReader takes --business, else the live bus host, else refuses (702.907369ms)
|
||
✔ humanCall kills a transport that runs past its timeout (540.325579ms)
|
||
✔ serve refuses a --business value that is not a business id (1311.508072ms)
|
||
✔ chat browser: list/create named projects and threads, hostile labels inert and no implicit writes (3966.306622ms)
|
||
✔ chat browser: thread drafts, receipts and cursor history stay isolated; refresh never writes (3597.899843ms)
|
||
✔ chat browser: uncertain writes retain draft, ownership refusal clears it, read-only cannot send (3619.172307ms)
|
||
✔ chat browser: a late read from A cannot paint B; sign-out clears private state and stops reads (3299.784243ms)
|
||
✔ chat browser: page forward and deduplicate replies; pending and byte-limit submissions do not duplicate (2285.81799ms)
|
||
✔ chat browser: scrolled history stays put, New messages and an own send return to the tail (1520.363376ms)
|
||
✔ chat browser: automatic polling follows a reply without a POST or a lost draft (11086.482368ms)
|
||
✔ chat browser: display stays bounded while every forward page remains reachable (637.182302ms)
|
||
✔ chat browser: a confirmed visible message replaces its pending receipt; malformed receipts stay unknown (630.037086ms)
|
||
✔ chat browser: a refusal elsewhere forgets private chat drafts (682.324847ms)
|
||
✔ chat browser: a late project creation receipt cannot navigate away from another thread (945.905276ms)
|
||
✔ chat reads map only fixed verbs, strict forward paging and pure GET (53.978226ms)
|
||
✔ chat refuses malformed and repeated query/id values before transport (19.394356ms)
|
||
✔ chat project.create: one verified write, fixed identity/class and private log (5.217254ms)
|
||
✔ chat project.create: each existing Console write fence makes zero bus calls (21.105874ms)
|
||
✔ chat project.create: refusal or lost/malformed receipt never retries or invents success (14.351876ms)
|
||
✔ chat thread.create: one verified write, fixed identity/class and private log (3.027636ms)
|
||
✔ chat thread.create: each existing Console write fence makes zero bus calls (16.270512ms)
|
||
✔ chat thread.create: refusal or lost/malformed receipt never retries or invents success (6.296638ms)
|
||
✔ chat thread.send: one verified write, fixed identity/class and private log (2.612731ms)
|
||
✔ chat thread.send: each existing Console write fence makes zero bus calls (28.98602ms)
|
||
✔ chat thread.send: refusal or lost/malformed receipt never retries or invents success (12.261638ms)
|
||
✔ chat thread.open: one verified write, fixed identity/class and private log (2.728808ms)
|
||
✔ chat thread.open: each existing Console write fence makes zero bus calls (13.32899ms)
|
||
✔ chat thread.open: refusal or lost/malformed receipt never retries or invents success (12.194635ms)
|
||
✔ chat createThread receipt requires an instance even when its id is valid (4.378287ms)
|
||
✔ chat write receipts expose only the fields belonging to their operation (8.897316ms)
|
||
✔ chat validates names, body, project and strict empty open payload (13.210692ms)
|
||
✔ chat read failures redact ownership and refuse invalid transport arrays (10.377825ms)
|
||
✔ REQ-USER-2 real broker: owned catalog, create/name/filter, isolated history and 403/404 without mutations (403.319952ms)
|
||
✔ chat repeats every POST boundary even when called behind an admitted request (3.279564ms)
|
||
✔ configured Console process injects chat through its existing human transport (1178.126304ms)
|
||
✔ chat assets, GET purity, method and unknown-route refusals are explicit (112.031853ms)
|
||
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (4988.121424ms)
|
||
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (4399.9943ms)
|
||
✔ conversation view: a newer session with no readable history keeps the marker (3151.42912ms)
|
||
✔ conversation view: seats without history say so and offer no reply (3597.260181ms)
|
||
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (3869.703031ms)
|
||
✔ the editor: the list, hostile markdown that runs nothing, the draft, and each save receipt (7994.917645ms)
|
||
✔ the Console's CSP stands and the editor runs under it; hostile markdown on the load path runs and loads nothing (4731.020863ms)
|
||
✔ hostile content pasted into the editor runs and loads nothing, and a bad link target is refused in the link bar (4420.300589ms)
|
||
✔ a pasted image span is kept only for a target the link gate accepts, and a save writes only those (2899.9814ms)
|
||
✔ a switch of view reads nothing; a reload, and a trip away and back, each read the file exactly once (5634.743374ms)
|
||
✔ an edit rewrites only the block touched; a save sends the rest byte for byte; the Source view carries the draft (1818.071035ms)
|
||
✔ a file the editor cannot write back byte for byte opens as Source, says so, cannot save, and the Visual button works once it can (2249.522564ms)
|
||
✔ a link title pasted with line breaks in it is written on one line, so no HTML block comes of it (911.538489ms)
|
||
✔ an image alt pasted with line breaks in it is written on one line, so no HTML block comes of it (702.293752ms)
|
||
✔ an image title pasted with line breaks in it is written on one line, so no HTML block comes of it (641.619013ms)
|
||
✔ a code block info string pasted with line breaks in it is written on one line, so no HTML block comes of it (618.656845ms)
|
||
✔ a link title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (727.771621ms)
|
||
✔ an image title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (599.615979ms)
|
||
✔ a link title holding a trailing backslash is written with the backslash escaped, so the title stays closed (635.208361ms)
|
||
✔ an image title holding a trailing backslash is written with the backslash escaped, so the title stays closed (625.222249ms)
|
||
✔ a code block info string with a backtick, pasted, is dropped on Save, so the fence stays closed (600.265033ms)
|
||
✔ a code block info string with a backtick, as a tilde fence can have, is kept as source, not rewritten without it (586.209751ms)
|
||
✔ the imported source is the tagged upstream source plus the recorded local changes, and nothing else (29.751664ms)
|
||
✔ every package names its origin and license, and NOTICE lists each (1.146372ms)
|
||
✔ the build reads only imported source and the editor's own files; the bundle is the recorded build (11.435419ms)
|
||
✔ MOSAIC_REQUIRE_EDITOR_BUILD: a missing or wrong esbuild skips without it and fails with it; a wrong binary always fails (8.408645ms)
|
||
✔ the toolchain check, run as a program, exits non-zero without esbuild when the build is required (348.416834ms)
|
||
▲ [WARNING] Ignoring this import because "third_party/editor/prosemirror-transform/src/mark.ts" was marked as having no side effects [ignored-bare-import]
|
||
|
||
third_party/editor/prosemirror-transform/src/index.ts:10:7:
|
||
10 │ import "./mark"
|
||
╵ ~~~~~~~~
|
||
|
||
"sideEffects" is false in the enclosing "package.json" file:
|
||
|
||
third_party/editor/prosemirror-transform/package.json:13:2:
|
||
13 │ "sideEffects": false,
|
||
╵ ~~~~~~~~~~~~~
|
||
|
||
✔ rebuilding from the source gives the same bytes (needs the pinned esbuild; MOSAIC_REQUIRE_EDITOR_BUILD=1 makes its absence a failure) (410.750257ms)
|
||
✔ the editor routes serve the built files with their types and no cache (89.767062ms)
|
||
✔ open and save with no edit writes the same bytes: the goals review and a doc with every element (41.523027ms)
|
||
✔ open and save with no edit writes the same bytes: every repository doc under docs/ and spec/ (5475.081697ms)
|
||
✔ the editor source builds markup only with DOM calls, and the bundle has no eval (4.400303ms)
|
||
✔ the link gate and the image rule are the preview's (0.955582ms)
|
||
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (55037.299225ms)
|
||
✔ the preview source names none of the four string-to-markup sinks (3.505851ms)
|
||
✔ headings, paragraphs, emphasis and inline code render (2.233269ms)
|
||
✔ lists, block quotes and code blocks render (0.977603ms)
|
||
✔ a link is made for http, https and relative targets, with rel and the target shown (2.098832ms)
|
||
✔ a link with any other scheme, or an evasion of the scheme, stays source text (1.942516ms)
|
||
✔ an image shows alt text and URL, is never an img element and never loads (0.302193ms)
|
||
✔ raw HTML, entities and unsupported blocks show as source text, never as elements (0.562317ms)
|
||
✔ markup inside code and inside link text stays text (0.304504ms)
|
||
✔ hostile and pathological input stays within its look-ahead budget and under the nesting cap (92.706831ms)
|
||
✔ trailing blanks and closing hashes are cut by a walk from the end, not a regex that retries inside a blank run (80.601333ms)
|
||
✔ a link opener with no closer searches at most SPAN characters ahead (483.363489ms)
|
||
✔ the look-ahead work of one render is a fixed multiple of the text, whatever the opener (3446.797644ms)
|
||
✔ past the budget an opener is source text, through the path all other text takes (51.416832ms)
|
||
✔ a normal 200 KiB document renders exactly as it did without a budget, and spends little of it (52.946082ms)
|
||
✔ a line separator inside a heading, a list item or a fence line does not end the marker line (0.815983ms)
|
||
✔ a thematic-break line is a paragraph, every other marker line opens a list (0.499621ms)
|
||
✔ every short line over space, tab, - * _ and a letter is a break exactly when the old regex said so (87.496948ms)
|
||
✔ one line of marks does not throw, at 4 MiB, whatever the mark or the spacing (17687.940469ms)
|
||
✔ CRLF and tabs are read like LF and spaces; empty input renders nothing (0.263868ms)
|
||
✔ messages HTTP read pages and preserves metadata; bad arguments refuse before a read; other reads unchanged (479.757664ms)
|
||
✔ Console Messages lists late unsolicited messages on polling with sender class time read state and trail; nav count includes beyond the page; reads never deliver (5203.486942ms)
|
||
✔ Messages nav count polls on Tasks and Board and clears on a Board refusal; messages 403 refuses local pages (5565.416027ms)
|
||
✔ copy writes the Console paths at the full id, read-only, and leaves an existing copy alone (4583.155848ms)
|
||
✔ copy refuses a commit off refactor, an unknown one, a worktree and a bad copies directory (4301.317975ms)
|
||
✔ copy writes nothing when an archived path is missing at the commit (1904.71969ms)
|
||
✔ a copy that loses the rename race leaves no read-only temp directory behind (2828.159822ms)
|
||
✔ a copy whose rename fails with no target refuses, writes no copy and leaves no temp directory (1442.816033ms)
|
||
✔ a copy that meets a target holding files says exists: and moves nothing into it (1219.851817ms)
|
||
✔ a copy that meets an empty target directory replaces it by rename, not by moving into it (674.716677ms)
|
||
✔ serve runs from a copy: /healthz 200, the config check, roles and RELEASE from the copy, the queue from --checkout (1384.374462ms)
|
||
✔ serve refuses a --checkout that is not an absolute directory path (333.519165ms)
|
||
✔ consoleReads runs the queue read under queueRoot and reads RELEASE under root (69.363989ms)
|
||
✔ preview options are all three or none, and each is checked (13.093761ms)
|
||
✔ the CLI refuses a partial or invalid preview flag set at start (2714.493569ms)
|
||
✔ the CLI with all three flags serves the preview mode (400.098131ms)
|
||
✔ a request for the public name needs the header equal to the user id, else 401 and nothing read (77.832386ms)
|
||
✔ the header name matches without regard to case, and the value compare is exact (9.007147ms)
|
||
✔ the public name with the header reads the bus views, and the Host and Origin are checked first (89.420614ms)
|
||
✔ in preview mode every write answers 403 read-only, from the public name and loopback, and reaches nothing (26.593378ms)
|
||
✔ loopback requests are unchanged in preview mode, and the bus views work with the board down (12.871832ms)
|
||
✔ a proxy that rewrites Host to the loopback port gets 403 on its first request, whatever the user (65.874436ms)
|
||
✔ a repeated Host is 400 before any other check, in preview mode and without it (26.146609ms)
|
||
✔ without the preview flags the public name is refused and writes still reach the board (16.557522ms)
|
||
✔ a signed-in same-origin save reaches exactly one human operation and returns the new commit (59.037466ms)
|
||
✔ a save needs send, the named Host, the user, the exact Origin and same-origin Fetch Metadata (41.869213ms)
|
||
✔ a save validates JSON, strict keys, text values and the 1 MiB body before the bus is asked (101.43863ms)
|
||
✔ a body that is JSON but not an object is refused 400, not thrown on (47.416205ms)
|
||
✔ the 1 MiB limit is this route only; Settings and messages keep 16 KiB (17.254267ms)
|
||
✔ a bus refusal is reported as not saved with its own status; stale-base tells the user to reload (71.690619ms)
|
||
✔ a save whose answer is lost or unusable is reported unknown and is never retried (10.13949ms)
|
||
✔ the file list and one file read take strict queries and arrive in the expected shape (23.631311ms)
|
||
✔ reads work without --send; an unusable bus answer is a bad response, a refusal keeps its status (15.140992ms)
|
||
✔ /api/config says edit only where a save can pass (8.723132ms)
|
||
✔ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (3.028316ms)
|
||
✔ credential state from the date alone, as the bus states it (0.325012ms)
|
||
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (1486.314478ms)
|
||
✔ queue: a refused read fails closed with the store's text, redacted (829.583523ms)
|
||
✔ queue: a store that fails to load, or a child that dies, gives a fixed message with no path or stack (3218.239311ms)
|
||
✔ business: names, vars on the allowlist, authority, credential metadata only (27.145335ms)
|
||
✔ business: missing or invalid file refuses with the module's text, redacted (25.739705ms)
|
||
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (74.953479ms)
|
||
✔ settings: release, board, loopback address, notifier binding name only (651.816564ms)
|
||
✔ task fields: the committed table with no reads configured, GET only; a bad table refuses with no path (173.092626ms)
|
||
✔ bus-status: a refused boot shows reason, file and last good load; a live host or an ok boot clears it (87.870192ms)
|
||
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (3772.571442ms)
|
||
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (22871.56126ms)
|
||
✔ 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 (8535.098903ms)
|
||
✔ a sent receipt lists its replies as the page refreshes, oldest first and capped, and marks none delivered or read (11941.665611ms)
|
||
✔ startServer takes send only as a function and only with the preview mode (25.341308ms)
|
||
✔ the CLI refuses --send without the preview flags, and without a configured bus (2225.861596ms)
|
||
✔ the CLI with --send and a configured bus sends through the human transport and logs one line (450.910753ms)
|
||
✔ without --send the route is read-only like every other write, and config says no send (13.137083ms)
|
||
✔ with --send every other write is still 403 read-only, and nothing reaches the board or bus (40.6677ms)
|
||
✔ config says send only on the public name with --send on (5.18515ms)
|
||
✔ a send without the signed-in user is 401 and is neither sent nor logged, loopback included (24.862663ms)
|
||
✔ each request check refuses before anything is sent, and logs the refusal without the body (27.459613ms)
|
||
✔ a send passes exactly to, body and in_reply_to, answers the id, and logs it (8.518156ms)
|
||
✔ a crafted role name cannot forge a log line (6.757167ms)
|
||
✔ a bus refusal is not sent, with its status; an outcome the bus could not confirm is unknown and never retried (14.813018ms)
|
||
✔ through the human transport the request is exactly the business, message.send and the keys (548.979268ms)
|
||
✔ against a real broker: the message is written once as a human send, and its refusals map (196.235021ms)
|
||
✔ loopback host and board origin fail closed (15.328537ms)
|
||
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (465.894086ms)
|
||
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (180.750497ms)
|
||
✔ unreachable board reports URL; CLI rejects unsupported options (1830.035884ms)
|
||
✔ render prints the unit without the preview flags (45.816187ms)
|
||
✔ render carries every serve flag, the preview set included (71.9433ms)
|
||
✔ a partial preview set is refused (265.271776ms)
|
||
✔ a value the unit cannot carry is refused, for every flag (1983.757662ms)
|
||
✔ the rendered unit names none of the human proof agent markers and sets no agent variable (165.425051ms)
|
||
✔ install into --dir with --no-reload writes the file whole, then reports unchanged (529.368385ms)
|
||
✔ install without --no-reload runs daemon-reload and nothing that starts the unit (283.584971ms)
|
||
✔ uninstall refuses while the unit is running, with or without --no-reload, and removes it once it is not (1343.356337ms)
|
||
✔ status prints the unit state and GET /healthz on the installed port (785.460349ms)
|
||
✔ usage: an unknown verb or flag, and start or enable, exit 4 (210.399792ms)
|
||
✔ without --send, render is the template with its placeholders filled, byte for byte (94.420084ms)
|
||
✔ render --send with the preview set ends ExecStart with --send and changes nothing else (79.940699ms)
|
||
✔ --send without the whole preview set is refused and writes nothing (395.866208ms)
|
||
✔ install --send into --dir with --no-reload writes the sending unit, and status says whether it sends (887.605452ms)
|
||
✔ uninstall and status take no --send (81.291025ms)
|
||
✔ install refuses while the unit is running, in any state but inactive or failed, and changes nothing (837.78864ms)
|
||
✔ when the state read fails, install and uninstall refuse with one line and change nothing (116.346744ms)
|
||
✔ install needs --copy naming a copy that exists, and refuses outside the canonical checkout without --allow-worktree (102.324113ms)
|
||
✔ install refuses unless the bus unit runs from the same copy, naming both paths, and changes nothing (317.683547ms)
|
||
✔ render --copy runs the copy and reads the queue in the checkout; without --copy the unit is unchanged (21.08319ms)
|
||
✔ the uid header takes only an Authentik uid; the username header still takes a username (543.816093ms)
|
||
✔ a preview value cannot start with - or . (49.330236ms)
|
||
✔ status names the copy and whether refactor has moved past it, and says when the unit runs from no copy (708.953414ms)
|
||
✔ Settings form shows every scope and held role; gated save, exact payload, retained draft and no automatic retry (4699.119665ms)
|
||
2026-10-18T18:58:47.927Z settings user="jason" changed
|
||
✔ REQ-WEB-1 signed-in same-origin Settings write reaches exactly one human operation (81.398563ms)
|
||
✔ REQ-WEB-1 Settings writes require enabled send, named Host, identity, exact Origin and same-origin Fetch Metadata (71.45649ms)
|
||
✔ REQ-WEB-1 Settings validates JSON, size, revision and strict writable keys before broker call (58.559978ms)
|
||
✔ tokens.css and icons.svg are byte copies of docs/design (9.38857ms)
|
||
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (8.251467ms)
|
||
✔ shipped strings are unchanged, and the web keeps its write boundary (4.287255ms)
|
||
✔ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (9624.613668ms)
|
||
✔ five states on Board, Inbox, Tasks, Agents and Trail (2696.834305ms)
|
||
✔ REQ-LIMIT-4 Settings shows all token kinds and unknown turns beside every total, as a read-only separate section (3152.039133ms)
|
||
✔ REQ-WEB-1 usage read keeps unknown counts and each token kind; no query or write is accepted (124.578401ms)
|
||
✔ REQ-WEB-1 malformed usage is refused instead of shown as zero (35.174941ms)
|
||
✔ Queue, Business and Settings in their five states, with no move button (6063.068495ms)
|
||
✔ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (1772.792859ms)
|
||
✔ the server log names no config path when the system config refuses (531.988279ms)
|
||
ℹ tests 206
|
||
ℹ suites 0
|
||
ℹ pass 206
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 55710.900114
|