Isolate concurrent Agent sessions#68
Draft
hi-michael-li wants to merge 1 commit into
Draft
Conversation
This was referenced Jul 13, 2026
hi-michael-li
force-pushed
the
michael-li/stirrup-07-session-isolation
branch
from
July 14, 2026 06:27
13dc308 to
9641abc
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-06-terminal-finish
branch
2 times, most recently
from
July 14, 2026 13:24
1c538c0 to
9132046
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-07-session-isolation
branch
2 times, most recently
from
July 16, 2026 02:18
6a7d499 to
dda2ee1
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-06-terminal-finish
branch
from
July 16, 2026 02:18
9132046 to
b0090ab
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-07-session-isolation
branch
from
July 16, 2026 10:33
dda2ee1 to
325206a
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-06-terminal-finish
branch
2 times, most recently
from
July 17, 2026 05:08
78a368a to
c0d46ea
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-07-session-isolation
branch
from
July 17, 2026 05:08
325206a to
27b6e2d
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-06-terminal-finish
branch
from
July 17, 2026 06:17
c0d46ea to
4a2912b
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-07-session-isolation
branch
from
July 17, 2026 06:17
27b6e2d to
ecf0b18
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-06-terminal-finish
branch
from
July 17, 2026 07:10
4a2912b to
3f73c63
Compare
hi-michael-li
force-pushed
the
michael-li/stirrup-07-session-isolation
branch
from
July 17, 2026 07:10
ecf0b18 to
87a411e
Compare
hi-michael-li
changed the base branch from
michael-li/stirrup-06-terminal-finish
to
main
July 17, 2026 10:48
Contributor
Author
Planned simplificationI’m going to narrow session isolation by removing the generic recursive provider/logger cloning framework:
This deliberately trades unsupported custom concurrency for a smaller, clearer ownership model. |
hi-michael-li
force-pushed
the
michael-li/stirrup-07-session-isolation
branch
from
July 17, 2026 17:01
4f69eff to
61ae468
Compare
Contributor
Author
Simplification complete
|
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.
Why
Concurrent sessions could share provider, logger, skill, output, and lifecycle state. One session could leak data into or prematurely close another.
What
SessionAgent.run()andrun_tool()to execute only inside their own active context.Deliberate limits
Testing