Skip to content

fix: align shell guidance with execution - #42

Open
zhuowp wants to merge 1 commit into
Pinvou:pinvou3-cleanfrom
zhuowp:fix/shell-environment-guidance
Open

fix: align shell guidance with execution#42
zhuowp wants to merge 1 commit into
Pinvou:pinvou3-cleanfrom
zhuowp:fix/shell-environment-guidance

Conversation

@zhuowp

@zhuowp zhuowp commented Sep 5, 2026

Copy link
Copy Markdown

The Bash tool currently advertises a login shell even when the execution dispatcher selects Windows PowerShell. Models can consequently emit Unix pipelines such as curl ... | head, despite the system environment label.

Derive the tool and command descriptions from the same dispatcher, retain guidance for Bash/POSIX sh/zsh and custom shell paths, and preserve the existing execution and background-task contracts. This is the r13 backport; the reusable implementation is submitted separately in Hmbown#5900 against upstream main.

Validation: final CodeWhale library target compiled; 23 selected guidance tests passed, including catalog consistency and export. Across 40 real-model curl-reminder ablation calls on Windows PowerShell 5.1, each arm had 19/20 correct results and zero shell mismatch errors. The final wording omits the redundant tool-level curl reminder. Those simulations include application instructions and are not desktop end-to-end or non-Windows runtime coverage.

No dispatcher, permission, schema-field, or tool-name changes. Existing PowerShell invocation fix Hmbown#4593 is already in the base. Parent application integration will pin this commit; no release tag is moved.

Independent AI-assisted source review found no blocking findings for this r13 backport. All six current PR checks passed, including Windows shell regressions. Parent integration Pinvou/pinvou-agent#443 remains draft until an authorized maintainer publishes the actual new immutable Pinvou release; this PR being ready does not publish that release.

Signed-off-by: z27014 <zhuo.wenpei@h3c.com>
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Thanks @zhuowp for taking the time to contribute.

This repository is observing a maintainer-managed PR intake gate in dry-run mode, so this pull request is staying open. This note helps maintainers prepare the allowlist before any enforcement is considered.

Please read CONTRIBUTING.md for the expected contribution shape. A maintainer can grant recurring PR access by commenting /lgtm on a pull request.

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