Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.11 KB

File metadata and controls

23 lines (17 loc) · 1.11 KB

Status

  • 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

Test Mode

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 like init, status, and context: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:run
    • STACKMEMORY_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.