Dashboard › opencode-lore › Distillation
40d7fff4-3de3-4d40-819c-7cbd8edceff2["lore_tm_v1_Yyzxih-MIB7xztWlaGwNNW8s9Nfm6r99rk6LQvE0jE0"]
Date: Sep 16, 2026
vitest.config.ts defines top-level Vite aliases "@loreai/core" → packages/core/src and "@loreai/gateway" → packages/gateway/src. The aliases must remain under top-level resolve.alias; the prior test.resolve.alias placement was invalid and silently resolved imports to stale dist builds, masking real test failures.packages/core/test/**/*.test.ts; 2. packages/core/eval/**/*.test.ts for fast, pure eval-suite unit tests such as scorers and analysis; 3. packages/gateway/test/**/*.test.ts; 4. packages/opencode/test/**/*.test.ts; 5. packages/pi/test/**/*.test.ts. Heavy end-to-end *.eval.ts tests instead use vitest.evals.config.ts.vitest.config.ts uses setup file ./packages/core/test/setup.ts, environment "node", pool "forks", testTimeout: 300_000, and hookTimeout: 300_000; test environment variables are NODE_ENV="test", SENTRY_ENABLED="0", and LORE_DEBUG="0".vitest.config.ts uses provider "v8" and reporters "text", "json", "html", and "lcov"; lcov is required for CI’s Codecov upload, while the other formats support local inspection.vitest.config.ts are, in order: 1. **/*.test.ts; 2. **/test/setup.ts; 3. **/test/helpers/**; 4. **/script/**; 5. **/dist/**; 6. packages/website/**; 7. packages/pi/**; 8. **/eval/**; 9. **/*.eval.ts; 10. *.config.ts; 11. scripts/**. The non-tested/non-source exclusions prevent packages without coverage-bearing tests from reducing or polluting patch coverage; the config notes that only core, gateway, and opencode have tests.