Skip to content

feat(gateway): add typed consumer profile negotiation - #217

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/capability-consumer-profiles
Sep 4, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/capability-consumer-profiles

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add strict, canonical CapabilityConsumerProfile and CapabilityConsumerNegotiation contracts
  • distinguish generic MCP from explicit A3S consumers without adding a private RPC protocol
  • retain explicit negotiation across Gateway constructors, snapshot leases, and clones
  • reject unsupported extension requests instead of silently downgrading
  • document the boundary and keep profile-aware resources/prompts and production host composition open

Validation

  • cargo fmt --all
  • cargo test --workspace --all-features --locked -- --test-threads=1
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
  • npm run lint (in website)
  • npm run build (in website)
  • npm run check:site (in website)

@ZhiXiao-Lin
ZhiXiao-Lin merged commit b70a4c0 into main Sep 4, 2026
9 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/capability-consumer-profiles branch September 4, 2026 01:38
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