Repository navigation
Commit c9f9a64
fix(server): a Claude /goal no longer reads as complete while a background subagent runs
Claude Code skips the /goal evaluation when a turn ends with a subagent
or background shell command still running. The adapter inferred
completion from a normal turn end plus an empty background-task roster,
but the roster leaves subagents out, so a turn that ended while a
background Agent ran marked the goal complete. The completion check now
also requires that the live process runs no background work.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>1 parent c9b21b2 commit c9f9a64
2 files changed
Lines changed: 60 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8311 | 8311 | | |
8312 | 8312 | | |
8313 | 8313 | | |
| 8314 | + | |
| 8315 | + | |
| 8316 | + | |
| 8317 | + | |
| 8318 | + | |
| 8319 | + | |
| 8320 | + | |
| 8321 | + | |
| 8322 | + | |
| 8323 | + | |
| 8324 | + | |
| 8325 | + | |
| 8326 | + | |
| 8327 | + | |
| 8328 | + | |
| 8329 | + | |
| 8330 | + | |
| 8331 | + | |
| 8332 | + | |
| 8333 | + | |
| 8334 | + | |
| 8335 | + | |
| 8336 | + | |
| 8337 | + | |
| 8338 | + | |
| 8339 | + | |
| 8340 | + | |
| 8341 | + | |
| 8342 | + | |
| 8343 | + | |
| 8344 | + | |
| 8345 | + | |
| 8346 | + | |
| 8347 | + | |
| 8348 | + | |
| 8349 | + | |
| 8350 | + | |
| 8351 | + | |
| 8352 | + | |
| 8353 | + | |
| 8354 | + | |
| 8355 | + | |
| 8356 | + | |
| 8357 | + | |
| 8358 | + | |
| 8359 | + | |
| 8360 | + | |
| 8361 | + | |
| 8362 | + | |
| 8363 | + | |
| 8364 | + | |
| 8365 | + | |
8314 | 8366 | | |
8315 | 8367 | | |
8316 | 8368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5082 | 5082 | | |
5083 | 5083 | | |
5084 | 5084 | | |
5085 | | - | |
| 5085 | + | |
| 5086 | + | |
5086 | 5087 | | |
5087 | 5088 | | |
5088 | 5089 | | |
5089 | 5090 | | |
5090 | 5091 | | |
5091 | 5092 | | |
| 5093 | + | |
5092 | 5094 | | |
5093 | 5095 | | |
5094 | 5096 | | |
5095 | 5097 | | |
5096 | 5098 | | |
5097 | 5099 | | |
5098 | | - | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
| 5104 | + | |
5099 | 5105 | | |
5100 | 5106 | | |
5101 | 5107 | | |
| |||
0 commit comments