feat: allow clients to skip legacy replay - #50
Merged
Merged
Conversation
This was referenced May 27, 2026
Merged
lsaether
added a commit
that referenced
this pull request
May 27, 2026
Cuts v0.1.3 — rooms + RFD #533 attach polish. Highlights since v0.1.2: - Rooms abstraction with compaction-aware transcripts (#58) and cross-segment turn-bookend carry in historyPolicy: full (#59). Closes #56. - RFD #533-inspired session/attach + session/detach foundation (#46) with replay ordering (#47), streamed history delivery (#53), and ?replay=skip opt-out for attach-aware clients (#50). - amux/* active-turn controls (steer #41, queue #41, cancel #30) plus replay-safe agent request lifecycle openings (#33). - Safe-by-default client-tool blocking (fs/* + terminal/*) with --unsafe-debug-client-tool-broadcast escape hatch (#36). - amux/session_context surfaces the mux/agent cwd to subscribers (#35). Validation: - cargo fmt --check - cargo clippy --all-targets -- -D warnings - cargo test (63 unit + 78 integration = 141 tests) Co-authored-by: lsaether <25539605+lsaether@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/acp?...&replay=skipto suppress the legacy WebSocket auto-replay for a single connectionamux/session_contextand post-connect live frames in skip modesession/attachhistoryFixes #48.
Test plan
cargo test replay_skip_suppresses_legacy_history_but_keeps_context_and_live_frames -- --nocapturecargo test replay_log_delivers_history_to_late_joiner -- --nocapturecargo test validate_requires_session_and_peer_id -- --nocapturegit diff --checkcargo fmt -- --checkcargo clippy --all-targets -- -D warningscargo test