Skip to content

fix(release): preserve waiver context when reusing validation - #133589

Merged
steipete merged 2 commits into
mainfrom
codex/release-2026.8.1-reuse-waiver
Aug 30, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/release-2026.8.1-reuse-waiver

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where maintainers reusing full release validation evidence with the approved 2026.8.1 Telegram waiver receive a blocked Release Decision despite a valid sealed plan. Run 33337151440 accepted changelog-only reuse, then rejected the waiver during decision revalidation.

Why This Change Was Made

The decision collector reconstructed reuse inputs without the sealed release profile, rerun group, version, or waiver. Carry those four validated plan fields forward to the existing binding validator. All owner/version/profile restrictions, source provenance, child identities, manifest equality, and final-state verification remain unchanged; no waiver is represented as a passed test.

User Impact

No runtime behavior changes. Release maintainers can complete valid evidence reuse while invalid or changed evidence continues to block publication.

Evidence

  • The exact pinned collector with the downloaded immutable plan and retained source/child evidence reproduced both hosted blockers in an offline replay. The four-field repair changes that replay from blocked_complete to passed, with no blockers or errors. This replay is diagnostic coverage, not new release qualification.
  • The Decision subprocess regression fails on the original collector and passes after the repair. Coverage includes ordinary reuse, approved waiver reuse, changed source manifest, missing source waiver, and wrong source version.
  • node scripts/run-vitest.mjs test/scripts/full-release-validation-state.test.ts: 206 passed.
  • Targeted formatting and git diff --check pass. Full repository gates remain required on the exact PR head.

Production/tooling delta: +4 lines. Test delta: +41 lines, extending the existing subprocess fixture rather than adding a production test seam.

@clawsweeper

clawsweeper Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S maintainer Maintainer-authored PR labels Aug 30, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. 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. labels Aug 30, 2026
@clawsweeper

clawsweeper Bot commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 6:52 PM ET / 22:52 UTC.

ClawSweeper review

What this changes

The PR passes four sealed release-plan fields into reused-evidence decision validation and expands the subprocess regression test across valid and invalid waiver cases.

Regression provenance

Possible regression — probable (reviewed change; failure trace). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

Keep open. Current main still omits the sealed waiver context at the decision-time reuse call, while this PR forwards it to the existing binding validator and adds acceptance and rejection coverage; as a maintainer-authored release-gate change, it should complete exact-head CI before merge.

Priority: P2
Reviewed head: e53b34f4435e8b98fad593c16c823f4b169600e5

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-boundary repair with credible pass and rejection coverage; exact-head CI remains the normal merge gate.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored tooling PR is exempt from the external-contributor proof gate; its supplied replay and subprocess regression remain useful supplemental evidence for the changed Release Decision path.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-authored tooling PR is exempt from the external-contributor proof gate; its supplied replay and subprocess regression remain useful supplemental evidence for the changed Release Decision path.
Evidence reviewed 5 items Introduced decision binding: The introduced hunk forwards release profile, rerun group, target version, and waiver from the already validated immutable execution plan into the existing reused-evidence validation call.
Existing policy owner preserves restrictions: The callee normalizes the waiver against the sealed profile and rerun group, then rejects a mismatched waiver or target version; the PR reuses this policy rather than adding another approval path.
Decision-boundary regression coverage: The table-driven subprocess test covers unchanged reuse, valid owner-waived reuse, changed source manifest, missing waiver, and wrong version, asserting pass only for valid cases and blockers otherwise.
Findings None None.
Security None None.

How this fits together

Full release validation seals a plan, reuses eligible CI evidence, then revalidates it before emitting the Release Decision that permits publication. The decision collector sends the sealed plan and reused manifest to the binding validator, which either permits the decision or records blockers.

flowchart LR
  A[Sealed release plan] --> B[Reused validation evidence]
  B --> C[Decision collector]
  A --> C
  C --> D[Waiver binding validator]
  D --> E[Release Decision]
  D --> F[Publication blockers]
Loading

Before merge

  • Resolve merge risk (P1) - The release-decision script grows by four production fields; that growth is justified because the existing binding validator needs the complete sealed waiver context, and omitting any of those facts recreates the failure.
  • Complete next step (P2) - The maintainer-authored, maintainer-labeled PR has no repair finding; complete normal exact-head CI and release-owner review.
Agent review details

Security

None.

PR surface

Tests +41, Other +4. Total +45 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 53 12 +41
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 4 0 +4
Total 2 57 12 +45

Review metrics

Metric Value Why it matters
Production versus regression coverage production +4, tests +41 net The small release-gate increase supplies the sealed facts required by the existing validator; the test growth covers valid reuse and three rejection cases.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Merge the four-field forwarding after exact-head CI is green, preserving the single binding validator and its strict source-manifest checks.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Merge the four-field forwarding after exact-head CI is green, preserving the single binding validator and its strict source-manifest checks.

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

Yes, from source: current main reconstructs decision-time reuse inputs without the four sealed facts, and the existing waiver-binding validator rejects the resulting mismatch. The supplied subprocess regression targets that exact path, though this read-only review did not execute it.

Is this the best way to solve the issue?

Yes. Passing the facts already sealed in the execution plan to the existing binding validator is narrower and safer than duplicating waiver policy or weakening manifest validation.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This repairs a release-maintainer validation workflow without changing normal agent or channel runtime behavior.
  • 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: This maintainer-authored tooling PR is exempt from the external-contributor proof gate; its supplied replay and subprocess regression remain useful supplemental evidence for the changed Release Decision path.

Evidence

What I checked:

Likely related people:

  • unknown: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Let the required exact-head CI complete green before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • 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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-30T22:23:37.345Z sha 115b580 :: needs maintainer review before merge. :: none

@steipete

Copy link
Copy Markdown
Contributor Author

Maintainer review accepts the four-line tooling increase: the existing waiver-binding validator requires the sealed profile, rerun group, target version, and waiver. Passing those digest-bound facts preserves the single existing policy path; no validation or authority is broadened.

The complete owner suite passes all 206 tests. The original collector fails the new Decision regression, and the exact retained-plan replay reproduces the hosted failure before the fix and passes afterward. ClawSweeper identified no correctness or security finding. Normal exact-head CI and canonical prepare/merge gates remain required; waived Telegram checks are not reported as passed.

@steipete
steipete merged commit 3952c69 into main Aug 30, 2026
152 checks passed
@steipete
steipete deleted the codex/release-2026.8.1-reuse-waiver branch August 30, 2026 23:05
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts 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.

1 participant