fix(cursor): carry Windows bridge shell guidance onto dev2-go (#627) - #675
Conversation
…lidge-jun#627) * fix(cursor): steer Windows bridge shell away from PS 5.1 syntax loops Native-shell rejection told the model to replay the same bash/CMD command through the Codex bridge, which on Windows PowerShell 5.1 fails and loops (lidge-jun#604). Adapt for the host shell and inject PS-safe guidance instead. * fix(cursor): address lidge-jun#604 review — host-shell-neutral retry-stop guidance Drop proxy-OS platform branching and `;`-as-`&&` advice; use if ($?) and one corrected bridge attempt for Codex/CodeRabbit feedback on lidge-jun#627. * fix(cursor): state PowerShell 5.1 has no &&/|| in lidge-jun#604 guidance CodeRabbit follow-up: make unsupported-parser-error wording explicit and assert it in rejection/guidance tests.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
|
CI failures on this PR are pre-existing on |
Summary
dev2-go(TS Cursor adapter + tests only).dcaede6eondev.Go port
Go has Cursor tool guidance / shell-bridge notes under
go/internal/adapter/cursor/(BuildToolGuidance,CursorShellAliasSystemNote) that do not yet include the #604 host-shell-neutral PowerShell 5.1 + one-retry-stop steering.Deferred: #674 (
needs-go-port)Test plan
dev2-godcaede6eapplied cleanly