Skip to content

fix(release): keep verifier output valid and deterministic - #106953

Merged
steipete merged 8 commits into
mainfrom
codex/forward-port-2026-7-1-verifier
Jul 14, 2026
Merged

steipete merged 8 commits into
mainfrom
codex/forward-port-2026-7-1-verifier

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves three release-verifier failures still present on main after the 2026.7.1 train: an invalid rendered ledger could overwrite CHANGELOG.md before validation failed, optional provenance handling eagerly required a canonical-main lookup, and overridden release commit subjects could retain release-only PR references.

Why This Change Was Made

Forward-ports the three focused safeguards already proven on release/2026.7.1, preserving the original authors. Ledger writes now validate first and use atomic replacement, canonical-main provenance is resolved only when an override needs it, and release-only subject references are suppressed when authoritative provenance replaces them.

Source commits:

  • b2124af4e7667f75e0690f55ec33e7dd202e531d
  • b36a2fde840d162ff3767591ee31c3f76385ac41
  • 2ff289866d040e607b770288e02afbdacf70776d

User Impact

No runtime user-facing change. Maintainers get safer, deterministic release-note verification on main and future release trains.

Evidence

  • Direct AWS Crabbox cbx_1649428493c0, run run_1dd630c71380: 23/23 focused verifier tests passed.
  • Targeted oxfmt --check: passed.
  • node --check for the verifier: passed.
  • git diff --check: passed.
  • Two Blacksmith Testbox leases shut down during checkout/hydration before any test command ran; direct AWS Crabbox supplied the focused Linux proof instead.

@openclaw-barnacle openclaw-barnacle Bot added size: S maintainer Maintainer-authored PR labels Jul 14, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jul 14, 2026
@clawsweeper

clawsweeper Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 13, 2026, 9:33 PM ET / July 14, 2026, 01:33 UTC.

Summary
The PR validates rendered release ledgers before atomically replacing CHANGELOG.md, defers optional canonical-main resolution, and removes release-only PR references when provenance overrides supply authoritative associations.

PR surface: Tests +66, Other +47. Total +113 across 3 files.

Reproducibility: yes. at source level: focused regression tests exercise both the invalid-ledger overwrite path and overridden release-reference suppression. The supplied evidence does not include a separate failing current-main live release run.

Review metrics: 1 noteworthy metric.

  • Verifier safeguards: 3 forward-ported. The PR changes three independent release-verification failure modes that should be checked together on the final merge candidate.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🌊 off-meta tidepool
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • Refresh the branch against current main and obtain a green check-lint result.
  • Rerun the focused release-verifier suite on the final merge candidate.

Risk before merge

  • [P1] The branch is behind current main, and the current check-lint result is failing; the exact refreshed head should be reviewed and validated before merge.
  • [P1] Because the diff changes release automation, an unnoticed reference-suppression or replacement-path regression could affect generated release notes even though runtime users are unaffected.

Maintainer options:

  1. Refresh and validate the merge candidate (recommended)
    Rebase or merge current main, resolve the lint failure, and rerun the focused verifier checks against the exact resulting head before merge.
  2. Pause pending release-tooling review
    Leave the PR open until the release owner confirms the atomic-write and provenance-suppression behavior against the current release workflow.

Next step before merge

  • [P1] The protected maintainer label requires normal maintainer handling, and no narrow patch defect was found for an automated repair lane.

Security
Cleared: The patch adds no dependency, permission, secret, download, publishing, or third-party execution surface; its filesystem changes remain confined to local release-ledger replacement.

Review details

Best possible solution:

Refresh the branch onto current main, obtain a green lint result, and rerun the focused verifier suite on the exact merge candidate before landing the three release-branch safeguards.

Do we have a high-confidence way to reproduce the issue?

Yes at source level: focused regression tests exercise both the invalid-ledger overwrite path and overridden release-reference suppression. The supplied evidence does not include a separate failing current-main live release run.

Is this the best way to solve the issue?

Yes. Forward-porting the already focused release-branch safeguards into the existing verifier and adding adjacent regression coverage is narrower and more maintainable than adding a parallel release workflow.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against e330e4a17d3c.

Label changes

Label changes:

  • add P2: This is a bounded release-maintainer automation fix with limited blast radius and no runtime user impact.
  • add merge-risk: 🚨 automation: The diff directly changes release-note generation and verification behavior, where incorrect suppression or replacement could produce invalid release artifacts.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-labeled release-tooling PR is exempt from the external-contributor proof gate; its reported Crabbox verifier run remains useful supplemental evidence.

Label justifications:

  • P2: This is a bounded release-maintainer automation fix with limited blast radius and no runtime user impact.
  • merge-risk: 🚨 automation: The diff directly changes release-note generation and verification behavior, where incorrect suppression or replacement could produce invalid release artifacts.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-labeled release-tooling PR is exempt from the external-contributor proof gate; its reported Crabbox verifier run remains useful supplemental evidence.
Evidence reviewed

PR surface:

Tests +66, Other +47. Total +113 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 66 0 +66
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 60 13 +47
Total 3 126 13 +113

What I checked:

Likely related people:

  • vincentkoc: The release-branch and forward-port history attributes the three central verifier fixes to this author. (role: introduced safeguards; confidence: high; commits: b2124af4e766, b36a2fde840d, 2ff289866d04; files: .agents/skills/openclaw-changelog-update/scripts/verify-release-notes.mjs, test/scripts/verify-release-notes.test.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete

Copy link
Copy Markdown
Contributor Author

Land-ready on current head 81fd90e7fb34613cebfa8c9fe39ce2db3894d174.

The branch preserves source authorship for all three 2026.7.1 verifier safeguards. Main already contained every runtime fix from the release branch; these were the only missing forward-ports.

@steipete
steipete merged commit 568e4d9 into main Jul 14, 2026
77 checks passed
@steipete
steipete deleted the codex/forward-port-2026-7-1-verifier branch July 14, 2026 02:25
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 14, 2026
…106953)

* fix(release): validate changelog before atomic write

* fix(release): defer optional provenance main lookup

* fix(release): suppress overridden release PR subjects

* fix(release): satisfy verifier lint

* test(release): declare verifier suppression helper

---------

Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants