Repository navigation
Commit e15c50d
committed
fix(server): restart continuation checks before repeating side effects
A server restart can cut a turn while a command is still running, and the
command can outlive the server (on Windows the provider's child process is
orphaned and finishes). "Continue where you left off." gave the resumed agent
no hint of that, so it could start a deploy, push or script a second time.
The restart continuation prompt now says the last turn was cut short and that
a command it started may have finished or still be running, and asks the agent
to confirm a state-changing action did not take effect and is not still running
before repeating it, or to say so when it cannot tell.
Claude Opus 5.5, Claude Code1 parent bf270e7 commit e15c50d
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | | - | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
919 | 921 | | |
920 | 922 | | |
921 | 923 | | |
| |||
945 | 947 | | |
946 | 948 | | |
947 | 949 | | |
948 | | - | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
949 | 953 | | |
950 | 954 | | |
951 | 955 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments