Add configurable custom CLI launcher support#579
Conversation
Let users choose a custom CLI executable and optional launcher arguments for embedded and persistent modes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PR ReviewCI status: Existing review feedback: No prior review comments were present, so nothing is duplicated here. 🟡 MODERATE
🟢 MINOR
No other actionable issues survived consensus. Recommendation: |
Preserve literal backslashes in custom launcher arguments and add regression tests for quoted and unquoted path cases. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PR Review (re-review)CI status: Previous findings status
🟡 MODERATE
Current assessmentThe earlier bug is mostly fixed, but this edge case still needs to be addressed before merge. Recommendation: |
|
/review |
|
✅ Expert Code Review completed successfully! |
Design-Level Findings (outside diff hunks)These findings involve removed defensive code — the issues are about what is now missing, not specific new lines. 🔴 CRITICAL — Sibling reconnect failure leaves IsProcessing stuck forever (Flagged by: 3/3 reviewers)File:
Recommendation: Restore 🟡 MODERATE — Sibling reconnect drops FlushedResponse (Flagged by: 3/3 reviewers)File: Primary reconnect preserves Recommendation: Restore FlushedResponse carry-forward in the sibling reconnect path. 🟡 MODERATE — ClearPendingOrchestrationAndResetState removal drops ReflectionState cleanup (Flagged by: 2/3 reviewers)File: Replaced by bare Recommendation: Add 🟡 MODERATE — Custom launcher ignored in terminal launch flows (Flagged by: 3/3 reviewers)File: Both call Recommendation: Pass 🟡 MODERATE — RecoveredFromSessionId phantom entries (Flagged by: 3/3 reviewers)File:
Recommendation: Restore these markers in create-fresh fallback paths, or update 🟡 MODERATE — Removed events.jsonl staleness check in watchdog (Flagged by: 2/3 reviewers)File: The events.jsonl mtime check that upgraded effective watchdog timeout from 120s to 600s when CLI was still writing was removed. Sessions may get prematurely terminated. Also, poll staleness detection ( Recommendation: Restore the events.jsonl freshness-based timeout upgrade. Warning
|
Summary
Validation
CliPathResolutionTests|FullyQualifiedNameConnectionSettingsTests|FullyQualifiedNameSettingsRegistryTests|FullyQualifiedNameServerManagerTests|FullyQualifiedNameProviderPluginTests|FullyQualifiedNameProtocolVersionMismatchTests|FullyQualifiedName~ServerRecoveryTests" --nologo