Release 0.6.1 #77
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
iterative-works/claude-code-query!77
Loading…
Reference in a new issue
No description provided.
Delete branch "release/0.6.1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cuts
0.6.1.A patch, not a minor: the diff from
v0.6.0is this one fix and its tests, with no API change.What it fixes
An interrupted query left the Claude CLI running. Three faults at one seam:
finalizer ever ran.
interruption — only the process dying ends it, so waiting before the kill was a deadlock.
Command.runandZIO.addFinalizer(kill)left a spawned CLI with nothingregistered to end it.
The kill also reached only the direct child, so a Stop taken during a tool call orphaned the tool
and left it working. It now ends the tree.
Both call sites — a one-off query and a long-lived session — run one mechanism:
ProcessManager.spawnUnderKillandProcessManager.forkPipeReader.Also: a reply Claude Code writes itself when repairing a transcript killed mid-turn is marked
<synthetic>, and was being drawn as the agent's own words. It now renders as an injected reply.Evidence
Measured on the consumer before the version was cut: the CLI and the tools it started are gone
within ~150 ms of a Stop, and the next message continues the same conversation. Before, the process
outlived the interrupt entirely.
Shipped by #76. Full reasoning in
project-management/efforts/cc-chat/slices/07-stop-stops-the-machine/.🤖 Generated with Claude Code
https://claude.ai/code/session_01XTrxcxBQiNjXh79dN8Sh5x