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>
Dante-dan
marked this pull request as ready for review
September 24, 2026 07:43
Model: gpt-6-sol Signed-off-by: Dante <duanjl.china@gmail.com>
4 tasks done
This branch has not been deployed
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
pnpm --filter lody exec vitest run src/orchestration/operation-coordinator.test.ts src/orchestration/operation-model.test.ts tests/session-execution-service.test.ts(245 tests passed on merge head2cd7ca98)pnpm typecheck(full workspace passed)pnpm lint(0 errors)pnpm formatpnpm run docs checkandnode .github/scripts/check-pr-body.mjs --body-file <pr-body>git diff upstream/main --checkpnpm checkdid not complete in the local sandbox: without a writable Lody data dir, 11 terminal-cleanup tests hitEPERMat~/.lody-oss; a globalLODY_DATA_DIRmakes a separate HOME-isolation test share state. The terminal-cleanup suite passed 14/14 with isolatedLODY_DATA_DIR; the speculative-worktree suite passed under default data-dir settings. Full remote CI remains pending on this head.Context handoff
Instructions for reviewing agents
session-execution-service.ts, then verify all coordinator delivery gates.Authoring context
Original user prompt
Show original prompt
Shared conversation
Status: unavailable
Reason: This authoring environment does not provide a public HTTP(S) conversation URL. No private conversation content is included in this PR.