contexts: clear current_context on delete; drop dead comment

main

Commit

toothbrush3mo ago
  • Delete now always clears current_context when the deleted context was active, instead of advancing to the first remaining context. Deleting your active login must never silently switch you to another identity.
  • Remove the leftover "legacy cluster_contexts used to live here" note; comments describe today's behavior only.

RemoveCurrentContext relies on Delete's clear and drops its redundant reassignment.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 49c99a4a7077

Checkpoints

Debug Cluster Context Git Remote Lookup

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1