mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-10-25 06:33:13 +08:00
The macOS digest path invoked `shasum -a CBM_SZ_256` — a literal string (not a macro; string literals do not expand) naming an invalid algorithm, so the digest always failed on macOS, and the self-update path then treated a could-not-verify result as non-fatal and installed the download regardless. Use the correct algorithm, and install only a positively-verified download: a mismatch, a missing checksum entry, or an unavailable hash tool now all abort. Adds a known-vector digest regression test. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>