ScreenSaver callback census reconciliation — 2026-10-20

Historical source last updated, 2026-10-20. Runtime and implementation claims below describe that dated source; see current app notes and source for subsequent changes.

The retained scratch/runs/20261020-watx-source-capacity-fix/build-retry.log shows the canonical build passing the 128-fragment manifest and balance checks, then failing the callback census: changed host/apps/browser-shell SHA values, changed control dispatcher SHA and call list, and unknown scrsave_open and scrsave_pump. No module was emitted. The complete source scan here reproduces those exact seven diagnostics, without compiling or running the emulator.

Declaration review

The reviewed helper context is significant: wnd_send_message brackets paint scratch; its native sentinel route directly dispatches WAT controls. Its guest route acquires a synchronous invocation before guest frame writes and validates expected child/root/depth before restoration. Those helpers already have census records. message_mouse_activate32 snapshots/restores MSG around activation; wnd_destroy_tree sends destruction callbacks before removing records. Calling these helpers is precisely why the new exports are inventoried. Zero direct EIP writes cannot justify calling the wrappers callback-free.

Validation and limits

node test/test-callback-ownership-census.js
node tools/screensaver-ownership-census.test.js --source-ref=b222e28dce8ed9538e1ce5158e4cbc8c9c0cf659
git diff --check

The new regression reads the exact Git snapshot into memory using the canonical scanner's source-selection scope: all 129 root WAT/WATX files, root JS and recursive lib JS (267 total). It uses the real scanSources, check and checkNonlocalAPIs functions with the edited local declaration. All 403 records pass. This is the complete tracked source inventory at the named commit, not a claim that running the CLI against an incomplete sparse directory is sufficient.

Twenty rejection controls cover real host cancellation, shell registration, registry selector, class routing, MSG allocation, input/post Close guards, export changes even after digest refresh, stale control call lists, missing export declarations, an unknown transitive wrapper, six false ownership assertions and the independent nonlocal handler/API lock. Existing census mutation tests pass. These are source tests; they do not execute the emulator.

Remaining safety obligations: full production allocation/error cleanup, reentrant destruction during activation or paint, real native/GDI teardown, async cancellation at each await, DOM input routing, separate saver launch and survival after applet Close in the appropriate shell mode still need actual fullVM/browser evidence. The static census pins exported bodies and host files; it does not independently hash every unexported helper or prove computed JS dispatch exhaustive. General retained-context ownership and dual-dispatch nonlocal-jump conformance remain pending. No blanket exemption, safety certification, build success or runtime qualification follows from this repair.