Skip to content

feat: [STO-12076]: add sast_remediation_diff MCP resource - #701

Open
priyanshu11137 wants to merge 3 commits into
harness:mainfrom
priyanshu11137:feat/STO-12076/sast-remediation-diff
Open

feat: [STO-12076]: add sast_remediation_diff MCP resource#701
priyanshu11137 wants to merge 3 commits into
harness:mainfrom
priyanshu11137:feat/STO-12076/sast-remediation-diff

Conversation

@priyanshu11137

@priyanshu11137 priyanshu11137 commented Jul 27, 2026

Copy link
Copy Markdown

Expose STO DiffOccurrences so agents can list existing vs new occurrences after a validation execution.

Description

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other

Checklist

  • pnpm test passes
  • pnpm typecheck passes
  • pnpm build passes
  • pnpm standards:check passes (architecture guardrails — see docs/coding-standards.md)
  • pnpm docs:check passes (if registry/tool counts changed)

Coding Standards (registry-driven MCP model)

If this PR adds or changes Harness API coverage:

  • No new server.registerTool() calls — only toolset definitions in src/registry/toolsets/
  • Toolset registered in ALL_TOOLSETS and ToolsetName union
  • operationPolicy on every new/changed endpoint
  • Shared response extractors from src/registry/extractors.ts (no raw passthrough on real endpoints)
  • identifierFields and scope declared on new resources
  • No console.log() in src/ (stdio JSON-RPC safety)

Expose STO DiffOccurrences so agents can list existing vs new
occurrences after a validation execution.

Co-authored-by: Cursor <cursoragent@cursor.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Architecture guardrail caps inline responseExtractor count in sto.ts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@priyanshu11137
priyanshu11137 force-pushed the feat/STO-12076/sast-remediation-diff branch from 041a5f2 to ff5e554 Compare July 27, 2026 12:27
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.

3 participants