openclaw/scripts/pr-lib
Peter Steinberger 59490dc752
fix(pr): settle mergeability after verified main advances
A complete prior-CI REST observation can report UNKNOWN while GitHub
recalculates mergeability after main moves. Permit a bounded three-read
settlement window only after proving that forward transition. Keep the
original known projections and all identity, policy, and check facts pinned;
unknown or changed known projections still cannot authorize dispatch.

Track the latest validated main separately from the retained intent anchor,
so repeated same-main UNKNOWN and rollback to another descendant of the old
anchor remain refusals. Preserve local-only final reads and live authority
validation after the complete REST work.

Cover the actual native admission path at later stability and final authority,
plus exhausted waits, identity/policy drift, conflicts, rewind/divergence,
missing final objects, revoked authority, and retained-outcome fencing.
2026-09-28 20:17:16 -07:00
..
changelog.sh
ci-dispatch.mjs fix(ci): resume interrupted protected PR preparation (#159045) 2026-09-27 02:40:25 +08:00
clawsweeper-review-gate.mjs
common.sh
correction-review.mjs
crabbox-gate-contract.mjs fix(ci): overlap ordinary test plans around exclusive barriers (#159368) 2026-09-27 13:05:03 +08:00
crabbox-gate-plan.mts
crabbox-gate-transport.mts
crabbox-merge-bypass.mjs
crabbox-merge-bypass.sh
darwin-process-identity.py
gates.sh fix(ci): resume interrupted protected PR preparation (#159045) 2026-09-27 02:40:25 +08:00
gh-api-preflight.mjs
github.mjs
github.sh
host-tools.sh
materialize-dependencies.mjs refactor: remove narrowly used helper dependencies (#158573) 2026-09-26 22:38:09 -07:00
merge-body.mjs
merge-legacy-refusal.mjs
merge-outcome.sh fix(pr): settle mergeability after verified main advances 2026-09-28 20:17:16 -07:00
merge-pre-dispatch-refusal.mjs
merge-prior-ci-cancellation.mjs fix(scripts): accept the CI workflow's fail-fast expression in admin landing (#160721) 2026-09-28 14:54:22 -07:00
merge-prior-ci-security.mjs fix(ci): preserve security authority in baseline failure admission 2026-09-27 21:45:21 -07:00
merge-prior-ci.mjs fix(pr): qualify attributed CI job deadlines 2026-09-28 13:14:13 -07:00
merge-rest.mjs fix(pr): validate main movement within prior-CI REST reads 2026-09-28 19:04:03 -07:00
merge.sh fix(pr): settle mergeability after verified main advances 2026-09-28 20:17:16 -07:00
operation-lock.sh
prepare-core.sh fix(pr): keep correction publication valid after first push (#160587) 2026-09-29 00:58:00 +07:00
process-group-runner.mjs
push.sh fix(pr): keep correction publication valid after first push (#160587) 2026-09-29 00:58:00 +07:00
review-artifacts.mjs fix(pr): support approved pre-existing CI failures 2026-09-27 21:45:20 -07:00
review-transition-state.mjs
review.sh fix(pr): keep correction publication valid after first push (#160587) 2026-09-29 00:58:00 +07:00
worktree-provision-error.mts
worktree-provision.mts
worktree.sh fix(pr): reuse pinned heads and accept verified main advances 2026-09-28 01:22:04 -07:00
wrapper-components.txt fix(nodes): explain and recover session-host setup problems (#160188) 2026-09-28 19:13:09 -07:00