initial 2
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-06-26 09:26:50 +01:00
parent 194330fb47
commit 3b37368e7d
213 changed files with 14688 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
import { describe, it, expect } from "vitest";
import { MEMORY_CATEGORIES, DEFAULT_AI_MEMORY_LEARNING } from "@adventureos/shared";
describe("memory constants", () => {
it("has 20 memory categories", () => {
expect(Object.keys(MEMORY_CATEGORIES)).toHaveLength(20);
});
it("defaults learning to opt-in", () => {
expect(DEFAULT_AI_MEMORY_LEARNING.learningEnabled).toBe(false);
expect(DEFAULT_AI_MEMORY_LEARNING.requireApproval).toBe(true);
});
});