Repository navigation
Commit 2615e21
fix(server): a portable fork with no surviving history rejects /compact
Counting every run fork as conversation let a portable fork whose handoff
budget omitted all inherited messages compact an empty thread. A fork now
counts only when it resolves natively or its portable handoff carries at
least one message.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 4bc67e6 commit 2615e21
2 files changed
Lines changed: 36 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
354 | 374 | | |
355 | 375 | | |
356 | 376 | | |
| |||
4265 | 4285 | | |
4266 | 4286 | | |
4267 | 4287 | | |
4268 | | - | |
4269 | | - | |
| 4288 | + | |
| 4289 | + | |
| 4290 | + | |
4270 | 4291 | | |
4271 | 4292 | | |
4272 | 4293 | | |
| |||
7251 | 7272 | | |
7252 | 7273 | | |
7253 | 7274 | | |
7254 | | - | |
7255 | 7275 | | |
7256 | 7276 | | |
7257 | 7277 | | |
7258 | 7278 | | |
7259 | 7279 | | |
7260 | | - | |
| 7280 | + | |
7261 | 7281 | | |
7262 | 7282 | | |
7263 | 7283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
372 | | - | |
| 373 | + | |
373 | 374 | | |
374 | 375 | | |
375 | 376 | | |
| |||
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
488 | | - | |
489 | | - | |
| 489 | + | |
| 490 | + | |
490 | 491 | | |
491 | | - | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
492 | 500 | | |
493 | 501 | | |
494 | 502 | | |
| |||
0 commit comments