Skip to content

Commit 372cf7d

Browse files
only21milclaude
andcommitted
fix(server): forks no longer inherit pending title regeneration
A fork copied the source thread's titleRegeneration marker, but the title job completes only on the source thread, so the fork stayed marked as regenerating with its regenerate action disabled. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent e2f68af commit 372cf7d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/server/src/orchestration-v2/ThreadForkService.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ export const layer: Layer.Layer<ThreadForkServiceV2> = Layer.succeed(
9292
creationSource: input.creationSource,
9393
id: input.targetThreadId,
9494
title: input.title ?? `${input.sourceProjection.thread.title} fork`,
95+
// The source's title job completes only on the source thread.
96+
titleRegeneration: null,
9597
activeProviderThreadId: null,
9698
lineage: {
9799
parentThreadId: input.sourceProjection.thread.id,

0 commit comments

Comments
 (0)