Owner-boundary defect
ContextualWisdomLab/Orgmetra#317 exposed a generic organization-level evidence-integrity gap while building buyer-path latency acceptance.
Exact Orgmetra head 108f1c0ee70eebfb0fa7d391aecb49a7927d912d already binds result/runtime/fixture bytes by SHA-256 and makes its benchmark runner emit the verified result digest. CodeRabbit nevertheless found a valid P1: a caller can replace both the caller-visible result bytes and a caller-supplied digest, construct matching runtime evidence, and still satisfy a leaf-local acceptance CLI. A mutable pathname or unauthenticated digest token is not a durable commercial evidence boundary.
This is not Orgmetra HR-domain truth and should not be solved by inventing a product-local signing key or mutable workflow. The organization control plane must provide a reusable, immutable, credential-separated performance-evidence attestation path.
Required trust boundary
Provide an organization-owned reusable workflow, invoked by an immutable full commit SHA, that produces and verifies an authenticated attestation for an exact performance result/evidence set.
The design should follow the existing exact-artifact attestation discipline in .github/.github/workflows/exact-artifact-sbom-attestation.yml and docs/doctoring/exact-artifact-sbom-attestation.md, while remaining performance-specific rather than overloading the wheel/sdist/SBOM contract.
At minimum:
- bind caller repository, exact source SHA, workflow run identity, sealed evidence artifact ID/name/digest, result filename/SHA-256, runtime-evidence SHA-256, fixture SHA-256, selected performance profile, and predicate type;
- validate same-run immutable artifact metadata through the GitHub API before credentialed attestation;
- download the artifact only by immutable artifact ID and treat it strictly as inert data;
- re-hash the exact result/runtime/fixture bytes inside the trusted reusable workflow and reject any mismatch, path traversal, symlink, extra-file/cardinality drift, malformed JSON, or unbounded artifact;
- never execute product-provided evidence or scripts inside the
id-token: write / attestations: write job;
- attest the exact performance evidence with immutable
actions/attest source and a versioned predicate such as https://contextualwisdomlab.org/attestations/product-performance/v1;
- verify the generated attestation against the caller repository, central signer repository/workflow identity, exact source commit, subject digest, predicate type, and GitHub Actions OIDC issuer before returning success;
- export the Sigstore bundle plus trusted-root/offline verification evidence, with a documented independent
gh attestation verify command;
- preserve the measurement/runtime distinction: an attestation proves evidence origin/integrity, not that p95 passed or that the service was production-equivalent;
- keep self-hosted measurement jobs and credential-bearing service access outside the attestation signer job. If a self-hosted measurement runner is used, its identity/runtime must remain explicit evidence; the signer should attest only the sealed inert artifact set after exact digest checks.
Cross-repository prerequisite
.github#1228 already records a trust defect in the current reusable exact-artifact workflow: github.workflow_sha is not a sound way to identify the reusable workflow's own source for cross-repository callers. This new performance workflow must not repeat that pattern. Resolve reusable-workflow identity from an independently verifiable authority (for example the OIDC job_workflow_ref claim) before treating a cross-repo caller as GREEN.
RED evidence
Orgmetra CodeRabbit review on exact 108f1c0e...:
- caller-supplied
runnerResultSha256 only proves equality with the bytes the caller supplies to the CLI;
- replacing both result bytes and digest can still pass that leaf-local handoff;
- the digest must be bound to an independently authenticated runtime-evidence artifact or trusted orchestrator attestation.
Orgmetra will therefore keep commercial acceptance fail closed until this authenticated owner path exists; its local validators may validate structure and byte consistency but must not convert self-asserted evidence into a commercial acceptance receipt.
GREEN acceptance
Primary references
GitHub. (2026). Using artifact attestations and reusable workflows to achieve SLSA v1 Build Level 3. https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations/increase-security-rating
GitHub. (2026). Verifying attestations offline. https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations/verify-attestations-offline
GitHub. (2026). actions/attest v4.1.0, commit 59d89421af93a897026c735860bf21b6eb4f7b26.
This issue owns only the authenticated cross-repository evidence/attestation boundary. Orgmetra owns HR domain truth, workload semantics, right-cleared fixture requirements, runtime/resource/cleanup evidence, and the p95 acceptance policy.
Owner-boundary defect
ContextualWisdomLab/Orgmetra#317exposed a generic organization-level evidence-integrity gap while building buyer-path latency acceptance.Exact Orgmetra head
108f1c0ee70eebfb0fa7d391aecb49a7927d912dalready binds result/runtime/fixture bytes by SHA-256 and makes its benchmark runner emit the verified result digest. CodeRabbit nevertheless found a valid P1: a caller can replace both the caller-visible result bytes and a caller-supplied digest, construct matching runtime evidence, and still satisfy a leaf-local acceptance CLI. A mutable pathname or unauthenticated digest token is not a durable commercial evidence boundary.This is not Orgmetra HR-domain truth and should not be solved by inventing a product-local signing key or mutable workflow. The organization control plane must provide a reusable, immutable, credential-separated performance-evidence attestation path.
Required trust boundary
Provide an organization-owned reusable workflow, invoked by an immutable full commit SHA, that produces and verifies an authenticated attestation for an exact performance result/evidence set.
The design should follow the existing exact-artifact attestation discipline in
.github/.github/workflows/exact-artifact-sbom-attestation.ymlanddocs/doctoring/exact-artifact-sbom-attestation.md, while remaining performance-specific rather than overloading the wheel/sdist/SBOM contract.At minimum:
id-token: write/attestations: writejob;actions/attestsource and a versioned predicate such ashttps://contextualwisdomlab.org/attestations/product-performance/v1;gh attestation verifycommand;Cross-repository prerequisite
.github#1228already records a trust defect in the current reusable exact-artifact workflow:github.workflow_shais not a sound way to identify the reusable workflow's own source for cross-repository callers. This new performance workflow must not repeat that pattern. Resolve reusable-workflow identity from an independently verifiable authority (for example the OIDCjob_workflow_refclaim) before treating a cross-repo caller as GREEN.RED evidence
Orgmetra CodeRabbit review on exact
108f1c0e...:runnerResultSha256only proves equality with the bytes the caller supplies to the CLI;Orgmetra will therefore keep commercial acceptance fail closed until this authenticated owner path exists; its local validators may validate structure and byte consistency but must not convert self-asserted evidence into a commercial acceptance receipt.
GREEN acceptance
Primary references
GitHub. (2026). Using artifact attestations and reusable workflows to achieve SLSA v1 Build Level 3. https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations/increase-security-rating
GitHub. (2026). Verifying attestations offline. https://docs.github.com/en/actions/how-tos/secure-your-work/use-artifact-attestations/verify-attestations-offline
GitHub. (2026).
actions/attestv4.1.0, commit59d89421af93a897026c735860bf21b6eb4f7b26.This issue owns only the authenticated cross-repository evidence/attestation boundary. Orgmetra owns HR domain truth, workload semantics, right-cleared fixture requirements, runtime/resource/cleanup evidence, and the p95 acceptance policy.