Repository navigation
fix(harness): stop the sandbox prompt from denying host delivery tools - #4353
Merged
jujn merged 1 commit intoNov 24, 2026
Merged
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
jujn
approved these changes
Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Without a configured
ArtifactDeliveryTarget, the sandbox branch of the workspace prompt no longer states that no artifact delivery tool is configured.artifactDeliveryEnabledreflects only the harness-builtdeliver_artifact, while hosts can register their own delivery tools, so the fallback now applies only when the model's tool list has none. The EN and ZHharness/sandbox.mdpages are updated to match.Closes #4352.
Evidence
No artifact delivery tool is configured. Files remain in the configured execution backend; describe their location and any retrieval work still needed.Unless your tool list includes a delivery or upload tool, files remain in the configured execution backend; describe their location and any retrieval work still needed.The guidance after the semicolon is unchanged, and the branch with a configured target is untouched.WorkspaceContextMiddlewareSandboxPromptTestassertion fails when the source change is reverted.WorkspaceContextMiddlewareSandboxPromptTest(15 tests) andHarnessAgentTest(87 tests) pass;mvn -T1C -pl agentscope-harness -am testpasses with 1,918 harness tests, 0 failures, 47 skipped;spotless:check, docsnpm testandnpm run validatepass. The documentation diff changes prose only; Mintlify's Windows link checker reports site-wide broken links. The new sentence has not been replayed against a live model.Merge Danger
Door: Two-way. Reverting the commit restores the previous sentence.
Blast Radius: Low. One sentence of system-prompt text in sandbox mode without
ArtifactDeliveryTarget; no API, configuration, or persisted-format change.