feat(FN-5374): raise room transcript defaults and align compaction settings

Raised room transcript defaults (`messagesBefore` and `daysBefore`) in the core settings schema and updated project-level setting defaults, with corresponding documentation refresh in the settings reference. Added full test coverage for room compaction defaults, pinned room default settings in Setti

Fusion-Task-Id: FN-5374
This commit is contained in:
Fusion (runfusion.ai)
2026-05-21 07:00:48 -07:00
committed by gsxdsm
parent e12adeb3fa
commit 5f9f777630
10 changed files with 56 additions and 32 deletions

View File

@@ -119,7 +119,13 @@ describe("reliability interactions: same-agent duplicate intake", () => {
source: { sourceType: "agent_heartbeat", sourceAgentId: "agent-x" },
});
vi.spyOn(fx.store, "listTasks").mockRejectedValueOnce(new Error("boom"));
const originalListTasks = fx.store.listTasks.bind(fx.store);
vi.spyOn(fx.store, "listTasks").mockImplementation(async (options) => {
if (options?.slim === true && options?.includeArchived === false) {
throw new Error("boom");
}
return originalListTasks(options);
});
const b = await fx.store.createTask({
title: "fix: baseline clone",