Skip to content

OS_SHELL_GUIDANCE

const OS_SHELL_GUIDANCE: string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/dist/utils/systemPromptNotes.d.ts:27

EXT-26: the platform-agnostic tail shared by both appendOsShellNote branches.

The recurring failure mode on non-POSIX hosts is not just wrong command NAMES but shell REDIRECTION quoting: a grouped/multi-line echo redirect on cmd.exe reported success yet wrote a 0-byte file. So on every platform we steer file creation/mutation to the built-in write_file/edit_file tools (which never touch the shell’s quoting) and keep each shell command a single line. Kept short — this is prompt text an LLM reads, not documentation.