mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
Harden post-refactor test and check guardrails
This commit is contained in:
@@ -49,6 +49,11 @@ import {
|
||||
} from "../retrieval/recall-persistence.js";
|
||||
import { getNodeDisplayName } from "../graph/node-labels.js";
|
||||
import { normalizeGraphRuntimeState } from "../runtime/runtime-state.js";
|
||||
import {
|
||||
defaultSettings,
|
||||
getPersistedSettingsSnapshot,
|
||||
mergePersistedSettings,
|
||||
} from "../runtime/settings-defaults.js";
|
||||
import {
|
||||
clampFloat,
|
||||
clampInt,
|
||||
@@ -276,6 +281,9 @@ async function createGraphPersistenceHarness({
|
||||
extension_settings: {
|
||||
[MODULE_NAME]: {},
|
||||
},
|
||||
defaultSettings,
|
||||
getPersistedSettingsSnapshot,
|
||||
mergePersistedSettings,
|
||||
migrateLegacyTaskProfiles(settings = {}) {
|
||||
return {
|
||||
taskProfilesVersion: Number(settings?.taskProfilesVersion || 0),
|
||||
|
||||
Reference in New Issue
Block a user