Skip to content

feat: retain exact capability snapshot lease in Gateway - #199

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/gateway-generation-lease
Sep 3, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/gateway-generation-lease

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add an explicit with_snapshot_lease constructor for Capability Gateway MCP
  • retain the RAII lease across cloned MCP service/session handles
  • reject catalogs whose installation, package generation, digest, or leasability evidence does not match the exact Use snapshot
  • keep the existing
    ew constructor for contract-only embedding tests

Validation

  • cargo fmt --all -- --check
  • cargo test -p a3s-use capability_gateway --all-features --locked
  • cargo clippy -p a3s-use --all-targets --all-features --locked -- -D warnings

This is a bounded A3 increment. Host-side reference resolution, per-session lifecycle integration, authentication/authorization, rate limits, and independent client recovery remain open.

@ZhiXiao-Lin
ZhiXiao-Lin force-pushed the feat/gateway-generation-lease branch 2 times, most recently from 3568033 to 21357d5 Compare September 3, 2026 00:40
@ZhiXiao-Lin
ZhiXiao-Lin force-pushed the feat/gateway-generation-lease branch from 21357d5 to 9382f77 Compare September 3, 2026 00:57
@ZhiXiao-Lin
ZhiXiao-Lin merged commit 3da41a5 into main Sep 3, 2026
7 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/gateway-generation-lease branch September 3, 2026 01:30
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