Public Trust Contracts Example
This example validates public fixture summaries with @stendar/policy-contracts only. It does not import @stendar/control-plane, local-runtime shared packages, hosted-runtime internals, or private DTOs.
Run The Smoke Flow
Section titled “Run The Smoke Flow”pnpm --filter @stendar/example-public-trust-contracts testpnpm --filter @stendar/example-public-trust-contracts typecheckThe test command runs internal/examples/public-trust-contracts/demo.ts and prints deterministic JSON.
What It Validates
Section titled “What It Validates”DEFAULT_PUBLIC_TRUST_CONTRACT_MANIFEST- official package channel entry and readiness summaries
- canonical connector/tool manifest and controlled module manifest
- action lifecycle request and response
- Policy V2 evaluation result
- audit entry and verification result
- wallet signing readiness and preview summaries
- remote MCP session and readiness summaries
- governance decision summary
- execution boundary summaries
Boundary
Section titled “Boundary”The fixture uses public IDs, summaries, booleans, hashes, reason codes, and sync-safe metadata. It intentionally avoids raw wallet payloads, private keys, local paths, secret references, bearer credentials, hosted execution grants, and local-runtime request DTOs.
See Control Plane Contracts for the public boundary and API Reference for the package-level export map.