Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related proposal: #1173. Earlier session-isolation proposals #992 and #994 were closed as not planned.
Shared project state remains the default.
PONYTAIL_SESSION_SCOPE=1enables separate modes for Claude Code, Codex, OpenCode V2, and supported Grok hook adapters. Unsupported hosts, OpenCode V1, and missing IDs retain legacy behavior.The store hashes the host, available project path, and stable session ID. Initialization preserves a concurrent explicit command. Mode writes publish complete files atomically.
offpersists like other modes. Default changes affect future snapshots only. A lifecycle event preserves the snapshot when the client preserves its ID.The README documents manual cleanup, storage fallback, and the legacy UI limitation. This patch excludes Grok adapter installation, UI policy, marketplace changes, migration, and automatic garbage collection.
Validation applies to head
3710ffddc22aad9719e872a85896b581a87a8dac, which integrates upstream main09c434ab73ca43761c5d8b0c5d341926c2fba710:/clearwas not run; native default changes were tested only in OpenCode.The Claude fixture adds only environment prefixes to hook commands for the isolated state directory and opt-in flags. The Grok fixture observes adapter stdout without changing the bytes sent to the client. Candidate hook scripts, matchers, and timeouts are preserved.
Upstream main changes hook definitions. Codex required approval of the new hook hashes in the isolated qualification profile. Existing installations may need to approve the hooks again through
/hooks.Windows-native qualification, the Band TSX suite, and native Band UI remain unverified. The legacy UI limitation still applies with session scope enabled.