You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial plan
* feat: add edit-wiki-page safe output
Implements a new `edit-wiki-page` safe output that allows agents to
create or update Azure DevOps wiki pages.
Stage 1 (MCP server):
- `edit-wiki-page` tool registered on the SafeOutputs MCP server
- Validates path (no `..`, non-empty), content (≥10 chars)
- Strips control characters from path; full sanitize_text() on content/comment
- Queues result to safe_outputs.ndjson
Stage 2 (executor):
- Dispatches `edit-wiki-page` to EditWikiPageResult::execute_sanitized()
- GET wiki page to check existence and obtain ETag
- PUT to create/update with If-Match header for optimistic concurrency
- Enforces path-prefix restriction configured in front matter
- Applies title-prefix to final path segment if configured
Front-matter configuration (safe-outputs.edit-wiki-page):
- wiki-name: wiki identifier (required)
- wiki-project: ADO project override (optional)
- path-prefix: restrict writes to pages under this path (optional)
- title-prefix: prepend text to each page title (optional)
- comment: default commit message (optional)
- create-if-missing: allow creating new pages (default: true)
Compiler:
- edit-wiki-page added to WRITE_REQUIRING_SAFE_OUTPUTS so compilation
fails if no permissions.write service connection is configured
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
* fix: percent-encode URL path segments in wiki and work-item API calls
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
* refactor: lift PATH_SEGMENT, add null-byte check, fix dead test
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
* feat: edit-wiki-page only updates existing pages, no creation
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
0 commit comments