docs: record granted wikilink measurement and test evidence

This commit is contained in:
Herb authored and Jason Woltje committed 2026-10-24 22:50:44 -05:00
1 parent c68a29fed8
commit 3a8e4abadb
33 files changed
+1848 -34

No files matched your search

+55
View File
@@ -136,3 +136,58 @@ invalid-atom escapedText call for vendored state.text, dropping the <&
escape for this path. The existing malformed-attrs browser test must kill
it. The original serializer-removal mutant is still required. No runs,
checks, installation or rebuild have occurred; all remain held for CLEAR.
## Granted execution and candidate, sage-4286, 2026-10-24
Granted lane B until22:40Z. Ran on2ec3f5b5d's source in this worktree.
Every child inherited TMPDIR=/mnt/storage/scratch/tmp/g49X, obtained by
mktemp -d /mnt/storage/scratch/tmp/gXXX, never /tmp. Each command used
`nice -n "$((19 - $(nice)))" timeout -k 10 ...` with pipefail and tee;
raw logs record actual absolute nice19 and MOSAIC_REQUIRE_EDITOR_BUILD=1.
Node test concurrency was1 for each focused whole file and2 for webui.
Measurement22:07:22Z: all10 baseline forms round-trip byte for byte. The
JSON is copied unchanged to measurement.json. Adopted outcome A: no
measured file falls to Source just because of its wikilink. The atom is
proved by structure and same-block edits, not no-edit raw retention.
Baseline structural case:0/1 expected red, no atom in old shipped bundle.
Pinned npm ci --ignore-scripts --no-audit --no-fund succeeded locally in
packages/webui, then editor/build.mjs ran with esbuild0.28.2. The existing
upstream sideEffects warning for mark.ts appeared; no vendored file changed.
No package/lockfile change. Rebuild provenance ran and passed, not skipped.
| Whole file | Pass/fail | Wall seconds |
| --- | ---: | ---: |
| editor-wikilink.test.mjs | 13/0 | 2.348 |
| editor.test.mjs | 5/0 | 2.053 |
| editor-browser.test.mjs | 16/0 | 14.984 |
| editor-provenance.test.mjs | 6/0 | 0.343 |
Two mutants, each independently restored and rebuilt: serializer removal
failed the structural case0/1, restore1/0; invalid-path escapedText swapped
for vendored state.text failed malformed attrs0/1, restore1/0. The model
and generated outputs match their original good hashes after both.
Post-mutant cwd/temp-root sweep0. Both failures are expected evidence.
Full webui: exactly69 files,455/0,0 skipped/cancelled,174.189s, ended
22:12:48.880975Z. The log contains the required-build env and nice19.
Skip scan for ^# skip, TAP # SKIP and spec skipped-test lines found none,
so skip names are []. A preliminary command mistakenly selected7 files;
its28/0 in17.787s is archived as webui-whole.log and explicitly NOT used
as full gate evidence. The corrected69-file run is webui-69.log.
Final cwd/TMPDIR/argv sweep22:13:17.560692Z:0 processes. No owned Node or
Chromium remains. Removed the private TMPDIR only after that zero sweep.
Clear was sent to Sage as herb-0102 at22:13:46Z; no further execution.
Bundle SHA256 bd167899a551c70dc07e500fcdd1853d7fb710b23c217ba5b42daf5785c38a72.
CSS SHA2568654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f,
byte-identical to2ec3f5b5d. BUILD.json outputs match those hashes. Source
commit a530a60798bf48eb18bb9e225d099faf5c2975cf adds generated outputs and
an append-only phase log; packet changes follow separately. No code or
assertion changed after these results. The webui gate requirement is met
on this tree; Filbert review and every scripts/test-*.sh remain pending.
Sage re-pinned the brief to case2-rows.md blob85e6fe2e under sage-4286;
its C2-11a section is unchanged. No case1-accept file was in any run.
+572
View File
@@ -0,0 +1,572 @@
{
"grant": "sage-4286",
"candidateBeforeBuild": "2ec3f5b5ddab0cb5f2716f8164c25861b741213e",
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"measurement": {
"base": "487500a16f4ab5902c318509fdec6acc56a543ca",
"bundleSha256": "9c881b13740fae2408717ad75fa1d85bfcfe3fa8b3af0f1b3f2e706c90e80fee",
"measuredAt": "2026-10-24T22:07:22.210Z",
"allEqual": true,
"results": [
{
"name": "plain",
"input": "[[a]]\n",
"output": "[[a]]\n",
"equal": true
},
{
"name": "labelled",
"input": "[[a|b]]\n",
"output": "[[a|b]]\n",
"equal": true
},
{
"name": "heading target",
"input": "[[a#h]]\n",
"output": "[[a#h]]\n",
"equal": true
},
{
"name": "list item",
"input": "- [[a]]\n",
"output": "- [[a]]\n",
"equal": true
},
{
"name": "next to front matter",
"input": "---\nrelated: \"[[metadata]]\"\n---\n\n[[a]]\n",
"output": "---\nrelated: \"[[metadata]]\"\n---\n\n[[a]]\n",
"equal": true
},
{
"name": "heading block and combined label",
"input": "# See [[a#h|Title]]\n",
"output": "# See [[a#h|Title]]\n",
"equal": true
},
{
"name": "spaces, Unicode and adjacent links",
"input": "See [[ H\u00e9llo there # A heading | a label ]][[next]]\n",
"output": "See [[ H\u00e9llo there # A heading | a label ]][[next]]\n",
"equal": true
},
{
"name": "reference-definition collision",
"input": "[[a]]\n\n[a]: u\n",
"output": "[[a]]\n\n[a]: u\n",
"equal": true
},
{
"name": "inside an ordinary link",
"input": "[x [[a]]](u)\n",
"output": "[x [[a]]](u)\n",
"equal": true
},
{
"name": "inert embed",
"input": "![[cover.png]]\n",
"output": "![[cover.png]]\n",
"equal": true
}
]
},
"results": [
{
"name": "measurement",
"argv": [
"node",
"agents/herb/work/queue-214/measure.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 0,
"wallSeconds": 0.093,
"counts": {},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 60,
"ended": "2026-10-24T22:07:22.215700+00:00"
},
{
"name": "baseline-red",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"--test-name-pattern=wikilinks are inline atoms and survive",
"packages/webui/tests/editor-wikilink.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 1,
"wallSeconds": 1.151,
"counts": {
"tests": 1,
"pass": 0,
"fail": 1,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 180,
"ended": "2026-10-24T22:07:27.998436+00:00"
},
{
"name": "npm-ci",
"argv": [
"npm",
"ci",
"--ignore-scripts",
"--no-audit",
"--no-fund"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 0.514,
"counts": {},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 240,
"ended": "2026-10-24T22:07:41.534116+00:00"
},
{
"name": "build",
"argv": [
"node",
"editor/build.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 0.108,
"counts": {},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 120,
"ended": "2026-10-24T22:07:44.654385+00:00"
},
{
"name": "wikilink-green",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"packages/webui/tests/editor-wikilink.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 0,
"wallSeconds": 2.348,
"counts": {
"tests": 13,
"pass": 13,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 180,
"ended": "2026-10-24T22:07:52.583345+00:00"
},
{
"name": "editor-green",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"packages/webui/tests/editor.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 0,
"wallSeconds": 2.053,
"counts": {
"tests": 5,
"pass": 5,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 240,
"ended": "2026-10-24T22:07:59.286086+00:00"
},
{
"name": "editor-browser-green",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"packages/webui/tests/editor-browser.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 0,
"wallSeconds": 14.984,
"counts": {
"tests": 16,
"pass": 16,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 240,
"ended": "2026-10-24T22:08:20.029050+00:00"
},
{
"name": "provenance-green",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"packages/webui/tests/editor-provenance.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 0,
"wallSeconds": 0.343,
"counts": {
"tests": 6,
"pass": 6,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 180,
"ended": "2026-10-24T22:08:39.003420+00:00"
},
{
"name": "serializer-removal-build",
"argv": [
"node",
"editor/build.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 0.093,
"counts": {},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 90,
"ended": "2026-10-24T22:08:51.422097+00:00"
},
{
"name": "serializer-removal-red",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"--test-name-pattern=wikilinks are inline atoms and survive",
"packages/webui/tests/editor-wikilink.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 1,
"wallSeconds": 0.887,
"counts": {
"tests": 1,
"pass": 0,
"fail": 1,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 180,
"ended": "2026-10-24T22:08:52.340936+00:00"
},
{
"name": "serializer-removal-restore-build",
"argv": [
"node",
"editor/build.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 0.115,
"counts": {},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 90,
"ended": "2026-10-24T22:08:52.498613+00:00"
},
{
"name": "serializer-removal-restore-green",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"--test-name-pattern=wikilinks are inline atoms and survive",
"packages/webui/tests/editor-wikilink.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 0,
"wallSeconds": 0.979,
"counts": {
"tests": 1,
"pass": 1,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 180,
"ended": "2026-10-24T22:08:53.514962+00:00"
},
{
"name": "invalid-escaping-build",
"argv": [
"node",
"editor/build.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 0.102,
"counts": {},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 90,
"ended": "2026-10-24T22:08:53.655583+00:00"
},
{
"name": "invalid-escaping-red",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"--test-name-pattern=wikilink DOM paste accepts",
"packages/webui/tests/editor-wikilink.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 1,
"wallSeconds": 0.979,
"counts": {
"tests": 1,
"pass": 0,
"fail": 1,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 180,
"ended": "2026-10-24T22:08:54.668225+00:00"
},
{
"name": "invalid-escaping-restore-build",
"argv": [
"node",
"editor/build.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 0.105,
"counts": {},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 90,
"ended": "2026-10-24T22:08:54.809629+00:00"
},
{
"name": "invalid-escaping-restore-green",
"argv": [
"node",
"--test",
"--test-concurrency=1",
"--test-name-pattern=wikilink DOM paste accepts",
"packages/webui/tests/editor-wikilink.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"rc": 0,
"wallSeconds": 0.985,
"counts": {
"tests": 1,
"pass": 1,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 180,
"ended": "2026-10-24T22:08:55.831793+00:00"
},
{
"name": "webui-whole",
"argv": [
"node",
"--test",
"--test-concurrency=2",
"tests/agents-browser.test.mjs",
"tests/agents.test.mjs",
"tests/board-held.test.mjs",
"tests/browser-edge.test.mjs",
"tests/browser.test.mjs",
"tests/bus-browser.test.mjs",
"tests/bus.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 17.787,
"counts": {
"tests": 28,
"pass": 28,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 600,
"ended": "2026-10-24T22:09:39.039897+00:00"
},
{
"name": "webui-69",
"argv": [
"node",
"--test",
"--test-concurrency=2",
"tests/agents-browser.test.mjs",
"tests/agents.test.mjs",
"tests/assistant.test.mjs",
"tests/board-held.test.mjs",
"tests/browser-edge.test.mjs",
"tests/browser.test.mjs",
"tests/bus-browser.test.mjs",
"tests/bus.test.mjs",
"tests/channel-chat.test.mjs",
"tests/chat-browser.test.mjs",
"tests/chat-instances.test.mjs",
"tests/chat-replies-browser.test.mjs",
"tests/chat-sessions-access.test.mjs",
"tests/chat.test.mjs",
"tests/conversation.test.mjs",
"tests/decide-browser.test.mjs",
"tests/decide-sso.test.mjs",
"tests/decision-http.test.mjs",
"tests/discord.test.mjs",
"tests/docs-browser.test.mjs",
"tests/editor-browser.test.mjs",
"tests/editor-provenance.test.mjs",
"tests/editor-wikilink.test.mjs",
"tests/editor.test.mjs",
"tests/granted-user.test.mjs",
"tests/history-return-flow.test.mjs",
"tests/instances-browser.test.mjs",
"tests/instances.test.mjs",
"tests/library-cli.test.mjs",
"tests/library-routes.test.mjs",
"tests/library-status.test.mjs",
"tests/limits-browser.test.mjs",
"tests/limits-route.test.mjs",
"tests/markdown-preview.test.mjs",
"tests/messages.test.mjs",
"tests/pinned-copy.test.mjs",
"tests/preview.test.mjs",
"tests/processing-browser.test.mjs",
"tests/processing-ui.test.mjs",
"tests/processing.test.mjs",
"tests/project-file.test.mjs",
"tests/project-name-repo.test.mjs",
"tests/proof-cli.test.mjs",
"tests/proof.test.mjs",
"tests/reads.test.mjs",
"tests/relaunch.test.mjs",
"tests/return-flow.test.mjs",
"tests/routes-browser.test.mjs",
"tests/routes.test.mjs",
"tests/send-browser.test.mjs",
"tests/send.test.mjs",
"tests/serve.test.mjs",
"tests/service.test.mjs",
"tests/settings-form.test.mjs",
"tests/settings-write.test.mjs",
"tests/shell.test.mjs",
"tests/sso-browser.test.mjs",
"tests/sso.test.mjs",
"tests/tester-browser.test.mjs",
"tests/tester-cli.test.mjs",
"tests/tester-listener.test.mjs",
"tests/tester-socket.test.mjs",
"tests/thread-claims-browser.test.mjs",
"tests/thread-claims.test.mjs",
"tests/thread-sharing.test.mjs",
"tests/usage-browser.test.mjs",
"tests/usage.test.mjs",
"tests/user-option-swap.test.mjs",
"tests/views.test.mjs"
],
"cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui",
"rc": 0,
"wallSeconds": 174.189,
"counts": {
"tests": 455,
"pass": 455,
"fail": 0,
"cancelled": 0,
"skipped": 0
},
"nice": 19,
"tmpRoot": "/mnt/storage/scratch/tmp/g49X",
"requireEditorBuild": "1",
"timeoutSeconds": 600,
"ended": "2026-10-24T22:12:48.880975+00:00"
}
],
"mutants": [
{
"name": "serializer-removal",
"killed": true,
"restored": true,
"restoredHashesEqual": true
},
{
"name": "invalid-escaping",
"killed": true,
"restored": true,
"restoredHashesEqual": true
}
],
"skipNames": [],
"sweep": {
"at": "2026-10-24T22:13:17.560692+00:00",
"count": 0,
"processes": []
},
"generated": {
"src/public/editor.js": {
"sha256": "bd167899a551c70dc07e500fcdd1853d7fb710b23c217ba5b42daf5785c38a72",
"bytes": 759959
},
"src/public/editor.css": {
"sha256": "8654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f",
"bytes": 4462
}
},
"unchangedCss": true,
"modelRestored": true,
"notes": [
"webui-whole was an accidental seven-file subset, 28/0, not gate evidence; superseded by webui-69 455/0",
"no scripts/test-*.sh ran in this grant; later gate remains pending"
],
"tmpRemoved": true
}
+48 -1
View File
@@ -272,5 +272,52 @@
"diffBase": "487500a16f4ab5902c318509fdec6acc56a543ca",
"overlap": []
},
"interpretation": "No literal SHA256 or Git-blob hash pins found for planned changed files. Editor provenance compares generated output to BUILD.json and requires regeneration/rebuild, not an external fixed hash."
"interpretation": "No literal SHA256 or Git-blob hash pins found for planned changed files. Editor provenance compares generated output to BUILD.json and requires regeneration/rebuild, not an external fixed hash.",
"postBuildAudit": {
"paths": [
"BUILD-LOG.md",
"agents/herb/work/queue-214/BUILD.md",
"agents/herb/work/queue-214/DESIGN.md",
"agents/herb/work/queue-214/EVIDENCE.json",
"agents/herb/work/queue-214/HASH-PINS.json",
"agents/herb/work/queue-214/MANIFEST.md",
"agents/herb/work/queue-214/SOURCE.json",
"agents/herb/work/queue-214/granted-4286/baseline-red.log",
"agents/herb/work/queue-214/granted-4286/build.log",
"agents/herb/work/queue-214/granted-4286/editor-browser-green.log",
"agents/herb/work/queue-214/granted-4286/editor-green.log",
"agents/herb/work/queue-214/granted-4286/final-sweep.json",
"agents/herb/work/queue-214/granted-4286/invalid-escaping-build.log",
"agents/herb/work/queue-214/granted-4286/invalid-escaping-red.log",
"agents/herb/work/queue-214/granted-4286/invalid-escaping-restore-build.log",
"agents/herb/work/queue-214/granted-4286/invalid-escaping-restore-green.log",
"agents/herb/work/queue-214/granted-4286/measurement.log",
"agents/herb/work/queue-214/granted-4286/mutants.json",
"agents/herb/work/queue-214/granted-4286/mutants.py",
"agents/herb/work/queue-214/granted-4286/npm-ci.log",
"agents/herb/work/queue-214/granted-4286/post-mutant-sweep.json",
"agents/herb/work/queue-214/granted-4286/provenance-green.log",
"agents/herb/work/queue-214/granted-4286/results.jsonl",
"agents/herb/work/queue-214/granted-4286/serializer-removal-build.log",
"agents/herb/work/queue-214/granted-4286/serializer-removal-red.log",
"agents/herb/work/queue-214/granted-4286/serializer-removal-restore-build.log",
"agents/herb/work/queue-214/granted-4286/serializer-removal-restore-green.log",
"agents/herb/work/queue-214/granted-4286/settings.json",
"agents/herb/work/queue-214/granted-4286/skips.json",
"agents/herb/work/queue-214/granted-4286/step.py",
"agents/herb/work/queue-214/granted-4286/webui-69.log",
"agents/herb/work/queue-214/granted-4286/webui-files.txt",
"agents/herb/work/queue-214/granted-4286/webui-whole.log",
"agents/herb/work/queue-214/granted-4286/wikilink-green.log",
"agents/herb/work/queue-214/measure.mjs",
"agents/herb/work/queue-214/measurement.json",
"packages/webui/editor/BUILD.json",
"packages/webui/editor/model.mjs",
"packages/webui/src/public/editor.js",
"packages/webui/tests/editor-wikilink.test.mjs",
"packages/webui/tests/helpers/wikilink-cases.mjs"
],
"literalCurrentOrPriorHashPins": [],
"buildOutputsValidated": true
}
}
+36 -26
View File
@@ -1,32 +1,42 @@
# Row214 implementation manifest, draft before measurement
# Row214 candidate manifest
Execution base: 487500a16f4ab5902c318509fdec6acc56a543ca on herb/row214-r2.
Historical accepted design base: aca16404c. Brief: docs/plans/2026-10-20_case2-rows.md,
C2-11a. Also read at gosalyn/case2-06-idea-caps51cc0445c; that section is
unchanged. Q222's reply-limit settings belong to C2-06, not this row.
Owner: Herb. Reviewer: Filbert. Issue#1715, C2-11a. Execution base
487500a16f4ab5902c318509fdec6acc56a543ca on herb/row214-r2. Current
brief blob85e6fe2e has the same C2-11a section as the accepted old pin.
Source commit a530a60798bf48eb18bb9e225d099faf5c2975cf.
| Path | Change |
| Path | Final change |
| --- | --- |
| packages/webui/editor/model.mjs | inert inline atom, heading content, tokenizer rule and serializer |
| packages/webui/tests/editor-wikilink.test.mjs | ten round-trips and three browser regressions |
| packages/webui/editor/model.mjs | inert inline atom, heading content, tokenizer and validated serializer; invalid attrs share complete text escaping |
| packages/webui/tests/editor-wikilink.test.mjs | ten byte round-trips and three browser regressions, including same-block edits and malformed attrs |
| packages/webui/tests/helpers/wikilink-cases.mjs | exact fixtures shared with measurement |
| packages/webui/src/public/editor.js | generated by the pinned editor build, pending CLEAR |
| packages/webui/editor/BUILD.json | generated provenance, pending CLEAR |
| agents/herb/work/queue-214/measure.mjs | baseline Git-object measurement, authored and unrun |
| agents/herb/work/queue-214/DESIGN.md | both measurement outcomes, implementation and acceptance |
| agents/herb/work/queue-214/BUILD.md | rulings and receipts, pending runs |
| agents/herb/work/queue-214/MANIFEST.md | this reviewed path list |
| agents/herb/work/queue-214/HASH-PINS.json | static test hash-pin and row266 overlap audit |
| agents/herb/work/queue-214/SOURCE.json | authored source hashes and pending generated-output status |
| packages/webui/src/public/editor.js | generated with pinned esbuild0.28.2 |
| packages/webui/editor/BUILD.json | generated provenance and output hashes |
| BUILD-LOG.md | one append-only phase receipt |
| agents/herb/work/queue-214/measure.mjs | baseline measurement from pinned Git blobs |
| agents/herb/work/queue-214/measurement.json | unchanged measurement JSON,10/10 equal |
| agents/herb/work/queue-214/DESIGN.md | accepted design, both outcomes and static review follow-through |
| agents/herb/work/queue-214/BUILD.md | rulings, actual granted commands, timings and limits |
| agents/herb/work/queue-214/HASH-PINS.json | static hash-pin/row266 audit, repeated after build |
| agents/herb/work/queue-214/SOURCE.json | actual source/output hashes and unchanged CSS dependency |
| agents/herb/work/queue-214/EVIDENCE.json | grant, exact argv/counts, measurement, mutants, skips and sweeps |
| agents/herb/work/queue-214/granted-4286/ | raw tee logs, commands, file list and sweep/skip/mutant records |
editor.css is an unchanged build output; no source CSS is touched. No
entry/view, library, route, save, click, documentPath or dependency changes.
Generated changes do not exist yet. This is a design/path manifest, not a
frozen tested candidate. Candidate hashes and measurement results follow
only after the granted runs. Filbert reviews the plan before the build.
The CSS output is byte-identical and matches BUILD.json. No entry/view,
third_party, dependency/lockfile, library, route, save, click or documentPath
change. No row266 chat path changes. No test assertion changed after runs.
R2 under sage-4164: the node, measurement and tests are committed as static,
unrun authoring on the current base. Filbert accepted the design/path scope
on2026-10-22; runtime evidence and regenerated files still require CLEAR.
No chat*.mjs or public/chat.{js,css} path changes. The baseline measurement
now reads487500a16 Git blobs, still verified against its BUILD.json.
Outcome A: all ten measured no-edit cases were already preserved by the
baseline's raw/sig behavior. Their green result is compatibility evidence,
not proof of the node. The baseline structural case was0/1 expected red.
Grant sage-4286: four whole editor files40/0; whole webui69 files455/0
in174.189s; zero skips/cancellations. Both named mutants killed0/1,
each restored/rebuilt and focused1/0 green. Absolute nice19, required-build
env and short scratch TMPDIR are in raw logs. Provenance rebuilt, not
skipped. Final process sweep0, TMPDIR removed. The mistaken seven-file
subset28/0 is archived but excluded from gate evidence.
The candidate hash manifest is rebuilt from the pushed tip outside its
own path set. Filbert's candidate review and every scripts/test-*.sh gate
remain pending. No Case1 acceptance test was run. The row is not done.
+24 -7
View File
@@ -1,6 +1,6 @@
{
"base": "487500a16f4ab5902c318509fdec6acc56a543ca",
"status": "authored; no execution; not a gate-ready frozen candidate",
"status": "focused and 69-file webui green under sage-4286; candidate review and shell gate pending",
"sourcePaths": [
{
"path": "packages/webui/editor/model.mjs",
@@ -21,12 +21,29 @@
"path": "agents/herb/work/queue-214/measure.mjs",
"mode": "100644",
"sha256": "f81987cdae5c4f7e5ce353162674b3c3510e44f22d6d3beb262a5d198db4e88d"
},
{
"path": "packages/webui/src/public/editor.js",
"mode": "100644",
"sha256": "bd167899a551c70dc07e500fcdd1853d7fb710b23c217ba5b42daf5785c38a72"
},
{
"path": "packages/webui/editor/BUILD.json",
"mode": "100644",
"sha256": "4d73af728cea60eaa6fadb4650b9d42b663c90ef7f59bb2b787e1f3d9acd8278"
},
{
"path": "BUILD-LOG.md",
"mode": "100644",
"sha256": "30cc179e2b76c5aceeec35d5ab20339988241a4cb04d26d1cc9b2a5437796236"
}
],
"pendingGeneratedPaths": [
"packages/webui/src/public/editor.js",
"packages/webui/editor/BUILD.json"
],
"unchangedGeneratedCss": "packages/webui/src/public/editor.css",
"runtimeEvidence": null
"pendingGeneratedPaths": [],
"unchangedGeneratedCss": {
"path": "packages/webui/src/public/editor.css",
"sha256": "8654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f",
"mode": "100644"
},
"runtimeEvidence": "agents/herb/work/queue-214/EVIDENCE.json",
"sourceCommit": "a530a60798bf48eb18bb9e225d099faf5c2975cf"
}
@@ -0,0 +1,38 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✖ wikilinks are inline atoms and survive a neighbouring edit in every required context (932.607342ms)
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1108.548729
✖ failing tests:
test at packages/webui/tests/editor-wikilink.test.mjs:35:1
✖ wikilinks are inline atoms and survive a neighbouring edit in every required context (932.607342ms)
AssertionError [ERR_ASSERTION]: plain
+ actual - expected
+ []
- [
- {
- atom: true,
- inline: true,
- source: '[[a]]'
- }
- ]
at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui/tests/editor-wikilink.test.mjs:39:12)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1409:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: [],
expected: [ { source: '[[a]]', atom: true, inline: true } ],
operator: 'deepStrictEqual',
diff: 'simple'
}
@@ -0,0 +1,15 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
▲ [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,
╵ ~~~~~~~~~~~~~
editor.js bd167899a551c70dc07e500fcdd1853d7fb710b23c217ba5b42daf5785c38a72 (133 inputs)
editor.css 8654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f
@@ -0,0 +1,25 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ the Console's CSP stands and the editor runs under it; hostile markdown on the load path runs and loads nothing (928.130513ms)
✔ hostile content pasted into the editor runs and loads nothing, and a bad link target is refused in the link bar (803.464018ms)
✔ a pasted image span is kept only for a target the link gate accepts, and a save writes only those (635.018754ms)
✔ a switch of view reads nothing; a reload, and a trip away and back, each read the file exactly once (2555.185634ms)
✔ an edit rewrites only the block touched; a save sends the rest byte for byte; the Source view carries the draft (1077.608366ms)
✔ 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 (2053.81983ms)
✔ a link title pasted with line breaks in it is written on one line, so no HTML block comes of it (761.717564ms)
✔ an image alt pasted with line breaks in it is written on one line, so no HTML block comes of it (677.209658ms)
✔ an image title pasted with line breaks in it is written on one line, so no HTML block comes of it (681.501055ms)
✔ a code block info string pasted with line breaks in it is written on one line, so no HTML block comes of it (664.552078ms)
✔ a link title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (653.763504ms)
✔ an image title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (680.145608ms)
✔ a link title holding a trailing backslash is written with the backslash escaped, so the title stays closed (681.870693ms)
✔ an image title holding a trailing backslash is written with the backslash escaped, so the title stays closed (686.810545ms)
✔ a code block info string with a backtick, pasted, is dropped on Save, so the fence stays closed (631.067849ms)
✔ a code block info string with a backtick, as a tilde fence can have, is kept as source, not rewritten without it (631.071266ms)
ℹ tests 16
ℹ suites 0
ℹ pass 16
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 14945.374491
@@ -0,0 +1,14 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ the editor routes serve the built files with their types and no cache (36.796766ms)
✔ open and save with no edit writes the same bytes: the goals review and a doc with every element (16.912796ms)
✔ open and save with no edit writes the same bytes: every repository doc under docs/ and spec/ (1791.779235ms)
✔ the editor source builds markup only with DOM calls, and the bundle has no eval (2.568423ms)
✔ the link gate and the image rule are the preview's (0.573105ms)
ℹ tests 5
ℹ suites 0
ℹ pass 5
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2016.291596
@@ -0,0 +1,5 @@
{
"at": "2026-10-24T22:13:17.560692+00:00",
"count": 0,
"processes": []
}
@@ -0,0 +1,15 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
▲ [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,
╵ ~~~~~~~~~~~~~
editor.js 52c00310b3c32b2f5ca99243f9bbe54f8a76ef0a87f597d8a2220cf1baaa8adc (133 inputs)
editor.css 8654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f
@@ -0,0 +1,30 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✖ wikilink DOM paste accepts only bounded single-line inert syntax; malformed attrs serialise as escaped text (780.97333ms)
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 939.392901
✖ failing tests:
test at packages/webui/tests/editor-wikilink.test.mjs:65:1
✖ wikilink DOM paste accepts only bounded single-line inert syntax; malformed attrs serialise as escaped text (780.97333ms)
AssertionError [ERR_ASSERTION]: The input was expected to not match the regular expression /(?<!\\)<img/. Input:
'\\[\\[a\\]\\] <img src=x onerror=alert(1)>&copy;\n'
at TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui/tests/editor-wikilink.test.mjs:78:10)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Test.run (node:internal/test_runner/test:1409:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: '\\[\\[a\\]\\] <img src=x onerror=alert(1)>&copy;\n',
expected: /(?<!\\)<img/,
operator: 'doesNotMatch',
diff: 'simple'
}
@@ -0,0 +1,15 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
▲ [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,
╵ ~~~~~~~~~~~~~
editor.js bd167899a551c70dc07e500fcdd1853d7fb710b23c217ba5b42daf5785c38a72 (133 inputs)
editor.css 8654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f
@@ -0,0 +1,10 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ wikilink DOM paste accepts only bounded single-line inert syntax; malformed attrs serialise as escaped text (752.4905ms)
ℹ tests 1
ℹ suites 0
ℹ pass 1
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 941.178679
@@ -0,0 +1,68 @@
{
"base": "487500a16f4ab5902c318509fdec6acc56a543ca",
"bundleSha256": "9c881b13740fae2408717ad75fa1d85bfcfe3fa8b3af0f1b3f2e706c90e80fee",
"measuredAt": "2026-10-24T22:07:22.210Z",
"allEqual": true,
"results": [
{
"name": "plain",
"input": "[[a]]\n",
"output": "[[a]]\n",
"equal": true
},
{
"name": "labelled",
"input": "[[a|b]]\n",
"output": "[[a|b]]\n",
"equal": true
},
{
"name": "heading target",
"input": "[[a#h]]\n",
"output": "[[a#h]]\n",
"equal": true
},
{
"name": "list item",
"input": "- [[a]]\n",
"output": "- [[a]]\n",
"equal": true
},
{
"name": "next to front matter",
"input": "---\nrelated: \"[[metadata]]\"\n---\n\n[[a]]\n",
"output": "---\nrelated: \"[[metadata]]\"\n---\n\n[[a]]\n",
"equal": true
},
{
"name": "heading block and combined label",
"input": "# See [[a#h|Title]]\n",
"output": "# See [[a#h|Title]]\n",
"equal": true
},
{
"name": "spaces, Unicode and adjacent links",
"input": "See [[ Héllo there # A heading | a label ]][[next]]\n",
"output": "See [[ Héllo there # A heading | a label ]][[next]]\n",
"equal": true
},
{
"name": "reference-definition collision",
"input": "[[a]]\n\n[a]: u\n",
"output": "[[a]]\n\n[a]: u\n",
"equal": true
},
{
"name": "inside an ordinary link",
"input": "[x [[a]]](u)\n",
"output": "[x [[a]]](u)\n",
"equal": true
},
{
"name": "inert embed",
"input": "![[cover.png]]\n",
"output": "![[cover.png]]\n",
"equal": true
}
]
}
@@ -0,0 +1,14 @@
[
{
"name": "serializer-removal",
"killed": true,
"restored": true,
"restoredHashesEqual": true
},
{
"name": "invalid-escaping",
"killed": true,
"restored": true,
"restoredHashesEqual": true
}
]
@@ -0,0 +1,26 @@
from pathlib import Path
import subprocess,sys,json,hashlib
out=Path(__file__).parent;root=Path('/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2');model=root/'packages/webui/editor/model.mjs';good=model.read_bytes();(out/'model.good.mjs').write_bytes(good)
initial={str(p.relative_to(root)):hashlib.sha256(p.read_bytes()).hexdigest() for p in [model,root/'packages/webui/src/public/editor.js',root/'packages/webui/editor/BUILD.json',root/'packages/webui/src/public/editor.css']}
def step(name,cwd,cap,args):return subprocess.run([sys.executable,str(out/'step.py'),name,str(cwd),str(cap),*args]).returncode
specs=[('serializer-removal','wikilinks are inline atoms and survive'),('invalid-escaping','wikilink DOM paste accepts')]
results=[]
for name,pattern in specs:
changed=good.decode()
if name=='serializer-removal':
start=changed.index(' wikilink(state, node) {');end=changed.index(' raw_block(state, node)',start);changed=changed[:start]+changed[end:]
else:
old="else escapedText(state, oneLine(String(source ?? '')));";assert changed.count(old)==1;changed=changed.replace(old,"else state.text(oneLine(String(source ?? '')));")
try:
model.write_text(changed)
assert step(name+'-build',root/'packages/webui',90,['node','editor/build.mjs'])==0
rc=step(name+'-red',root,180,['node','--test','--test-concurrency=1','--test-name-pattern='+pattern,'packages/webui/tests/editor-wikilink.test.mjs'])
if rc!=1:raise RuntimeError('mutant not killed or timed out: '+str(rc))
finally:
model.write_bytes(good)
if step(name+'-restore-build',root/'packages/webui',90,['node','editor/build.mjs'])!=0:raise RuntimeError('restore build failed')
assert step(name+'-restore-green',root,180,['node','--test','--test-concurrency=1','--test-name-pattern='+pattern,'packages/webui/tests/editor-wikilink.test.mjs'])==0
for p,h in initial.items():assert hashlib.sha256((root/p).read_bytes()).hexdigest()==h,p
results.append({'name':name,'killed':True,'restored':True,'restoredHashesEqual':True})
(out/'mutants.json').write_text(json.dumps(results,indent=2)+'\n')
print('MUTANT_COMPLETE',name,flush=True)
@@ -0,0 +1,3 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
added 2 packages in 425ms
@@ -0,0 +1,4 @@
{
"count": 0,
"processes": []
}
@@ -0,0 +1,27 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ the imported source is the tagged upstream source plus the recorded local changes, and nothing else (27.800323ms)
✔ every package names its origin and license, and NOTICE lists each (0.831005ms)
✔ the build reads only imported source and the editor's own files; the bundle is the recorded build (7.478515ms)
✔ MOSAIC_REQUIRE_EDITOR_BUILD: a missing or wrong esbuild skips without it and fails with it; a wrong binary always fails (6.189875ms)
✔ the toolchain check, run as a program, exits non-zero without esbuild when the build is required (143.672155ms)
▲ [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) (67.600627ms)
ℹ tests 6
ℹ suites 0
ℹ pass 6
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 305.965249
@@ -0,0 +1,18 @@
{"name": "measurement", "argv": ["node", "agents/herb/work/queue-214/measure.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 0, "wallSeconds": 0.093, "counts": {}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 60, "ended": "2026-10-24T22:07:22.215700+00:00"}
{"name": "baseline-red", "argv": ["node", "--test", "--test-concurrency=1", "--test-name-pattern=wikilinks are inline atoms and survive", "packages/webui/tests/editor-wikilink.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 1, "wallSeconds": 1.151, "counts": {"tests": 1, "pass": 0, "fail": 1, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 180, "ended": "2026-10-24T22:07:27.998436+00:00"}
{"name": "npm-ci", "argv": ["npm", "ci", "--ignore-scripts", "--no-audit", "--no-fund"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 0.514, "counts": {}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 240, "ended": "2026-10-24T22:07:41.534116+00:00"}
{"name": "build", "argv": ["node", "editor/build.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 0.108, "counts": {}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 120, "ended": "2026-10-24T22:07:44.654385+00:00"}
{"name": "wikilink-green", "argv": ["node", "--test", "--test-concurrency=1", "packages/webui/tests/editor-wikilink.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 0, "wallSeconds": 2.348, "counts": {"tests": 13, "pass": 13, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 180, "ended": "2026-10-24T22:07:52.583345+00:00"}
{"name": "editor-green", "argv": ["node", "--test", "--test-concurrency=1", "packages/webui/tests/editor.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 0, "wallSeconds": 2.053, "counts": {"tests": 5, "pass": 5, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 240, "ended": "2026-10-24T22:07:59.286086+00:00"}
{"name": "editor-browser-green", "argv": ["node", "--test", "--test-concurrency=1", "packages/webui/tests/editor-browser.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 0, "wallSeconds": 14.984, "counts": {"tests": 16, "pass": 16, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 240, "ended": "2026-10-24T22:08:20.029050+00:00"}
{"name": "provenance-green", "argv": ["node", "--test", "--test-concurrency=1", "packages/webui/tests/editor-provenance.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 0, "wallSeconds": 0.343, "counts": {"tests": 6, "pass": 6, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 180, "ended": "2026-10-24T22:08:39.003420+00:00"}
{"name": "serializer-removal-build", "argv": ["node", "editor/build.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 0.093, "counts": {}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 90, "ended": "2026-10-24T22:08:51.422097+00:00"}
{"name": "serializer-removal-red", "argv": ["node", "--test", "--test-concurrency=1", "--test-name-pattern=wikilinks are inline atoms and survive", "packages/webui/tests/editor-wikilink.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 1, "wallSeconds": 0.887, "counts": {"tests": 1, "pass": 0, "fail": 1, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 180, "ended": "2026-10-24T22:08:52.340936+00:00"}
{"name": "serializer-removal-restore-build", "argv": ["node", "editor/build.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 0.115, "counts": {}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 90, "ended": "2026-10-24T22:08:52.498613+00:00"}
{"name": "serializer-removal-restore-green", "argv": ["node", "--test", "--test-concurrency=1", "--test-name-pattern=wikilinks are inline atoms and survive", "packages/webui/tests/editor-wikilink.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 0, "wallSeconds": 0.979, "counts": {"tests": 1, "pass": 1, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 180, "ended": "2026-10-24T22:08:53.514962+00:00"}
{"name": "invalid-escaping-build", "argv": ["node", "editor/build.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 0.102, "counts": {}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 90, "ended": "2026-10-24T22:08:53.655583+00:00"}
{"name": "invalid-escaping-red", "argv": ["node", "--test", "--test-concurrency=1", "--test-name-pattern=wikilink DOM paste accepts", "packages/webui/tests/editor-wikilink.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 1, "wallSeconds": 0.979, "counts": {"tests": 1, "pass": 0, "fail": 1, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 180, "ended": "2026-10-24T22:08:54.668225+00:00"}
{"name": "invalid-escaping-restore-build", "argv": ["node", "editor/build.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 0.105, "counts": {}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 90, "ended": "2026-10-24T22:08:54.809629+00:00"}
{"name": "invalid-escaping-restore-green", "argv": ["node", "--test", "--test-concurrency=1", "--test-name-pattern=wikilink DOM paste accepts", "packages/webui/tests/editor-wikilink.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2", "rc": 0, "wallSeconds": 0.985, "counts": {"tests": 1, "pass": 1, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 180, "ended": "2026-10-24T22:08:55.831793+00:00"}
{"name": "webui-whole", "argv": ["node", "--test", "--test-concurrency=2", "tests/agents-browser.test.mjs", "tests/agents.test.mjs", "tests/board-held.test.mjs", "tests/browser-edge.test.mjs", "tests/browser.test.mjs", "tests/bus-browser.test.mjs", "tests/bus.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 17.787, "counts": {"tests": 28, "pass": 28, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 600, "ended": "2026-10-24T22:09:39.039897+00:00"}
{"name": "webui-69", "argv": ["node", "--test", "--test-concurrency=2", "tests/agents-browser.test.mjs", "tests/agents.test.mjs", "tests/assistant.test.mjs", "tests/board-held.test.mjs", "tests/browser-edge.test.mjs", "tests/browser.test.mjs", "tests/bus-browser.test.mjs", "tests/bus.test.mjs", "tests/channel-chat.test.mjs", "tests/chat-browser.test.mjs", "tests/chat-instances.test.mjs", "tests/chat-replies-browser.test.mjs", "tests/chat-sessions-access.test.mjs", "tests/chat.test.mjs", "tests/conversation.test.mjs", "tests/decide-browser.test.mjs", "tests/decide-sso.test.mjs", "tests/decision-http.test.mjs", "tests/discord.test.mjs", "tests/docs-browser.test.mjs", "tests/editor-browser.test.mjs", "tests/editor-provenance.test.mjs", "tests/editor-wikilink.test.mjs", "tests/editor.test.mjs", "tests/granted-user.test.mjs", "tests/history-return-flow.test.mjs", "tests/instances-browser.test.mjs", "tests/instances.test.mjs", "tests/library-cli.test.mjs", "tests/library-routes.test.mjs", "tests/library-status.test.mjs", "tests/limits-browser.test.mjs", "tests/limits-route.test.mjs", "tests/markdown-preview.test.mjs", "tests/messages.test.mjs", "tests/pinned-copy.test.mjs", "tests/preview.test.mjs", "tests/processing-browser.test.mjs", "tests/processing-ui.test.mjs", "tests/processing.test.mjs", "tests/project-file.test.mjs", "tests/project-name-repo.test.mjs", "tests/proof-cli.test.mjs", "tests/proof.test.mjs", "tests/reads.test.mjs", "tests/relaunch.test.mjs", "tests/return-flow.test.mjs", "tests/routes-browser.test.mjs", "tests/routes.test.mjs", "tests/send-browser.test.mjs", "tests/send.test.mjs", "tests/serve.test.mjs", "tests/service.test.mjs", "tests/settings-form.test.mjs", "tests/settings-write.test.mjs", "tests/shell.test.mjs", "tests/sso-browser.test.mjs", "tests/sso.test.mjs", "tests/tester-browser.test.mjs", "tests/tester-cli.test.mjs", "tests/tester-listener.test.mjs", "tests/tester-socket.test.mjs", "tests/thread-claims-browser.test.mjs", "tests/thread-claims.test.mjs", "tests/thread-sharing.test.mjs", "tests/usage-browser.test.mjs", "tests/usage.test.mjs", "tests/user-option-swap.test.mjs", "tests/views.test.mjs"], "cwd": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui", "rc": 0, "wallSeconds": 174.189, "counts": {"tests": 455, "pass": 455, "fail": 0, "cancelled": 0, "skipped": 0}, "nice": 19, "tmpRoot": "/mnt/storage/scratch/tmp/g49X", "requireEditorBuild": "1", "timeoutSeconds": 600, "ended": "2026-10-24T22:12:48.880975+00:00"}
@@ -0,0 +1,15 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
▲ [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,
╵ ~~~~~~~~~~~~~
editor.js bf55e22b945eda1e51ecbe9185eadd9ff21a7902713b24417ed7d697c7347bba (133 inputs)
editor.css 8654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f
@@ -0,0 +1,31 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✖ wikilinks are inline atoms and survive a neighbouring edit in every required context (698.378144ms)
ℹ tests 1
ℹ suites 0
ℹ pass 0
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 850.87157
✖ failing tests:
test at packages/webui/tests/editor-wikilink.test.mjs:35:1
✖ wikilinks are inline atoms and survive a neighbouring edit in every required context (698.378144ms)
Error: Uncaught: Error: Token type `wikilink` not supported by Markdown renderer
at MarkdownSerializerState.render (http://127.0.0.1:43723/editor.js:18015:17)
at progress (http://127.0.0.1:43723/editor.js:18096:18)
at _Fragment.forEach (http://127.0.0.1:43723/editor.js:484:9)
at _Node.forEach (http://127.0.0.1:43723/editor.js:1178:20)
at MarkdownSerializerState.renderInline (http://127.0.0.1:43723/editor.js:18101:14)
at Object.paragraph (http://127.0.0.1:43723/editor.js:17859:13)
at MarkdownSerializerState.render (http://127.0.0.1:43723/editor.js:18012:35)
at http://127.0.0.1:43723/editor.js:18025:44
at _Fragment.forEach (http://127.0.0.1:43723/editor.js:484:9)
at _Node.forEach (http://127.0.0.1:43723/editor.js:1178:20)
at Object.evaluate (file:///home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui/tests/browser.mjs:49:35)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async TestContext.<anonymous> (file:///home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2/packages/webui/tests/editor-wikilink.test.mjs:38:5)
at async Test.run (node:internal/test_runner/test:1409:7)
at async startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3)
@@ -0,0 +1,15 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
▲ [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,
╵ ~~~~~~~~~~~~~
editor.js bd167899a551c70dc07e500fcdd1853d7fb710b23c217ba5b42daf5785c38a72 (133 inputs)
editor.css 8654ac57d1e7a561110138ecd7f701c34a074017ff8c4cd2768d8083908ee61f
@@ -0,0 +1,10 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ wikilinks are inline atoms and survive a neighbouring edit in every required context (782.721982ms)
ℹ tests 1
ℹ suites 0
ℹ pass 1
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 940.955124
@@ -0,0 +1,6 @@
{
"root": "/home/jwoltje/.t3/worktrees/mosaic-stack/herb-row214-r2",
"tmp": "/mnt/storage/scratch/tmp/g49X",
"grant": "sage-4286",
"candidate": "2ec3f5b5ddab0cb5f2716f8164c25861b741213e"
}
@@ -0,0 +1,4 @@
{
"grep": "^# skip plus # SKIP and spec skipped-test lines",
"names": []
}
@@ -0,0 +1,19 @@
import os,sys,subprocess,pathlib,json,time,datetime,shlex,re
out=pathlib.Path(__file__).parent;s=json.loads((out/'settings.json').read_text());name=sys.argv[1];cwd=sys.argv[2];cap=int(sys.argv[3]);argv=sys.argv[4:]
left=datetime.datetime(2026,10,24,22,40,tzinfo=datetime.timezone.utc).timestamp()-time.time()-20
if left<15:raise SystemExit('hard-stop cleanup margin reached')
limit=min(cap,int(left));env=os.environ.copy();env.pop('NODE_TEST_CONTEXT',None)
env.update(TMPDIR=s['tmp'],TMP=s['tmp'],TEMP=s['tmp'],MOSAIC_REQUIRE_EDITOR_BUILD='1',MOSAIC_GATE_LANE='b',MOSAIC_GATE_STATE='/mnt/storage/scratch/mosaic-gate-lanes',NO_COLOR='1',MOSAIC_CONFIG=s['tmp']+'/missing-config.json',XDG_CACHE_HOME=s['tmp']+'/cache',JITI_FS_CACHE=s['tmp']+'/jiti')
header='' if name=='measurement' else 'printf "# grant sage-4286; nice %s; TMPDIR %s; MOSAIC_REQUIRE_EDITOR_BUILD %s\\n" "$(nice)" "$TMPDIR" "$MOSAIC_REQUIRE_EDITOR_BUILD"; '
inner=header+'exec "$@"'
log=out/(name+'.log');command='nice -n "$((19 - $(nice)))" timeout -k 10 '+str(limit)+' bash -c '+shlex.quote(inner)+' gate-run '+shlex.join(argv)+' 2>&1 | tee '+shlex.quote(str(log))
begin=time.time();print('START',name,datetime.datetime.now(datetime.timezone.utc).isoformat(),flush=True)
r=subprocess.run(['bash','-o','pipefail','-c',command],cwd=cwd,env=env,stdout=subprocess.DEVNULL)
text=log.read_text();counts={}
for key in ['tests','pass','fail','cancelled','skipped']:
hits=re.findall(r'^[ℹ#] '+key+r' (\d+)',text,re.M)
if hits:counts[key]=int(hits[-1])
record={'name':name,'argv':argv,'cwd':cwd,'rc':r.returncode,'wallSeconds':round(time.time()-begin,3),'counts':counts,'nice':19,'tmpRoot':s['tmp'],'requireEditorBuild':'1','timeoutSeconds':limit,'ended':datetime.datetime.now(datetime.timezone.utc).isoformat()}
with (out/'results.jsonl').open('a') as f:f.write(json.dumps(record)+'\n')
print(json.dumps(record),flush=True);print('\n'.join(text.splitlines()[-20:]),flush=True)
raise SystemExit(r.returncode)
@@ -0,0 +1,489 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ row 194 T16 Settings Agents: unavailable read-only, launch follows its request, confirms, reason and refusal (17431.415001ms)
✔ row 256 T7 T8 the human page offers Delete on a creative instance, the tester page never does (1196.894618ms)
✔ row 194 T16: each agent action makes one call with only its keys, logs the user and answers the request (25.920868ms)
✔ row 194 T16: the boundary refuses before any bus call (13.773722ms)
✔ row 194 T16: read-only when send is off or no writer is wired; no route has a --send exception (6.006105ms)
✔ row 194 T16: a bus refusal names its reason and nothing changed; an unknown outcome or a bad shape is never retried (4.80649ms)
✔ row 194 T16: the request read takes one id, adds the refusal reason and refuses an unexpected shape (9.010999ms)
✔ row 194 T16: delete joins add and change on /api/instances with only revision, instance and op (4.535523ms)
✔ row 194 T16 D4.1: the tester listener launches, terminates and reads requests; regenerate, veto and delete are refused with no call (6.985924ms)
✔ row 194 N5: agents.js is served as JavaScript and index.html loads it once (2.138169ms)
✔ row 239 T6: a delete closed -revoked says the tokens may already be revoked, and outcome-unknown-revoked is an open outcome (3.807253ms)
✔ Q169 the signed-in human names a seat and stops the assistant, one bus call each, logged with the user (20.467126ms)
✔ Q169 the name and stop routes need send on, the public name, the user, the exact Origin and same-origin Fetch Metadata (10.75691ms)
✔ Q169 the name and stop routes take JSON within 4 KiB and only their own keys, all text (7.456ms)
✔ Row 167 a null body on the name and stop routes is 400 invalid-request with no write, and the next request is answered (4.218653ms)
✔ Q169 a bus refusal says nothing changed; a lost or odd answer says the change may have been made (6.353476ms)
✔ Q169 the names read is a bus read like the others (1.642206ms)
✔ 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 (6930.836448ms)
✔ a Seen click while a Board read is in flight waits for that read, then posts (1178.550164ms)
✔ 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 (5341.444261ms)
✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (1618.401633ms)
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (1723.682265ms)
✔ the README says a refused field table names the file or the key at fault, never a path (6.362709ms)
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (3554.138366ms)
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (124.549917ms)
✔ decisions route serves the roles and recent lists from the reader view (46.444658ms)
✔ credentials route serves the broker credential status from the reader view (19.448846ms)
✔ replies route serves the replies to one message from the reader view (45.806351ms)
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (55.698955ms)
✔ bus refusals map to statuses and never carry a path or a stack (27.537764ms)
✔ humanCall speaks the human transport protocol without blocking the server (1707.350793ms)
✔ busReader takes --business, else the live bus host, else refuses (257.530467ms)
✔ humanCall kills a transport that runs past its timeout (529.025642ms)
✔ serve refuses a --business value that is not a business id (463.414608ms)
✔ WebUI channel off returns 503 and named recovery for every chat route without a chat operation (38.716248ms)
✔ WebUI only selection keeps web chat enabled while retaining the old read envelope (2.635502ms)
✔ WebUI channel-disabled recovery text is fixed and never echoes transport text (1.545115ms)
✔ chat browser: list/create named projects and threads, hostile labels inert and no implicit writes (836.234777ms)
✔ chat browser: thread drafts, receipts and cursor history stay isolated; refresh never writes (1150.355116ms)
✔ chat browser: uncertain writes retain draft, ownership refusal clears it, read-only cannot send (1316.24955ms)
✔ chat browser: a late read from A cannot paint B; sign-out clears private state and stops reads (1284.31592ms)
✔ chat browser: page forward and deduplicate replies; pending and byte-limit submissions do not duplicate (953.60414ms)
✔ chat browser: scrolled history stays put, New messages and an own send return to the tail (923.155974ms)
✔ chat browser: automatic polling follows a reply without a POST or a lost draft (10953.35212ms)
✔ chat browser: display stays bounded while every forward page remains reachable (1095.68322ms)
✔ chat browser: a confirmed visible message replaces its pending receipt; malformed receipts stay unknown (963.350843ms)
✔ chat browser: a refusal elsewhere forgets private chat drafts (882.872916ms)
✔ chat browser: a late project creation receipt cannot navigate away from another thread (1050.661257ms)
✔ C2-09a picker: no silent choice, duplicate hostile labels stay inert, selection survives refresh and reaches POST (1062.688519ms)
✔ C2-09a picker: metadata failure, empty set and removed pick explain disabled state and recover without switching (924.988913ms)
✔ C2-09a picker: a single instance is chosen explicitly but read-only mode cannot create a thread (781.216726ms)
✔ 264e chooser: two sessions keep drafts, cursors, deep links and counts independent (921.256121ms)
✔ 264e clear confirmation and status never resend, force-stop or change selection (1103.840292ms)
✔ 264e new session keeps its operation key after an unknown response and uses no implicit open (1124.509192ms)
✔ 264e cancel shows before/after retirement and never starts or replays work (1599.216909ms)
✔ 272 B1: a bad-session deep link preserves the draft and lost clear operation on A (1281.091753ms)
✔ C2-09a metadata uses the human listener bus, projects labels only and refuses unauthenticated reads (23.460794ms)
✔ C2-09a metadata uses the private tester listener own bus and no human transport (5.122028ms)
✔ C2-09a metadata refuses missing or malformed reads and never echoes untrusted fields (5.504868ms)
✔ C2-09a metadata stays behind the SSO session check and a GET never refreshes session activity (4.184632ms)
✔ chat replies: free text, cites with badges, the agent label, changed since and safe links (898.153564ms)
✔ chat replies: a write notice reads as its line with a Revert; a refused revert shows its code (1170.744713ms)
✔ chat replies: a read-only Console shows the notice with Revert disabled (850.32112ms)
✔ chat status line: served commit and age, divergence, fetch error and the problems one click away (897.997997ms)
✔ chat status line: limits when the status carries them, no problems, and refusals (1133.380317ms)
✔ chat status line: a project with no repository link reads no library status (854.88335ms)
✔ chat status line: unreadable reply limits show their problem and both fallback keys (882.924328ms)
✔ chat replies: unchanged file at a different library commit and incomplete checks stay unmarked (768.120005ms)
✔ chat status line: an invalid library mapping remains visible for diagnosis (737.619858ms)
✔ chat replies: a checked notice-shaped agent message is plain text with no Revert (725.56059ms)
✔ chat replies: owner-only without a sent field is a definite Revert refusal (811.129366ms)
✔ 272 fallback: granted legacy route keeps default history, send and open without session controls (715.832685ms)
✔ 272 fallback guard: granted explicit-session route refuses without default history or writes (631.667619ms)
✔ 272 fallback guard: human-required catalog failure never enables default-thread access (663.54337ms)
✔ 272 fallback guard: timeout catalog failure never enables default-thread access (537.528495ms)
✔ 272 fallback guard: no-bus-host catalog failure never enables default-thread access (622.030953ms)
✔ 272 fallback guard: malformed catalog failure never enables default-thread access (624.379398ms)
✔ 272 fallback guard: owner route retains chooser and explicit default-session addressing (635.748276ms)
✔ chat reads map only fixed verbs, strict forward paging and pure GET (40.110234ms)
✔ chat refuses malformed and repeated query/id values before transport (7.000459ms)
✔ chat project.create: one verified write, fixed identity/class and private log (2.986922ms)
✔ chat project.create: each existing Console write fence makes zero bus calls (8.933369ms)
✔ chat project.create: refusal or lost/malformed receipt never retries or invents success (5.056788ms)
✔ chat thread.create: one verified write, fixed identity/class and private log (1.581993ms)
✔ chat thread.create: each existing Console write fence makes zero bus calls (8.197701ms)
✔ chat thread.create: refusal or lost/malformed receipt never retries or invents success (3.965463ms)
✔ chat thread.send: one verified write, fixed identity/class and private log (1.353806ms)
✔ chat thread.send: each existing Console write fence makes zero bus calls (6.740756ms)
✔ chat thread.send: refusal or lost/malformed receipt never retries or invents success (4.970022ms)
✔ chat thread.open: one verified write, fixed identity/class and private log (1.438093ms)
✔ chat thread.open: each existing Console write fence makes zero bus calls (6.978012ms)
✔ chat thread.open: refusal or lost/malformed receipt never retries or invents success (3.64445ms)
✔ chat createThread receipt requires an instance even when its id is valid (2.535217ms)
✔ chat write receipts expose only the fields belonging to their operation (3.886809ms)
✔ chat validates names, body, project and strict empty open payload (5.948932ms)
✔ chat read failures redact ownership and refuse invalid transport arrays (7.572799ms)
✔ REQ-USER-2 real broker: owned catalog, create/name/filter, isolated history and 403/404 without mutations (108.639676ms)
✔ chat repeats every POST boundary even when called behind an admitted request (1.210711ms)
✔ configured Console process injects chat through its existing human transport (201.842342ms)
✔ chat assets, GET purity, method and unknown-route refusals are explicit (15.908528ms)
✔ the chat seam names the transport it is given: the human one and the tester one both pass, anything else is a TypeError (0.594861ms)
✔ C2-09a createThread forwards an explicit instance through the existing channel (4.877049ms)
✔ C2-09a malformed instance and extra thread fields refuse before the channel write (4.621594ms)
✔ 264e session catalog/create and explicit selectors keep the human transport and strict keys (6.446ms)
✔ 264e session writes retain Origin/identity fences and explicit selector errors (3.221617ms)
✔ 264e clear envelope is projected, pending is preserved and GET never repeats the clear (5.920053ms)
✔ 264e cancel is an authenticated, confirmed human write and retains retirement distinction (7.831208ms)
✔ 272 N1: malformed clear/cancel write receipts get one redacted outcome-unknown audit line (5.831884ms)
✔ conversation view: full history, collapsed tools, hidden thinking, inert hostile content, malformed and reconcile markers (1306.1032ms)
✔ conversation view: a fork keeps the open branch, says so, and opens the new one on request (1836.119679ms)
✔ conversation view: a newer session with no readable history keeps the marker (1285.484193ms)
✔ conversation view: seats without history say so and offer no reply (1047.035848ms)
✔ J16: no controls without sso and decide, read-only reasons, terminal lines kept, and only an eligible grant gets the panel (5771.215266ms)
✔ J17: one POST per click, confirm then answer, cancel, refusals and an unknown outcome never retry (5272.178631ms)
✔ a sign-in redirect at either step signs the page out and answers nothing (1989.670657ms)
✔ a signed-in owner confirms and answers, with the session's provider, issuer and sub as the subject (213.942672ms)
✔ the listener gates: no session, a cross-origin page, a loopback Host, a GET, and a sign-out between the steps (77.826712ms)
✔ J16: without a decision transport the routes are read-only and /api/config says no; startServer refuses decide without sso or send (481.428976ms)
✔ J19: a granted user's session gets decide false and the user page config, and a decision POST stops at owner-only (54.985489ms)
✔ N4: decision.resolve has no Console route, the --send caller names no decision verb, and consoleCall takes only the two console verbs (80.240021ms)
✔ a confirmation then a resolve answers once with the held choice and digest, and a second resolve refuses (3.814984ms)
✔ deny resolves without a grant field (0.482281ms)
✔ the gates before the body: method, read-only, sign-in and same origin (0.49765ms)
✔ a bad body, id or content type refuses before the bus (0.762162ms)
✔ a choice that is neither key is decision-stale, and a malformed preview is confirmation-unavailable (0.681931ms)
✔ bus refusals map by code, and an unknown or missing code is unavailable at preview and outcome-unknown at resolve (2.862415ms)
✔ a confirmation binds the session, decision and choice, and any mismatch spends it (0.81855ms)
✔ a session that ends between the steps refuses before the bus (0.438239ms)
✔ confirmations expire after the TTL, cap at the limit without dropping a live one, and are one use (0.323839ms)
✔ Discord row through real board/WebUI: independent brake/liveness, no Reply, literal content (1065.529279ms)
✔ the editor: the list, hostile markdown that runs nothing, the draft, and each save receipt (2140.805191ms)
✔ the Console's CSP stands and the editor runs under it; hostile markdown on the load path runs and loads nothing (1354.955091ms)
✔ hostile content pasted into the editor runs and loads nothing, and a bad link target is refused in the link bar (1547.923208ms)
✔ a pasted image span is kept only for a target the link gate accepts, and a save writes only those (1266.979424ms)
✔ a switch of view reads nothing; a reload, and a trip away and back, each read the file exactly once (2940.297024ms)
✔ an edit rewrites only the block touched; a save sends the rest byte for byte; the Source view carries the draft (1214.212642ms)
✔ 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 (2204.177601ms)
✔ a link title pasted with line breaks in it is written on one line, so no HTML block comes of it (954.989036ms)
✔ an image alt pasted with line breaks in it is written on one line, so no HTML block comes of it (876.671026ms)
✔ an image title pasted with line breaks in it is written on one line, so no HTML block comes of it (876.342459ms)
✔ a code block info string pasted with line breaks in it is written on one line, so no HTML block comes of it (851.548483ms)
✔ a link title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (973.526659ms)
✔ an image title holding a quote after a backslash then a tag is written with the backslash escaped, so the title stays closed (730.164235ms)
✔ a link title holding a trailing backslash is written with the backslash escaped, so the title stays closed (705.431094ms)
✔ an image title holding a trailing backslash is written with the backslash escaped, so the title stays closed (716.592245ms)
✔ a code block info string with a backtick, pasted, is dropped on Save, so the fence stays closed (764.08523ms)
✔ a code block info string with a backtick, as a tilde fence can have, is kept as source, not rewritten without it (846.538059ms)
✔ the imported source is the tagged upstream source plus the recorded local changes, and nothing else (26.175796ms)
✔ every package names its origin and license, and NOTICE lists each (1.097644ms)
✔ the build reads only imported source and the editor's own files; the bundle is the recorded build (8.957963ms)
✔ MOSAIC_REQUIRE_EDITOR_BUILD: a missing or wrong esbuild skips without it and fails with it; a wrong binary always fails (7.544758ms)
✔ the toolchain check, run as a program, exits non-zero without esbuild when the build is required (302.664165ms)
▲ [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) (172.641917ms)
✔ wikilink round-trip: plain (9.175577ms)
✔ wikilink round-trip: labelled (1.129295ms)
✔ wikilink round-trip: heading target (1.25613ms)
✔ wikilink round-trip: list item (1.645832ms)
✔ wikilink round-trip: next to front matter (1.202128ms)
✔ wikilink round-trip: heading block and combined label (1.18696ms)
✔ wikilink round-trip: spaces, Unicode and adjacent links (2.377579ms)
✔ wikilink round-trip: reference-definition collision (2.902031ms)
✔ wikilink round-trip: inside an ordinary link (4.241793ms)
✔ wikilink round-trip: inert embed (0.63341ms)
✔ wikilinks are inline atoms and survive a neighbouring edit in every required context (1556.425084ms)
✔ code, escaped openers, malformed syntax and HTML-like targets stay outside wikilink atoms (1452.825353ms)
✔ wikilink DOM paste accepts only bounded single-line inert syntax; malformed attrs serialise as escaped text (1000.711061ms)
✔ the editor routes serve the built files with their types and no cache (46.893995ms)
✔ open and save with no edit writes the same bytes: the goals review and a doc with every element (21.572081ms)
✔ open and save with no edit writes the same bytes: every repository doc under docs/ and spec/ (2160.196477ms)
✔ the editor source builds markup only with DOM calls, and the bundle has no eval (4.311024ms)
✔ the link gate and the image rule are the preview's (1.175245ms)
✔ R6 G1 a granted user signs in, gets the user page and reaches the broker as itself (172.773172ms)
▶ R6 G2 a subject with no live grant in this business is refused subject-unknown
✔ a listed user with no grant (92.602053ms)
✔ a grant in another business (104.491345ms)
✔ an expired grant (114.256083ms)
✔ another user's grant (55.98006ms)
✔ a sub in no file (64.883816ms)
✔ a file the loader refuses (90.210241ms)
✔ R6 G2 a subject with no live grant in this business is refused subject-unknown (523.697455ms)
▶ R6 G3 a revoke counts on the next request: 401 and the session is gone
✔ grant removed (62.972504ms)
✔ subject removed (93.888865ms)
✔ grant expired (106.472694ms)
✔ file now refused (112.582013ms)
✔ R6 G3 a revoke counts on the next request: 401 and the session is gone (377.178827ms)
✔ R6 G4 every owner route answers 403 owner-only before any bus call (127.865636ms)
✔ R6 G5 the bus refuses every owner verb over the user transport on its own (123.119351ms)
✔ R6 G9 a user chat sends only the plugins read over the owner transport (130.557956ms)
✔ R6 G6 the user page holds the notice word for word (75.808533ms)
✔ R6 G7 the hub label and plain peer links render from config on both pages (984.121102ms)
✔ R6 G8 userCall spawns user-cli directly with the user nonce, no human nonce, and the user request (51.702992ms)
✔ return flow through the conversation view: send, tool call, delayed result, peer message, exact long answers, relaunch (52842.755773ms)
✔ row 165 Settings: role instances read, add with a restart named, change without one, a refusal keeps the draft (2069.883646ms)
✔ row 165 Console: the signed-in human adds an instance through a real broker; validate exits 0, the log names the human and no restart is needed (row 194) (261.303304ms)
✔ row 165 Console: the instance write needs send on, the public name, the user, the exact Origin and same-origin Fetch Metadata (10.054646ms)
✔ row 165 Console: the instance write takes JSON within 16 KiB and only its own keys; holder, credentials and an actor are refused (9.747938ms)
✔ row 165 Console: a bus refusal says nothing changed; a lost or odd answer says the change may have been made (15.879235ms)
✔ row 165 Console: the instances read takes no arguments, needs a bus and refuses an answer without a revision (6.37516ms)
✔ C2-04 CLI: both listener callback pairs dispatch library verbs with their own transport (208.823243ms)
✔ a signed-in same-origin revert reaches exactly one library.revert and returns the new commit (25.090439ms)
✔ a revert needs send, the named Host, the user, the exact Origin and same-origin Fetch Metadata (8.67138ms)
✔ a revert takes a project and a 40-hex commit, nothing else, before the bus is asked (7.475126ms)
✔ a bus refusal is reported as not reverted with its code; before C2-02 that is the verb refusal (9.725112ms)
✔ a revert whose answer is lost or unusable is reported unknown and is never retried (7.701918ms)
✔ the status read takes one project query and answers the bus result for that project (4.432751ms)
✔ a status answer for another project or of the wrong shape is refused; a refusal keeps its status (9.479692ms)
✔ the status read needs no send; a read-only Console still has no revert (2.316938ms)
✔ library routes are the owner's: a granted user is refused them, and the tester never reverts (0.874467ms)
✔ the page gets the one library renderer, byte for byte, as a JavaScript module (1.946831ms)
✔ a revert receipt for another project is unknown and is never retried (1.698516ms)
✔ a granted-user HTTP session cannot reach owner library callbacks (2.11729ms)
✔ a configured revert callback remains unreachable when send is off (1.619535ms)
✔ row 254: each library sync code maps to its status (0.875525ms)
✔ REQ-LIMIT-3 REQ-LIMIT-4 Settings shows token limits counted, not enforced and check failed; Reset posts one path; a save keeps the token limits (1283.613274ms)
✔ Row 167 with an assistant draft open, a token limit reset gives the assistant submit its revision (951.959609ms)
✔ REQ-LIMIT-3 limits read returns only the token rows; no query or write is accepted (36.003397ms)
✔ REQ-LIMIT-3 a limits answer without a token list is refused, not shown as no limits (11.374745ms)
2026-10-24T22:11:16.186Z settings user="jason" changed
✔ REQ-LIMIT-3 a Settings reset reaches the human write with its paths; a reset alone is enough (7.465903ms)
✔ REQ-LIMIT-3 the Console reader asks the bus limits verb with no arguments (0.460687ms)
✔ the preview source names none of the four string-to-markup sinks (1.2239ms)
✔ headings, paragraphs, emphasis and inline code render (1.52146ms)
✔ lists, block quotes and code blocks render (0.569678ms)
✔ a link is made for http, https and relative targets, with rel and the target shown (1.167267ms)
✔ a link with any other scheme, or an evasion of the scheme, stays source text (1.071465ms)
✔ an image shows alt text and URL, is never an img element and never loads (0.176798ms)
✔ raw HTML, entities and unsupported blocks show as source text, never as elements (0.390592ms)
✔ markup inside code and inside link text stays text (0.199256ms)
✔ hostile and pathological input stays within its look-ahead budget and under the nesting cap (48.760884ms)
✔ trailing blanks and closing hashes are cut by a walk from the end, not a regex that retries inside a blank run (35.531804ms)
✔ a link opener with no closer searches at most SPAN characters ahead (188.875275ms)
✔ the look-ahead work of one render is a fixed multiple of the text, whatever the opener (848.275978ms)
✔ past the budget an opener is source text, through the path all other text takes (17.235886ms)
✔ a normal 200 KiB document renders exactly as it did without a budget, and spends little of it (25.044171ms)
✔ a line separator inside a heading, a list item or a fence line does not end the marker line (0.595681ms)
✔ a thematic-break line is a paragraph, every other marker line opens a list (0.433323ms)
✔ every short line over space, tab, - * _ and a letter is a break exactly when the old regex said so (48.393695ms)
✔ one line of marks does not throw, at 4 MiB, whatever the mark or the spacing (7867.726504ms)
✔ CRLF and tabs are read like LF and spaces; empty input renders nothing (0.182135ms)
✔ messages HTTP read pages and preserves metadata; bad arguments refuse before a read; other reads unchanged (114.721485ms)
✔ 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 (1227.204744ms)
✔ Messages nav count polls on Tasks and Board and clears on a Board refusal; messages 403 refuses local pages (2003.078514ms)
✔ copy writes the Console paths at the full id, read-only, and leaves an existing copy alone (1488.436066ms)
✔ copy refuses a commit off refactor, an unknown one, a worktree and a bad copies directory (1597.975802ms)
✔ copy writes nothing when an archived path is missing at the commit (579.510216ms)
✔ a copy that loses the rename race leaves no read-only temp directory behind (673.135629ms)
✔ a copy whose rename fails with no target refuses, writes no copy and leaves no temp directory (710.289827ms)
✔ a copy that meets a target holding files says exists: and moves nothing into it (732.806597ms)
✔ a copy that meets an empty target directory replaces it by rename, not by moving into it (612.835517ms)
✔ serve runs from a copy: /healthz 200, the config check, roles and RELEASE from the copy, the queue from --checkout (1149.224132ms)
✔ serve refuses a --checkout that is not an absolute directory path (375.216061ms)
✔ consoleReads runs the queue read under queueRoot and reads RELEASE under root (69.061909ms)
✔ preview options are all three or none, and each is checked (11.596651ms)
✔ the CLI refuses a partial or invalid preview flag set at start (945.562554ms)
✔ the CLI with all three flags serves the preview mode (193.560054ms)
✔ a request for the public name needs the header equal to the user id, else 401 and nothing read (21.565508ms)
✔ the header name matches without regard to case, and the value compare is exact (3.95808ms)
✔ the public name with the header reads the bus views, and the Host and Origin are checked first (33.216972ms)
✔ in preview mode every write answers 403 read-only, from the public name and loopback, and reaches nothing (13.946391ms)
✔ loopback requests are unchanged in preview mode, and the bus views work with the board down (21.317768ms)
✔ a proxy that rewrites Host to the loopback port gets 403 on its first request, whatever the user (20.422653ms)
✔ a repeated Host is 400 before any other check, in preview mode and without it (11.215391ms)
✔ without the preview flags the public name is refused and writes still reach the board (5.587922ms)
✔ processing browser: keyboard Stop, confirmed Resume, unknown outcome and persistent banner (718.01676ms)
✔ processing browser: Q175 read-only interim keeps both writes disabled and names CLI recovery at 320px (695.148762ms)
✔ processing browser: sign-out from config redirect blocks later refresh and writes (824.165228ms)
✔ processing browser: sign-out from state redirect blocks later refresh and writes (860.253673ms)
✔ processing browser: sign-out from write redirect blocks later refresh and writes (806.441355ms)
✔ processing browser: sign-out from config sign-in required blocks later refresh and writes (864.004948ms)
✔ processing browser: sign-out from state sign-in required blocks later refresh and writes (886.919472ms)
✔ processing browser: sign-out from write sign-in required blocks later refresh and writes (960.067268ms)
ROW191_LAYOUT {"width":400,"height":1000,"controls":97,"tree":324.0625,"main":1450.703125,"top":181.5,"bottom":217.5,"barBottom":129,"projectsTop":352.59375,"order":"0","visible":true}
ROW191_LAYOUT {"width":1440,"height":1000,"controls":127,"tree":914,"main":914,"top":135.5,"bottom":171.5,"barBottom":53,"projectsTop":636.59375,"order":"0","visible":true}
ROW191_LAYOUT {"width":1440,"height":420,"controls":127,"tree":334,"main":907.734375,"top":135.5,"bottom":171.5,"barBottom":53,"projectsTop":636.59375,"order":"0","visible":true}
ROW191_LAYOUT {"width":800,"height":420,"controls":127,"tree":334,"main":1131.65625,"top":135.5,"bottom":171.5,"barBottom":53,"projectsTop":618.59375,"order":"0","visible":true}
✔ processing browser: static nav controls keep Stop visible, ordered and keyboard reachable (764.42746ms)
✔ interim read-only controls show CLI recovery, disable both writes and retain a halted banner across views (8.191348ms)
✔ Stop sends one empty halt and Resume confirms before sending the displayed generation (2.947603ms)
✔ a cancelled resume never calls the writer (1.219134ms)
✔ unknown writes are not retried or displayed as success and partial stops remain explicit (2.112188ms)
✔ the persistent shell loads the control outside route-specific content with accessible status and native buttons (0.471441ms)
✔ read-only Console can read processing state but neither human control writes without --send (23.636966ms)
✔ Console halt and generation-bound resume use only the management writer and keep partial stops honest (4.923203ms)
✔ processing write fences refuse cross-site, wrong origin, unnamed host, duplicate identity and bad payload before writer (7.499038ms)
✔ tester cannot invoke either control writer and failures never echo backend text (5.000005ms)
✔ processing writes use the existing SSO signer and still require --send and same-origin (5.29471ms)
✔ processing handler independently refuses wrong origin and cross-site before its writer (0.741847ms)
✔ a signed-in same-origin save reaches exactly one human operation and returns the new commit (22.355345ms)
✔ a save needs send, the named Host, the user, the exact Origin and same-origin Fetch Metadata (8.492884ms)
✔ a save validates JSON, strict keys, text values and the 1 MiB body before the bus is asked (19.453599ms)
✔ a body that is JSON but not an object is refused 400, not thrown on (5.777613ms)
✔ the 1 MiB limit is this route only; Settings and messages keep 16 KiB (2.581226ms)
✔ a bus refusal is reported as not saved with its own status; stale-base tells the user to reload (6.148622ms)
✔ a save whose answer is lost or unusable is reported unknown and is never retried (3.873987ms)
✔ the file list and one file read take strict queries and arrive in the expected shape (4.947705ms)
✔ reads work without --send; an unusable bus answer is a bad response, a refusal keeps its status (3.061043ms)
✔ /api/config says edit only where a save can pass (2.093648ms)
✔ a repository-name project refusal is an HTTP conflict (0.589542ms)
✔ proof startup refuses partial flags non-preview and invalid fixture file metadata or bytes (1372.358151ms)
✔ serve argv carries only fixture proof path and header; startup explicitly reports proof on or off (296.532456ms)
✔ CLI applies proof on the main listener and rejects that header on its tester listener (281.757503ms)
✔ proxy proof admits named reads and sends, reads its fixture once, and never exposes the value (34.129527ms)
✔ proxy proof refuses missing wrong short or repeated proof before auth and before any read (10.977149ms)
✔ proxy proof header is refused on other Hosts and on the tester listener (5.374102ms)
✔ proof options reject unsafe or colliding header names without disclosing file contents (0.797857ms)
✔ redactor: config, dataRoot, any absolute path, Discord ids and the JSON parser quote (1.703483ms)
✔ credential state from the date alone, as the bus states it (0.208011ms)
✔ queue: rows, one row, ids and methods, notes; no path or id from a row (414.58832ms)
✔ queue: a refused read fails closed with the store's text, redacted (210.374206ms)
✔ queue: a store that fails to load, or a child that dies, gives a fixed message with no path or stack (858.43953ms)
✔ business: names, vars on the allowlist, authority, credential metadata only (17.500331ms)
✔ business: missing or invalid file refuses with the module's text, redacted (8.383354ms)
✔ business without --business: the live bus host, else no-bus-host; no system config: not-configured (8.244873ms)
✔ settings: release, board, loopback address, notifier binding name only (129.222379ms)
✔ task fields: the committed table with no reads configured, GET only; a bad table refuses with no path (18.325509ms)
✔ bus-status: a refused boot shows reason, file and last good load; a live host or an ok boot clears it (8.620563ms)
✔ both presentations replace old activity with relaunch notice, label retained history, then resume after new activity (912.269858ms)
✔ reported return flow and relative Age: reply sent from the inspector, then the new answer appears there without manual refresh (20871.244615ms)
organization: {"event":"reload-needs-restart","business":"acme"}
organization: {"event":"reload-needs-restart","business":"acme"}
✔ row 65 Settings: the routing table lists every instance, saves a harness, model, thinking and fallback to the file, and keeps the draft on each refusal (1456.057342ms)
organization: {"event":"reload-needs-restart","business":"acme"}
✔ row 65 Console: the signed-in human saves a route through a real broker; each refusal says nothing changed and leaves the file and the log (124.733405ms)
✔ row 65 Console: the routes write needs send on, a writer, the public name, the user, the exact Origin and same-origin Fetch Metadata (7.984846ms)
✔ row 65 Console: the routes write takes JSON within 16 KiB with a revision and routes only; an actor is refused and routes are never logged (9.931147ms)
✔ row 65 Console: a bus refusal maps to its status and says nothing changed; a lost or odd answer says the change may have been made (24.176558ms)
✔ row 65 Console: the routes read takes no arguments, needs a bus and refuses an odd answer (7.91025ms)
✔ 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 (2577.785116ms)
✔ a sent receipt lists its replies as the page refreshes, oldest first and capped, and marks none delivered or read (11216.600397ms)
✔ startServer takes send only as a function and only with the preview mode (8.305533ms)
✔ the CLI refuses --send without the preview flags, and without a configured bus (622.972543ms)
✔ the CLI with --send and a configured bus sends through the human transport and logs one line (188.71069ms)
✔ without --send the route is read-only like every other write, and config says no send (10.412469ms)
✔ with --send every other write is still 403 read-only, and nothing reaches the board or bus (8.881331ms)
✔ config says send only on the public name with --send on (4.624696ms)
✔ a send without the signed-in user is 401 and is neither sent nor logged, loopback included (6.736458ms)
✔ each request check refuses before anything is sent, and logs the refusal without the body (23.776724ms)
✔ a send passes exactly to, body and in_reply_to, answers the id, and logs it (3.435425ms)
✔ a crafted role name cannot forge a log line (2.520457ms)
✔ a bus refusal is not sent, with its status; an outcome the bus could not confirm is unknown and never retried (8.782419ms)
✔ through the human transport the request is exactly the business, message.send and the keys (100.281561ms)
✔ against a real broker: the message is written once as a human send, and its refusals map (31.579317ms)
✔ loopback host and board origin fail closed (6.349957ms)
✔ real board fixture passes through WebUI; assets and isolated seen/reply work (85.238919ms)
✔ proxy preserves exact request bytes, status and receipt, rejects forms and malformed JSON, never follows redirect (49.199627ms)
✔ unreachable board reports URL; CLI rejects unsupported options (479.978274ms)
✔ tester service render carries the tester port alongside existing flags (134.959305ms)
✔ tester service refuses forwarded 7332 even with another main port (111.314937ms)
✔ tester service invalid ports refuse render and install with exit 4 and leave the unit alone (1140.951065ms)
✔ tester service counts the digits as written before it strips leading zeros (106.037477ms)
✔ tester service install and status show the tester port without changing send reporting (550.730447ms)
✔ render prints the unit without the preview flags (50.043501ms)
✔ render carries every serve flag, the preview set included (48.3057ms)
✔ a partial preview set is refused (116.014202ms)
✔ a value the unit cannot carry is refused, for every flag (2672.644014ms)
✔ the rendered unit names none of the human proof agent markers and sets no agent variable (239.356908ms)
✔ install into --dir with --no-reload writes the file whole, then reports unchanged (287.45407ms)
✔ install without --no-reload runs daemon-reload and nothing that starts the unit (62.23267ms)
✔ uninstall refuses while the unit is running, with or without --no-reload, and removes it once it is not (564.150662ms)
✔ status prints the unit state and GET /healthz on the installed port (418.000891ms)
✔ usage: an unknown verb or flag, and start or enable, exit 4 (748.152129ms)
✔ without --send, render is the template with its placeholders filled, byte for byte (191.946387ms)
✔ render --send with the preview set ends ExecStart with --send and changes nothing else (314.493899ms)
✔ --send without the whole preview set is refused and writes nothing (731.918561ms)
✔ install --send into --dir with --no-reload writes the sending unit, and status says whether it sends (513.043402ms)
✔ uninstall and status take no --send (164.863424ms)
✔ install refuses while the unit is running, in any state but inactive or failed, and changes nothing (697.765957ms)
✔ when the state read fails, install and uninstall refuse with one line and change nothing (238.392922ms)
✔ install needs --copy naming a copy that exists, and refuses outside the canonical checkout without --allow-worktree (355.132277ms)
✔ install refuses unless the bus unit runs from the same copy, naming both paths, and changes nothing (735.389915ms)
✔ render --copy runs the copy and reads the queue in the checkout; without --copy the unit is unchanged (114.218835ms)
✔ the uid header takes only an Authentik uid; the username header still takes a username (2531.254234ms)
✔ a preview value cannot start with - or . (295.955168ms)
✔ status names the copy and whether refactor has moved past it, and says when the unit runs from no copy (877.622422ms)
✔ proxy proof render carries both flags but never opens the fixture file (89.223556ms)
✔ proxy proof render refuses incomplete non-preview missing unsafe-mode and repo/copy paths (565.728452ms)
✔ proxy proof status retains send and tester reporting with both proof flags (170.319152ms)
✔ row196 socket flag renders only for supporting targets and refuses mixed transports (114.439527ms)
✔ Settings form shows every scope and held role; gated save, exact payload, retained draft and no automatic retry (1360.394114ms)
✔ Q169 Assistant section: gated, changed fields only, name and stop posts, retained draft and no automatic retry (1339.787079ms)
✔ Row 167 a refused names read gives the refused usage page; another names failure keeps the Assistant section (1001.13625ms)
✔ Row 167 with a limits draft open, an assistant save gives the limits submit its revision and the typed limit stays (961.46178ms)
✔ Row 167 with an assistant draft open, a launch save gives the assistant submit its revision, and reload reads the current one (919.499255ms)
2026-10-24T22:12:18.574Z settings user="jason" changed
✔ REQ-WEB-1 signed-in same-origin Settings write reaches exactly one human operation (20.814698ms)
✔ REQ-WEB-1 Settings writes require enabled send, named Host, identity, exact Origin and same-origin Fetch Metadata (7.338296ms)
✔ REQ-WEB-1 Settings validates JSON, size, revision and strict writable keys before broker call (5.704514ms)
✔ Q169 a Console change of the assistant reaches the human operation unchanged, and the log names the signed-in user (3.12922ms)
✔ tokens.css and icons.svg are byte copies of docs/design (2.466959ms)
✔ JetBrains Mono files match the digests in their sources file, with the OFL text (2.202837ms)
✔ shipped strings are unchanged, and the web keeps its write boundary (3.483166ms)
ROW191_LAYOUT {"width":1440,"height":1000,"controls":212.5,"tree":914,"main":914}
✔ shell in a browser: System default, seeded states, 400px, focus and the Ctrl+K palette (5724.337234ms)
✔ five states on Board, Inbox, Tasks, Agents and Trail (2781.461551ms)
✔ a 401 sign-in required on each fetch path signs the page out with a sign-in link and stops the refresh; another 401 stays an error (5951.403032ms)
✔ the Sign out form shows only when /api/config says sso, and posts to /auth/logout (1240.276745ms)
✔ positive: an RS256 provider signs in and sends one message, and the session reads (144.348303ms)
✔ positive: an ES256 provider signs in and sends (20.592669ms)
✔ positive: two providers each sign in their own subjects, and one provider's subject is unknown to the other (61.371982ms)
✔ 1: a forged x-authentik header without a cookie is 401 on the API and a sign-in redirect on a page (43.593455ms)
✔ 2: an HS256 ID token keyed with the client secret and a real RSA kid is refused (73.089469ms)
✔ 3: a wrong aud, and an aud list holding another client with no azp, are refused (33.086381ms)
✔ 4: a token that expired 10 minutes ago is refused (63.584637ms)
✔ 5: another issuer, and the issuer without its trailing slash, are refused (48.311745ms)
✔ 6: a nonce mismatch and a missing nonce are refused (27.913813ms)
✔ 7: state mismatch, no login cookie, a replay, an expired record and two login cookies are refused (67.213632ms)
✔ 8: the token request carries the PKCE verifier, and the OP refuses a wrong one (46.450232ms)
✔ 9: alg none, a changed payload under a real kid, and an unknown kid even after the refetch are refused (208.50079ms)
✔ 10: a valid token for a subject not configured is 403 with one subject-unknown line (114.43639ms)
✔ 11: start refusals: HS or none algs, reserved names, HS-only discovery, an empty JWKS, no S256, an issuer mismatch, a short RSA key (276.730279ms)
✔ 11: slot files: a symlink, mode 0644, mode 0640 and a file under the repository are refused, and no message holds the value (2.126877ms)
✔ 11: the CLI refuses --sso with the old flags and without console.sso, and starts with a good one (1317.326217ms)
✔ 12: under --sso the tester listener refuses each kind of sign-in, has no /auth, and startServer refuses tester with sso (61.815926ms)
✔ 13: idle and absolute expiry, logout then reuse, a cross-origin logout, and background reads that don't keep a session (112.338051ms)
✔ 13: the CSP lets the Sign out form reach the provider's end-session origin, and only under --sso (136.264868ms)
✔ 14: open redirects land on /, and a path on the Console lands there (125.077087ms)
✔ 15: a callback for A carrying B's code and iss, and a provider= query, is refused (114.160441ms)
✔ 16: a provider with RS256 and ES256 takes either, and refuses PS256 with a usable PS256 key in the JWKS (111.659664ms)
✔ 17: 33 started logins leave 32 records, and the first one's callback finds none (59.820684ms)
✔ 18: after a key rotation a sign-in works through one refetch, and the removed kid is refused (119.662583ms)
✔ 20 and 21: the store holds no raw session id, and the cookie strings are exact (36.447359ms)
✔ 22: a loopback Host is 403 on a page, a read and a write; /healthz on loopback is 200; a redirect_uri never comes from the Host (64.398495ms)
✔ 23: a provider down at start leaves the Console up and 503, and the retry makes sign-in work (225.671097ms)
✔ 19: no captured log line holds a token, code, state, nonce, verifier, client secret or session id (4.654356ms)
✔ tester Console banner exposes only instance route and name editors and saves a route as tester (1004.885424ms)
✔ row 177: the tester Console chat composer is enabled and a send shows in its own thread (882.644221ms)
✔ tester-port validates range tunnel main port and requires configured bus before listening (1166.339822ms)
✔ CLI tester listener binds a private Unix socket and spawns TESTER_CLI for every Console bus read (4245.099179ms)
✔ main listener refuses x-mosaic-tester before any board or bus read for every Host (28.708091ms)
✔ tester listener rejects preview binding and requires its fixed logical Host and no proxy auth header (145.683675ms)
✔ tester listener writes only instances routes and names with tester receipts and actor (158.995936ms)
✔ tester listener refuses every human-only write with no bus call (108.260486ms)
✔ tester-off and tester-required reads return HTTP 403 (109.020476ms)
✔ tester credentials routes and committed project reads keep secrets and paths bounded (194.378994ms)
✔ row 177 W1: the tester chat makes, sends to, opens and reads its own thread as tester (30.75864ms)
✔ row 177 W2: tester chat writes refuse a missing or foreign Origin, cross-site, text/plain and the proxy header with no bus call (16.544702ms)
✔ row 177 W3: the human thread through the tester chat is thread-not-owned, and bus.tester off answers tester-off (38.09277ms)
✔ row 177 W4: the main listener refuses x-mosaic-tester on chat reads and writes before the chat (3.174145ms)
✔ Row 252: the tester listener has no decision answer routes, and its config never offers them (115.156837ms)
✔ private tester HTTP serves on 0600 socket in 0700 parent and fixed origin (92.027264ms)
✔ private tester refuses symlink, unsafe parent and long path without repairs (1.361981ms)
✔ tester cleanup must leave a replacement inode untouched (1.910765ms)
✔ row278 browser lists held claims and release preserves role rows and totals (847.359938ms)
✔ row278 browser claims 403 stays local and role section remains byte-equal (894.870976ms)
✔ row278 browser renders only four escaped claim fields and never instance or other extras (843.980149ms)
✔ row278 browser sign-out removes claims and prevents reuse of cached answers (893.668522ms)
✔ row278 tester browser keeps role rows without requesting the owner claims section (787.543169ms)
✔ row278 browser discards a late claims answer after sign-out (921.720447ms)
✔ row278 HTTP read returns held claims without send and refuses arguments before the bus (53.230904ms)
✔ row278 HTTP read preserves bus refusal and rejects a malformed result (16.041697ms)
✔ row278 tester socket refuses thread claims explicitly with zero bus calls (7.920469ms)
✔ row278 Console adapter calls argument-free thread.claims through the normal transport (234.138591ms)
✔ 193d HTTP shares use the caller, plain/shared lists, exact args and write fences (101.289213ms)
✔ 193d config supplies only the signed-in user live collaborator scopes and updates on downgrade (42.033352ms)
✔ 193d viewer UI has no composer, resume, share, session mutations or create controls (924.760539ms)
✔ 193d mixed grants keep viewer project read-only and collaborator own thread writable; downgrade hides controls (953.979736ms)
✔ 193d owner has share controls on own threads and shared threads remain read-only (790.551799ms)
✔ 193d bypassed UI checks still reach a refusing bus for every viewer write (788.861611ms)
✔ 193d collaborator shares stay read-only and never expose reshare or wake controls (581.454324ms)
✔ REQ-LIMIT-4 Settings shows all token kinds and unknown turns beside every total, as a read-only separate section (995.953487ms)
✔ REQ-WEB-1 usage read keeps unknown counts and each token kind; no query or write is accepted (45.120159ms)
✔ REQ-WEB-1 malformed usage is refused instead of shown as zero (8.503528ms)
✔ R6-N1 with the userRoute gate open, a user session reaches no owner option over HTTP (253.639899ms)
✔ Queue, Business and Settings in their five states, with no move button (3486.52394ms)
✔ seeded secrets, Discord ids and paths reach no response and no page; business refusals in the module's words (1584.02624ms)
✔ the server log names no config path when the system config refuses (369.222452ms)
ℹ tests 455
ℹ suites 0
ℹ pass 455
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 174122.853398
@@ -0,0 +1,69 @@
tests/agents-browser.test.mjs
tests/agents.test.mjs
tests/assistant.test.mjs
tests/board-held.test.mjs
tests/browser-edge.test.mjs
tests/browser.test.mjs
tests/bus-browser.test.mjs
tests/bus.test.mjs
tests/channel-chat.test.mjs
tests/chat-browser.test.mjs
tests/chat-instances.test.mjs
tests/chat-replies-browser.test.mjs
tests/chat-sessions-access.test.mjs
tests/chat.test.mjs
tests/conversation.test.mjs
tests/decide-browser.test.mjs
tests/decide-sso.test.mjs
tests/decision-http.test.mjs
tests/discord.test.mjs
tests/docs-browser.test.mjs
tests/editor-browser.test.mjs
tests/editor-provenance.test.mjs
tests/editor-wikilink.test.mjs
tests/editor.test.mjs
tests/granted-user.test.mjs
tests/history-return-flow.test.mjs
tests/instances-browser.test.mjs
tests/instances.test.mjs
tests/library-cli.test.mjs
tests/library-routes.test.mjs
tests/library-status.test.mjs
tests/limits-browser.test.mjs
tests/limits-route.test.mjs
tests/markdown-preview.test.mjs
tests/messages.test.mjs
tests/pinned-copy.test.mjs
tests/preview.test.mjs
tests/processing-browser.test.mjs
tests/processing-ui.test.mjs
tests/processing.test.mjs
tests/project-file.test.mjs
tests/project-name-repo.test.mjs
tests/proof-cli.test.mjs
tests/proof.test.mjs
tests/reads.test.mjs
tests/relaunch.test.mjs
tests/return-flow.test.mjs
tests/routes-browser.test.mjs
tests/routes.test.mjs
tests/send-browser.test.mjs
tests/send.test.mjs
tests/serve.test.mjs
tests/service.test.mjs
tests/settings-form.test.mjs
tests/settings-write.test.mjs
tests/shell.test.mjs
tests/sso-browser.test.mjs
tests/sso.test.mjs
tests/tester-browser.test.mjs
tests/tester-cli.test.mjs
tests/tester-listener.test.mjs
tests/tester-socket.test.mjs
tests/thread-claims-browser.test.mjs
tests/thread-claims.test.mjs
tests/thread-sharing.test.mjs
tests/usage-browser.test.mjs
tests/usage.test.mjs
tests/user-option-swap.test.mjs
tests/views.test.mjs
@@ -0,0 +1,38 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ row 194 T16 Settings Agents: unavailable read-only, launch follows its request, confirms, reason and refusal (13526.912326ms)
✔ row 256 T7 T8 the human page offers Delete on a creative instance, the tester page never does (917.27163ms)
✔ row 194 T16: each agent action makes one call with only its keys, logs the user and answers the request (26.28546ms)
✔ row 194 T16: the boundary refuses before any bus call (13.102463ms)
✔ row 194 T16: read-only when send is off or no writer is wired; no route has a --send exception (6.394437ms)
✔ row 194 T16: a bus refusal names its reason and nothing changed; an unknown outcome or a bad shape is never retried (4.282632ms)
✔ row 194 T16: the request read takes one id, adds the refusal reason and refuses an unexpected shape (5.922485ms)
✔ row 194 T16: delete joins add and change on /api/instances with only revision, instance and op (2.724511ms)
✔ row 194 T16 D4.1: the tester listener launches, terminates and reads requests; regenerate, veto and delete are refused with no call (4.723645ms)
✔ row 194 N5: agents.js is served as JavaScript and index.html loads it once (1.551741ms)
✔ row 239 T6: a delete closed -revoked says the tokens may already be revoked, and outcome-unknown-revoked is an open outcome (2.702385ms)
✔ 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 (3264.641316ms)
✔ a Seen click while a Board read is in flight waits for that read, then posts (1197.183961ms)
✔ 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 (5156.528249ms)
✔ browser edge states: loading, empty, malformed, stale, hostile/long values, in-flight reply and appearance fallback (1309.276425ms)
Rendered contrast: {"failures":[],"count":330,"lowest":4.504658476260286}
✔ served Console browser: real board fixtures, keyboard, drafts, receipts, themes, 320px and failures (1518.992742ms)
✔ the README says a refused field table names the file or the key at fault, never a path (104.682461ms)
✔ S5 pages in a browser: real broker rows, inert text, Copy, routes, failures, layout and no writes (3538.625499ms)
✔ bus routes serve the four reads from the reader view, unescaped JSON for the page to escape (83.53196ms)
✔ decisions route serves the roles and recent lists from the reader view (37.23684ms)
✔ credentials route serves the broker credential status from the reader view (13.661469ms)
✔ replies route serves the replies to one message from the reader view (37.146766ms)
✔ bus routes are GET-only, have no write verb, and keep the same-origin checks (57.970332ms)
✔ bus refusals map to statuses and never carry a path or a stack (25.682155ms)
✔ humanCall speaks the human transport protocol without blocking the server (1672.176975ms)
✔ busReader takes --business, else the live bus host, else refuses (188.376745ms)
✔ humanCall kills a transport that runs past its timeout (527.833381ms)
✔ serve refuses a --business value that is not a business id (331.000231ms)
ℹ tests 28
ℹ suites 0
ℹ pass 28
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 17747.118568
@@ -0,0 +1,22 @@
# grant sage-4286; nice 19; TMPDIR /mnt/storage/scratch/tmp/g49X; MOSAIC_REQUIRE_EDITOR_BUILD 1
✔ wikilink round-trip: plain (5.135516ms)
✔ wikilink round-trip: labelled (0.532763ms)
✔ wikilink round-trip: heading target (0.47601ms)
✔ wikilink round-trip: list item (0.674052ms)
✔ wikilink round-trip: next to front matter (0.620153ms)
✔ wikilink round-trip: heading block and combined label (0.718517ms)
✔ wikilink round-trip: spaces, Unicode and adjacent links (0.543729ms)
✔ wikilink round-trip: reference-definition collision (1.267657ms)
✔ wikilink round-trip: inside an ordinary link (0.565479ms)
✔ wikilink round-trip: inert embed (0.373131ms)
✔ wikilinks are inline atoms and survive a neighbouring edit in every required context (773.2922ms)
✔ code, escaped openers, malformed syntax and HTML-like targets stay outside wikilink atoms (686.084659ms)
✔ wikilink DOM paste accepts only bounded single-line inert syntax; malformed attrs serialise as escaped text (675.536422ms)
ℹ tests 13
ℹ suites 0
ℹ pass 13
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2305.540306
@@ -0,0 +1,68 @@
{
"base": "487500a16f4ab5902c318509fdec6acc56a543ca",
"bundleSha256": "9c881b13740fae2408717ad75fa1d85bfcfe3fa8b3af0f1b3f2e706c90e80fee",
"measuredAt": "2026-10-24T22:07:22.210Z",
"allEqual": true,
"results": [
{
"name": "plain",
"input": "[[a]]\n",
"output": "[[a]]\n",
"equal": true
},
{
"name": "labelled",
"input": "[[a|b]]\n",
"output": "[[a|b]]\n",
"equal": true
},
{
"name": "heading target",
"input": "[[a#h]]\n",
"output": "[[a#h]]\n",
"equal": true
},
{
"name": "list item",
"input": "- [[a]]\n",
"output": "- [[a]]\n",
"equal": true
},
{
"name": "next to front matter",
"input": "---\nrelated: \"[[metadata]]\"\n---\n\n[[a]]\n",
"output": "---\nrelated: \"[[metadata]]\"\n---\n\n[[a]]\n",
"equal": true
},
{
"name": "heading block and combined label",
"input": "# See [[a#h|Title]]\n",
"output": "# See [[a#h|Title]]\n",
"equal": true
},
{
"name": "spaces, Unicode and adjacent links",
"input": "See [[ Héllo there # A heading | a label ]][[next]]\n",
"output": "See [[ Héllo there # A heading | a label ]][[next]]\n",
"equal": true
},
{
"name": "reference-definition collision",
"input": "[[a]]\n\n[a]: u\n",
"output": "[[a]]\n\n[a]: u\n",
"equal": true
},
{
"name": "inside an ordinary link",
"input": "[x [[a]]](u)\n",
"output": "[x [[a]]](u)\n",
"equal": true
},
{
"name": "inert embed",
"input": "![[cover.png]]\n",
"output": "![[cover.png]]\n",
"equal": true
}
]
}