Repository navigation
fix(doctor): validate Node-wrapped client policy - #768
rudycelekli wants to merge 1 commit into
Conversation
Signed-off-by: RudyCelekli <[email protected]>
|
Reviewed: moving the Node-launcher early return to after Codex timeout and vscode/copilot/commandcode policy checks is the minimal correct fix — Node-wrapped registrations now funnel through the same policy. Real TOML/JSON boundary tests with isolated HOME cover the reported 1s-timeout and narrowed-tools failures. APPROVE. Non-blocking gap: no Node-wrapped vscode-type/commandcode-transport case; existing direct-binary coverage likely suffices. |
Review — APPROVESummaryIn Verification
Gap (non-blocking)
|
|
Thanks. I checked the other Node-wrapped transport paths: |
|
Superseded by #815, which integrated this change and has now merged (3af3811). Thanks @rudycelekli for the fix and the thorough verification — much appreciated! |
Problem
Client-registration inspection returns early for a Node-wrapped REA command, bypassing the client-specific alignment checks. As a result,
rea doctor --client codexreports a one-second startup timeout as healthy; Copilot registrations with a narrower tool selection similarly evade the existing policy check.Change
Apply the existing client-specific checks before accepting the Node launcher shape. Ownership, disabled-state checks, accepted launcher forms, and registration-writing behavior are unchanged.
Evidence and verification
AI-assisted implementation, independently reviewed; signed commit with DCO. This verifies REA's configuration assessment, not a running Codex or Copilot client session.