Skip to content

port(go): Cursor PS 5.1 bridge shell guidance (#627 / #604) #674

Description

@Wibias

Summary

Defer the Go port of #627 (dcaede6e on dev; carried to dev2-go via the sync PR).

TS changed Cursor native-shell denial text and tool-guidance system notes so Windows PowerShell 5.1 bridge attempts stop looping (&&/||, cd /d, heredocs; at most one corrected retry).

Go counterpart

  • go/internal/adapter/cursor/tool_defs.goBuildToolGuidance (and related CursorShellAliasSystemNote / CursorShellAliasUserHint) need the same host-shell-neutral PS 5.1 + one-retry-stop guidance.
  • Policy denial UX for Cursor-native shell (if/when Go surfaces a model-facing steer message like TS nativeShellDisabledMessage) should stay aligned.

Source commits

Tracking

Closes nothing until the Go strings/guidance match #604 / #627 behavior on dev2-go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-go-portdev merge needs a Go port / follow-up on dev2-go

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions