Skip to content

feat(schemas): add AgentBOM, MCP Posture, Trust Passport schemas - #56

Merged
telleroutlook merged 3 commits into
mainfrom
refactor/add-trust-schemas
Jul 24, 2026
Merged

feat(schemas): add AgentBOM, MCP Posture, Trust Passport schemas#56
telleroutlook merged 3 commits into
mainfrom
refactor/add-trust-schemas

Conversation

@telleroutlook

Copy link
Copy Markdown
Contributor

Architecture refactoring — Phase 1

Establishes wasmagent-protocol as the single source of truth for all WasmAgent inter-repo contracts, following the opencontainers/image-spec pattern.

New schemas

Schema Canonical ID
AgentBOM https://wasmagent.dev/schemas/agentbom/v0.1.schema.json
MCP Posture https://wasmagent.dev/schemas/mcp-posture/v0.1.schema.json
Trust Passport https://wasmagent.dev/schemas/trust-passport/v0.1.schema.json

All updated to JSON Schema 2020-12 with canonical $id. Spec prose docs included.

schemas/index.json now registers all 10 schemas.

Rationale

Previously AgentBOM/MCP Posture specs lived in agent-trust-infra/specs/, and Trust Passport schema existed in two places (agent-trust-infra/specs/trust-passport/schema.json and open-agent-audit/schemas/trust-passport.schema.json) with different $ids. This consolidation eliminates the duplication.

Downstream repos (agent-trust-infra, open-agent-audit) should reference wasmagent-protocol as the schema source.

Verified: 4/4 conformance tests pass.

Claude Bot added 3 commits July 24, 2026 08:44
Migrate all WasmAgent trust-infrastructure schemas into the canonical
schema repository, establishing wasmagent-protocol as the single source
of truth for all inter-repo contracts.

New schemas:
- schemas/agentbom/agentbom.schema.json  (from agent-trust-infra/specs/agentbom)
- schemas/agentbom/agentbom-v0.1.md     (spec prose)
- schemas/mcp-posture/mcp-posture.schema.json (from agent-trust-infra/specs/mcp-posture)
- schemas/mcp-posture/posture-model-v0.1.md
- schemas/trust-passport/trust-passport.schema.json (merged from ati + oaa, canonical $id)
- schemas/trust-passport/passport-v0.1.md
- schemas/trust-passport/rfc-multi-party-negotiation.md

All schemas updated to JSON Schema 2020-12 and canonical $id:
  https://wasmagent.dev/schemas/<type>/v<ver>.schema.json

schemas/index.json now registers all 10 schemas. Conformance tests: 4/4 pass.

Architecture: this mirrors opencontainers/image-spec pattern where the spec
repo owns all schema contracts; implementations (agent-trust-infra, open-agent-audit)
consume from this package rather than keeping local copies.
@telleroutlook
telleroutlook merged commit 172e7c5 into main Jul 24, 2026
3 checks passed
@telleroutlook
telleroutlook deleted the refactor/add-trust-schemas branch July 24, 2026 01:09
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