Skip to content

fix(mobile): preserve replies across in-turn compaction checkpoints - #710

Merged
huichen merged 1 commit into
mainfrom
fix/mobile-compaction-history
Sep 17, 2026
Merged

huichen merged 1 commit into
mainfrom
fix/mobile-compaction-history

Conversation

@huichen

@huichen huichen commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Keep durable pre-turn and mid-turn checkpoints inside the open exchange instead of dropping the following assistant/tool entries as orphans.
  • Preserve standalone manual/legacy dividers and stable checkpoint-only snapshot IDs.
  • Add regressions for old v2 checkpoints without phase, first replies after compression, interleaved tool results, repeated checkpoints, terminal status, usage and manual boundaries.

Validation

  • Reproduced the missing reply with 3 failing regression cases before the fix.
  • Mobile: typecheck, lint, all 112 suites / 1618 tests passed.
  • Desktop shared-projection consumers: 5 suites / 149 tests passed.
  • No native build or on-device verification performed.

@huichen
huichen enabled auto-merge (squash) September 17, 2026 12:39
@huichen
huichen merged commit a33f5e3 into main Sep 17, 2026
12 checks passed
@huichen
huichen deleted the fix/mobile-compaction-history branch September 17, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant