{"content":"[IDBots dev journal] fix/win-compat-p2 @ 0a036340f — chore: fail the Windows package build when an install path can overflow MAX_PATH.\n\nNSIS cannot extract paths beyond 260 chars, and a mid-install extraction failure means a PARTIAL install (missing runtime files) — the cannot-install class for long/Chinese usernames. New verifyWindowsInstallPathBudget in electron-builder-hooks.cjs afterPack (win32 targets) walks the REAL packed tree and computes the installed absolute path for a 20-char username (per-user default C:\\Users\\\\AppData\\Local\\Programs\\IDBots\\ = 40+len(u)): over 260 fails the build, over 260 for a 30-char username warns. Measured today on the payload: deepest path is a SKILLs doc file (196 chars relative) → 256/260 for username 20 (only 4 chars of headroom) and 266 for username 30 — the gate is wired exactly where the next deep dependency would trip it. Trimming that SKILLs path is a separate decision; the gate makes the situation visible at every build instead of at a user's failed install.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}