Skip to content

Test mid-session model switching end-to-end (incl. real credentials) #359

Description

@mariorha

Test/validate what was implemented for mid-session model switching (#292), end-to-end, including live runs with real provider credentials.

Goal: verify that the cross-runner switch path actually preserves session continuity in practice — not just in unit tests — and exercise it against real provider APIs.

Scope:

  • Run the switch end-to-end with runners up and real API keys (ask before using the user's credentials).
  • Verify what travels on switch vs. what is dropped (history, completed tool calls/results, cwd/roots, MCP config, system prompt, mode, compactor_model, policies, portable permissions, todos, summaries, usage).
  • Confirm the conversational handoff (export A → new session on B → import) works across providers (acp / xai / openrouter).
  • Exercise model_slash_command_cross_runner_switch_via_real_nats over real NATS plus a manual /model switch in the REPL.
  • Capture any continuity gaps (provider response/thread IDs, live terminal, pending tool calls) and file follow-ups.

Relates to: #292 (Mid-session model switching — Session Kernel over NATS).

Note: live cross-provider runs require API keys — confirm with the user before spending credits.

Metadata

Metadata

Assignees

Labels

rustPull requests that update rust code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions