Skip to content

refactor(safe-outputs): rename upload-attachment to upload-workitem-attachment#372

Merged
jamesadevine merged 1 commit into
mainfrom
copilot/rename-upload-attachment
May 1, 2026
Merged

refactor(safe-outputs): rename upload-attachment to upload-workitem-attachment#372
jamesadevine merged 1 commit into
mainfrom
copilot/rename-upload-attachment

Conversation

Copilot AI commented May 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Renames the upload-attachment safe-output tool to upload-workitem-attachment to make the target (an ADO work item) explicit at the call site and leave room for other attachment surfaces (e.g. PRs, wiki) in future.

  • Tool identifier: upload-attachmentupload-workitem-attachment (MCP tool name, Stage 3 dispatch key, ToolResult::NAME, ctx.get_tool_config(...) key, front-matter safe-outputs: key).
  • Rust symbols: UploadAttachmentParams / Result / ConfigUploadWorkitemAttachment*; module src/safeoutputs/upload_attachment.rsupload_workitem_attachment.rs (re-exported through safeoutputs/mod.rs).
  • Docs: README.md, AGENTS.md, docs/safe-outputs.md, both prompts/*-ado-agentic-workflow.md, and .github/workflows/red-team-security.md updated to the new name.

This is a breaking rename for any agent front matter referencing upload-attachment: — there is no compatibility alias.

Test plan

cargo build, cargo test (1049 passed), cargo clippy --all-targets --all-features — all green.

…ttachment

Agent-Logs-Url: https://github.com/githubnext/ado-aw/sessions/b64aa169-a63c-4ed7-8d1a-7e1b6e53c26c

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
@jamesadevine jamesadevine marked this pull request as ready for review May 1, 2026 11:08
@jamesadevine jamesadevine merged commit 05fede2 into main May 1, 2026
14 checks passed
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.

2 participants