Conversation
Persist a session-scoped delivery pause at successful Stop finalization and clear it only when a user turn takes ownership. Keep pending completions retained across worker restarts and model the scheduling boundary. Model: gpt-5.6-sol Signed-off-by: Dante <duanjl.china@gmail.com>
Dante-dan
force-pushed
the
fix/675-stop-pauses-completions
branch
from
September 14, 2026 03:36
fcc0c7f to
fe1fb6f
Compare
Model: gpt-5.6-sol Signed-off-by: Dante <duanjl.china@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
Closes #675
Problem / pressure
Stopping a session cancels its current ACP turn, but a completed background Operation can still create a Delivery turn afterward. That makes an explicitly stopped conversation appear to continue by itself, and a daemon restart or partial metadata failure can reopen the same race.
Summary
Visual explanation
Before / after
Test plan
corepack pnpm --filter lody exec vitest run src/orchestration/operation-coordinator.test.ts src/orchestration/operation-model.test.ts tests/session-execution-service.test.ts(227 tests passed)corepack pnpm --filter lody typecheckcorepack pnpm lint(0 errors)corepack pnpm formatnode .github/scripts/check-pr-body.mjs --body-file <pr-body>git diff --checkContext handoff
Instructions for reviewing agents
session-execution-service.ts, then verify all coordinator delivery gates.Authoring context
Original user prompt
Show original prompt