Repository navigation
fix(release): unblock release-admin self-merge - #1232
Conversation
|
Land-ready proof for
The release-team bypass is limited to pull requests. Direct pushes, history rewrites, stable-tag updates/deletions, and the external required workflow remain non-bypassable. Merge method: merge commit, preserving the signed series. |
|
Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 10:23 AM ET / 14:23 UTC. ClawSweeper reviewWhat this changesThis PR adds a release signer, replaces Crabbox’s local macOS release check with an organization-owned required workflow, and verifies the resulting ruleset split before publication. Merge readinessKeep open: current main still has the local release check, and the coherent replacement needs an explicit security-boundary decision on the team-wide approval bypass. Likely related people: steipete and vincentkoc. Priority: P2 Review scores
Verification
How this fits togetherCrabbox’s release scripts verify protected branch and tag policies before publishing a release. This PR moves the independent macOS snapshot check to an organization-owned workflow while retaining local release-policy verification. flowchart LR
A[Release pull request] --> B[Branch approval ruleset]
B --> C[Release policy verifier]
D[Organization release workflow] --> E[macOS snapshot check]
E --> B
C --> F[Release publication]
G[Stable tag protection] --> F
Decision needed
Why: GitHub grants this bypass at the protected-branch and team boundary, so the repository cannot confine it to release pull requests. Before merge
Findings
Agent review detailsSecurityNeeds attention: The diff intentionally changes a protected-branch authorization boundary and requires explicit organization approval. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep independent approval unless an authorized organization owner explicitly accepts the team-wide pull-request bypass; if accepted, retain the external no-bypass release workflow and verifier checks. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR changes repository release governance rather than a user-reproducible runtime behavior. Is this the best way to solve the issue? Unclear: the external trust-root direction is well covered, but the GitHub bypass scope needs explicit approval before it is the best acceptable solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e73b02f6455f. LabelsLabel justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
What Problem This Solves
Fixes an issue where an approved Crabbox release administrator could sign
release commits but could not merge their own release pull request without a
second maintainer. The prior required release check was also defined inside
Crabbox, so the same pull request could change the workflow that supplied its
merge gate.
Why This Change Was Made
Add the existing release-admin SSH public key to the repository signer policy
and grant
openclaw-secopsa pull-request-only approval bypass. Keep branchhistory and stable tags under separate no-bypass rules.
Move the required macOS release snapshot check to the protected
openclaw/release-workflowstrust root. The organization ruleset binds Crabboxto that external workflow, so a Crabbox pull request cannot redefine the check
that gates its own merge. The duplicate in-repository macOS job is removed.
No private key, token, 1Password reference, codesign material, or notary
credential is added or changed.
User Impact
Approved release administrators can merge their own Crabbox release pull
requests after the independent release snapshot workflow passes. They do not
gain direct-push, force-push, tag-update, or tag-deletion authority.
Evidence
feat(rulesets): add Crabbox release check release-workflows#19
4abeffbc697a24f97ee53a935cea98ed1d4016b401d5fdd09f63cc2eecca741c5b894bd39dc0194fGOTOOLCHAIN=go1.26.5 node --test scripts/release-workflow.test.js:26/26 passed
node --test scripts/publish-release.test.js: 37/37 passednode --checkandgit diff --check: passed0.90
v0.41.0 remains untagged and unpublished until the live organization ruleset
is active and Apple signing is available.