Commit 307fe21
Normalize 1.0.72 background-agent completion notification wording
The 1.0.72 CLI reworded the background-agent completion system_notification
that the runtime injects as a user message: the status sentence changed from
"has completed successfully." to "has finished processing and is now idle."
and the advice changed from "to retrieve unread results." to "to read the
results, or write_agent to send follow-up messages." Existing snapshots store
the old canonical wording, so the replay proxy could not match live 1.0.72
requests, failing subagent_hooks, should_abort_a_session, and the
background-agent task-details test across every SDK.
Extend the existing task-completion-notification normalization (which already
mapped "retrieve unread results" to "retrieve the full results") into
normalizeAgentCompletionNotification, collapsing every known phrasing of both
sentences to one canonical form on both the request and stored sides.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e94bab38-c22e-4a38-8d8b-c82c1991a33c1 parent f83d703 commit 307fe21
2 files changed
Lines changed: 114 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
382 | 414 | | |
383 | 415 | | |
384 | 416 | | |
| |||
1321 | 1353 | | |
1322 | 1354 | | |
1323 | 1355 | | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
1324 | 1417 | | |
1325 | 1418 | | |
1326 | 1419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1223 | 1223 | | |
1224 | 1224 | | |
1225 | 1225 | | |
1226 | | - | |
1227 | | - | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1228 | 1229 | | |
1229 | 1230 | | |
1230 | 1231 | | |
| |||
1237 | 1238 | | |
1238 | 1239 | | |
1239 | 1240 | | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
1244 | 1258 | | |
1245 | 1259 | | |
1246 | 1260 | | |
1247 | 1261 | | |
1248 | 1262 | | |
1249 | | - | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
| 1263 | + | |
1253 | 1264 | | |
1254 | 1265 | | |
1255 | 1266 | | |
| |||
0 commit comments