Release-Trust Administration¶
Purpose¶
This package discharges the two remaining administration obligations under umbrella issue #6:
- issue #7: repository homepage and current-main Pages verification;
- issue #125: protected-branch enforcement across MATHCERT, MATHSOLVE, MATH-PROGRAMME, and INTELLECT.
The governed contract is governance/release_trust_admin_contract.json. The executor is ci/release_trust_admin.py. The workflow is .github/workflows/release-trust-admin.yml.
Required credential¶
Create a fine-grained GitHub personal access token or GitHub App installation token with access only to:
grandchallenge/MATHCERT;grandchallenge/MATHSOLVE;grandchallenge/MATH-PROGRAMME;grandchallenge/INTELLECT.
Required repository permissions are:
- Administration: read and write;
- Actions: read;
- Issues: read and write;
- Metadata: read.
Do not put the token in a file, issue, pull request, workflow input, or command line. Add it to the MATH-PROGRAMME release-trust environment as the secret GCL_REPOSITORY_ADMIN_TOKEN.
Execution¶
- Open Actions in MATH-PROGRAMME.
- Select Release trust administration.
- Select Run workflow.
- Use
mode: apply. - Keep
close_child_issues: true. - Run the workflow from
main.
The workflow:
- sets the MATH-PROGRAMME homepage;
- applies the exact protected-branch contract to all four repositories;
- reads every setting back through the GitHub API;
- requires strict required checks and pull-request-only changes;
- requires admin enforcement and resolved review conversations;
- rejects force pushes, branch deletion, and bypass actors;
- locates successful policy and Pages runs for current
main; - downloads and verifies the
validated-siteartifact; - verifies the inner archive checksum;
- compares the live Pages
index.htmlbyte-for-byte with the policy artifact; - uploads
release-trust-evidence.jsonfor 90 days; - closes issues #7 and #125 only after all checks pass.
The workflow does not close umbrella issue #6.
Branch policy¶
The branch contract requires:
- exact required status-check contexts;
- strict, up-to-date status checks;
- changes through pull requests;
- zero mandatory GitHub approvals, to avoid a single-operator approval deadlock;
- stale-review dismissal enabled;
- conversation resolution required;
- administrators governed by the same rule;
- no bypass actors;
- no force pushes;
- no branch deletion.
Council, Adversary, Formalist, Amanuensis, and Referee review remain governed repository artifacts. They are not replaced by GitHub account-level approval.
Final closure¶
After issues #7 and #125 close:
- download the
release-trust-evidenceworkflow artifact; - admit its exact workflow run, artifact identity, and SHA-256 into the umbrella audit;
- set
administrative_children_complete: true; - set
operational_release_complete: true; - set
operational_release_closure: COMPLETE; - remove all remaining blockers;
- run exact-head Programme policy CI;
- merge the audit;
- close issue #6.
Claim boundary¶
This procedure governs repository administration and publication identity. It certifies no mathematical claim and does not alter any MATHCERT disposition.