Skip to content

fix(evidence): restore exact source and checkout commit attestations on main - #148

Merged
mark-e-deyoung merged 7 commits into
mainfrom
fix/main-trust-pack-source-attestation-20261105
Nov 5, 2026
Merged

mark-e-deyoung merged 7 commits into
mainfrom
fix/main-trust-pack-source-attestation-20261105

Conversation

@mark-e-deyoung

Copy link
Copy Markdown
Collaborator

Current-main reconciliation of completed PR #129

The older PR #129 was diverged from main after visual-profile PR #137 merged. This replacement starts from accepted main@97d96df5e2131ea9faffcc606fb6e18157ddf23c (5 commits ahead, 0 behind) and preserves BOTH the visual-profile synthetic test and exact checkout/source provenance test in scripts/ci/test.sh.

The trust-pack generator now records full 40-character tested-checkout and PR-source IDs separately and fails closed before writing evidence if either is invalid. The reusable workflow supplies source SHA from the PR event, without adding host/network/credential fields. Tests include a synthetic fake Git checkout, normal fallback, malformed-ID rejection and workflow field check. A six-minute public Actions source-only workflow runs those tests without building images or uploading artifacts.

This is a data-quality correction, not approval to publish historical trust packs or an assertion all existing uploads are safe. No production runtime/desktop behavior, source projection, image build, release tagging, private Actions minutes or broad CI waiver. Existing broad Ruff lint failures remain separately actionable. Upon successful exact-head public isolated test and merge admission, squash-merge this narrowed PR and close the old PR #129 as superseded; no source branch deletion without worktree inventory.

Copy link
Copy Markdown
Collaborator Author

Verified source-exact integration admission — provenance correction

Current-main branch is 6 commits ahead and 0 behind; exactly five changed paths (reuse workflow, source/checkout trust-pack generator, unit-test registry, new deterministic provenance tests, independent public test workflow). The earlier visual-profile #137 tests remain preserved in main and this branch.

At exact immutable head 9d89c2aeff80ee4a3f027a31f8d8cb0c71869b7f public GHA 41980394123 source-versus-checkout job SUCCESS, all setup, pinned Python, synthetic pytest/fail-closed tests and Bash syntax stages SUCCESS, zero uploaded artifacts. Two early first failures were diagnosed and fixed on this same PR lineage: wrong setup-python SHA (run 41979996186) then incorrect YAML cache: false input (run 41980202393). Both failed before test execution. The focused third run is accepted for this exact source only.

General CI 41980394134: lint PASS, containerized unit image build FAIL on stale docker/Dockerfile WinInspect v0.4.0 remote checksum; smoke and conformance skipped. This is pre-existing main packaging debt independently tracked by #124; not green full CI, and this merge does not correct it. No new public secrets, runtime behavior, image package, source projection or release. Safeguard/release authority #515 remains open for trust-pack bytes; provenance labels are not publication clearance.

Owner directed source reconciliation + squash merge; safe to integrate this narrowly qualified evidence-accuracy correction. After GitHub merge and main readback, close conflicting original #129 without merge.

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