- Version: 1.0.0
- OSS: Production ready
- MCP integration: Stable (25 tools)
- CLI: Full command suite — setup, context, tasks, search, Linear, daemon, sessions, skills, config
- Storage: SQLite with FTS5 full-text search, optional embedding providers
- Test Suite: 652 tests passing across 65 test files
To run tests in constrained environments or avoid native module initialization during CLI/harness execution, enable test mode. When enabled, the CLI skips opening the local SQLite DB and avoids writing frames/anchors in helper commands.
-
Env flags:
VITEST=true: Detected automatically by the CLI; disables DB work in commands likeinit,status, andcontext:test.NODE_ENV=test: Also triggers DB-skip behavior.STACKMEMORY_TEST_SKIP_DB=1: Explicit override to skip DB, independent of test runner.
-
Typical usage:
VITEST=true npm run test:runSTACKMEMORY_TEST_SKIP_DB=1 npm run test:run
This keeps unit tests fast and stable across sandboxes. Regular usage (without these flags) fully initializes and uses the local .stackmemory/context.db.