Skip to content

fix: manageStorage 工具无法获取永久公网访问地址,Agent 误用临时 URL 作为 publicUrl#669

Open
binggg wants to merge 1 commit intomainfrom
automation/attribution-issue-moj9bllm-n90yq7-managestorage-agent-url-publicurl
Open

fix: manageStorage 工具无法获取永久公网访问地址,Agent 误用临时 URL 作为 publicUrl#669
binggg wants to merge 1 commit intomainfrom
automation/attribution-issue-moj9bllm-n90yq7-managestorage-agent-url-publicurl

Conversation

@binggg
Copy link
Copy Markdown
Member

@binggg binggg commented Apr 28, 2026

Attribution issue

  • issueId: issue_moj9bllm_n90yq7
  • category: tool
  • canonicalTitle: manageStorage 工具无法获取永久公网访问地址,Agent 误用临时 URL 作为 publicUrl
  • representativeRun: atomic-js-cloudbase-chain-storage-upload-helloworld-and-poll/2026-04-28T23-23-48-m4fc7o

Automation summary

  • root_cause: The manageStorage tool returns a temporaryUrl after upload, which is a temporary signed URL that expires in 1 hour. The agent incorrectly used this as the permanent publicUrl in internal evaluation artifact. The tool description and skill docs did not provide guidance on how to obtain permanent public URLs for storage objects.
  • changes:
  1. mcp/src/tools/storage.ts:
  • Updated queryStorage tool description to clarify that temporaryUrl is temporary and expires, and added guidance to use envQuery(action=info) to get CdnDomain for constructing permanent public URLs
  • Updated manageStorage tool description with the same guidance
  • Added a note field in the upload response to remind agents that temporaryUrl is temporary and how to get permanent public URLs
  1. config/source/skills/cloudbase-platform/SKILL.md:
  • Added a new section "Cloud Storage Public URL" with clear guidance on how to get permanent public URLs using envQuery(action=info) and EnvInfo.Storages[0].CdnDomain
  1. config/source/guideline/cloudbase/SKILL.md:
  • Updated the Storage Skills section to include a note about permanent public URLs
  1. Synced the changes to the Claude skills mirror and bu

Changed files

  • config/.claude/skills/cloudbase-platform/SKILL.md
  • config/source/guideline/cloudbase/SKILL.md
  • config/source/skills/cloudbase-platform/SKILL.md
  • mcp/src/tools/storage.ts

@binggg
Copy link
Copy Markdown
Member Author

binggg commented Apr 28, 2026

Attribution post-PR evaluation

  • visibility: internal identifiers, run ids, and private links are intentionally omitted
  • attempt: 1
  • eval_scope: primary_only
  • overall: PASSED
  • summary: all planned evaluation cases passed
  • updated_at: 2026-04-28T23:54:02.587Z

Cases

  • [PASSED] — primary — evaluation passed

@binggg
Copy link
Copy Markdown
Member Author

binggg commented Apr 29, 2026

工具描述里面没有警告这种方式必须在公有读的情况才有效,必须更改下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant