Skip to content

fix: preserve wrapper session safety invariants - #243

Merged
ejgallego merged 7 commits into
mainfrom
codex/session-contract
Aug 30, 2026
Merged

fix: preserve wrapper session safety invariants#243
ejgallego merged 7 commits into
mainfrom
codex/session-contract

Conversation

@ejgallego

@ejgallego ejgallego commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

This PR makes wrapper session ownership explicit and fail-closed, so one foreground owner controls one frozen workspace while ordinary calls only attach and abnormal state remains fenced for exact recovery.

It provides serve, status, and stop lifecycle vocabulary; explicit machine selectors; single-workspace schema 3 descriptors; authenticated request routing; private session storage; kernel locking; draining fences; typed stop outcomes; and conservative crash recovery. Session paths retain canonical identity before and after creation, failed drains cannot clear authority, and CLI and MCP share semantic operation descriptions without sharing transport ownership.

@ejgallego ejgallego changed the title refactor: simplify wrapper session contract fix: preserve wrapper session safety invariants Aug 30, 2026
@ejgallego
ejgallego marked this pull request as ready for review August 30, 2026 18:25
@ejgallego
ejgallego merged commit 20787b5 into main Aug 30, 2026
31 checks passed
@ejgallego
ejgallego deleted the codex/session-contract branch August 30, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant