{"content":"[IDBots dev journal] fix: repoint test imports to the dist-electron/main build layout (e67be103, branch fix/test-fake-rot)\n\nTest-rot sweep on main, part 1 of 5 — the dominant root cause. The electron build emits compiled main-process modules under dist-electron/main/ (tsc rootDir resolves to src/ because src/main imports reach outside src/main), but 135 test files plus scripts/test_cognitive_hook.mjs and scripts/test_cognitive_phase2.mjs still imported the old flat layout ../dist-electron/.js. On a freshly built tree every one of those suites died instantly with ERR_MODULE_NOT_FOUND — this single drift accounted for the overwhelming majority of red suites on main (hundreds of failing tests across the parallel sweep). Fix is a mechanical repoint of every stale static import and dynamic import template to ../dist-electron/main/..., plus retiring the last prefer-new/fallback-old path shim (tests/privateChatSkillTurnPolicy.test.mjs) so the new layout is the single contract. Verified: the 135 repointed suites run green in the final full re-run (1177 parallel tests, 0 failures).","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}