github Dicklesworthstone/cass_memory_system v0.6.1
cass-memory v0.6.1

one hour ago

Highlights

  • Transformers 4 standalone embedding migration (#92 progress):
    • Migrated local text embeddings from deprecated @xenova/transformers 2.x (and its vulnerable Sharp 0.32.6 / ONNX 1.14.0 graph) to pinned @huggingface/transformers 4.3.2 (sharp 0.35.5, onnxruntime-node 1.30.0, upstream-pinned onnxruntime-web 1.31.0-dev.20260914-8d85527a0).
    • bun audit reports 0 vulnerabilities across 117 packages (sharp 0.35.5 resolves GHSA-f88m-g3jw-g9cj, GHSA-rgj7-g3m4-5g8c, and GHSA-wq5f-xc86-pv6w).
    • Standalone binaries embed the matching ONNX Web WASM binary and JavaScript factory with version- and source-hash-verified installation patches that exclude native ONNX and image decoding from CM's text inference path while preserving existing xenova settings, local model directories, offline retries, and filesystem caching (~/.cache/cass-memory/transformers/).
    • Derived local embedding caches move to version 3 (compatible Ollama version 2 caches and raw model downloads remain reusable).
  • Isolated per-project semantic runtimes & retrieval recovery:
    • Resolves each operation's backend, effective model, and endpoint before asynchronous work and isolates derived caches by runtime identity across retrieval, reflection deduplication, rule validation, onboarding, stats, and doctor.
    • Rejects stale, malformed, zero, and dimension-mismatched embeddings, preserves keyword retrieval on semantic failure without mislabeling fallback as semantic mode, and verifies usable inference before cm doctor enables semantic search.
  • Anthropic & CLI reflection output contracts, cancellation, and retry deadlines (#103, #104):
    • Omitted system-owned sourceSession from native structured-output schemas (reducing Anthropic union-typed parameters from 17 to 14) while preserving OpenAI strict schemas and trusted session provenance binding.
    • Preserves complete CLI reflection replies surrounded by wrapper logs, markdown fences, or brace-containing prose; rejects ambiguous or malformed nested salvage; and identifies the exact failing delta index and field in retry diagnostics.
    • Terminates and reaps cancelled CLI subprocesses and POSIX process groups (escalating TERM -> KILL), caps stdout/stderr reads at 10 MiB per stream, and enforces explicit llm.totalTimeoutMs / CM_LLM_TOTAL_TIMEOUT_MS ceilings across every attempt and retry backoff.

Build and verification

Built and released via DSR (no GitHub Actions) from commit f4cefd27 using Bun 1.4.5:

  • Quality gates (unchanged commands, assertions, and deadlines; TZ=UTC, frozen lockfile):
    • bun install --frozen-lockfile: clean (Transformers 4.3.2 text-only WASM patch verified).
    • bun run typecheck (tsc --noEmit): clean.
    • bun audit: 0 vulnerabilities across 117 packages.
    • TZ=UTC bun run test:unit: passed 3,195 tests (1 API-key-dependent skip, 0 failures, 10,689 assertions across 103 files).
    • TZ=UTC bun run test:ci: passed 3,929 tests (3 environment-dependent skips, 0 failures, 13,866 assertions across 156 files).
  • Binary & compiled semantic verification:
    • cass-memory-linux-x64 — ELF x86-64, GLIBC_2.17 floor, executed natively (0.6.1) + compiled MiniLM cold download, --network=none offline reuse, cache v3 384d vectors, bit-identical cosine similarity, and offline uncached keyword-fallback negative check verified.
    • cass-memory-linux-arm64 — ELF aarch64, GLIBC_2.17 floor, executed under QEMU aarch64 (0.6.1) + compiled MiniLM cold download, --network=none offline reuse, and bit-identical cosine similarity verified.
    • cass-memory-macos-arm64 — Mach-O arm64, Apple ad-hoc codesigned (codesign --verify --verbose=2), executed natively (0.6.1) + compiled MiniLM cold download, offline reuse, bit-identical cosine similarity, and offline uncached keyword-fallback negative check verified.
    • cass-memory-macos-x64 — Mach-O x86_64, Apple ad-hoc codesigned (codesign --verify --verbose=2), executed under Rosetta (0.6.1) + compiled MiniLM cold download, offline reuse, bit-identical cosine similarity, and offline uncached keyword-fallback negative check verified.
    • cass-memory-windows-x64.exe — PE32+ x86-64 (not executed natively on Windows; native Windows qualification remains tracked in #92).
    • All 5 binaries passed the #45 trauma-guard escape check. Each binary ships with a matching .sha256 sidecar, plus install.sh.sha256 (install.sh is unchanged since v0.5.1).

See the v0.6.1 changelog for full details.

Full Changelog: v0.6.0...v0.6.1

Don't miss a new cass_memory_system release

NewReleases is sending notifications on new releases.