Repository navigation
fix(cli): keep the stop follow-up in kilo run - #1402
Merged
Merged
Conversation
kilo run drains the session as soon as nothing holds it, so a follow-up requested after an await came too late. The Stop script now runs synchronously in the shared bridge runtime and its prompt is sent at once. Refs #1320 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ronous Stop path The sync and async runners now take command, argv, cwd, timeout and input from one place, and both report a spawn that refuses its arguments. Tests cover a hanging, failing and non-spawning Stop script; the blocking limit is stated once in COMPATIBILITY. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…its folder is removed Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e-stop-follow-up # Conflicts: # cli/src/contexts/tools/domain/behaviours/kilo/kilo-hooks-bridge.model.ts # cli/src/contexts/tools/domain/bridges/bridge-source.ts # cli/tests/golden/snapshots/framework-build/golden.json # cli/tests/golden/snapshots/translate-install/golden.json
blafourcade
marked this pull request as ready for review
November 26, 2026 12:12
This was referenced Nov 26, 2026
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.
Summary
In
kilo run, a Stop follow-up never landed: the bridge ran the Stop script asynchronously, andrundrained and exited first. The shared bridge runtime now runs a Stop script synchronously before it answers, so the follow-up is queued before the drain.scriptRun,failedRun) serves both runners. A Stop script that hangs, exits non-zero, fails to spawn, or gets a refused argument is reported and sends no follow-up. Each guard is mutation-proven.Closes #1320
🤖 Generated with Claude Code