Skip to content

fix: #3043 delimit sandbox prompt instruction sections#3047

Merged
seratch merged 1 commit intomainfrom
fix/sandbox-agent-instructions-sections
Apr 29, 2026
Merged

fix: #3043 delimit sandbox prompt instruction sections#3047
seratch merged 1 commit intomainfrom
fix/sandbox-agent-instructions-sections

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented Apr 29, 2026

This pull request fixes the rendered SandboxAgent prompt structure so caller-provided instructions, sandbox capability guidance, remote mount policy text, and filesystem context appear as separate top-level Markdown sections.

The previous prompt concatenation could make app-specific instructions look nested under SDK shell guidance, while wrapping only the caller instructions would leave later capability guidance nested under the app section. This keeps the existing prompt order and API surface while adding clear section boundaries and regression coverage.

This pull request resolves #3043.

@seratch seratch added this to the 0.14.x milestone Apr 29, 2026
@github-actions github-actions Bot added the bug Something isn't working label Apr 29, 2026
@seratch seratch merged commit 0661c9e into main Apr 29, 2026
10 checks passed
@seratch seratch deleted the fix/sandbox-agent-instructions-sections branch April 29, 2026 01:40
@github-actions github-actions Bot mentioned this pull request Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature:sandboxes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SandboxAgent custom instructions render inside SDK shell-command guidance

2 participants