Skip to content

Fix panel session matching for prefix-colliding paths - #122

Merged
TomCC7 merged 1 commit into
mainfrom
fix/panel-matching
Aug 4, 2026
Merged

Fix panel session matching for prefix-colliding paths#122
TomCC7 merged 1 commit into
mainfrom
fix/panel-matching

Conversation

@TomCC7

@TomCC7 TomCC7 commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • validate OpenCode session records against the exact requested directory
  • correlate status entries with the validated session IDs before panel selection
  • apply the same exact-directory check during direct session discovery
  • add regressions for cc/frontier and cc/frontier_/abc

Root cause

The client treated OpenCode directory filters as exact. Prefix-style responses could therefore bind two panels with similar paths to the same session.

Verification

  • cargo test
  • cargo fmt -- --check
  • cargo clippy --lib -- -D warnings

@TomCC7
TomCC7 merged commit 17cf166 into main Aug 4, 2026
4 checks passed
@TomCC7
TomCC7 deleted the fix/panel-matching branch August 4, 2026 05:27
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