# COMPOSITOR_SESSION_CONTRACT (K2271–K2275) - **Schema:** `turkos.os.compositor.session.v1` - **Module:** `compositor` - **Feature:** `session` - **Title:** Pencere oturum ve nesil - **Invariant:** Ölü pencerenin input yüzeyi reuse olmaz - **Positive Case:** Client kapanır yeni pencere - **Counterexample:** Eski window id mesajı - **Acceptance:** Yeni pencere eski mesajı reddeder - **Kernel Symbol:** `os_compositor_session` ## Scope Validates compositor window session lifecycle and generation tracking when a client closes and a new window opens, guaranteeing that dead window input surfaces are never reused and the new window rejects messages carrying a stale window ID.