Skip to content

refactor(opencode): defer lead session discovery to team_create - #17

Merged
cs50victor merged 1 commit into
mainfrom
feat/opencode_session_discovery
Feb 13, 2026
Merged

refactor(opencode): defer lead session discovery to team_create#17
cs50victor merged 1 commit into
mainfrom
feat/opencode_session_discovery

Conversation

@cs50victor

Copy link
Copy Markdown
Owner

Move session discovery from middleware on_initialize to team_create, where the lead is guaranteed to be the only busy session. Replaces per-session GET with status-based filtering and adds _get_lead_session cache accessor for consistent read paths.

Move session discovery from middleware on_initialize to team_create,
where the lead is guaranteed to be the only busy session. Replaces
per-session GET with status-based filtering and adds _get_lead_session
cache accessor for consistent read paths.
@cs50victor
cs50victor merged commit 25b3c1e into main Feb 13, 2026
3 checks passed
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