You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reconcile backend-switching consent with policy that can abandon an existing CLI session #44
The checkbox promises switching only when a thread has no session to lose. Policy also allows switching when hasSession is true and dependsOnPriorTurns < 0.4. When other selection conditions are met, enabling the displayed option can abandon an existing session beyond its stated scope.
Triage
Original finding: 5 of 11.
Priority: P1. Resolve before the next release because an explicit transport, session, or cost constraint can be violated.
Classification: Confirmed behavior/source defect.
Inspected current main: 3c2bb240059b3e1bec9264f1e57fa885096c6bf9 (2026-10-01).
Evidence
Source-confirmed canSwitch condition: allow_backend_switch && (!current.hasSession || j.dependsOnPriorTurns < 0.4). Switching additionally requires model availability/target-tier conditions; it is not unconditional.
Honor the displayed no-existing-session restriction, or introduce explicit separate consent for mid-thread session loss with accurate explanatory text.
Judge output supplies selection evidence, never additional execution authority or implicit permission to discard context.
Test existing/no-session cases, continuity scores, unavailable backends, and capability gaps; update docs consistently.
Coordination and validation
Related issues: #49 (finding 10). These are coordination links, not hard blockers.
Recommended sequence: fix transport enforcement/setup invalidation and policy constraints first; coordinate draft testing/status and persistence semantics; then reorganize the UI and add advanced controls. Independent fixes may proceed without artificial dependencies.
Use offline fixtures/fake transports for automated checks. Coding turns remain CLI-only; do not launch live agents or weaken approval/sandbox behavior. Implementation PRs must use their own worktree, update docs/status.md as applicable, and run required build/unit/UI checks. This issue publishes scope and acceptance criteria; no production fix or live-provider verification is claimed.
Activity
Fix Jev settings, routing limits, and save transactions (TypeSafeAI#51)