docs(phase3): 3.11-pre audit — preload.js deletion blockers
Audit of all api.invoke/api.send/api.on/window.app.invoke callers in
app/ and features/ to identify which renderers still run under preload.js
and block 3.11b (preload.js deletion).
Key findings:
- Zero legacy IPC callers in features/**
- 21 api.invoke() call sites in app/ across 5 files
- 3 true blockers (renderers receiving preload.js at window-open time):
app/settings/settings.js (3491 LOC, broadest API surface)
app/diagnostic.html (232 LOC, 4 backup/shell channels)
app/page/page.js (~3788 LOC, canvas page host)
- 2 non-blockers already on tile-preload trustedBuiltin:
app/index.js (core background renderer via core-glue.ts)
app/cmd/commands/page.js (cmd tile via cmd-glue.ts)
- 3.4 audit correction: 10 channels were classified "likely dead" but
have live callers in app/ scripts that were outside the original grep
scope. Removes them from the 3.11a deletion list.
Recommends 4 pre-3.11b packages (~115 min total): 3.11b-settings (45),
3.11b-diagnostic (20), 3.11b-page (30), 3.11b-nav-session (20).