Skip to content

Commit d57b784

Browse files
fix: shorten native handoff comment
Keep the native transcript recovery constraint clear within the repository comment limit. Implemented With: Codex via GPT-6 Luna on OpenAI through T3 Code
1 parent 9cf1f10 commit d57b784

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,7 @@ export const deliverContextHandoffs = Effect.fn("orchestrationV2.deliverContextH
7373
});
7474
if (historyCost(selected.messages, selected.context) > budget) {
7575
if (input.deferInline) return { context: "", delivered: Effect.void, unsent: Effect.void };
76-
// The native transcript already contains this thread's conversation. If
77-
// its remaining context is too small for the recovery wrapper, let the
78-
// provider handle the current request against that transcript instead of
79-
// failing before the provider sees it. Leave the handoff pending so a
80-
// later turn with more room can still recover the omitted app history.
76+
// Keep the handoff pending when the native transcript has too little room for recovery context.
8177
if (input.deferIfOverBudget)
8278
return { context: "", delivered: Effect.void, unsent: Effect.void };
8379
return yield* new ContextHandoffBudgetError();

0 commit comments

Comments
 (0)