Parent
#1
What to build
The GitHub trust chain: a composite Action wrapping the CLI binary that runs in the org's CI and produces a Sigstore/OIDC artifact attestation over the report JSON. The report's verification block records how it is attested (provider, workflow identity, attestation pointer). Establish the pinned-version convention: consumers reference the published action at a tagged version, and verification instructions check workflow identity against the canonical action — a modified fork must fail this check.
A local CLI run continues to produce an honest unverified verification block; attestation exists only in CI.
Acceptance criteria
Parallel-work contract
This issue runs in parallel with #3, #4, #5. Territory rules (reviewer must enforce):
- Owns: the composite Action definition and workflow YAML, attestation/verification documentation, the
verification sub-struct of the report schema, and verification-block population logic as new files.
- Go core changes are confined to verification-related files; the CLI seam for "running in CI vs locally" must be additive.
- Must not touch: metrics package files,
ActivitySet, the collaboration/cadence/coverage sub-structs, adapter fetch/enumeration files.
- Shared files (schema root): additive-only changes.
Blocked by
Parent
#1
What to build
The GitHub trust chain: a composite Action wrapping the CLI binary that runs in the org's CI and produces a Sigstore/OIDC artifact attestation over the report JSON. The report's verification block records how it is attested (provider, workflow identity, attestation pointer). Establish the pinned-version convention: consumers reference the published action at a tagged version, and verification instructions check workflow identity against the canonical action — a modified fork must fail this check.
A local CLI run continues to produce an honest
unverifiedverification block; attestation exists only in CI.Acceptance criteria
gh attestation verify, proving repo/org of origin and the exact workflow/version that produced itunverifiedverification blockParallel-work contract
This issue runs in parallel with #3, #4, #5. Territory rules (reviewer must enforce):
verificationsub-struct of the report schema, and verification-block population logic as new files.ActivitySet, thecollaboration/cadence/coveragesub-structs, adapter fetch/enumeration files.Blocked by