Skip to content

feat(gateway): bind verified capability descriptions - #212

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
feat/capability-signed-descriptions
Sep 3, 2026
Merged

ZhiXiao-Lin merged 1 commit into
mainfrom
feat/capability-signed-descriptions

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Summary

  • add a bounded, canonical CapabilityDescriptionProof envelope for the exact agent-visible descriptor;
  • validate schema, descriptor digest, signer identity, and JSON schemas before Gateway catalog projection;
  • add a preferred live-registry Gateway constructor that acquires the exact snapshot lease after proof projection;
  • add contract tests and a release regression preventing facade/extension version drift.

Trust boundary

This change does not invent a key store or cryptographic signature algorithm in the universal core. from_verified is an explicit host assertion produced after the Registry/TUF authority verifies the signed publication; the descriptor's existing publication evidence and the exact Registry snapshot remain the authoritative checks. The proof type prevents post-verification descriptor substitution and makes the hand-off auditable.

Validation

  • cargo fmt --all -- --check
  • cargo test -p a3s-use-core --locked
  • cargo check -p a3s-use --all-features --locked
  • focused Gateway tests
  • cargo test -p a3s-use --test release_workflow --locked

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 4a96005 into main Sep 3, 2026
7 checks passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the feat/capability-signed-descriptions branch September 3, 2026 16:13
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