Skip to content

fix(codegen): sanitize progressive JSDoc metadata#100

Open
sarvesh1327 wants to merge 2 commits into
bug-ops:masterfrom
sarvesh1327:fix/progressive-jsdoc-sanitization
Open

fix(codegen): sanitize progressive JSDoc metadata#100
sarvesh1327 wants to merge 2 commits into
bug-ops:masterfrom
sarvesh1327:fix/progressive-jsdoc-sanitization

Conversation

@sarvesh1327
Copy link
Copy Markdown

Summary

  • sanitize schema descriptions before rendering them into generated progressive tool JSDoc
  • sanitize property descriptions plus category/keyword/short-description metadata in tool and index contexts
  • add a regression test covering raw */ and newline injection from schema/category metadata

Test Plan

  • cargo test -p mcp-execution-codegen progressive::generator --quiet
  • cargo fmt --check
  • cargo test -p mcp-execution-codegen --quiet
  • cargo clippy -p mcp-execution-codegen --all-targets --all-features -- -D warnings

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