Evidence
Most rows below were run on macOS 27.0.1, arm64 (M4 Air), Bun 1.4.4+38afee6c8, against crust 0.1.12 through 0.1.20, between 2026-11-12 and 2026-11-14. The binary-size and idle-memory rows were re-measured on 0.1.26 on 2026-11-18 and say so. Each row names the script or probe that produced it; a row without one is not here.
Window
| what was run | result |
|---|---|
bun run e2e:window, 64 assertions | four windows through window.create: relative url resolved against the open window's document, absolute bridged URL loaded with the command's ?window=<label> and its own token, live label refused with duplicate-label, closed label re-created with its page loading again, invalid-size as a fraction and as zero, invalid-url; plus the page's own innerWidth/innerHeight after the window grew to 1200x760 and shrank to 640x460 |
ten launches of the built examples/hello bundle, Contents/MacOS path (0.1.12–0.1.20, 2026-11-12 to 11-14) | window ordered in at 188.7 ms best, 203.8 ms median, 790.1 ms worst of ten; page's first invoke answered 435.3 ms best, 448.8 ms median, 1.70 s worst — a true cold first launch is measured below |
idle, five new processes, footprint -p plus ps (0.1.26, 2026-11-18) | 120.7 MiB physical footprint for the group — main crust 52.0, second crust 8.7, WebContent 21.0, GPU 14.0, Networking 25.0; 252.5 MiB ps RSS, inflated by shared framework pages |
| 200 invokes on the shipped bridge | 0.067 ms median, 0.475 ms p99 on a reused connection; 0.149 ms / 0.361 ms when each call opens one |
pump tick delivery, isolated research/runloop sweep | a 0.25 ms slice delivered 186 of 187 ticks (99.5%); 4 ms delivered 82.4%, worse than not pumping at all (184 of 187). The shipped shim (shim/50_app.c) passes a 4 ms deadline with a 2 ms fallback, not the measured 0.25 ms optimum |
-windowNumber before and after -close | 517 both times, one millisecond apart and a second later — hence liveness is visible || miniaturized || appHidden |
| a person pressed ⌘C, ⌘V and ⌘Q in a built app | text copied and pasted in the editor, and the app quit — the menu bar is installed, so AppKit dispatches the standard shortcuts |
| a page whose window never appeared | active no, isOnActiveSpace 0 while its JavaScript kept invoking; fixed with orderFrontRegardless plus a collection behaviour that put the window on the active Space (257 then, moveToActiveSpace | fullScreenPrimary 130 now) |
A true cold first launch — cold page cache, crust 0.1.26 on 2026-11-18, same macOS 27 arm64 M4 Air — took 1,322.5 ms to window and 1,600.1 ms to first invoke (docs/reviews/next-wave/perf.md §2, spawn/timestamp/kill harness perf-lane-launch.ts). The 790.1 ms above is the worst of ten mixed launches on 0.1.12–0.1.20; the ~1.7× gap is cold page cache plus version drift, so the two numbers describe different conditions rather than contradict each other.
Bridge refusals are measured too: a missing or wrong token is 401, a present and foreign Origin is 403, own origin is 200, and an absent Origin with a valid token is 200 — WebKitGTK's EventSource sends none on a same-origin GET, so refusing it killed the whole event stream on Linux while POST kept working.
Dialog
| what was run | result |
|---|---|
| open panel driven through the plugin | sheetStarted, still pending 400 ms later, -cancel: resolved { paths: [] } through the 16 ms poll |
| save panel, then a person picked a folder and saved a file | sheet opened, a folder was chosen, a file written, the UI updated — a human report, not an automated one |
a person saved over an existing file through savePanel | AppKit's own replace prompt appeared ("already exists, replace?"), Replace wrote it, and the note's mtime moved |
| a second panel while a sheet is up | refused with a message naming the sheet that is up and naming dialog.cancel as the way out |
| windowless app, adapter half | the pick stays pending and cancel settles it |
Tray
| what was run | result |
|---|---|
| create, title, show, hide, destroy in one run | AppKit readback: the title, isVisible: true, a button window on the menu-bar row, and its frame |
activateRow(index) | sent=true fired=Save now — the row action, the trampoline and the page listener |
| a person clicked a menu row in a built app | the app reported the save, which means the row's action ran |
bun run e2e:dogear against the Homebrew Cellar | 15/15 assertions on every release from 0.1.12 to 0.1.20: five-row menu, both sheets up and unresolved, seeded notes, exit 0, no survivors |
The item is only visible where the menu bar has room; a fullscreen Space draws none, which is why it went unseen for so long.
Notification
| what was run | result |
|---|---|
one notification.notify from a built app | {"delivered": true}, completion handler reported no error |
| same identifier, ad-hoc, then Apple Development | UNErrorDomain code 1 both ways, direct launch and through LaunchServices |
fresh identifier, ad-hoc, then Apple Development, from dist/ and ~/Applications | delivered under both signatures |
| identical bundle from the system temp directory | code 1, twice each way |
| an identifier recorded as denied, switched back on in System Settings | delivered on the same identifier with no rebuild |
bun run e2e:notify --fresh-id | a person clicked Allow on the first-post prompt, then {"delivered": true} — 6/6 assertions. Unanswered, the same prompt spends the identifier, so this is a one-shot answer |
Packaging
| what was run | result |
|---|---|
crust build --dir examples/hello, three runs on a warm filesystem | 0.52 s, 0.55 s, 0.53 s wall |
stat -f '%z' on the compiled binary (0.1.26, 2026-11-18) | 90,365,282 B (86.18 MiB) |
stat -f '%z' on the executable inside the bundle (0.1.26) | 89,840,064 B (85.68 MiB) — codesign rewrites the Mach-O |
stat -f '%z' on the assembled .app (0.1.26) | 90,374,144 B (86.19 MiB) |
--trim with and without, outfile name held equal | byte-identical, same sha256 on 1.4.4 — --trim strips nothing; --minify saved 33,024 B in the earlier run |
a Bun carrying bun compile (AOT plus --trim) | 55,360,800 B (52.79 MiB) |
crust build --dmg | 40,610,304 B (38.73 MiB) image that hdiutil verify accepts |
hardened runtime sealed with allow-jit alone | app launched, created no page, printed nothing, exit 0; the .ips said SIGKILL (Code Signature Invalid), Invalid Page |
| hardened runtime with both entitlements | the same bundle runs |
spctl on an ad-hoc build | rejected, exit 3; ad-hoc cannot be notarized |
First run
| what was run | result |
|---|---|
bun run verify:first-run, plain, React and Next scaffolds | scaffold → bun install → crust build → bundle → a window that answered a page call, on 0.1.15 and 0.1.16 |
a person clicking through a --next export | start page → /about → back, through the window's own router, no reload and the bridge still answering after both moves |
| the three scaffolds, built from a scaffold rather than the checkout | plain 3 files / 85.25 MiB, React 2 files / 85.45 MiB, Next 21 files / 85.83 MiB with invoke("greet") answered |
bun run e2e:single, 19 assertions | dev answers the page; the built bundle answers with cwd /; a save rebuilds without restarting the runtime; a syntax error leaves the last good bundle running |
bun run verify:package | 31 checks against a 140.5 KiB tarball (the docs site is a repo artefact and does not ship), installed into a temp directory and run from the installed copy alone |
brew install JeffreyJYZ/tap/crust | 0.1.20, 209 files, 611.1 KiB (the docs site and DESIGN.md no longer ship), and crust doctor compiling the shim out of the Cellar |
What is not proven
- Developer ID signing. No such certificate exists on this machine, so
crust build --sign's path is written and never exercised, and Gatekeeper's behaviour on a recipient's Mac is untested. Ad-hoc is the only signature observed. - The free-standing panel at runtime. A windowless app's
beginWithCompletionHandler:path has its adapter half tested; the AppKit half has never been entered. - A warm first launch, and anything timed from inside the page. Every cold-start worst case is a cold page cache, and the page's own
readymarker is resolved but never reported back to the backend, so it is not timed.