Per-resource integrity for multi-file artifacts (ADR-0009 follow-up), and version-bound environment-validation attestations #85
snapsynapse
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Two observations for the Trust Manifest, both anchored to items this project has already identified:
I arrived via the Agent Skills versioning threads (agentskills/agentskills#46 and agentskills/agentskills#254), where these questions are being worked through for one specific artifact type. Working implementations exist for both items; I maintain them, and offer them as prior art and evidence of implementability, not as proposals to adopt as-is.
1. Post-extraction integrity for multi-file artifacts
Gap. For single-file artifacts,
provenance.sourceDigestbinds the entry to its content. For multi-file artifacts (relevant given planned support for Agent Skill manifest files as an entry type: bundles of instructions, scripts, and assets), an archive-level digest verifies the artifact at fetch time and nothing afterward. Once unpacked, modification of individual files produces no integrity signal, and these artifacts are routinely redistributed out of band, beyond the reach of catalog re-verification.Direction. The artifact carries an internal manifest listing per-file sha256 digests, and the catalog-side digest covers the artifact bytes including that manifest. Verification chains: the catalog digest binds the bundle, the internal manifest binds the files, and file-level verification remains possible where the catalog chain is unreachable. This is the content-addressability direction ADR-0009 records ("digests all the way down"), extended to file granularity, functional without OCI infrastructure where none is available.
Evidence. skill-provenance (MIT): manifest format and a zero-dependency verifier, deliberately small enough to be audited in full before use.
2. Version-bound environment-validation attestations
Gap. The adding-trust guide's attestation vocabulary covers organizational controls (SOC2, ISO 27001, publisher identity). AI artifacts carry a risk class those frameworks do not address: identical bytes can behave materially differently depending on the harness and model interpreting them, so an artifact can degrade silently across runtime changes with no integrity violation.
Direction. A structured attestation type recording what an artifact version was validated against. Illustrative shape only; field names and placement are this group's to decide:
{ "type": "environment-validation", "artifactVersion": "5.1.0", "harness": "example-harness", "model": "example-model-id", "date": "2026-07-16", "result": "pass" }Two constraints matter for the control design:
Evidence. A version-bound implementation ships in the reference implementation above (
validated_against, v5.1.0). A version-range binding (applies-to) is in production in GuideCheck, a.well-knowntrust artifact with an independent-verifier conformance ladder, if third-party conformance attestations become in scope.If either direction is worth pursuing, I'm glad to draft example documents or CDDL text as a follow-up PR, consistent with the contributing guidance of agreeing on direction before detailed text. If there is a better venue or an existing owner for either item, I'll defer to that.
Provenance note: human-directed, AI-assisted, human-verified. If it's worth publishing, it's worth attesting.
All reactions