refactor(rebirth): isolate vector and reroll gates

This commit is contained in:
youzini
2026-05-30 14:02:05 +00:00
parent 515f57bcd7
commit fd63202a20
7 changed files with 368 additions and 76 deletions

View File

@@ -58,6 +58,10 @@ import {
normalizeAuthorityBrowserState,
recordAuthorityAcceptedRevision,
} from "../../sync/authority-browser-state.js";
import {
consumeRerollRecallReuseMarker,
createRerollRecallReuseMarker,
} from "../../runtime/reroll-transaction-boundary.js";
const moduleDir = path.dirname(fileURLToPath(import.meta.url));
const indexPath = path.resolve(moduleDir, "../../index.js");
@@ -109,6 +113,8 @@ export function createGenerationRecallHarness(options = {}) {
getAuthorityBrowserStateSnapshot,
normalizeAuthorityBrowserState,
recordAuthorityAcceptedRevision,
consumeRerollRecallReuseMarker,
createRerollRecallReuseMarker,
settings: {},
graphPersistenceState: createGraphPersistenceState(),
extension_settings: { [MODULE_NAME]: {} },