Skip to content

feat(governance): verify private mirror provenance - #17

Open
monkseekee-max wants to merge 1 commit into
mainfrom
governance/private-source-mirror-v1
Open

feat(governance): verify private mirror provenance#17
monkseekee-max wants to merge 1 commit into
mainfrom
governance/private-source-mirror-v1

Conversation

@monkseekee-max

Copy link
Copy Markdown
Contributor

Outcome

Adds a read-only required gate for HMG-DEV-brach exact-source mirror pull requests. The gate verifies an Ed25519 receipt issued from protected HMG main and requires the signed source tree, signed export tree, and actual pull-request tree to be identical.

No HMG source-read or target-write credential is exposed to the target repository. Merge-group events fail closed until their provenance semantics are specified.

Validation

  • python3 -m unittest discover -s governance/private-source-mirror -p test_*.py (13 passed)
  • bash governance/workflow-policy/test.sh (41 passed)
  • actionlint .github/workflows/required-quality-gate.yml
  • workflow policy over origin/main..HEAD (0 violations)
  • central commitlint over origin/main..HEAD (0 problems)
  • git diff --check

Follow-up

After merge, HMG will pin this exact governance commit in its protected-main provenance issuer, and the HMG-DEV-brach ruleset will be updated to the same immutable required-workflow SHA.

Bind mirror source and target trees to a protected-main Ed25519 receipt.

Keep every HMG source-read credential out of the target repository.
@monkseekee-max
monkseekee-max requested a review from a team August 1, 2026 15:13
@monkseekee-max
monkseekee-max enabled auto-merge (rebase) August 1, 2026 15:14
@monkseekee-max

Copy link
Copy Markdown
Contributor Author

@xionghaoh Independent Core Maintainer review is the remaining merge condition. All central checks are green. HMG source authority PR #55 has merged at 491bd7b1dd343fed740e1ce22f374bc129135068 with audited tree 0d3828666561bb79cbb8628464079e98b8924286; the target receives only this verifier/public key and a signed receipt, never an HMG read credential or signing secret. Please review the immutable verifier/workflow boundary when available; auto-merge is already configured and no bypass will be used.

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