Separate Persona scheduling from Face provisioning

This commit is contained in:
Meta Vens 2026-07-15 21:35:36 +01:00
commit e83111f7d5
3 changed files with 1 additions and 26 deletions

View file

@ -12,7 +12,6 @@ import {
buildEpiphanyIdentityRegistry,
ContextBuilder,
createStateStorage,
ensureRepoFaceInitialized,
getRepoFaceSourceRepoName,
getRepoDiscordIdentityAllowedChannelIds,
faceRegistryAsRepoDiscordRegistry,
@ -554,17 +553,6 @@ async function queueRepoFaceTurn(input: {
}
const contextBuilder = new ContextBuilder();
if (identity.identityKind !== "native_persona") {
await ensureRepoFaceInitialized({
identity,
storageRoot: input.config.storageRoot,
sourceRepoRoot: input.config.sourceRepoRoot,
epiphanyAgentRoot: input.config.epiphanyAgentRoot,
workspaceRoot: process.cwd(),
birthMode: input.config.repoFaceBirthMode,
birthExecutor: input.config.repoFaceBirthExecutor,
});
}
const recentMessages = await fetchRecentDiscordMessages({
botToken: input.config.botToken,
channelId,