Skip to content

fix: surface compaction lifecycle and block sends across clients - #717

Merged
huichen merged 1 commit into
mainfrom
fix/compaction-ui
Sep 18, 2026
Merged

huichen merged 1 commit into
mainfrom
fix/compaction-ui

Conversation

@huichen

@huichen huichen commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • TUI: distinguish admission from completion, display all compaction outcomes and persisted checkpoints, show a compacting footer, and preserve drafts instead of sending during compaction. Handle early terminal events, late state responses and session switches.
  • Mobile: propagate the session compaction fence through live projection, reconnect snapshots and controls; disable button/keyboard sends and model controls while allowing drafting. Guard direct prompt/continuation delivery too.
  • Desktop: verify existing composer guards and all terminal cache transitions. Shared projection removes an unchanged operation’s pending divider without inventing another checkpoint.

Verification

  • Rust 1.97: cargo fmt -p future-tui --check; cargo clippy -p future-tui --all-targets -- -D warnings; cargo test -p future-tui (861 unit + 13 integration tests).
  • Desktop: npm run lint (ESLint + tsc); vitest run (1164 tests).
  • Mobile: tsc --noEmit; npm run lint; jest --runInBand (1623 tests).
  • Real RN Web screenshot harness: compacting scenario asserts aria-disabled on Send; visual check confirms spinner and single-row toolbar. Demo-only; not a native-device/backend E2E. Harness also logs an unrelated MarkdownImage web onLoad warning; composer assertion passes.

No agent restart or user-session mutation was performed.

@huichen
huichen enabled auto-merge (squash) September 18, 2026 02:59
@huichen
huichen merged commit e667be1 into main Sep 18, 2026
12 checks passed
@huichen
huichen deleted the fix/compaction-ui branch September 18, 2026 03:05
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