Skip to content

refactor: simplify wrapper session contract - #243

Draft
ejgallego wants to merge 1 commit into
mainfrom
codex/session-contract
Draft

refactor: simplify wrapper session contract#243
ejgallego wants to merge 1 commit into
mainfrom
codex/session-contract

Conversation

@ejgallego

Copy link
Copy Markdown
Collaborator

This PR makes wrapper session ownership and selection explicit and predictable. It replaces the overloaded ensure --hold and shutdown vocabulary with serve, status, and stop; requires explicit roots for destructive lifecycle operations; rejects ambiguous backend-neutral root inference; and treats --session-dir as part of the session selector.

Wrapper-owned descriptors now freeze exactly one workspace and use schema 3, while MCP and standalone brokers retain their independent multi-workspace semantics. Ordinary project requests no longer expose the internal ensure control operation, and absent stop or recover operations remain non-creating.

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