Skip to content

trunk-merge/pr-3944/5f4b302c-49b6-4dec-b2a1-c762e33c1c94 - #4045

Closed
trunk-io[bot] wants to merge 5 commits into
mainfrom
trunk-merge/pr-3944/5f4b302c-49b6-4dec-b2a1-c762e33c1c94
Closed

trunk-merge/pr-3944/5f4b302c-49b6-4dec-b2a1-c762e33c1c94#4045
trunk-io[bot] wants to merge 5 commits into
mainfrom
trunk-merge/pr-3944/5f4b302c-49b6-4dec-b2a1-c762e33c1c94

Conversation

@trunk-io

@trunk-io trunk-io Bot commented Jul 31, 2026

Copy link
Copy Markdown
Trunk Merge Pull Request Banner

This pull request was created and is being managed by Trunk Merge.

This pull request is based on the main branch at SHA d117c82be9d54ce8d632460612d3262cbba3f05f.

See more details here.

When CI completes, this pull request will be closed automatically.

Pull Requests Being Tested

This pull request is testing the changes from pull request 3944.

puemos and others added 5 commits July 31, 2026 10:46
Add guidance to the cloud task system prompt instructing the agent to call
the `upload_artifact` tool for non-code deliverables (reports, images,
rendered canvases, data files) so they appear in the user's artifact panel as
downloads, rather than being left in the workspace where the user can't see
them.

The instruction is appended to every cloud system-prompt branch and skipped
for Slack-origin sessions, which get a runtime "no artifact delivery"
constraint. Exposes UPLOAD_ARTIFACT_QUALIFIED_TOOL_NAME from the tool module,
mirroring the signed-commit tool-name constants, so the prompt references the
qualified tool id from a single source.

Generated-By: PostHog Code
Task-Id: 887b21b0-78b0-4741-be7c-1f0e456f926a
Address review feedback from @k11kirky: drop the exported UPLOAD_ARTIFACT
tool-name constants (revert upload-artifact.ts to referencing the literal
name), remove the verbose explanatory code comment, and tighten the
artifact-delivery prompt prose. The instruction now references the
`upload_artifact` tool by its short name.

Generated-By: PostHog Code
Task-Id: 887b21b0-78b0-4741-be7c-1f0e456f926a
Address review feedback from @puemos: drop the Slack gating so the
artifact-delivery instruction appears in every cloud session. Sessions that
genuinely can't deliver artifacts already get a runtime constraint that
overrides the prompt.

Generated-By: PostHog Code
Task-Id: 887b21b0-78b0-4741-be7c-1f0e456f926a
Generated-By: PostHog Code
Task-Id: 842d598b-48cc-4059-8fed-18a9965a71c4
@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 2bfc876.

@trunk-io trunk-io Bot closed this Jul 31, 2026
@trunk-io
trunk-io Bot deleted the trunk-merge/pr-3944/5f4b302c-49b6-4dec-b2a1-c762e33c1c94 branch July 31, 2026 12:56
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