Skip to content

feat(mcp): preserve typed results and policy boundaries - #14

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
recovery/use-mcp-contracts
Jul 19, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
recovery/use-mcp-contracts

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown

Summary

  • preserve standard MCP tool metadata: title, output schema, annotations, icons, and _meta
  • project structuredContent, protocol metadata, images, and embedded resources without lossy string conversion
  • materialize bounded content-addressed artifacts with race-safe digest verification
  • make tool-owned confirmation metadata escalation-only
  • let explicitly scoped workers see parent-hidden tools while retaining the stricter parent and worker execution decisions

Validation

  • 178 MCP-focused Core tests
  • 17 worker and delegated-permission tests
  • explicit parent-deny and HITL-escalation regressions
  • cargo clippy -p a3s-code-core --lib -- -D warnings
  • all-target Clippy with only the pre-existing upstream agent_api/tests.rs err_expect lint excluded
  • cargo fmt --all
  • git diff --check

@ZhiXiao-Lin
ZhiXiao-Lin merged commit d7d357a into main Jul 19, 2026
2 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