Skip to content

fix: make the Trust Manifest MUST rules satisfiable by the spec's own examples#81

Open
liady wants to merge 1 commit into
Agent-Card:mainfrom
liady:fix/trust-manifest-must-rules
Open

fix: make the Trust Manifest MUST rules satisfiable by the spec's own examples#81
liady wants to merge 1 commit into
Agent-Card:mainfrom
liady:fix/trust-manifest-must-rules

Conversation

@liady

@liady liady commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Fixes #70.

Two normative MUSTs could not be satisfied by the Claude Plugins appendix examples:

  1. The identity binding rule assumed every identifier has a publisher domain segment, but identifier is an open format and the appendix uses urn:claude-plugin:... identifiers with no domain at all. A consumer following the rule as written would have to reject the Trust Manifests in the spec's own examples. The rule is now scoped to identifiers that carry a publisher domain segment (such as the urn:air form), with a fallback to other verification (attestations, signatures) for formats that don't.

  2. Digest Format requires consumers to reject digests weaker than SHA-256, yet the appendix mapped the marketplace's git commit sha to sourceDigest as sha1:.... A commit SHA is a revision identifier, not a content digest of anything a consumer can fetch and hash, so the mapping now lands it in entry metadata.sourceSha instead, and the examples no longer carry sourceDigest values that consumers are required to reject.

A dedicated sourceRevision field on the Provenance Link (as floated in the issue) would be a schema addition and would need its own ADR, so it is intentionally out of scope here.

@liady
liady requested a review from a team as a code owner July 14, 2026 21:14
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.

Trust Manifest MUST rules cannot be satisfied by open identifier formats or the spec's own appendix examples

1 participant