Commit ae5d763
fix(sessions): align reply init revision with persisted skillsSnapshot
Compare reply session initialization revisions using the on-disk
skillsSnapshot shape (promptRef) instead of hydrated writer-cache
prompt text, which caused false stale-snapshot conflicts on the second
inbound turn. Also await inbound meta recording before last-route
updates to avoid concurrent session store writes.
Fixes #96698
Co-authored-by: Cursor <[email protected]>1 parent a96418c commit ae5d763
2 files changed
Lines changed: 23 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
1385 | 1392 | | |
1386 | 1393 | | |
1387 | 1394 | | |
| |||
1422 | 1429 | | |
1423 | 1430 | | |
1424 | 1431 | | |
1425 | | - | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1426 | 1446 | | |
1427 | 1447 | | |
1428 | 1448 | | |
| |||
0 commit comments