Skip to content

feat(gateway): add path-free capability contract and MCP adapter - #192

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/capability-gateway-contract
Sep 2, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/capability-gateway-contract

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add the path-free, generation-bound Capability Gateway descriptor and immutable catalog contracts
  • derive domain-separated opaque invocation, artifact, and endpoint references
  • reject executable paths, package roots, external schema references, unknown fields, and mutable authority from the public descriptor
  • add a standard MCP adapter with an injected host-owned invocation provider
  • cover standard MCP initialize/list/call and contract tamper/authority tests

Scope

This PR intentionally does not claim the lifecycle resolver, lease/drain integration, authentication, or standalone CLI wiring. Those remain the next A3 milestones; the adapter requires a host provider so it cannot invent authority or bypass lifecycle state.

Validation

  • cargo fmt --all -- --check
  • cargo clippy -p a3s-use --all-targets --all-features --locked -- -D warnings
  • focused core and facade Capability Gateway tests

@ZhiXiao-Lin
ZhiXiao-Lin force-pushed the feat/capability-gateway-contract branch from ad04e38 to 01b340b Compare September 2, 2026 20:32
@ZhiXiao-Lin
ZhiXiao-Lin merged commit cf69864 into main Sep 2, 2026
7 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/capability-gateway-contract branch September 2, 2026 20:52
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