Understand the Installer Failure Transparency Plan
mainThe claude-mem installer (npx claude-mem install) is undergoing a transition from silent error suppression to an explicit, severity-based error reporting system. The goal is to prevent the installer from falsely reporting "installed successfully" when critical dependencies (like uv, bun, or tree-sitter peer conflicts) fail to install.
Key changes to the installation experience:
- Success Reporting: "Installation Complete" will only be displayed if all
ABORT-level dependencies are satisfied. - Partial Success: If non-critical failures occur, the installer will display a yellow "Installation Partial" headline accompanied by a remediation block.
- Strict Dependency Resolution:
runNpmInstallInMarketplace()will run in strict mode first. The--legacy-peer-depsflag will only be applied if anERESOLVEtoken is explicitly detected, and this fallback will be announced to the user. - Improved Error Messaging: Failures like a missing
uv(after an auto-install attempt) will trigger anABORTwith platform-specific remediation instructions rather than generic error messages. - Regression Guards: A CI guard is being implemented to prevent new transitive dependencies with
scripts.postinstallorscripts.installfrom being added unless they are in an explicit allowlist, preventing hangs caused by network-dependent postinstall scripts.