Skip to content

fix(flow): guard session continuations and open exact child sessions - #55

Merged
DEAN-Cherry merged 1 commit into
devfrom
iolaus/flow-session-fixes
Oct 28, 2026
Merged

DEAN-Cherry merged 1 commit into
devfrom
iolaus/flow-session-fixes

Conversation

@DEAN-Cherry

Copy link
Copy Markdown
Contributor

Summary

  • Refuse scheduler-owned and non-child session continuations before native subagent observation, with actionable guidance and preserved native followups.
  • Cover stale failed sessions after a retry without changing authorization lineage or parentage.
  • Route Enter/o directly to the selected child session instead of root-normalizing tab focus; explain unavailable sessions and report navigation errors.

Verification

  • bun test: 379 passed, 0 failed (2,847 assertions).
  • bun run typecheck, check:package and check:reference: PASS.
  • Independent correctness review: PASS after stale-attempt regression fix.
  • Isolated stock OpenCode 2.2.0 live QA: 21 checks including actively running children, tabs on/off, Enter/o, stale-attempt refusal, successful native followup, host-state isolation and process cleanup.
  • Evidence and reusable QA script included. Fixed-height terminal captures intentionally retain blank terminal rows.

Scope

No production configuration/database changes or service restarts. Existing sidebar initial-selection race remains outside this fix; navigation opens the currently selected node.

@DEAN-Cherry
DEAN-Cherry merged commit d487a27 into dev Oct 28, 2026
1 check 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