# EDITOR_SESSION_CONTRACT (K2336–K2340) - **Schema:** `turkos.os.editor.session.v1` - **Module:** `editor` - **Feature:** `session` - **Title:** Editör terminal UI oturumu - **Invariant:** Focus ve çıkış handleları doğru kapanır - **Positive Case:** İki editör farklı dosyada - **Counterexample:** Bir editör crash - **Acceptance:** Diğer editör ve shell ilerler - **Kernel Symbol:** `os_editor_session` ## Scope Validates the editor terminal UI session lifecycle (`editor.session`), enforcing that focus and exit handles are properly closed and reclaimed ("Focus ve çıkış handleları doğru kapanır"), refusing unhandled single-editor crashes ("Bir editör crash"), and ensuring that a peer editor on a different file and the shell continue progressing cleanly ("Diğer editör ve shell ilerler").