mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-06-14 02:40:45 +08:00
refactor(sync): extract graph mutation gate + live-state projection (Phase 5c)
This commit is contained in:
@@ -177,6 +177,15 @@ import {
|
||||
retryPendingGraphPersistImpl,
|
||||
saveGraphToIndexedDbImpl,
|
||||
} from "../sync/graph-persistence-io.js";
|
||||
import {
|
||||
assertRecoveryChatStillActiveImpl,
|
||||
buildPanelOpenLocalStoreRefreshPlanImpl,
|
||||
ensureGraphMutationReadyImpl,
|
||||
getGraphMutationBlockReasonImpl,
|
||||
getGraphPersistenceLiveStateImpl,
|
||||
getPanelRuntimeStatusImpl,
|
||||
readRuntimeDebugSnapshotImpl,
|
||||
} from "../sync/graph-mutation-gate.js";
|
||||
import {
|
||||
consumeRerollRecallReuseMarker,
|
||||
createRerollRecallReuseMarker,
|
||||
@@ -748,6 +757,7 @@ async function createGraphPersistenceHarness({
|
||||
recordAuthorityAcceptedRevision,
|
||||
AUTHORITY_GRAPH_STORE_KIND,
|
||||
AUTHORITY_GRAPH_STORE_MODE,
|
||||
AUTHORITY_DIAGNOSTICS_MANIFEST_LIMIT: 20,
|
||||
AuthorityGraphStore: HarnessAuthorityGraphStore,
|
||||
isAcceptedLegacyPersistenceTier,
|
||||
isRecoveryOnlyLegacyPersistenceTier,
|
||||
@@ -813,6 +823,13 @@ async function createGraphPersistenceHarness({
|
||||
queueGraphPersistToIndexedDbImpl,
|
||||
retryPendingGraphPersistImpl,
|
||||
saveGraphToIndexedDbImpl,
|
||||
assertRecoveryChatStillActiveImpl,
|
||||
buildPanelOpenLocalStoreRefreshPlanImpl,
|
||||
ensureGraphMutationReadyImpl,
|
||||
getGraphMutationBlockReasonImpl,
|
||||
getGraphPersistenceLiveStateImpl,
|
||||
getPanelRuntimeStatusImpl,
|
||||
readRuntimeDebugSnapshotImpl,
|
||||
consumeRerollRecallReuseMarker,
|
||||
createRerollRecallReuseMarker,
|
||||
createRecallMessageUiController() {
|
||||
|
||||
Reference in New Issue
Block a user